Files
to_session/web_process/MetaMask 12.16.1/ui-1.js
Administrator a0720d80dc fefdwef
2025-11-12 12:54:37 +08:00

8 lines
767 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
LavaPack.loadBundle([[3696,{"../../IllegalArgumentException":3639,"../../util/System":3822,"./GenericGFPoly":3694},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("./GenericGFPoly"),i=t("../../util/System"),o=t("../../IllegalArgumentException"),a=function(){function t(t){this.field=t,this.cachedGenerators=[],this.cachedGenerators.push(new n.default(t,Int32Array.from([1])))}return t.prototype.buildGenerator=function(t){var e=this.cachedGenerators;if(t>=e.length)for(var r=e[e.length-1],i=this.field,o=e.length;o<=t;o++){var a=r.multiply(new n.default(i,Int32Array.from([1,i.exp(o-1+i.getGeneratorBase())])));e.push(a),r=a}return e[t]},t.prototype.encode=function(t,e){if(0===e)throw new o.default("No error correction bytes");var r=t.length-e;if(r<=0)throw new o.default("No data bytes provided");var a=this.buildGenerator(e),s=new Int32Array(r);i.default.arraycopy(t,0,s,0,r);for(var l=new n.default(this.field,s),u=(l=l.multiplyByMonomial(e,1)).divide(a)[1].getCoefficients(),c=e-u.length,d=0;d<c;d++)t[r+d]=0;i.default.arraycopy(u,0,t,r+c,u.length)},t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/common/reedsolomon/ReedSolomonEncoder.js"}],[3697,{"../BarcodeFormat":3631,"../DecodeHintType":3635,"../NotFoundException":3646,"../Result":3653,"../ResultMetadataType":3654,"../common/BitMatrix":3676,"../util/System":3822,"./decoder/Decoder":3702,"./detector/Detector":3704},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../BarcodeFormat"),i=t("../common/BitMatrix"),o=t("../DecodeHintType"),a=t("../NotFoundException"),s=t("../Result"),l=t("../ResultMetadataType"),u=t("../util/System"),c=t("./decoder/Decoder"),d=t("./detector/Detector"),h=function(){function t(){this.decoder=new c.default}return t.prototype.decode=function(e,r){var i,a;if(void 0===r&&(r=null),null!=r&&r.has(o.default.PURE_BARCODE)){var c=t.extractPureBits(e.getBlackMatrix());i=this.decoder.decode(c),a=t.NO_POINTS}else{var h=new d.default(e.getBlackMatrix()).detect();i=this.decoder.decode(h.getBits()),a=h.getPoints()}var f=i.getRawBytes(),p=new s.default(i.getText(),f,8*f.length,a,n.default.DATA_MATRIX,u.default.currentTimeMillis()),g=i.getByteSegments();null!=g&&p.putMetadata(l.default.BYTE_SEGMENTS,g);var m=i.getECLevel();return null!=m&&p.putMetadata(l.default.ERROR_CORRECTION_LEVEL,m),p},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),r=t.getBottomRightOnBit();if(null==e||null==r)throw new a.default;var n=this.moduleSize(e,t),o=e[1],s=r[1],l=e[0],u=(r[0]-l+1)/n,c=(s-o+1)/n;if(u<=0||c<=0)throw new a.default;var d=n/2;o+=d,l+=d;for(var h=new i.default(u,c),f=0;f<c;f++)for(var p=o+f*n,g=0;g<u;g++)t.get(l+g*n,p)&&h.set(g,f);return h},t.moduleSize=function(t,e){for(var r=e.getWidth(),n=t[0],i=t[1];n<r&&e.get(n,i);)n++;if(n===r)throw new a.default;var o=n-t[0];if(0===o)throw new a.default;return o},t.NO_POINTS=[],t}();r.default=h}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/DataMatrixReader.js"}],[3698,{"../BarcodeFormat":3631,"../EncodeHintType":3636,"../common/BitMatrix":3676,"../qrcode/encoder/ByteMatrix":3805,"../util/Charset":3812,"./encoder":3718},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../BarcodeFormat"),i=t("../common/BitMatrix"),o=t("../EncodeHintType"),a=t("../qrcode/encoder/ByteMatrix"),s=t("../util/Charset"),l=t("./encoder"),u=function(){function t(){}return t.prototype.encode=function(t,e,r,i,a){if(void 0===a&&(a=null),""===t.trim())throw new Error("Found empty contents");if(e!==n.default.DATA_MATRIX)throw new Error("Can only encode DATA_MATRIX, but got "+e);if(r<0||i<0)throw new Error("Requested dimensions can't be negative: "+r+"x"+i);var u,c=0,d=null,h=null;if(null!=a){var f=a.get(o.default.DATA_MATRIX_SHAPE);null!=f&&(c=f);var p=a.get(o.default.MIN_SIZE);null!=p&&(d=p);var g=a.get(o.default.MAX_SIZE);null!=g&&(h=g)}if(null!=a&&a.has(o.default.DATA_MATRIX_COMPACT)&&Boolean(a.get(o.default.DATA_MATRIX_COMPACT).toString())){var m=a.has(o.default.GS1_FORMAT)&&Boolean(a.get(o.default.GS1_FORMAT).toString()),y=null;a.has(o.default.CHARACTER_SET)&&(y=s.default.forName(a.get(o.default.CHARACTER_SET).toString())),u=l.MinimalEncoder.encodeHighLevel(t,y,m?29:-1,c)}else{var b=null!=a&&a.has(o.default.FORCE_C40)&&Boolean(a.get(o.default.FORCE_C40).toString());u=l.HighLevelEncoder.encodeHighLevel(t,c,d,h,b)}var v=l.SymbolInfo.lookup(u.length,c,d,h,!0),w=l.ErrorCorrection.encodeECC200(u,v),_=new l.DefaultPlacement(w,v.getSymbolDataWidth(),v.getSymbolDataHeight());return _.place(),this.encodeLowLevel(_,v,r,i)},t.prototype.encodeLowLevel=function(t,e,r,n){for(var i=e.getSymbolDataWidth(),o=e.getSymbolDataHeight(),s=new a.default(e.getSymbolWidth(),e.getSymbolHeight()),l=0,u=0;u<o;u++){var c=void 0;if(u%e.matrixHeight==0){c=0;for(var d=0;d<e.getSymbolWidth();d++)s.setBoolean(c,l,d%2==0),c++;l++}c=0;for(d=0;d<i;d++)d%e.matrixWidth==0&&(s.setBoolean(c,l,!0),c++),s.setBoolean(c,l,t.getBit(d,u)),c++,d%e.matrixWidth==e.matrixWidth-1&&(s.setBoolean(c,l,u%2==0),c++);if(l++,u%e.matrixHeight==e.matrixHeight-1){c=0;for(d=0;d<e.getSymbolWidth();d++)s.setBoolean(c,l,!0),c++;l++}}return this.convertByteMatrixToBitMatrix(s,r,n)},t.prototype.convertByteMatrixToBitMatrix=function(t,e,r){var n,o=t.getWidth(),a=t.getHeight(),s=Math.max(e,o),l=Math.max(r,a),u=Math.min(s/o,l/a),c=(s-o*u)/2,d=(l-a*u)/2;r<a||e<o?(c=0,d=0,n=new i.default(o,a)):n=new i.default(e,r),n.clear();for(var h=0,f=d;h<a;h++,f+=u)for(var p=0,g=c;p<o;p++,g+=u)1===t.get(p,h)&&n.setRegion(g,f,u,u);return n},t}();r.default=u}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/DataMatrixWriter.js"}],[3699,{"../../FormatException":3638,"../../IllegalArgumentException":3639,"../../common/BitMatrix":3676,"./Version":3703},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../common/BitMatrix"),i=t("./Version"),o=t("../../FormatException"),a=t("../../IllegalArgumentException"),s=function(){function t(e){var r=e.getHeight();if(r<8||r>144||1&r)throw new o.default;this.version=t.readVersion(e),this.mappingBitMatrix=this.extractDataRegion(e),this.readMappingMatrix=new n.default(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return t.prototype.getVersion=function(){return this.version},t.readVersion=function(t){var e=t.getHeight(),r=t.getWidth();return i.default.getVersionForDimensions(e,r)},t.prototype.readCodewords=function(){var t=new Int8Array(this.version.getTotalCodewords()),e=0,r=4,n=0,i=this.mappingBitMatrix.getHeight(),a=this.mappingBitMatrix.getWidth(),s=!1,l=!1,u=!1,c=!1;do{if(r!==i||0!==n||s)if(r===i-2&&0===n&&3&a&&!l)t[e++]=255&this.readCorner2(i,a),r-=2,n+=2,l=!0;else if(r!==i+4||2!==n||7&a||u)if(r!==i-2||0!==n||4!=(7&a)||c){do{r<i&&n>=0&&!this.readMappingMatrix.get(n,r)&&(t[e++]=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)&&(t[e++]=255&this.readUtah(r,n,i,a)),r+=2,n-=2}while(r<i&&n>=0);r+=3,n+=1}else t[e++]=255&this.readCorner4(i,a),r-=2,n+=2,c=!0;else t[e++]=255&this.readCorner3(i,a),r-=2,n+=2,u=!0;else t[e++]=255&this.readCorner1(i,a),r-=2,n+=2,s=!0}while(r<i||n<a);if(e!==this.version.getTotalCodewords())throw new o.default;return t},t.prototype.readModule=function(t,e,r,n){return t<0&&(t+=r,e+=4-(r+4&7)),e<0&&(e+=n,t+=4-(n+4&7)),this.readMappingMatrix.set(e,t),this.mappingBitMatrix.get(e,t)},t.prototype.readUtah=function(t,e,r,n){var i=0;return this.readModule(t-2,e-2,r,n)&&(i|=1),i<<=1,this.readModule(t-2,e-1,r,n)&&(i|=1),i<<=1,this.readModule(t-1,e-2,r,n)&&(i|=1),i<<=1,this.readModule(t-1,e-1,r,n)&&(i|=1),i<<=1,this.readModule(t-1,e,r,n)&&(i|=1),i<<=1,this.readModule(t,e-2,r,n)&&(i|=1),i<<=1,this.readModule(t,e-1,r,n)&&(i|=1),i<<=1,this.readModule(t,e,r,n)&&(i|=1),i},t.prototype.readCorner1=function(t,e){var r=0;return this.readModule(t-1,0,t,e)&&(r|=1),r<<=1,this.readModule(t-1,1,t,e)&&(r|=1),r<<=1,this.readModule(t-1,2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-1,t,e)&&(r|=1),r<<=1,this.readModule(1,e-1,t,e)&&(r|=1),r<<=1,this.readModule(2,e-1,t,e)&&(r|=1),r<<=1,this.readModule(3,e-1,t,e)&&(r|=1),r},t.prototype.readCorner2=function(t,e){var r=0;return this.readModule(t-3,0,t,e)&&(r|=1),r<<=1,this.readModule(t-2,0,t,e)&&(r|=1),r<<=1,this.readModule(t-1,0,t,e)&&(r|=1),r<<=1,this.readModule(0,e-4,t,e)&&(r|=1),r<<=1,this.readModule(0,e-3,t,e)&&(r|=1),r<<=1,this.readModule(0,e-2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-1,t,e)&&(r|=1),r<<=1,this.readModule(1,e-1,t,e)&&(r|=1),r},t.prototype.readCorner3=function(t,e){var r=0;return this.readModule(t-1,0,t,e)&&(r|=1),r<<=1,this.readModule(t-1,e-1,t,e)&&(r|=1),r<<=1,this.readModule(0,e-3,t,e)&&(r|=1),r<<=1,this.readModule(0,e-2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-1,t,e)&&(r|=1),r<<=1,this.readModule(1,e-3,t,e)&&(r|=1),r<<=1,this.readModule(1,e-2,t,e)&&(r|=1),r<<=1,this.readModule(1,e-1,t,e)&&(r|=1),r},t.prototype.readCorner4=function(t,e){var r=0;return this.readModule(t-3,0,t,e)&&(r|=1),r<<=1,this.readModule(t-2,0,t,e)&&(r|=1),r<<=1,this.readModule(t-1,0,t,e)&&(r|=1),r<<=1,this.readModule(0,e-2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-1,t,e)&&(r|=1),r<<=1,this.readModule(1,e-1,t,e)&&(r|=1),r<<=1,this.readModule(2,e-1,t,e)&&(r|=1),r<<=1,this.readModule(3,e-1,t,e)&&(r|=1),r},t.prototype.extractDataRegion=function(t){var e=this.version.getSymbolSizeRows(),r=this.version.getSymbolSizeColumns();if(t.getHeight()!==e)throw new a.default("Dimension of bitMatrix must match the version size");for(var i=this.version.getDataRegionSizeRows(),o=this.version.getDataRegionSizeColumns(),s=e/i|0,l=r/o|0,u=s*i,c=l*o,d=new n.default(c,u),h=0;h<s;++h)for(var f=h*i,p=0;p<l;++p)for(var g=p*o,m=0;m<i;++m)for(var y=h*(i+2)+1+m,b=f+m,v=0;v<o;++v){var w=p*(o+2)+1+v;if(t.get(w,y)){var _=g+v;d.set(_,b)}}return d},t}();r.default=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/decoder/BitMatrixParser.js"}],[370,{"@welldone-software/why-did-you-render":3597,react:5259},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n;(n=t("react"))&&n.__esModule}}},{package:"$root$",file:"development/wdyr.ts"}],[3700,{"../../IllegalArgumentException":3639},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../IllegalArgumentException"),o=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,r){var o,a,s,l,u=r.getECBlocks(),c=0,d=u.getECBlocks();try{for(var h=n(d),f=h.next();!f.done;f=h.next()){c+=(b=f.value).getCount()}}catch(t){o={error:t}}finally{try{f&&!f.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}var p=new Array(c),g=0;try{for(var m=n(d),y=m.next();!y.done;y=m.next())for(var b=y.value,v=0;v<b.getCount();v++){var w=b.getDataCodewords(),_=u.getECCodewords()+w;p[g++]=new t(w,new Uint8Array(_))}}catch(t){s={error:t}}finally{try{y&&!y.done&&(l=m.return)&&l.call(m)}finally{if(s)throw s.error}}var A=p[0].codewords.length-u.getECCodewords(),x=A-1,C=0;for(v=0;v<x;v++)for(var E=0;E<g;E++)p[E].codewords[v]=e[C++];var S=24===r.getVersionNumber(),T=S?8:g;for(E=0;E<T;E++)p[E].codewords[A-1]=e[C++];var I=p[0].codewords.length;for(v=A;v<I;v++)for(E=0;E<g;E++){var D=S?(E+8)%g:E,O=S&&D>7?v-1:v;p[D].codewords[O]=e[C++]}if(C!==e.length)throw new i.default;return p},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}();r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/decoder/DataBlock.js"}],[3701,{"../../FormatException":3638,"../../IllegalStateException":3640,"../../common/BitSource":3677,"../../common/DecoderResult":3679,"../../common/StringUtils":3689,"../../util/StringBuilder":3820,"../../util/StringEncoding":3821},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n,i=t("../../common/DecoderResult"),o=t("../../common/BitSource"),a=t("../../util/StringBuilder"),s=t("../../util/StringEncoding"),l=t("../../common/StringUtils"),u=t("../../FormatException"),c=t("../../IllegalStateException");!function(t){t[t.PAD_ENCODE=0]="PAD_ENCODE",t[t.ASCII_ENCODE=1]="ASCII_ENCODE",t[t.C40_ENCODE=2]="C40_ENCODE",t[t.TEXT_ENCODE=3]="TEXT_ENCODE",t[t.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",t[t.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",t[t.BASE256_ENCODE=6]="BASE256_ENCODE"}(n||(n={}));var d=function(){function t(){}return t.decode=function(t){var e=new o.default(t),r=new a.default,s=new a.default,l=new Array,c=n.ASCII_ENCODE;do{if(c===n.ASCII_ENCODE)c=this.decodeAsciiSegment(e,r,s);else{switch(c){case n.C40_ENCODE:this.decodeC40Segment(e,r);break;case n.TEXT_ENCODE:this.decodeTextSegment(e,r);break;case n.ANSIX12_ENCODE:this.decodeAnsiX12Segment(e,r);break;case n.EDIFACT_ENCODE:this.decodeEdifactSegment(e,r);break;case n.BASE256_ENCODE:this.decodeBase256Segment(e,r,l);break;default:throw new u.default}c=n.ASCII_ENCODE}}while(c!==n.PAD_ENCODE&&e.available()>0);return s.length()>0&&r.append(s.toString()),new i.default(t,r.toString(),0===l.length?null:l,null)},t.decodeAsciiSegment=function(t,e,r){var i=!1;do{var o=t.readBits(8);if(0===o)throw new u.default;if(o<=128)return i&&(o+=128),e.append(String.fromCharCode(o-1)),n.ASCII_ENCODE;if(129===o)return n.PAD_ENCODE;if(o<=229){var a=o-130;a<10&&e.append("0"),e.append(""+a)}else switch(o){case 230:return n.C40_ENCODE;case 231:return n.BASE256_ENCODE;case 232:e.append(String.fromCharCode(29));break;case 233:case 234:case 241:break;case 235:i=!0;break;case 236:e.append("[)>05"),r.insert(0,"");break;case 237:e.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!==t.available())throw new u.default}}while(t.available()>0);return n.ASCII_ENCODE},t.decodeC40Segment=function(t,e){var r=!1,n=[],i=0;do{if(8===t.available())return;var o=t.readBits(8);if(254===o)return;this.parseTwoBytes(o,t.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 u.default;var l=this.C40_BASIC_SET_CHARS[s];r?(e.append(String.fromCharCode(l.charCodeAt(0)+128)),r=!1):e.append(l)}break;case 1:r?(e.append(String.fromCharCode(s+128)),r=!1):e.append(String.fromCharCode(s)),i=0;break;case 2:if(s<this.C40_SHIFT2_SET_CHARS.length){l=this.C40_SHIFT2_SET_CHARS[s];r?(e.append(String.fromCharCode(l.charCodeAt(0)+128)),r=!1):e.append(l)}else switch(s){case 27:e.append(String.fromCharCode(29));break;case 30:r=!0;break;default:throw new u.default}i=0;break;case 3:r?(e.append(String.fromCharCode(s+224)),r=!1):e.append(String.fromCharCode(s+96)),i=0;break;default:throw new u.default}}}while(t.available()>0)},t.decodeTextSegment=function(t,e){var r=!1,n=[],i=0;do{if(8===t.available())return;var o=t.readBits(8);if(254===o)return;this.parseTwoBytes(o,t.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 u.default;var l=this.TEXT_BASIC_SET_CHARS[s];r?(e.append(String.fromCharCode(l.charCodeAt(0)+128)),r=!1):e.append(l)}break;case 1:r?(e.append(String.fromCharCode(s+128)),r=!1):e.append(String.fromCharCode(s)),i=0;break;case 2:if(s<this.TEXT_SHIFT2_SET_CHARS.length){l=this.TEXT_SHIFT2_SET_CHARS[s];r?(e.append(String.fromCharCode(l.charCodeAt(0)+128)),r=!1):e.append(l)}else switch(s){case 27:e.append(String.fromCharCode(29));break;case 30:r=!0;break;default:throw new u.default}i=0;break;case 3:if(!(s<this.TEXT_SHIFT3_SET_CHARS.length))throw new u.default;l=this.TEXT_SHIFT3_SET_CHARS[s];r?(e.append(String.fromCharCode(l.charCodeAt(0)+128)),r=!1):e.append(l),i=0;break;default:throw new u.default}}}while(t.available()>0)},t.decodeAnsiX12Segment=function(t,e){var r=[];do{if(8===t.available())return;var n=t.readBits(8);if(254===n)return;this.parseTwoBytes(n,t.readBits(8),r);for(var i=0;i<3;i++){var o=r[i];switch(o){case 0:e.append("\r");break;case 1:e.append("*");break;case 2:e.append(">");break;case 3:e.append(" ");break;default:if(o<14)e.append(String.fromCharCode(o+44));else{if(!(o<40))throw new u.default;e.append(String.fromCharCode(o+51))}}}}while(t.available()>0)},t.parseTwoBytes=function(t,e,r){var n=(t<<8)+e-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},t.decodeEdifactSegment=function(t,e){do{if(t.available()<=16)return;for(var r=0;r<4;r++){var n=t.readBits(6);if(31===n){var i=8-t.getBitOffset();return void(8!==i&&t.readBits(i))}32&n||(n|=64),e.append(String.fromCharCode(n))}}while(t.available()>0)},t.decodeBase256Segment=function(t,e,r){var n,i=1+t.getByteOffset(),o=this.unrandomize255State(t.readBits(8),i++);if((n=0===o?t.available()/8|0:o<250?o:250*(o-249)+this.unrandomize255State(t.readBits(8),i++))<0)throw new u.default;for(var a=new Uint8Array(n),d=0;d<n;d++){if(t.available()<8)throw new u.default;a[d]=this.unrandomize255State(t.readBits(8),i++)}r.push(a);try{e.append(s.default.decode(a,l.default.ISO88591))}catch(t){throw new c.default("Platform does not support required encoding: "+t.message)}},t.unrandomize255State=function(t,e){var r=t-(149*e%255+1);return r>=0?r:r+256},t.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"],t.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],t.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"],t.TEXT_SHIFT2_SET_CHARS=t.C40_SHIFT2_SET_CHARS,t.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)],t}();r.default=d}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/decoder/DecodedBitStreamParser.js"}],[3702,{"../../ChecksumException":3634,"../../common/reedsolomon/GenericGF":3693,"../../common/reedsolomon/ReedSolomonDecoder":3695,"./BitMatrixParser":3699,"./DataBlock":3700,"./DecodedBitStreamParser":3701},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../ChecksumException"),o=t("../../common/reedsolomon/GenericGF"),a=t("../../common/reedsolomon/ReedSolomonDecoder"),s=t("./BitMatrixParser"),l=t("./DataBlock"),u=t("./DecodedBitStreamParser"),c=function(){function t(){this.rsDecoder=new a.default(o.default.DATA_MATRIX_FIELD_256)}return t.prototype.decode=function(t){var e,r,i=new s.default(t),o=i.getVersion(),a=i.readCodewords(),c=l.default.getDataBlocks(a,o),d=0;try{for(var h=n(c),f=h.next();!f.done;f=h.next()){d+=f.value.getNumDataCodewords()}}catch(t){e={error:t}}finally{try{f&&!f.done&&(r=h.return)&&r.call(h)}finally{if(e)throw e.error}}for(var p=new Uint8Array(d),g=c.length,m=0;m<g;m++){var y=c[m],b=y.getCodewords(),v=y.getNumDataCodewords();this.correctErrors(b,v);for(var w=0;w<v;w++)p[w*g+m]=b[w]}return u.default.decode(p)},t.prototype.correctErrors=function(t,e){var r=new Int32Array(t);try{this.rsDecoder.decode(r,t.length-e)}catch(t){throw new i.default}for(var n=0;n<e;n++)t[n]=r[n]},t}();r.default=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/decoder/Decoder.js"}],[3703,{"../../FormatException":3638},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.ECB=r.ECBlocks=void 0;var i=t("../../FormatException"),o=function(){function t(t,e,r){this.ecCodewords=t,this.ecBlocks=[e],r&&this.ecBlocks.push(r)}return t.prototype.getECCodewords=function(){return this.ecCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t}();r.ECBlocks=o;var a=function(){function t(t,e){this.count=t,this.dataCodewords=e}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t}();r.ECB=a;var s=function(){function t(t,e,r,i,o,a){var s,l;this.versionNumber=t,this.symbolSizeRows=e,this.symbolSizeColumns=r,this.dataRegionSizeRows=i,this.dataRegionSizeColumns=o,this.ecBlocks=a;var u=0,c=a.getECCodewords(),d=a.getECBlocks();try{for(var h=n(d),f=h.next();!f.done;f=h.next()){var p=f.value;u+=p.getCount()*(p.getDataCodewords()+c)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(l=h.return)&&l.call(h)}finally{if(s)throw s.error}}this.totalCodewords=u}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},t.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},t.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},t.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t.getVersionForDimensions=function(e,r){var o,a;if(1&e||1&r)throw new i.default;try{for(var s=n(t.VERSIONS),l=s.next();!l.done;l=s.next()){var u=l.value;if(u.symbolSizeRows===e&&u.symbolSizeColumns===r)return u}}catch(t){o={error:t}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}throw new i.default},t.prototype.toString=function(){return""+this.versionNumber},t.buildVersions=function(){return[new t(1,10,10,8,8,new o(5,new a(1,3))),new t(2,12,12,10,10,new o(7,new a(1,5))),new t(3,14,14,12,12,new o(10,new a(1,8))),new t(4,16,16,14,14,new o(12,new a(1,12))),new t(5,18,18,16,16,new o(14,new a(1,18))),new t(6,20,20,18,18,new o(18,new a(1,22))),new t(7,22,22,20,20,new o(20,new a(1,30))),new t(8,24,24,22,22,new o(24,new a(1,36))),new t(9,26,26,24,24,new o(28,new a(1,44))),new t(10,32,32,14,14,new o(36,new a(1,62))),new t(11,36,36,16,16,new o(42,new a(1,86))),new t(12,40,40,18,18,new o(48,new a(1,114))),new t(13,44,44,20,20,new o(56,new a(1,144))),new t(14,48,48,22,22,new o(68,new a(1,174))),new t(15,52,52,24,24,new o(42,new a(2,102))),new t(16,64,64,14,14,new o(56,new a(2,140))),new t(17,72,72,16,16,new o(36,new a(4,92))),new t(18,80,80,18,18,new o(48,new a(4,114))),new t(19,88,88,20,20,new o(56,new a(4,144))),new t(20,96,96,22,22,new o(68,new a(4,174))),new t(21,104,104,24,24,new o(56,new a(6,136))),new t(22,120,120,18,18,new o(68,new a(6,175))),new t(23,132,132,20,20,new o(62,new a(8,163))),new t(24,144,144,22,22,new o(62,new a(8,156),new a(2,155))),new t(25,8,18,6,16,new o(7,new a(1,5))),new t(26,8,32,6,14,new o(11,new a(1,10))),new t(27,12,26,10,24,new o(14,new a(1,16))),new t(28,12,36,10,16,new o(18,new a(1,22))),new t(29,16,36,14,16,new o(24,new a(1,32))),new t(30,16,48,14,22,new o(28,new a(1,49)))]},t.VERSIONS=t.buildVersions(),t}();r.default=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/decoder/Version.js"}],[3704,{"../../NotFoundException":3646,"../../ResultPoint":3655,"../../common/DetectorResult":3681,"../../common/GridSamplerInstance":3685,"../../common/detector/WhiteRectangleDetector":3691},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../common/detector/WhiteRectangleDetector"),i=t("../../common/DetectorResult"),o=t("../../common/GridSamplerInstance"),a=t("../../NotFoundException"),s=t("../../ResultPoint"),l=function(){function t(t){this.image=t,this.rectangleDetector=new n.default(this.image)}return t.prototype.detect=function(){var e=this.rectangleDetector.detect(),r=this.detectSolid1(e);if((r=this.detectSolid2(r))[3]=this.correctTopRight(r),!r[3])throw new a.default;var n=(r=this.shiftToModuleCenter(r))[0],o=r[1],s=r[2],l=r[3],u=this.transitionsBetween(n,l)+1,c=this.transitionsBetween(s,l)+1;1&~u||(u+=1),1&~c||(c+=1),4*u<7*c&&4*c<7*u&&(u=c=Math.max(u,c));var d=t.sampleGrid(this.image,n,o,s,l,u,c);return new i.default(d,[n,o,s,l])},t.shiftPoint=function(t,e,r){var n=(e.getX()-t.getX())/(r+1),i=(e.getY()-t.getY())/(r+1);return new s.default(t.getX()+n,t.getY()+i)},t.moveAway=function(t,e,r){var n=t.getX(),i=t.getY();return n<e?n-=1:n+=1,i<r?i-=1:i+=1,new s.default(n,i)},t.prototype.detectSolid1=function(t){var e=t[0],r=t[1],n=t[3],i=t[2],o=this.transitionsBetween(e,r),a=this.transitionsBetween(r,n),s=this.transitionsBetween(n,i),l=this.transitionsBetween(i,e),u=o,c=[i,e,r,n];return u>a&&(u=a,c[0]=e,c[1]=r,c[2]=n,c[3]=i),u>s&&(u=s,c[0]=r,c[1]=n,c[2]=i,c[3]=e),u>l&&(c[0]=n,c[1]=i,c[2]=e,c[3]=r),c},t.prototype.detectSolid2=function(e){var r=e[0],n=e[1],i=e[2],o=e[3],a=this.transitionsBetween(r,o),s=t.shiftPoint(n,i,4*(a+1)),l=t.shiftPoint(i,n,4*(a+1));return this.transitionsBetween(s,r)<this.transitionsBetween(l,o)?(e[0]=r,e[1]=n,e[2]=i,e[3]=o):(e[0]=n,e[1]=i,e[2]=o,e[3]=r),e},t.prototype.correctTopRight=function(e){var r=e[0],n=e[1],i=e[2],o=e[3],a=this.transitionsBetween(r,o),l=this.transitionsBetween(n,o),u=t.shiftPoint(r,n,4*(l+1)),c=t.shiftPoint(i,n,4*(a+1));a=this.transitionsBetween(u,o),l=this.transitionsBetween(c,o);var d=new s.default(o.getX()+(i.getX()-n.getX())/(a+1),o.getY()+(i.getY()-n.getY())/(a+1)),h=new s.default(o.getX()+(r.getX()-n.getX())/(l+1),o.getY()+(r.getY()-n.getY())/(l+1));return this.isValid(d)?this.isValid(h)?this.transitionsBetween(u,d)+this.transitionsBetween(c,d)>this.transitionsBetween(u,h)+this.transitionsBetween(c,h)?d:h:d:this.isValid(h)?h:null},t.prototype.shiftToModuleCenter=function(e){var r=e[0],n=e[1],i=e[2],o=e[3],a=this.transitionsBetween(r,o)+1,s=this.transitionsBetween(i,o)+1,l=t.shiftPoint(r,n,4*s),u=t.shiftPoint(i,n,4*a);1&~(a=this.transitionsBetween(l,o)+1)||(a+=1),1&~(s=this.transitionsBetween(u,o)+1)||(s+=1);var c,d,h=(r.getX()+n.getX()+i.getX()+o.getX())/4,f=(r.getY()+n.getY()+i.getY()+o.getY())/4;return r=t.moveAway(r,h,f),n=t.moveAway(n,h,f),i=t.moveAway(i,h,f),o=t.moveAway(o,h,f),l=t.shiftPoint(r,n,4*s),l=t.shiftPoint(l,o,4*a),c=t.shiftPoint(n,r,4*s),c=t.shiftPoint(c,i,4*a),u=t.shiftPoint(i,o,4*s),u=t.shiftPoint(u,n,4*a),d=t.shiftPoint(o,i,4*s),[l,c,u,d=t.shiftPoint(d,r,4*a)]},t.prototype.isValid=function(t){return t.getX()>=0&&t.getX()<this.image.getWidth()&&t.getY()>0&&t.getY()<this.image.getHeight()},t.sampleGrid=function(t,e,r,n,i,a,s){return o.default.getInstance().sampleGrid(t,a,s,.5,.5,a-.5,.5,a-.5,s-.5,.5,s-.5,e.getX(),e.getY(),i.getX(),i.getY(),n.getX(),n.getY(),r.getX(),r.getY())},t.prototype.transitionsBetween=function(t,e){var r=Math.trunc(t.getX()),n=Math.trunc(t.getY()),i=Math.trunc(e.getX()),o=Math.trunc(e.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 l=Math.abs(i-r),u=Math.abs(o-n),c=-l/2,d=n<o?1:-1,h=r<i?1:-1,f=0,p=this.image.get(a?n:r,a?r:n),g=r,m=n;g!==i;g+=h){var y=this.image.get(a?m:g,a?g:m);if(y!==p&&(f++,p=y),(c+=u)>0){if(m===o)break;m+=d,c-=l}}return f},t}();r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/detector/Detector.js"}],[3705,{"./HighLevelEncoder":3712,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ASCIIEncoder=void 0;var n=t("./constants"),i=t("./HighLevelEncoder"),o=function(){function t(){}return t.prototype.getEncodingMode=function(){return n.ASCII_ENCODATION},t.prototype.encode=function(t){if(i.default.determineConsecutiveDigitCount(t.getMessage(),t.pos)>=2)t.writeCodeword(this.encodeASCIIDigits(t.getMessage().charCodeAt(t.pos),t.getMessage().charCodeAt(t.pos+1))),t.pos+=2;else{var e=t.getCurrentChar(),r=i.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode());if(r!==this.getEncodingMode())switch(r){case n.BASE256_ENCODATION:return t.writeCodeword(n.LATCH_TO_BASE256),void t.signalEncoderChange(n.BASE256_ENCODATION);case n.C40_ENCODATION:return t.writeCodeword(n.LATCH_TO_C40),void t.signalEncoderChange(n.C40_ENCODATION);case n.X12_ENCODATION:t.writeCodeword(n.LATCH_TO_ANSIX12),t.signalEncoderChange(n.X12_ENCODATION);break;case n.TEXT_ENCODATION:t.writeCodeword(n.LATCH_TO_TEXT),t.signalEncoderChange(n.TEXT_ENCODATION);break;case n.EDIFACT_ENCODATION:t.writeCodeword(n.LATCH_TO_EDIFACT),t.signalEncoderChange(n.EDIFACT_ENCODATION);break;default:throw new Error("Illegal mode: "+r)}else i.default.isExtendedASCII(e)?(t.writeCodeword(n.UPPER_SHIFT),t.writeCodeword(e-128+1),t.pos++):(t.writeCodeword(e+1),t.pos++)}},t.prototype.encodeASCIIDigits=function(t,e){if(i.default.isDigit(t)&&i.default.isDigit(e))return 10*(t-48)+(e-48)+130;throw new Error("not digits: "+t+e)},t}();r.ASCIIEncoder=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/ASCIIEncoder.js"}],[3706,{"../../common/StringUtils":3689,"../../util/StringBuilder":3820,"./HighLevelEncoder":3712,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Base256Encoder=void 0;var n=t("../../common/StringUtils"),i=t("../../util/StringBuilder"),o=t("./HighLevelEncoder"),a=t("./constants"),s=function(){function t(){}return t.prototype.getEncodingMode=function(){return a.BASE256_ENCODATION},t.prototype.encode=function(t){var e=new i.default;for(e.append(0);t.hasMoreCharacters();){var r=t.getCurrentChar();if(e.append(r),t.pos++,o.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode())!==this.getEncodingMode()){t.signalEncoderChange(a.ASCII_ENCODATION);break}}var s=e.length()-1,l=t.getCodewordCount()+s+1;t.updateSymbolInfo(l);var u=t.getSymbolInfo().getDataCapacity()-l>0;if(t.hasMoreCharacters()||u)if(s<=249)e.setCharAt(0,n.default.getCharAt(s));else{if(!(s<=1555))throw new Error("Message length not in valid ranges: "+s);e.setCharAt(0,n.default.getCharAt(Math.floor(s/250)+249)),e.insert(1,n.default.getCharAt(s%250))}var c=0;for(r=e.length();c<r;c++)t.writeCodeword(this.randomize255State(e.charAt(c).charCodeAt(0),t.getCodewordCount()+1))},t.prototype.randomize255State=function(t,e){var r=t+(149*e%255+1);return r<=255?r:r-256},t}();r.Base256Encoder=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/Base256Encoder.js"}],[3707,{"../../util/StringBuilder":3820,"./HighLevelEncoder":3712,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.C40Encoder=void 0;var n=t("../../util/StringBuilder"),i=t("./HighLevelEncoder"),o=t("./constants"),a=function(){function t(){}return t.prototype.getEncodingMode=function(){return o.C40_ENCODATION},t.prototype.encodeMaximal=function(t){for(var e=new n.default,r=0,i=t.pos,a=0;t.hasMoreCharacters();){var s=t.getCurrentChar();t.pos++,r=this.encodeChar(s,e),e.length()%3==0&&(i=t.pos,a=e.length())}if(a!==e.length()){var l=Math.floor(e.length()/3*2),u=Math.floor(t.getCodewordCount()+l+1);t.updateSymbolInfo(u);var c=t.getSymbolInfo().getDataCapacity()-u,d=Math.floor(e.length()%3);(2===d&&2!==c||1===d&&(r>3||1!==c))&&(t.pos=i)}e.length()>0&&t.writeCodeword(o.LATCH_TO_C40),this.handleEOD(t,e)},t.prototype.encode=function(t){for(var e=new n.default;t.hasMoreCharacters();){var r=t.getCurrentChar();t.pos++;var a=this.encodeChar(r,e),s=2*Math.floor(e.length()/3),l=t.getCodewordCount()+s;t.updateSymbolInfo(l);var u=t.getSymbolInfo().getDataCapacity()-l;if(!t.hasMoreCharacters()){var c=new n.default;for(e.length()%3==2&&2!==u&&(a=this.backtrackOneCharacter(t,e,c,a));e.length()%3==1&&(a>3||1!==u);)a=this.backtrackOneCharacter(t,e,c,a);break}if(e.length()%3==0)if(i.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode())!==this.getEncodingMode()){t.signalEncoderChange(o.ASCII_ENCODATION);break}}this.handleEOD(t,e)},t.prototype.backtrackOneCharacter=function(t,e,r,n){var i=e.length(),o=e.toString().substring(0,i-n);e.setLengthToZero(),e.append(o),t.pos--;var a=t.getCurrentChar();return n=this.encodeChar(a,r),t.resetSymbolInfo(),n},t.prototype.writeNextTriplet=function(t,e){t.writeCodewords(this.encodeToCodewords(e.toString()));var r=e.toString().substring(3);e.setLengthToZero(),e.append(r)},t.prototype.handleEOD=function(t,e){var r=Math.floor(e.length()/3*2),n=e.length()%3,i=t.getCodewordCount()+r;t.updateSymbolInfo(i);var a=t.getSymbolInfo().getDataCapacity()-i;if(2===n){for(e.append("\0");e.length()>=3;)this.writeNextTriplet(t,e);t.hasMoreCharacters()&&t.writeCodeword(o.C40_UNLATCH)}else if(1===a&&1===n){for(;e.length()>=3;)this.writeNextTriplet(t,e);t.hasMoreCharacters()&&t.writeCodeword(o.C40_UNLATCH),t.pos--}else{if(0!==n)throw new Error("Unexpected case. Please report!");for(;e.length()>=3;)this.writeNextTriplet(t,e);(a>0||t.hasMoreCharacters())&&t.writeCodeword(o.C40_UNLATCH)}t.signalEncoderChange(o.ASCII_ENCODATION)},t.prototype.encodeChar=function(t,e){if(t===" ".charCodeAt(0))return e.append(3),1;if(t>="0".charCodeAt(0)&&t<="9".charCodeAt(0))return e.append(t-48+4),1;if(t>="A".charCodeAt(0)&&t<="Z".charCodeAt(0))return e.append(t-65+14),1;if(t<" ".charCodeAt(0))return e.append(0),e.append(t),2;if(t<="/".charCodeAt(0))return e.append(1),e.append(t-33),2;if(t<="@".charCodeAt(0))return e.append(1),e.append(t-58+15),2;if(t<="_".charCodeAt(0))return e.append(1),e.append(t-91+22),2;if(t<=127)return e.append(2),e.append(t-96),2;e.append("1");var r=2;return r+=this.encodeChar(t-128,e)},t.prototype.encodeToCodewords=function(t){var e=1600*t.charCodeAt(0)+40*t.charCodeAt(1)+t.charCodeAt(2)+1,r=e/256,i=e%256,o=new n.default;return o.append(r),o.append(i),o.toString()},t}();r.C40Encoder=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/C40Encoder.js"}],[3708,{"../../util/Arrays":3810},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../util/Arrays"),i=function(){function t(t,e,r){this.codewords=t,this.numcols=e,this.numrows=r,this.bits=new Uint8Array(e*r),n.default.fill(this.bits,2)}return t.prototype.getNumrows=function(){return this.numrows},t.prototype.getNumcols=function(){return this.numcols},t.prototype.getBits=function(){return this.bits},t.prototype.getBit=function(t,e){return 1===this.bits[e*this.numcols+t]},t.prototype.setBit=function(t,e,r){this.bits[e*this.numcols+t]=r?1:0},t.prototype.noBit=function(t,e){return 2===this.bits[e*this.numcols+t]},t.prototype.place=function(){var t=0,e=4,r=0;do{e===this.numrows&&0===r&&this.corner1(t++),e===this.numrows-2&&0===r&&this.numcols%4!=0&&this.corner2(t++),e===this.numrows-2&&0===r&&this.numcols%8==4&&this.corner3(t++),e===this.numrows+4&&2===r&&this.numcols%8==0&&this.corner4(t++);do{e<this.numrows&&r>=0&&this.noBit(r,e)&&this.utah(e,r,t++),e-=2,r+=2}while(e>=0&&r<this.numcols);e++,r+=3;do{e>=0&&r<this.numcols&&this.noBit(r,e)&&this.utah(e,r,t++),e+=2,r-=2}while(e<this.numrows&&r>=0);e+=3,r++}while(e<this.numrows||r<this.numcols);this.noBit(this.numcols-1,this.numrows-1)&&(this.setBit(this.numcols-1,this.numrows-1,!0),this.setBit(this.numcols-2,this.numrows-2,!0))},t.prototype.module=function(t,e,r,n){t<0&&(t+=this.numrows,e+=4-(this.numrows+4)%8),e<0&&(e+=this.numcols,t+=4-(this.numcols+4)%8);var i=this.codewords.charCodeAt(r);i&=1<<8-n,this.setBit(e,t,0!==i)},t.prototype.utah=function(t,e,r){this.module(t-2,e-2,r,1),this.module(t-2,e-1,r,2),this.module(t-1,e-2,r,3),this.module(t-1,e-1,r,4),this.module(t-1,e,r,5),this.module(t,e-2,r,6),this.module(t,e-1,r,7),this.module(t,e,r,8)},t.prototype.corner1=function(t){this.module(this.numrows-1,0,t,1),this.module(this.numrows-1,1,t,2),this.module(this.numrows-1,2,t,3),this.module(0,this.numcols-2,t,4),this.module(0,this.numcols-1,t,5),this.module(1,this.numcols-1,t,6),this.module(2,this.numcols-1,t,7),this.module(3,this.numcols-1,t,8)},t.prototype.corner2=function(t){this.module(this.numrows-3,0,t,1),this.module(this.numrows-2,0,t,2),this.module(this.numrows-1,0,t,3),this.module(0,this.numcols-4,t,4),this.module(0,this.numcols-3,t,5),this.module(0,this.numcols-2,t,6),this.module(0,this.numcols-1,t,7),this.module(1,this.numcols-1,t,8)},t.prototype.corner3=function(t){this.module(this.numrows-3,0,t,1),this.module(this.numrows-2,0,t,2),this.module(this.numrows-1,0,t,3),this.module(0,this.numcols-2,t,4),this.module(0,this.numcols-1,t,5),this.module(1,this.numcols-1,t,6),this.module(2,this.numcols-1,t,7),this.module(3,this.numcols-1,t,8)},t.prototype.corner4=function(t){this.module(this.numrows-1,0,t,1),this.module(this.numrows-1,this.numcols-1,t,2),this.module(0,this.numcols-3,t,3),this.module(0,this.numcols-2,t,4),this.module(0,this.numcols-1,t,5),this.module(1,this.numcols-3,t,6),this.module(1,this.numcols-2,t,7),this.module(1,this.numcols-1,t,8)},t}();r.default=i}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/DefaultPlacement.js"}],[3709,{"../../common/StringUtils":3689,"../../util/StringBuilder":3820,"./HighLevelEncoder":3712,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EdifactEncoder=void 0;var n=t("../../common/StringUtils"),i=t("../../util/StringBuilder"),o=t("./constants"),a=t("./HighLevelEncoder"),s=function(){function t(){}return t.prototype.getEncodingMode=function(){return o.EDIFACT_ENCODATION},t.prototype.encode=function(t){for(var e=new i.default;t.hasMoreCharacters();){var r=t.getCurrentChar();if(this.encodeChar(r,e),t.pos++,e.length()>=4){t.writeCodewords(this.encodeToCodewords(e.toString()));var s=e.toString().substring(4);if(e.setLengthToZero(),e.append(s),a.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode())!==this.getEncodingMode()){t.signalEncoderChange(o.ASCII_ENCODATION);break}}}e.append(n.default.getCharAt(31)),this.handleEOD(t,e)},t.prototype.handleEOD=function(t,e){try{var r=e.length();if(0===r)return;if(1===r){t.updateSymbolInfo();var n=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount(),i=t.getRemainingCharacters();if(i>n&&(t.updateSymbolInfo(t.getCodewordCount()+1),n=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount()),i<=n&&n<=2)return}if(r>4)throw new Error("Count must not exceed 4");var a=r-1,s=this.encodeToCodewords(e.toString()),l=!t.hasMoreCharacters()&&a<=2;if(a<=2)t.updateSymbolInfo(t.getCodewordCount()+a),(n=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount())>=3&&(l=!1,t.updateSymbolInfo(t.getCodewordCount()+s.length));l?(t.resetSymbolInfo(),t.pos-=a):t.writeCodewords(s)}finally{t.signalEncoderChange(o.ASCII_ENCODATION)}},t.prototype.encodeChar=function(t,e){t>=" ".charCodeAt(0)&&t<="?".charCodeAt(0)?e.append(t):t>="@".charCodeAt(0)&&t<="^".charCodeAt(0)?e.append(n.default.getCharAt(t-64)):a.default.illegalCharacter(n.default.getCharAt(t))},t.prototype.encodeToCodewords=function(t){var e=t.length;if(0===e)throw new Error("StringBuilder must not be empty");var r=(t.charAt(0).charCodeAt(0)<<18)+((e>=2?t.charAt(1).charCodeAt(0):0)<<12)+((e>=3?t.charAt(2).charCodeAt(0):0)<<6)+(e>=4?t.charAt(3).charCodeAt(0):0),n=r>>16&255,o=r>>8&255,a=255&r,s=new i.default;return s.append(n),e>=2&&s.append(o),e>=3&&s.append(a),s.toString()},t}();r.EdifactEncoder=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/EdifactEncoder.js"}],[3710,{"../../util/StringBuilder":3820,"./SymbolInfo":3714},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EncoderContext=void 0;var n=t("../../util/StringBuilder"),i=t("./SymbolInfo"),o=function(){function t(t){this.msg=t,this.pos=0,this.skipAtEnd=0;for(var e=t.split("").map((function(t){return t.charCodeAt(0)})),r=new n.default,i=0,o=e.length;i<o;i++){var a=String.fromCharCode(255&e[i]);if("?"===a&&"?"!==t.charAt(i))throw new Error("Message contains characters outside ISO-8859-1 encoding.");r.append(a)}this.msg=r.toString(),this.shape=0,this.codewords=new n.default,this.newEncoding=-1}return t.prototype.setSymbolShape=function(t){this.shape=t},t.prototype.setSizeConstraints=function(t,e){this.minSize=t,this.maxSize=e},t.prototype.getMessage=function(){return this.msg},t.prototype.setSkipAtEnd=function(t){this.skipAtEnd=t},t.prototype.getCurrentChar=function(){return this.msg.charCodeAt(this.pos)},t.prototype.getCurrent=function(){return this.msg.charCodeAt(this.pos)},t.prototype.getCodewords=function(){return this.codewords},t.prototype.writeCodewords=function(t){this.codewords.append(t)},t.prototype.writeCodeword=function(t){this.codewords.append(t)},t.prototype.getCodewordCount=function(){return this.codewords.length()},t.prototype.getNewEncoding=function(){return this.newEncoding},t.prototype.signalEncoderChange=function(t){this.newEncoding=t},t.prototype.resetEncoderSignal=function(){this.newEncoding=-1},t.prototype.hasMoreCharacters=function(){return this.pos<this.getTotalMessageCharCount()},t.prototype.getTotalMessageCharCount=function(){return this.msg.length-this.skipAtEnd},t.prototype.getRemainingCharacters=function(){return this.getTotalMessageCharCount()-this.pos},t.prototype.getSymbolInfo=function(){return this.symbolInfo},t.prototype.updateSymbolInfo=function(t){void 0===t&&(t=this.getCodewordCount()),(null==this.symbolInfo||t>this.symbolInfo.getDataCapacity())&&(this.symbolInfo=i.default.lookup(t,this.shape,this.minSize,this.maxSize,!0))},t.prototype.resetSymbolInfo=function(){this.symbolInfo=null},t}();r.EncoderContext=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/EncoderContext.js"}],[3711,{"../../util/StringBuilder":3820,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../util/StringBuilder"),i=t("./constants"),o=function(){function t(){}return t.encodeECC200=function(t,e){if(t.length!==e.getDataCapacity())throw new Error("The number of codewords does not match the selected symbol");var r=new n.default;r.append(t);var i=e.getInterleavedBlockCount();if(1===i){var o=this.createECCBlock(t,e.getErrorCodewords());r.append(o)}else{for(var a=[],s=[],l=0;l<i;l++)a[l]=e.getDataLengthForInterleavedBlock(l+1),s[l]=e.getErrorLengthForInterleavedBlock(l+1);for(var u=0;u<i;u++){for(var c=new n.default,d=u;d<e.getDataCapacity();d+=i)c.append(t.charAt(d));o=this.createECCBlock(c.toString(),s[u]);for(var h=0,f=u;f<s[u]*i;f+=i)r.setCharAt(e.getDataCapacity()+f,o.charAt(h++))}}return r.toString()},t.createECCBlock=function(t,e){for(var r=-1,n=0;n<i.FACTOR_SETS.length;n++)if(i.FACTOR_SETS[n]===e){r=n;break}if(r<0)throw new Error("Illegal number of error correction codewords specified: "+e);var o=i.FACTORS[r],a=[];for(n=0;n<e;n++)a[n]=0;for(n=0;n<t.length;n++){for(var s=a[e-1]^t.charAt(n).charCodeAt(0),l=e-1;l>0;l--)0!==s&&0!==o[l]?a[l]=a[l-1]^i.ALOG[(i.LOG[s]+i.LOG[o[l]])%255]:a[l]=a[l-1];0!==s&&0!==o[0]?a[0]=i.ALOG[(i.LOG[s]+i.LOG[o[0]])%255]:a[0]=0}var u=[];for(n=0;n<e;n++)u[n]=a[e-n-1];return u.map((function(t){return String.fromCharCode(t)})).join("")},t}();r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/ErrorCorrection.js"}],[3712,{"../../util/Arrays":3810,"../../util/Integer":3816,"./ASCIIEncoder":3705,"./Base256Encoder":3706,"./C40Encoder":3707,"./EdifactEncoder":3709,"./EncoderContext":3710,"./TextEncoder":3715,"./X12Encoder":3716,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("./ASCIIEncoder"),i=t("./Base256Encoder"),o=t("./C40Encoder"),a=t("./constants"),s=t("./EdifactEncoder"),l=t("./EncoderContext"),u=t("./X12Encoder"),c=t("./TextEncoder"),d=t("../../util/Arrays"),h=t("../../util/Integer"),f=function(){function t(){}return t.randomize253State=function(t){var e=149*t%253+1,r=a.PAD+e;return r<=254?r:r-254},t.encodeHighLevel=function(t,e,r,d,h){void 0===e&&(e=0),void 0===r&&(r=null),void 0===d&&(d=null),void 0===h&&(h=!1);var f=new o.C40Encoder,p=[new n.ASCIIEncoder,f,new c.TextEncoder,new u.X12Encoder,new s.EdifactEncoder,new i.Base256Encoder],g=new l.EncoderContext(t);g.setSymbolShape(e),g.setSizeConstraints(r,d),t.startsWith(a.MACRO_05_HEADER)&&t.endsWith(a.MACRO_TRAILER)?(g.writeCodeword(a.MACRO_05),g.setSkipAtEnd(2),g.pos+=a.MACRO_05_HEADER.length):t.startsWith(a.MACRO_06_HEADER)&&t.endsWith(a.MACRO_TRAILER)&&(g.writeCodeword(a.MACRO_06),g.setSkipAtEnd(2),g.pos+=a.MACRO_06_HEADER.length);var m=a.ASCII_ENCODATION;for(h&&(f.encodeMaximal(g),m=g.getNewEncoding(),g.resetEncoderSignal());g.hasMoreCharacters();)p[m].encode(g),g.getNewEncoding()>=0&&(m=g.getNewEncoding(),g.resetEncoderSignal());var y=g.getCodewordCount();g.updateSymbolInfo();var b=g.getSymbolInfo().getDataCapacity();y<b&&m!==a.ASCII_ENCODATION&&m!==a.BASE256_ENCODATION&&m!==a.EDIFACT_ENCODATION&&g.writeCodeword("þ");var v=g.getCodewords();for(v.length()<b&&v.append(a.PAD);v.length()<b;)v.append(this.randomize253State(v.length()+1));return g.getCodewords().toString()},t.lookAheadTest=function(t,e,r){var n=this.lookAheadTestIntern(t,e,r);if(r===a.X12_ENCODATION&&n===a.X12_ENCODATION){for(var i=Math.min(e+3,t.length),o=e;o<i;o++)if(!this.isNativeX12(t.charCodeAt(o)))return a.ASCII_ENCODATION}else if(r===a.EDIFACT_ENCODATION&&n===a.EDIFACT_ENCODATION)for(i=Math.min(e+4,t.length),o=e;o<i;o++)if(!this.isNativeEDIFACT(t.charCodeAt(o)))return a.ASCII_ENCODATION;return n},t.lookAheadTestIntern=function(t,e,r){if(e>=t.length)return r;var n;r===a.ASCII_ENCODATION?n=[0,1,1,1,1,1.25]:(n=[1,2,2,2,2,2.25])[r]=0;for(var i=0,o=new Uint8Array(6),s=[];;){if(e+i===t.length){d.default.fill(o,0),d.default.fill(s,0);var l=this.findMinimums(n,s,h.default.MAX_VALUE,o),u=this.getMinimumCount(o);if(s[a.ASCII_ENCODATION]===l)return a.ASCII_ENCODATION;if(1===u){if(o[a.BASE256_ENCODATION]>0)return a.BASE256_ENCODATION;if(o[a.EDIFACT_ENCODATION]>0)return a.EDIFACT_ENCODATION;if(o[a.TEXT_ENCODATION]>0)return a.TEXT_ENCODATION;if(o[a.X12_ENCODATION]>0)return a.X12_ENCODATION}return a.C40_ENCODATION}var c=t.charCodeAt(e+i);if(i++,this.isDigit(c)?n[a.ASCII_ENCODATION]+=.5:this.isExtendedASCII(c)?(n[a.ASCII_ENCODATION]=Math.ceil(n[a.ASCII_ENCODATION]),n[a.ASCII_ENCODATION]+=2):(n[a.ASCII_ENCODATION]=Math.ceil(n[a.ASCII_ENCODATION]),n[a.ASCII_ENCODATION]++),this.isNativeC40(c)?n[a.C40_ENCODATION]+=2/3:this.isExtendedASCII(c)?n[a.C40_ENCODATION]+=8/3:n[a.C40_ENCODATION]+=4/3,this.isNativeText(c)?n[a.TEXT_ENCODATION]+=2/3:this.isExtendedASCII(c)?n[a.TEXT_ENCODATION]+=8/3:n[a.TEXT_ENCODATION]+=4/3,this.isNativeX12(c)?n[a.X12_ENCODATION]+=2/3:this.isExtendedASCII(c)?n[a.X12_ENCODATION]+=13/3:n[a.X12_ENCODATION]+=10/3,this.isNativeEDIFACT(c)?n[a.EDIFACT_ENCODATION]+=3/4:this.isExtendedASCII(c)?n[a.EDIFACT_ENCODATION]+=4.25:n[a.EDIFACT_ENCODATION]+=3.25,this.isSpecialB256(c)?n[a.BASE256_ENCODATION]+=4:n[a.BASE256_ENCODATION]++,i>=4){if(d.default.fill(o,0),d.default.fill(s,0),this.findMinimums(n,s,h.default.MAX_VALUE,o),s[a.ASCII_ENCODATION]<this.min(s[a.BASE256_ENCODATION],s[a.C40_ENCODATION],s[a.TEXT_ENCODATION],s[a.X12_ENCODATION],s[a.EDIFACT_ENCODATION]))return a.ASCII_ENCODATION;if(s[a.BASE256_ENCODATION]<s[a.ASCII_ENCODATION]||s[a.BASE256_ENCODATION]+1<this.min(s[a.C40_ENCODATION],s[a.TEXT_ENCODATION],s[a.X12_ENCODATION],s[a.EDIFACT_ENCODATION]))return a.BASE256_ENCODATION;if(s[a.EDIFACT_ENCODATION]+1<this.min(s[a.BASE256_ENCODATION],s[a.C40_ENCODATION],s[a.TEXT_ENCODATION],s[a.X12_ENCODATION],s[a.ASCII_ENCODATION]))return a.EDIFACT_ENCODATION;if(s[a.TEXT_ENCODATION]+1<this.min(s[a.BASE256_ENCODATION],s[a.C40_ENCODATION],s[a.EDIFACT_ENCODATION],s[a.X12_ENCODATION],s[a.ASCII_ENCODATION]))return a.TEXT_ENCODATION;if(s[a.X12_ENCODATION]+1<this.min(s[a.BASE256_ENCODATION],s[a.C40_ENCODATION],s[a.EDIFACT_ENCODATION],s[a.TEXT_ENCODATION],s[a.ASCII_ENCODATION]))return a.X12_ENCODATION;if(s[a.C40_ENCODATION]+1<this.min(s[a.ASCII_ENCODATION],s[a.BASE256_ENCODATION],s[a.EDIFACT_ENCODATION],s[a.TEXT_ENCODATION])){if(s[a.C40_ENCODATION]<s[a.X12_ENCODATION])return a.C40_ENCODATION;if(s[a.C40_ENCODATION]===s[a.X12_ENCODATION]){for(var f=e+i+1;f<t.length;){var p=t.charCodeAt(f);if(this.isX12TermSep(p))return a.X12_ENCODATION;if(!this.isNativeX12(p))break;f++}return a.C40_ENCODATION}}}}},t.min=function(t,e,r,n,i){var o=Math.min(t,Math.min(e,Math.min(r,n)));return i===undefined?o:Math.min(o,i)},t.findMinimums=function(t,e,r,n){for(var i=0;i<6;i++){var o=e[i]=Math.ceil(t[i]);r>o&&(r=o,d.default.fill(n,0)),r===o&&(n[i]=n[i]+1)}return r},t.getMinimumCount=function(t){for(var e=0,r=0;r<6;r++)e+=t[r];return e||0},t.isDigit=function(t){return t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)},t.isExtendedASCII=function(t){return t>=128&&t<=255},t.isNativeC40=function(t){return t===" ".charCodeAt(0)||t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)||t>="A".charCodeAt(0)&&t<="Z".charCodeAt(0)},t.isNativeText=function(t){return t===" ".charCodeAt(0)||t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)||t>="a".charCodeAt(0)&&t<="z".charCodeAt(0)},t.isNativeX12=function(t){return this.isX12TermSep(t)||t===" ".charCodeAt(0)||t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)||t>="A".charCodeAt(0)&&t<="Z".charCodeAt(0)},t.isX12TermSep=function(t){return 13===t||t==="*".charCodeAt(0)||t===">".charCodeAt(0)},t.isNativeEDIFACT=function(t){return t>=" ".charCodeAt(0)&&t<="^".charCodeAt(0)},t.isSpecialB256=function(t){return!1},t.determineConsecutiveDigitCount=function(t,e){void 0===e&&(e=0);for(var r=t.length,n=e;n<r&&this.isDigit(t.charCodeAt(n));)n++;return n-e},t.illegalCharacter=function(t){var e=h.default.toHexString(t.charCodeAt(0));throw e="0000".substring(0,4-e.length)+e,new Error("Illegal character: "+t+" (0x"+e+")")},t}();r.default=f}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/HighLevelEncoder.js"}],[3713,{"../../common/MinimalECIInput":3687,"../../util/Integer":3816,"./HighLevelEncoder":3712,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},s=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t};Object.defineProperty(r,"__esModule",{value:!0}),r.MinimalEncoder=void 0;var l,u=t("./constants"),c=t("./HighLevelEncoder"),d=t("../../common/MinimalECIInput"),h=t("../../util/Integer");!function(t){t[t.ASCII=0]="ASCII",t[t.C40=1]="C40",t[t.TEXT=2]="TEXT",t[t.X12=3]="X12",t[t.EDF=4]="EDF",t[t.B256=5]="B256"}(l||(l={}));var f=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],p=function(){function t(){}return t.isExtendedASCII=function(t,e){return t!==e&&t>=128&&t<=255},t.isInC40Shift1Set=function(t){return t<=31},t.isInC40Shift2Set=function(t,e){var r,n;try{for(var i=o(f),a=i.next();!a.done;a=i.next()){if(a.value.charCodeAt(0)===t)return!0}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return t===e},t.isInTextShift1Set=function(t){return this.isInC40Shift1Set(t)},t.isInTextShift2Set=function(t,e){return this.isInC40Shift2Set(t,e)},t.encodeHighLevel=function(t,e,r,n){void 0===e&&(e=null),void 0===r&&(r=-1),void 0===n&&(n=0);var i=0;return t.startsWith(u.MACRO_05_HEADER)&&t.endsWith(u.MACRO_TRAILER)?(i=5,t=t.substring(u.MACRO_05_HEADER.length,t.length-2)):t.startsWith(u.MACRO_06_HEADER)&&t.endsWith(u.MACRO_TRAILER)&&(i=6,t=t.substring(u.MACRO_06_HEADER.length,t.length-2)),decodeURIComponent(escape(String.fromCharCode.apply(String,s(this.encode(t,e,r,n,i)))))},t.encode=function(t,e,r,n,i){return this.encodeMinimally(new y(t,e,r,n,i)).getBytes()},t.addEdge=function(t,e){var r=e.fromPosition+e.characterLength;(null===t[r][e.getEndMode()]||t[r][e.getEndMode()].cachedTotalSize>e.cachedTotalSize)&&(t[r][e.getEndMode()]=e)},t.getNumberOfC40Words=function(e,r,n,i){for(var o=0,a=r;a<e.length();a++){if(e.isECI(a))return i[0]=0,0;var s=e.charAt(a);if(n&&c.default.isNativeC40(s)||!n&&c.default.isNativeText(s))o++;else if(t.isExtendedASCII(s,e.getFNC1Character())){var l=255&s;l>=128&&(n&&c.default.isNativeC40(l-128)||!n&&c.default.isNativeText(l-128))?o+=3:o+=4}else o+=2;if(o%3==0||(o-2)%3==0&&a+1===e.length())return i[0]=a-r+1,Math.ceil(o/3)}return i[0]=0,0},t.addEdges=function(e,r,n,i){var a,s;if(e.isECI(n))this.addEdge(r,new m(e,l.ASCII,n,1,i));else{var u,d=e.charAt(n);if(null===i||i.getEndMode()!==l.EDF){c.default.isDigit(d)&&e.haveNCharacters(n,2)&&c.default.isDigit(e.charAt(n+1))?this.addEdge(r,new m(e,l.ASCII,n,2,i)):this.addEdge(r,new m(e,l.ASCII,n,1,i));var h=[l.C40,l.TEXT];try{for(var f=o(h),p=f.next();!p.done;p=f.next()){var g=p.value,y=[];t.getNumberOfC40Words(e,n,g===l.C40,y)>0&&this.addEdge(r,new m(e,g,n,y[0],i))}}catch(t){a={error:t}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(a)throw a.error}}e.haveNCharacters(n,3)&&c.default.isNativeX12(e.charAt(n))&&c.default.isNativeX12(e.charAt(n+1))&&c.default.isNativeX12(e.charAt(n+2))&&this.addEdge(r,new m(e,l.X12,n,3,i)),this.addEdge(r,new m(e,l.B256,n,1,i))}for(u=0;u<3;u++){var b=n+u;if(!e.haveNCharacters(b,1)||!c.default.isNativeEDIFACT(e.charAt(b)))break;this.addEdge(r,new m(e,l.EDF,n,u+1,i))}3===u&&e.haveNCharacters(n,4)&&c.default.isNativeEDIFACT(e.charAt(n+3))&&this.addEdge(r,new m(e,l.EDF,n,4,i))}},t.encodeMinimally=function(t){var e=t.length(),r=Array(e+1).fill(null).map((function(){return Array(6).fill(0)}));this.addEdges(t,r,0,null);for(var n=1;n<=e;n++){for(var i=0;i<6;i++)null!==r[n][i]&&n<e&&this.addEdges(t,r,n,r[n][i]);for(i=0;i<6;i++)r[n-1][i]=null}var o=-1,a=h.default.MAX_VALUE;for(i=0;i<6;i++)if(null!==r[e][i]){var s=r[e][i],l=i>=1&&i<=3?s.cachedTotalSize+1:s.cachedTotalSize;l<a&&(a=l,o=i)}if(o<0)throw new Error('Failed to encode "'+t+'"');return new g(r[e][o])},t}();r.MinimalEncoder=p;var g=function(){function t(t){var e=t.input,r=0,n=[],i=[],o=[];t.mode!==l.C40&&t.mode!==l.TEXT&&t.mode!==l.X12||t.getEndMode()===l.ASCII||(r+=this.prepend(m.getBytes(254),n));for(var a=t;null!==a;)r+=this.prepend(a.getDataBytes(),n),null!==a.previous&&a.getPreviousStartMode()===a.getMode()||(a.getMode()===l.B256&&(r<=249?(n.unshift(r),r++):(n.unshift(r%250),n.unshift(r/250+249),r+=2),i.push(n.length),o.push(r)),this.prepend(a.getLatchBytes(),n),r=0),a=a.previous;5===e.getMacroId()?r+=this.prepend(m.getBytes(236),n):6===e.getMacroId()&&(r+=this.prepend(m.getBytes(237),n)),e.getFNC1Character()>0&&(r+=this.prepend(m.getBytes(232),n));for(var s=0;s<i.length;s++)this.applyRandomPattern(n,n.length-i[s],o[s]);var u=t.getMinSymbolSize(n.length);for(n.length<u&&n.push(129);n.length<u;)n.push(this.randomize253State(n.length+1));this.bytes=new Uint8Array(n.length);for(s=0;s<this.bytes.length;s++)this.bytes[s]=n[s]}return t.prototype.prepend=function(t,e){for(var r=t.length-1;r>=0;r--)e.unshift(t[r]);return t.length},t.prototype.randomize253State=function(t){var e=129+(149*t%253+1);return e<=254?e:e-254},t.prototype.applyRandomPattern=function(t,e,r){for(var n=0;n<r;n++){var i=e+n,o=(255&t[i])+(149*(i+1)%255+1);t[i]=o<=255?o:o-256}},t.prototype.getBytes=function(){return this.bytes},t}(),m=function(){function t(t,e,r,n,i){if(this.input=t,this.mode=e,this.fromPosition=r,this.characterLength=n,this.previous=i,this.allCodewordCapacities=[3,5,8,10,12,16,18,22,30,32,36,44,49,62,86,114,144,174,204,280,368,456,576,696,816,1050,1304,1558],this.squareCodewordCapacities=[3,5,8,12,18,22,30,36,44,62,86,114,144,174,204,280,368,456,576,696,816,1050,1304,1558],this.rectangularCodewordCapacities=[5,10,16,33,32,49],!(r+n<=t.length()))throw new Error("Invalid edge");var o=null!==i?i.cachedTotalSize:0,a=this.getPreviousMode();switch(e){case l.ASCII:o++,(t.isECI(r)||p.isExtendedASCII(t.charAt(r),t.getFNC1Character()))&&o++,a!==l.C40&&a!==l.TEXT&&a!==l.X12||o++;break;case l.B256:o++,(a!==l.B256||250===this.getB256Size())&&o++,a===l.ASCII?o++:a!==l.C40&&a!==l.TEXT&&a!==l.X12||(o+=2);break;case l.C40:case l.TEXT:case l.X12:if(e===l.X12)o+=2;else{o+=2*p.getNumberOfC40Words(t,r,e===l.C40,[])}a===l.ASCII||a===l.B256?o++:a===e||a!==l.C40&&a!==l.TEXT&&a!==l.X12||(o+=2);break;case l.EDF:o+=3,a===l.ASCII||a===l.B256?o++:a!==l.C40&&a!==l.TEXT&&a!==l.X12||(o+=2)}this.cachedTotalSize=o}return t.prototype.getB256Size=function(){for(var t=0,e=this;null!==e&&e.mode===l.B256&&t<=250;)t++,e=e.previous;return t},t.prototype.getPreviousStartMode=function(){return null===this.previous?l.ASCII:this.previous.mode},t.prototype.getPreviousMode=function(){return null===this.previous?l.ASCII:this.previous.getEndMode()},t.prototype.getEndMode=function(){if(this.mode===l.EDF){if(this.characterLength<4)return l.ASCII;if((t=this.getLastASCII())>0&&this.getCodewordsRemaining(this.cachedTotalSize+t)<=2-t)return l.ASCII}if(this.mode===l.C40||this.mode===l.TEXT||this.mode===l.X12){if(this.fromPosition+this.characterLength>=this.input.length()&&0===this.getCodewordsRemaining(this.cachedTotalSize))return l.ASCII;var t;if(1===(t=this.getLastASCII())&&0===this.getCodewordsRemaining(this.cachedTotalSize+1))return l.ASCII}return this.mode},t.prototype.getMode=function(){return this.mode},t.prototype.getLastASCII=function(){var t=this.input.length(),e=this.fromPosition+this.characterLength;return t-e>4||e>=t?0:t-e==1?p.isExtendedASCII(this.input.charAt(e),this.input.getFNC1Character())?0:1:t-e==2?p.isExtendedASCII(this.input.charAt(e),this.input.getFNC1Character())||p.isExtendedASCII(this.input.charAt(e+1),this.input.getFNC1Character())?0:c.default.isDigit(this.input.charAt(e))&&c.default.isDigit(this.input.charAt(e+1))?1:2:t-e==3?c.default.isDigit(this.input.charAt(e))&&c.default.isDigit(this.input.charAt(e+1))&&!p.isExtendedASCII(this.input.charAt(e+2),this.input.getFNC1Character())||c.default.isDigit(this.input.charAt(e+1))&&c.default.isDigit(this.input.charAt(e+2))&&!p.isExtendedASCII(this.input.charAt(e),this.input.getFNC1Character())?2:0:c.default.isDigit(this.input.charAt(e))&&c.default.isDigit(this.input.charAt(e+1))&&c.default.isDigit(this.input.charAt(e+2))&&c.default.isDigit(this.input.charAt(e+3))?2:0},t.prototype.getMinSymbolSize=function(t){var e,r,n,i,a,s;switch(this.input.getShapeHint()){case 1:try{for(var l=o(this.squareCodewordCapacities),u=l.next();!u.done;u=l.next()){if((p=u.value)>=t)return p}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}break;case 2:try{for(var c=o(this.rectangularCodewordCapacities),d=c.next();!d.done;d=c.next()){if((p=d.value)>=t)return p}}catch(t){n={error:t}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}try{for(var h=o(this.allCodewordCapacities),f=h.next();!f.done;f=h.next()){var p;if((p=f.value)>=t)return p}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}return this.allCodewordCapacities[this.allCodewordCapacities.length-1]},t.prototype.getCodewordsRemaining=function(t){return this.getMinSymbolSize(t)-t},t.getBytes=function(t,e){var r=new Uint8Array(e?2:1);return r[0]=t,e&&(r[1]=e),r},t.prototype.setC40Word=function(t,e,r,n,i){var o=1600*(255&r)+40*(255&n)+(255&i)+1;t[e]=o/256,t[e+1]=o%256},t.prototype.getX12Value=function(t){return 13===t?0:42===t?1:62===t?2:32===t?3:t>=48&&t<=57?t-44:t>=65&&t<=90?t-51:t},t.prototype.getX12Words=function(){if(this.characterLength%3!=0)throw new Error("X12 words must be a multiple of 3");for(var t=new Uint8Array(this.characterLength/3*2),e=0;e<t.length;e+=2)this.setC40Word(t,e,this.getX12Value(this.input.charAt(this.fromPosition+e/2*3)),this.getX12Value(this.input.charAt(this.fromPosition+e/2*3+1)),this.getX12Value(this.input.charAt(this.fromPosition+e/2*3+2)));return t},t.prototype.getShiftValue=function(t,e,r){return e&&p.isInC40Shift1Set(t)||!e&&p.isInTextShift1Set(t)?0:e&&p.isInC40Shift2Set(t,r)||!e&&p.isInTextShift2Set(t,r)?1:2},t.prototype.getC40Value=function(t,e,r,n){if(r===n){if(2!==e)throw new Error("FNC1 cannot be used in C40 shift 2");return 27}return t?r<=31?r:32===r?3:r<=47?r-33:r<=57?r-44:r<=64?r-43:r<=90?r-51:r<=95?r-69:r<=127?r-96:r:0===r?0:0===e&&r<=3?r-1:1===e&&r<=31?r:32===r?3:r>=33&&r<=47?r-33:r>=48&&r<=57?r-44:r>=58&&r<=64?r-43:r>=65&&r<=90?r-64:r>=91&&r<=95?r-69:96===r?0:r>=97&&r<=122?r-83:r>=123&&r<=127?r-96:r},t.prototype.getC40Words=function(t,e){for(var r=[],n=0;n<this.characterLength;n++){var i=this.input.charAt(this.fromPosition+n);if(t&&c.default.isNativeC40(i)||!t&&c.default.isNativeText(i))r.push(this.getC40Value(t,0,i,e));else if(p.isExtendedASCII(i,e)){var o=(255&i)-128;if(t&&c.default.isNativeC40(o)||!t&&c.default.isNativeText(o))r.push(1),r.push(30),r.push(this.getC40Value(t,0,o,e));else{r.push(1),r.push(30);a=this.getShiftValue(o,t,e);r.push(a),r.push(this.getC40Value(t,a,o,e))}}else{var a=this.getShiftValue(i,t,e);r.push(a),r.push(this.getC40Value(t,a,i,e))}}if(r.length%3!=0){if((r.length-2)%3!=0||this.fromPosition+this.characterLength!==this.input.length())throw new Error("C40 words must be a multiple of 3");r.push(0)}var s=new Uint8Array(r.length/3*2),l=0;for(n=0;n<r.length;n+=3)this.setC40Word(s,l,255&r[n],255&r[n+1],255&r[n+2]),l+=2;return s},t.prototype.getEDFBytes=function(){for(var t=Math.ceil(this.characterLength/4),e=new Uint8Array(3*t),r=this.fromPosition,n=Math.min(this.fromPosition+this.characterLength-1,this.input.length()-1),i=0;i<t;i+=3){for(var o=[],a=0;a<4;a++)o[a]=r<=n?63&this.input.charAt(r++):r===n+1?31:0;var s=o[0]<<18;s|=o[1]<<12,s|=o[2]<<6,s|=o[3],e[i]=s>>16&255,e[i+1]=s>>8&255,e[i+2]=255&s}return e},t.prototype.getLatchBytes=function(){switch(this.getPreviousMode()){case l.ASCII:case l.B256:switch(this.mode){case l.B256:return t.getBytes(231);case l.C40:return t.getBytes(230);case l.TEXT:return t.getBytes(239);case l.X12:return t.getBytes(238);case l.EDF:return t.getBytes(240)}break;case l.C40:case l.TEXT:case l.X12:if(this.mode!==this.getPreviousMode())switch(this.mode){case l.ASCII:return t.getBytes(254);case l.B256:return t.getBytes(254,231);case l.C40:return t.getBytes(254,230);case l.TEXT:return t.getBytes(254,239);case l.X12:return t.getBytes(254,238);case l.EDF:return t.getBytes(254,240)}break;case l.EDF:if(this.mode!==l.EDF)throw new Error("Cannot switch from EDF to "+this.mode)}return new Uint8Array(0)},t.prototype.getDataBytes=function(){switch(this.mode){case l.ASCII:return this.input.isECI(this.fromPosition)?t.getBytes(241,this.input.getECIValue(this.fromPosition)+1):p.isExtendedASCII(this.input.charAt(this.fromPosition),this.input.getFNC1Character())?t.getBytes(235,this.input.charAt(this.fromPosition)-127):2===this.characterLength?t.getBytes(10*this.input.charAt(this.fromPosition)+this.input.charAt(this.fromPosition+1)+130):this.input.isFNC1(this.fromPosition)?t.getBytes(232):t.getBytes(this.input.charAt(this.fromPosition)+1);case l.B256:return t.getBytes(this.input.charAt(this.fromPosition));case l.C40:return this.getC40Words(!0,this.input.getFNC1Character());case l.TEXT:return this.getC40Words(!1,this.input.getFNC1Character());case l.X12:return this.getX12Words();case l.EDF:return this.getEDFBytes()}},t}(),y=function(t){function e(e,r,n,i,o){var a=t.call(this,e,r,n)||this;return a.shape=i,a.macroId=o,a}return i(e,t),e.prototype.getMacroId=function(){return this.macroId},e.prototype.getShapeHint=function(){return this.shape},e}(d.MinimalECIInput)}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/MinimalEncoder.js"}],[3714,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.PROD_SYMBOLS=void 0;var a=function(){function t(t,e,r,n,i,o,a,s){void 0===a&&(a=0),void 0===s&&(s=0),this.rectangular=t,this.dataCapacity=e,this.errorCodewords=r,this.matrixWidth=n,this.matrixHeight=i,this.dataRegions=o,this.rsBlockData=a,this.rsBlockError=s}return t.lookup=function(t,e,n,i,a){var s,l;void 0===e&&(e=0),void 0===n&&(n=null),void 0===i&&(i=null),void 0===a&&(a=!0);try{for(var u=o(r.PROD_SYMBOLS),c=u.next();!c.done;c=u.next()){var d=c.value;if((1!==e||!d.rectangular)&&((2!==e||d.rectangular)&&(null==n||!(d.getSymbolWidth()<n.getWidth()||d.getSymbolHeight()<n.getHeight()))&&(null==i||!(d.getSymbolWidth()>i.getWidth()||d.getSymbolHeight()>i.getHeight()))&&t<=d.dataCapacity))return d}}catch(t){s={error:t}}finally{try{c&&!c.done&&(l=u.return)&&l.call(u)}finally{if(s)throw s.error}}if(a)throw new Error("Can't find a symbol arrangement that matches the message. Data codewords: "+t);return null},t.prototype.getHorizontalDataRegions=function(){switch(this.dataRegions){case 1:return 1;case 2:case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},t.prototype.getVerticalDataRegions=function(){switch(this.dataRegions){case 1:case 2:return 1;case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},t.prototype.getSymbolDataWidth=function(){return this.getHorizontalDataRegions()*this.matrixWidth},t.prototype.getSymbolDataHeight=function(){return this.getVerticalDataRegions()*this.matrixHeight},t.prototype.getSymbolWidth=function(){return this.getSymbolDataWidth()+2*this.getHorizontalDataRegions()},t.prototype.getSymbolHeight=function(){return this.getSymbolDataHeight()+2*this.getVerticalDataRegions()},t.prototype.getCodewordCount=function(){return this.dataCapacity+this.errorCodewords},t.prototype.getInterleavedBlockCount=function(){return this.rsBlockData?this.dataCapacity/this.rsBlockData:1},t.prototype.getDataCapacity=function(){return this.dataCapacity},t.prototype.getErrorCodewords=function(){return this.errorCodewords},t.prototype.getDataLengthForInterleavedBlock=function(t){return this.rsBlockData},t.prototype.getErrorLengthForInterleavedBlock=function(t){return this.rsBlockError},t}();r.default=a;var s=function(t){function e(){return t.call(this,!1,1558,620,22,22,36,-1,62)||this}return i(e,t),e.prototype.getInterleavedBlockCount=function(){return 10},e.prototype.getDataLengthForInterleavedBlock=function(t){return t<=8?156:155},e}(a);r.PROD_SYMBOLS=[new a(!1,3,5,8,8,1),new a(!1,5,7,10,10,1),new a(!0,5,7,16,6,1),new a(!1,8,10,12,12,1),new a(!0,10,11,14,6,2),new a(!1,12,12,14,14,1),new a(!0,16,14,24,10,1),new a(!1,18,14,16,16,1),new a(!1,22,18,18,18,1),new a(!0,22,18,16,10,2),new a(!1,30,20,20,20,1),new a(!0,32,24,16,14,2),new a(!1,36,24,22,22,1),new a(!1,44,28,24,24,1),new a(!0,49,28,22,14,2),new a(!1,62,36,14,14,4),new a(!1,86,42,16,16,4),new a(!1,114,48,18,18,4),new a(!1,144,56,20,20,4),new a(!1,174,68,22,22,4),new a(!1,204,84,24,24,4,102,42),new a(!1,280,112,14,14,16,140,56),new a(!1,368,144,16,16,16,92,36),new a(!1,456,192,18,18,16,114,48),new a(!1,576,224,20,20,16,144,56),new a(!1,696,272,22,22,16,174,68),new a(!1,816,336,24,24,16,136,56),new a(!1,1050,408,18,18,36,175,68),new a(!1,1304,496,20,20,36,163,62),new s]}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/SymbolInfo.js"}],[3715,{"./C40Encoder":3707,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.TextEncoder=void 0;var o=t("./C40Encoder"),a=t("./constants"),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getEncodingMode=function(){return a.TEXT_ENCODATION},e.prototype.encodeChar=function(t,e){if(t===" ".charCodeAt(0))return e.append(3),1;if(t>="0".charCodeAt(0)&&t<="9".charCodeAt(0))return e.append(t-48+4),1;if(t>="a".charCodeAt(0)&&t<="z".charCodeAt(0))return e.append(t-97+14),1;if(t<" ".charCodeAt(0))return e.append(0),e.append(t),2;if(t<="/".charCodeAt(0))return e.append(1),e.append(t-33),2;if(t<="@".charCodeAt(0))return e.append(1),e.append(t-58+15),2;if(t>="[".charCodeAt(0)&&t<="_".charCodeAt(0))return e.append(1),e.append(t-91+22),2;if(t==="`".charCodeAt(0))return e.append(2),e.append(0),2;if(t<="Z".charCodeAt(0))return e.append(2),e.append(t-65+1),2;if(t<=127)return e.append(2),e.append(t-123+27),2;e.append("1");var r=2;return r+=this.encodeChar(t-128,e)},e}(o.C40Encoder);r.TextEncoder=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/TextEncoder.js"}],[3716,{"../../common/StringUtils":3689,"../../util/StringBuilder":3820,"./C40Encoder":3707,"./HighLevelEncoder":3712,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.X12Encoder=void 0;var o=t("../../common/StringUtils"),a=t("../../util/StringBuilder"),s=t("./C40Encoder"),l=t("./HighLevelEncoder"),u=t("./constants"),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getEncodingMode=function(){return u.X12_ENCODATION},e.prototype.encode=function(t){for(var e=new a.default;t.hasMoreCharacters();){var r=t.getCurrentChar();if(t.pos++,this.encodeChar(r,e),e.length()%3==0)if(this.writeNextTriplet(t,e),l.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode())!==this.getEncodingMode()){t.signalEncoderChange(u.ASCII_ENCODATION);break}}this.handleEOD(t,e)},e.prototype.encodeChar=function(t,e){switch(t){case 13:e.append(0);break;case"*".charCodeAt(0):e.append(1);break;case">".charCodeAt(0):e.append(2);break;case" ".charCodeAt(0):e.append(3);break;default:t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)?e.append(t-48+4):t>="A".charCodeAt(0)&&t<="Z".charCodeAt(0)?e.append(t-65+14):l.default.illegalCharacter(o.default.getCharAt(t))}return 1},e.prototype.handleEOD=function(t,e){t.updateSymbolInfo();var r=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount(),n=e.length();t.pos-=n,(t.getRemainingCharacters()>1||r>1||t.getRemainingCharacters()!==r)&&t.writeCodeword(u.X12_UNLATCH),t.getNewEncoding()<0&&t.signalEncoderChange(u.ASCII_ENCODATION)},e}(s.C40Encoder);r.X12Encoder=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/X12Encoder.js"}],[3717,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n;Object.defineProperty(r,"__esModule",{value:!0}),r.BASE256_ENCODATION=r.EDIFACT_ENCODATION=r.X12_ENCODATION=r.TEXT_ENCODATION=r.C40_ENCODATION=r.ASCII_ENCODATION=r.MACRO_TRAILER=r.MACRO_06_HEADER=r.MACRO_05_HEADER=r.X12_UNLATCH=r.C40_UNLATCH=r.LATCH_TO_EDIFACT=r.LATCH_TO_TEXT=r.LATCH_TO_ANSIX12=r.MACRO_06=r.MACRO_05=r.UPPER_SHIFT=r.LATCH_TO_BASE256=r.LATCH_TO_C40=r.PAD=r.SymbolShapeHint=r.ALOG=r.LOG=r.MODULO_VALUE=r.FACTORS=r.FACTOR_SETS=void 0,r.FACTOR_SETS=[5,7,10,11,12,14,18,20,24,28,36,42,48,56,62,68],r.FACTORS=[[228,48,15,111,62],[23,68,144,134,240,92,254],[28,24,185,166,223,248,116,255,110,61],[175,138,205,12,194,168,39,245,60,97,120],[41,153,158,91,61,42,142,213,97,178,100,242],[156,97,192,252,95,9,157,119,138,45,18,186,83,185],[83,195,100,39,188,75,66,61,241,213,109,129,94,254,225,48,90,188],[15,195,244,9,233,71,168,2,188,160,153,145,253,79,108,82,27,174,186,172],[52,190,88,205,109,39,176,21,155,197,251,223,155,21,5,172,254,124,12,181,184,96,50,193],[211,231,43,97,71,96,103,174,37,151,170,53,75,34,249,121,17,138,110,213,141,136,120,151,233,168,93,255],[245,127,242,218,130,250,162,181,102,120,84,179,220,251,80,182,229,18,2,4,68,33,101,137,95,119,115,44,175,184,59,25,225,98,81,112],[77,193,137,31,19,38,22,153,247,105,122,2,245,133,242,8,175,95,100,9,167,105,214,111,57,121,21,1,253,57,54,101,248,202,69,50,150,177,226,5,9,5],[245,132,172,223,96,32,117,22,238,133,238,231,205,188,237,87,191,106,16,147,118,23,37,90,170,205,131,88,120,100,66,138,186,240,82,44,176,87,187,147,160,175,69,213,92,253,225,19],[175,9,223,238,12,17,220,208,100,29,175,170,230,192,215,235,150,159,36,223,38,200,132,54,228,146,218,234,117,203,29,232,144,238,22,150,201,117,62,207,164,13,137,245,127,67,247,28,155,43,203,107,233,53,143,46],[242,93,169,50,144,210,39,118,202,188,201,189,143,108,196,37,185,112,134,230,245,63,197,190,250,106,185,221,175,64,114,71,161,44,147,6,27,218,51,63,87,10,40,130,188,17,163,31,176,170,4,107,232,7,94,166,224,124,86,47,11,204],[220,228,173,89,251,149,159,56,89,33,147,244,154,36,73,127,213,136,248,180,234,197,158,177,68,122,93,213,15,160,227,236,66,139,153,185,202,167,179,25,220,232,96,210,231,136,223,239,181,241,59,52,172,25,49,232,211,189,64,54,108,153,132,63,96,103,82,186]],r.MODULO_VALUE=301;r.LOG=(n=function(t,e){for(var n=1,i=0;i<255;i++)e[i]=n,t[n]=i,(n*=2)>=256&&(n^=r.MODULO_VALUE);return{LOG:t,ALOG:e}}([],[])).LOG,r.ALOG=n.ALOG,function(t){t[t.FORCE_NONE=0]="FORCE_NONE",t[t.FORCE_SQUARE=1]="FORCE_SQUARE",t[t.FORCE_RECTANGLE=2]="FORCE_RECTANGLE"}(r.SymbolShapeHint||(r.SymbolShapeHint={})),r.PAD=129,r.LATCH_TO_C40=230,r.LATCH_TO_BASE256=231,r.UPPER_SHIFT=235,r.MACRO_05=236,r.MACRO_06=237,r.LATCH_TO_ANSIX12=238,r.LATCH_TO_TEXT=239,r.LATCH_TO_EDIFACT=240,r.C40_UNLATCH=254,r.X12_UNLATCH=254,r.MACRO_05_HEADER="[)>05",r.MACRO_06_HEADER="[)>06",r.MACRO_TRAILER="",r.ASCII_ENCODATION=0,r.C40_ENCODATION=1,r.TEXT_ENCODATION=2,r.X12_ENCODATION=3,r.EDIFACT_ENCODATION=4,r.BASE256_ENCODATION=5}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/constants.js"}],[3718,{"./ASCIIEncoder":3705,"./Base256Encoder":3706,"./C40Encoder":3707,"./DefaultPlacement":3708,"./EdifactEncoder":3709,"./EncoderContext":3710,"./ErrorCorrection":3711,"./HighLevelEncoder":3712,"./MinimalEncoder":3713,"./SymbolInfo":3714,"./TextEncoder":3715,"./X12Encoder":3716},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.X12Encoder=r.TextEncoder=r.SymbolInfo=r.MinimalEncoder=r.HighLevelEncoder=r.DefaultPlacement=r.ErrorCorrection=r.EncoderContext=r.EdifactEncoder=r.C40Encoder=r.Base256Encoder=r.ASCIIEncoder=void 0;var n=t("./ASCIIEncoder");Object.defineProperty(r,"ASCIIEncoder",{enumerable:!0,get:function(){return n.ASCIIEncoder}});var i=t("./Base256Encoder");Object.defineProperty(r,"Base256Encoder",{enumerable:!0,get:function(){return i.Base256Encoder}});var o=t("./C40Encoder");Object.defineProperty(r,"C40Encoder",{enumerable:!0,get:function(){return o.C40Encoder}});var a=t("./DefaultPlacement");r.DefaultPlacement=a.default;var s=t("./EdifactEncoder");Object.defineProperty(r,"EdifactEncoder",{enumerable:!0,get:function(){return s.EdifactEncoder}});var l=t("./EncoderContext");Object.defineProperty(r,"EncoderContext",{enumerable:!0,get:function(){return l.EncoderContext}});var u=t("./ErrorCorrection");r.ErrorCorrection=u.default;var c=t("./HighLevelEncoder");r.HighLevelEncoder=c.default;var d=t("./MinimalEncoder");Object.defineProperty(r,"MinimalEncoder",{enumerable:!0,get:function(){return d.MinimalEncoder}});var h=t("./SymbolInfo");r.SymbolInfo=h.default;var f=t("./TextEncoder");Object.defineProperty(r,"TextEncoder",{enumerable:!0,get:function(){return f.TextEncoder}});var p=t("./X12Encoder");Object.defineProperty(r,"X12Encoder",{enumerable:!0,get:function(){return p.X12Encoder}})}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/index.js"}],[3719,{"../FormatException":3638,"../NotFoundException":3646,"./OneDReader":3729},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("./OneDReader"),a=t("../NotFoundException"),s=t("../FormatException"),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.decodeRowStringBuffer="",e}return i(e,t),e.findStartGuardPattern=function(t){for(var r,n=!1,i=0,o=Int32Array.from([0,0,0]);!n;){o=Int32Array.from([0,0,0]);var a=(r=e.findGuardPattern(t,i,!1,this.START_END_PATTERN,o))[0],s=a-((i=r[1])-a);s>=0&&(n=t.isRange(s,a,!1))}return r},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var r=t.length;if(0===r)return!1;var n=parseInt(t.charAt(r-1),10);return e.getStandardUPCEANChecksum(t.substring(0,r-1))===n},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,r=0,n=e-1;n>=0;n-=2){if((i=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new s.default;r+=i}r*=3;for(n=e-2;n>=0;n-=2){var i;if((i=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new s.default;r+=i}return(1e3-r)%10},e.decodeEnd=function(t,r){return e.findGuardPattern(t,r,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e.findGuardPatternWithoutCounters=function(t,e,r,n){return this.findGuardPattern(t,e,r,n,new Int32Array(n.length))},e.findGuardPattern=function(t,r,n,i,s){for(var l=t.getSize(),u=0,c=r=n?t.getNextUnset(r):t.getNextSet(r),d=i.length,h=n,f=r;f<l;f++)if(t.get(f)!==h)s[u]++;else{if(u===d-1){if(o.default.patternMatchVariance(s,i,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return Int32Array.from([c,f]);c+=s[0]+s[1];for(var p=s.slice(2,s.length),g=0;g<u-1;g++)s[g]=p[g];s[u-1]=0,s[u]=0,u--}else u++;s[u]=1,h=!h}throw new a.default},e.decodeDigit=function(t,r,n,i){this.recordPattern(t,n,r);for(var s=this.MAX_AVG_VARIANCE,l=-1,u=i.length,c=0;c<u;c++){var d=i[c],h=o.default.patternMatchVariance(r,d,e.MAX_INDIVIDUAL_VARIANCE);h<s&&(s=h,l=c)}if(l>=0)return l;throw new a.default},e.MAX_AVG_VARIANCE=.48,e.MAX_INDIVIDUAL_VARIANCE=.7,e.START_END_PATTERN=Int32Array.from([1,1,1]),e.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),e.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])],e}(o.default);r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/AbstractUPCEANReader.js"}],[3720,{"../BarcodeFormat":3631,"../NotFoundException":3646,"../Result":3653,"../ResultPoint":3655,"./OneDReader":3729},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("../BarcodeFormat"),a=t("../NotFoundException"),s=t("./OneDReader"),l=t("../Result"),u=t("../ResultPoint"),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.CODA_BAR_CHAR_SET={nnnnnww:"0",nnnnwwn:"1",nnnwnnw:"2",wwnnnnn:"3",nnwnnwn:"4",wnnnnwn:"5",nwnnnnw:"6",nwnnwnn:"7",nwwnnnn:"8",wnnwnnn:"9",nnnwwnn:"-",nnwwnnn:"$",wnnnwnw:":",wnwnnnw:"/",wnwnwnn:".",nnwwwww:"+",nnwwnwn:"A",nwnwnnw:"B",nnnwnww:"C",nnnwwwn:"D"},e}return i(e,t),e.prototype.decodeRow=function(t,e,r){var n=this.getValidRowData(e);if(!n)throw new a.default;var i=this.codaBarDecodeRow(n.row);if(!i)throw new a.default;return new l.default(i,null,0,[new u.default(n.left,t),new u.default(n.right,t)],o.default.CODABAR,(new Date).getTime())},e.prototype.getValidRowData=function(t){var e=t.toArray(),r=e.indexOf(!0);if(-1===r)return null;var n=e.lastIndexOf(!0);if(n<=r)return null;for(var i=[],o=(e=e.slice(r,n+1))[0],a=1,s=1;s<e.length;s++)e[s]===o?a++:(o=e[s],i.push(a),a=1);return i.push(a),i.length<23&&(i.length+1)%8!=0?null:{row:i,left:r,right:n}},e.prototype.codaBarDecodeRow=function(t){for(var e=[],r=Math.ceil(t.reduce((function(t,e){return(t+e)/2}),0));t.length>0;){var n=t.splice(0,8).splice(0,7).map((function(t){return t<r?"n":"w"})).join("");if(this.CODA_BAR_CHAR_SET[n]===undefined)return null;e.push(this.CODA_BAR_CHAR_SET[n])}var i=e.join("");return this.validCodaBarString(i)?i:null},e.prototype.validCodaBarString=function(t){return/^[A-D].{1,}[A-D]$/.test(t)},e}(s.default);r.default=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/CodaBarReader.js"}],[3721,{"../BarcodeFormat":3631,"../ChecksumException":3634,"../DecodeHintType":3635,"../FormatException":3638,"../NotFoundException":3646,"../Result":3653,"../ResultPoint":3655,"./OneDReader":3729},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("../BarcodeFormat"),a=t("../ChecksumException"),s=t("../DecodeHintType"),l=t("../FormatException"),u=t("../NotFoundException"),c=t("../Result"),d=t("../ResultPoint"),h=t("./OneDReader"),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.findStartPattern=function(t){for(var r=t.getSize(),n=t.getNextSet(0),i=0,o=Int32Array.from([0,0,0,0,0,0]),a=n,s=!1,l=n;l<r;l++)if(t.get(l)!==s)o[i]++;else{if(5===i){for(var c=e.MAX_AVG_VARIANCE,d=-1,f=e.CODE_START_A;f<=e.CODE_START_C;f++){var p=h.default.patternMatchVariance(o,e.CODE_PATTERNS[f],e.MAX_INDIVIDUAL_VARIANCE);p<c&&(c=p,d=f)}if(d>=0&&t.isRange(Math.max(0,a-(l-a)/2),a,!1))return Int32Array.from([a,l,d]);a+=o[0]+o[1],(o=o.slice(2,o.length))[i-1]=0,o[i]=0,i--}else i++;o[i]=1,s=!s}throw new u.default},e.decodeCode=function(t,r,n){h.default.recordPattern(t,n,r);for(var i=e.MAX_AVG_VARIANCE,o=-1,a=0;a<e.CODE_PATTERNS.length;a++){var s=e.CODE_PATTERNS[a],l=this.patternMatchVariance(r,s,e.MAX_INDIVIDUAL_VARIANCE);l<i&&(i=l,o=a)}if(o>=0)return o;throw new u.default},e.prototype.decodeRow=function(t,r,n){var i,h=n&&!0===n.get(s.default.ASSUME_GS1),f=e.findStartPattern(r),p=f[2],g=0,m=new Uint8Array(20);switch(m[g++]=p,p){case e.CODE_START_A:i=e.CODE_CODE_A;break;case e.CODE_START_B:i=e.CODE_CODE_B;break;case e.CODE_START_C:i=e.CODE_CODE_C;break;default:throw new l.default}for(var y=!1,b=!1,v="",w=f[0],_=f[1],A=Int32Array.from([0,0,0,0,0,0]),x=0,C=0,E=p,S=0,T=!0,I=!1,D=!1;!y;){var O=b;switch(b=!1,x=C,C=e.decodeCode(r,A,_),m[g++]=C,C!==e.CODE_STOP&&(T=!0),C!==e.CODE_STOP&&(E+=++S*C),w=_,_+=A.reduce((function(t,e){return t+e}),0),C){case e.CODE_START_A:case e.CODE_START_B:case e.CODE_START_C:throw new l.default}switch(i){case e.CODE_CODE_A:if(C<64)v+=D===I?String.fromCharCode(" ".charCodeAt(0)+C):String.fromCharCode(" ".charCodeAt(0)+C+128),D=!1;else if(C<96)v+=D===I?String.fromCharCode(C-64):String.fromCharCode(C+64),D=!1;else switch(C!==e.CODE_STOP&&(T=!1),C){case e.CODE_FNC_1:h&&(0===v.length?v+="]C1":v+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_A:!I&&D?(I=!0,D=!1):I&&D?(I=!1,D=!1):D=!0;break;case e.CODE_SHIFT:b=!0,i=e.CODE_CODE_B;break;case e.CODE_CODE_B:i=e.CODE_CODE_B;break;case e.CODE_CODE_C:i=e.CODE_CODE_C;break;case e.CODE_STOP:y=!0}break;case e.CODE_CODE_B:if(C<96)v+=D===I?String.fromCharCode(" ".charCodeAt(0)+C):String.fromCharCode(" ".charCodeAt(0)+C+128),D=!1;else switch(C!==e.CODE_STOP&&(T=!1),C){case e.CODE_FNC_1:h&&(0===v.length?v+="]C1":v+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_B:!I&&D?(I=!0,D=!1):I&&D?(I=!1,D=!1):D=!0;break;case e.CODE_SHIFT:b=!0,i=e.CODE_CODE_A;break;case e.CODE_CODE_A:i=e.CODE_CODE_A;break;case e.CODE_CODE_C:i=e.CODE_CODE_C;break;case e.CODE_STOP:y=!0}break;case e.CODE_CODE_C:if(C<100)C<10&&(v+="0"),v+=C;else switch(C!==e.CODE_STOP&&(T=!1),C){case e.CODE_FNC_1:h&&(0===v.length?v+="]C1":v+=String.fromCharCode(29));break;case e.CODE_CODE_A:i=e.CODE_CODE_A;break;case e.CODE_CODE_B:i=e.CODE_CODE_B;break;case e.CODE_STOP:y=!0}}O&&(i=i===e.CODE_CODE_A?e.CODE_CODE_B:e.CODE_CODE_A)}var R=_-w;if(_=r.getNextUnset(_),!r.isRange(_,Math.min(r.getSize(),_+(_-w)/2),!1))throw new u.default;if((E-=S*x)%103!==x)throw new a.default;var P=v.length;if(0===P)throw new u.default;P>0&&T&&(v=i===e.CODE_CODE_C?v.substring(0,P-2):v.substring(0,P-1));for(var M=(f[1]+f[0])/2,N=w+R/2,k=m.length,B=new Uint8Array(k),L=0;L<k;L++)B[L]=m[L];var F=[new d.default(M,t),new d.default(N,t)];return new c.default(v,B,0,F,o.default.CODE_128,(new Date).getTime())},e.CODE_PATTERNS=[Int32Array.from([2,1,2,2,2,2]),Int32Array.from([2,2,2,1,2,2]),Int32Array.from([2,2,2,2,2,1]),Int32Array.from([1,2,1,2,2,3]),Int32Array.from([1,2,1,3,2,2]),Int32Array.from([1,3,1,2,2,2]),Int32Array.from([1,2,2,2,1,3]),Int32Array.from([1,2,2,3,1,2]),Int32Array.from([1,3,2,2,1,2]),Int32Array.from([2,2,1,2,1,3]),Int32Array.from([2,2,1,3,1,2]),Int32Array.from([2,3,1,2,1,2]),Int32Array.from([1,1,2,2,3,2]),Int32Array.from([1,2,2,1,3,2]),Int32Array.from([1,2,2,2,3,1]),Int32Array.from([1,1,3,2,2,2]),Int32Array.from([1,2,3,1,2,2]),Int32Array.from([1,2,3,2,2,1]),Int32Array.from([2,2,3,2,1,1]),Int32Array.from([2,2,1,1,3,2]),Int32Array.from([2,2,1,2,3,1]),Int32Array.from([2,1,3,2,1,2]),Int32Array.from([2,2,3,1,1,2]),Int32Array.from([3,1,2,1,3,1]),Int32Array.from([3,1,1,2,2,2]),Int32Array.from([3,2,1,1,2,2]),Int32Array.from([3,2,1,2,2,1]),Int32Array.from([3,1,2,2,1,2]),Int32Array.from([3,2,2,1,1,2]),Int32Array.from([3,2,2,2,1,1]),Int32Array.from([2,1,2,1,2,3]),Int32Array.from([2,1,2,3,2,1]),Int32Array.from([2,3,2,1,2,1]),Int32Array.from([1,1,1,3,2,3]),Int32Array.from([1,3,1,1,2,3]),Int32Array.from([1,3,1,3,2,1]),Int32Array.from([1,1,2,3,1,3]),Int32Array.from([1,3,2,1,1,3]),Int32Array.from([1,3,2,3,1,1]),Int32Array.from([2,1,1,3,1,3]),Int32Array.from([2,3,1,1,1,3]),Int32Array.from([2,3,1,3,1,1]),Int32Array.from([1,1,2,1,3,3]),Int32Array.from([1,1,2,3,3,1]),Int32Array.from([1,3,2,1,3,1]),Int32Array.from([1,1,3,1,2,3]),Int32Array.from([1,1,3,3,2,1]),Int32Array.from([1,3,3,1,2,1]),Int32Array.from([3,1,3,1,2,1]),Int32Array.from([2,1,1,3,3,1]),Int32Array.from([2,3,1,1,3,1]),Int32Array.from([2,1,3,1,1,3]),Int32Array.from([2,1,3,3,1,1]),Int32Array.from([2,1,3,1,3,1]),Int32Array.from([3,1,1,1,2,3]),Int32Array.from([3,1,1,3,2,1]),Int32Array.from([3,3,1,1,2,1]),Int32Array.from([3,1,2,1,1,3]),Int32Array.from([3,1,2,3,1,1]),Int32Array.from([3,3,2,1,1,1]),Int32Array.from([3,1,4,1,1,1]),Int32Array.from([2,2,1,4,1,1]),Int32Array.from([4,3,1,1,1,1]),Int32Array.from([1,1,1,2,2,4]),Int32Array.from([1,1,1,4,2,2]),Int32Array.from([1,2,1,1,2,4]),Int32Array.from([1,2,1,4,2,1]),Int32Array.from([1,4,1,1,2,2]),Int32Array.from([1,4,1,2,2,1]),Int32Array.from([1,1,2,2,1,4]),Int32Array.from([1,1,2,4,1,2]),Int32Array.from([1,2,2,1,1,4]),Int32Array.from([1,2,2,4,1,1]),Int32Array.from([1,4,2,1,1,2]),Int32Array.from([1,4,2,2,1,1]),Int32Array.from([2,4,1,2,1,1]),Int32Array.from([2,2,1,1,1,4]),Int32Array.from([4,1,3,1,1,1]),Int32Array.from([2,4,1,1,1,2]),Int32Array.from([1,3,4,1,1,1]),Int32Array.from([1,1,1,2,4,2]),Int32Array.from([1,2,1,1,4,2]),Int32Array.from([1,2,1,2,4,1]),Int32Array.from([1,1,4,2,1,2]),Int32Array.from([1,2,4,1,1,2]),Int32Array.from([1,2,4,2,1,1]),Int32Array.from([4,1,1,2,1,2]),Int32Array.from([4,2,1,1,1,2]),Int32Array.from([4,2,1,2,1,1]),Int32Array.from([2,1,2,1,4,1]),Int32Array.from([2,1,4,1,2,1]),Int32Array.from([4,1,2,1,2,1]),Int32Array.from([1,1,1,1,4,3]),Int32Array.from([1,1,1,3,4,1]),Int32Array.from([1,3,1,1,4,1]),Int32Array.from([1,1,4,1,1,3]),Int32Array.from([1,1,4,3,1,1]),Int32Array.from([4,1,1,1,1,3]),Int32Array.from([4,1,1,3,1,1]),Int32Array.from([1,1,3,1,4,1]),Int32Array.from([1,1,4,1,3,1]),Int32Array.from([3,1,1,1,4,1]),Int32Array.from([4,1,1,1,3,1]),Int32Array.from([2,1,1,4,1,2]),Int32Array.from([2,1,1,2,1,4]),Int32Array.from([2,1,1,2,3,2]),Int32Array.from([2,3,3,1,1,1,2])],e.MAX_AVG_VARIANCE=.25,e.MAX_INDIVIDUAL_VARIANCE=.7,e.CODE_SHIFT=98,e.CODE_CODE_C=99,e.CODE_CODE_B=100,e.CODE_CODE_A=101,e.CODE_FNC_1=102,e.CODE_FNC_2=97,e.CODE_FNC_3=96,e.CODE_FNC_4_A=101,e.CODE_FNC_4_B=100,e.CODE_START_A=103,e.CODE_START_B=104,e.CODE_START_C=105,e.CODE_STOP=106,e}(h.default);r.default=f}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/Code128Reader.js"}],[3722,{"../BarcodeFormat":3631,"../ChecksumException":3634,"../FormatException":3638,"../NotFoundException":3646,"../Result":3653,"../ResultPoint":3655,"./OneDReader":3729},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../BarcodeFormat"),s=t("../ChecksumException"),l=t("../FormatException"),u=t("../NotFoundException"),c=t("./OneDReader"),d=t("../Result"),h=t("../ResultPoint"),f=function(t){function e(e,r){void 0===e&&(e=!1),void 0===r&&(r=!1);var n=t.call(this)||this;return n.usingCheckDigit=e,n.extendedMode=r,n.decodeRowResult="",n.counters=new Int32Array(9),n}return i(e,t),e.prototype.decodeRow=function(t,r,n){var i,l,c,f,p=this.counters;p.fill(0),this.decodeRowResult="";var g,m,y=e.findAsteriskPattern(r,p),b=r.getNextSet(y[1]),v=r.getSize();do{e.recordPattern(r,b,p);var w=e.toNarrowWidePattern(p);if(w<0)throw new u.default;g=e.patternToChar(w),this.decodeRowResult+=g,m=b;try{for(var _=(i=void 0,o(p)),A=_.next();!A.done;A=_.next()){b+=A.value}}catch(t){i={error:t}}finally{try{A&&!A.done&&(l=_.return)&&l.call(_)}finally{if(i)throw i.error}}b=r.getNextSet(b)}while("*"!==g);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var x,C=0;try{for(var E=o(p),S=E.next();!S.done;S=E.next()){C+=S.value}}catch(t){c={error:t}}finally{try{S&&!S.done&&(f=E.return)&&f.call(E)}finally{if(c)throw c.error}}if(b!==v&&2*(b-m-C)<C)throw new u.default;if(this.usingCheckDigit){for(var T=this.decodeRowResult.length-1,I=0,D=0;D<T;D++)I+=e.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(D));if(this.decodeRowResult.charAt(T)!==e.ALPHABET_STRING.charAt(I%43))throw new s.default;this.decodeRowResult=this.decodeRowResult.substring(0,T)}if(0===this.decodeRowResult.length)throw new u.default;x=this.extendedMode?e.decodeExtended(this.decodeRowResult):this.decodeRowResult;var O=(y[1]+y[0])/2,R=m+C/2;return new d.default(x,null,0,[new h.default(O,t),new h.default(R,t)],a.default.CODE_39,(new Date).getTime())},e.findAsteriskPattern=function(t,r){for(var n=t.getSize(),i=t.getNextSet(0),o=0,a=i,s=!1,l=r.length,c=i;c<n;c++)if(t.get(c)!==s)r[o]++;else{if(o===l-1){if(this.toNarrowWidePattern(r)===e.ASTERISK_ENCODING&&t.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},e.toNarrowWidePattern=function(t){var e,r,n,i=t.length,a=0;do{var s=2147483647;try{for(var l=(e=void 0,o(t)),u=l.next();!u.done;u=l.next()){(f=u.value)<s&&f>a&&(s=f)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}a=s,n=0;for(var c=0,d=0,h=0;h<i;h++){(f=t[h])>a&&(d|=1<<i-1-h,n++,c+=f)}if(3===n){for(h=0;h<i&&n>0;h++){var f;if((f=t[h])>a&&(n--,2*f>=c))return-1}return d}}while(n>3);return-1},e.patternToChar=function(t){for(var r=0;r<e.CHARACTER_ENCODINGS.length;r++)if(e.CHARACTER_ENCODINGS[r]===t)return e.ALPHABET_STRING.charAt(r);if(t===e.ASTERISK_ENCODING)return"*";throw new u.default},e.decodeExtended=function(t){for(var e=t.length,r="",n=0;n<e;n++){var i=t.charAt(n);if("+"===i||"$"===i||"%"===i||"/"===i){var o=t.charAt(n+1),a="\0";switch(i){case"+":if(!(o>="A"&&o<="Z"))throw new l.default;a=String.fromCharCode(o.charCodeAt(0)+32);break;case"$":if(!(o>="A"&&o<="Z"))throw new l.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 l.default;a=""}break;case"/":if(o>="A"&&o<="O")a=String.fromCharCode(o.charCodeAt(0)-32);else{if("Z"!==o)throw new l.default;a=":"}}r+=a,n++}else r+=i}return r},e.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",e.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],e.ASTERISK_ENCODING=148,e}(c.default);r.default=f}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/Code39Reader.js"}],[3723,{"../BarcodeFormat":3631,"../ChecksumException":3634,"../FormatException":3638,"../NotFoundException":3646,"../Result":3653,"../ResultPoint":3655,"./OneDReader":3729},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../BarcodeFormat"),s=t("../ChecksumException"),l=t("../FormatException"),u=t("../NotFoundException"),c=t("./OneDReader"),d=t("../Result"),h=t("../ResultPoint"),f=function(t){function e(){var e=t.call(this)||this;return e.decodeRowResult="",e.counters=new Int32Array(6),e}return i(e,t),e.prototype.decodeRow=function(t,r,n){var i,s,l,c,f,p,g=this.findAsteriskPattern(r),m=r.getNextSet(g[1]),y=r.getSize(),b=this.counters;b.fill(0),this.decodeRowResult="";do{e.recordPattern(r,m,b);var v=this.toPattern(b);if(v<0)throw new u.default;f=this.patternToChar(v),this.decodeRowResult+=f,p=m;try{for(var w=(i=void 0,o(b)),_=w.next();!_.done;_=w.next()){m+=_.value}}catch(t){i={error:t}}finally{try{_&&!_.done&&(s=w.return)&&s.call(w)}finally{if(i)throw i.error}}m=r.getNextSet(m)}while("*"!==f);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var A=0;try{for(var x=o(b),C=x.next();!C.done;C=x.next()){A+=C.value}}catch(t){l={error:t}}finally{try{C&&!C.done&&(c=x.return)&&c.call(x)}finally{if(l)throw l.error}}if(m===y||!r.get(m))throw new u.default;if(this.decodeRowResult.length<2)throw new u.default;this.checkChecksums(this.decodeRowResult),this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-2);var E=this.decodeExtended(this.decodeRowResult),S=(g[1]+g[0])/2,T=p+A/2;return new d.default(E,null,0,[new h.default(S,t),new h.default(T,t)],a.default.CODE_93,(new Date).getTime())},e.prototype.findAsteriskPattern=function(t){var r=t.getSize(),n=t.getNextSet(0);this.counters.fill(0);for(var i=this.counters,o=n,a=!1,s=i.length,l=0,c=n;c<r;c++)if(t.get(c)!==a)i[l]++;else{if(l===s-1){if(this.toPattern(i)===e.ASTERISK_ENCODING)return new Int32Array([o,c]);o+=i[0]+i[1],i.copyWithin(0,2,2+l-1),i[l-1]=0,i[l]=0,l--}else l++;i[l]=1,a=!a}throw new u.default},e.prototype.toPattern=function(t){var e,r,n=0;try{for(var i=o(t),a=i.next();!a.done;a=i.next()){n+=a.value}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}for(var s=0,l=t.length,u=0;u<l;u++){var c=Math.round(9*t[u]/n);if(c<1||c>4)return-1;if(1&u)s<<=c;else for(var d=0;d<c;d++)s=s<<1|1}return s},e.prototype.patternToChar=function(t){for(var r=0;r<e.CHARACTER_ENCODINGS.length;r++)if(e.CHARACTER_ENCODINGS[r]===t)return e.ALPHABET_STRING.charAt(r);throw new u.default},e.prototype.decodeExtended=function(t){for(var e=t.length,r="",n=0;n<e;n++){var i=t.charAt(n);if(i>="a"&&i<="d"){if(n>=e-1)throw new l.default;var o=t.charAt(n+1),a="\0";switch(i){case"d":if(!(o>="A"&&o<="Z"))throw new l.default;a=String.fromCharCode(o.charCodeAt(0)+32);break;case"a":if(!(o>="A"&&o<="Z"))throw new l.default;a=String.fromCharCode(o.charCodeAt(0)-64);break;case"b":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(!(o>="X"&&o<="Z"))throw new l.default;a=String.fromCharCode(127)}break;case"c":if(o>="A"&&o<="O")a=String.fromCharCode(o.charCodeAt(0)-32);else{if("Z"!==o)throw new l.default;a=":"}}r+=a,n++}else r+=i}return r},e.prototype.checkChecksums=function(t){var e=t.length;this.checkOneChecksum(t,e-2,20),this.checkOneChecksum(t,e-1,15)},e.prototype.checkOneChecksum=function(t,r,n){for(var i=1,o=0,a=r-1;a>=0;a--)o+=i*e.ALPHABET_STRING.indexOf(t.charAt(a)),++i>n&&(i=1);if(t.charAt(r)!==e.ALPHABET_STRING[o%47])throw new s.default},e.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*",e.CHARACTER_ENCODINGS=[276,328,324,322,296,292,290,336,274,266,424,420,418,404,402,394,360,356,354,308,282,344,332,326,300,278,436,434,428,422,406,410,364,358,310,314,302,468,466,458,366,374,430,294,474,470,306,350],e.ASTERISK_ENCODING=e.CHARACTER_ENCODINGS[47],e}(c.default);r.default=f}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/Code93Reader.js"}],[3724,{"../BarcodeFormat":3631,"../NotFoundException":3646,"./UPCEANReader":3734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../BarcodeFormat"),s=t("./UPCEANReader"),l=t("../NotFoundException"),u=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return i(e,t),e.prototype.decodeMiddle=function(t,r,n){var i,a,l,u,c=this.decodeMiddleCounters;c[0]=0,c[1]=0,c[2]=0,c[3]=0;for(var d=t.getSize(),h=r[1],f=0,p=0;p<6&&h<d;p++){var g=s.default.decodeDigit(t,c,h,s.default.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+g%10);try{for(var m=(i=void 0,o(c)),y=m.next();!y.done;y=m.next()){h+=y.value}}catch(t){i={error:t}}finally{try{y&&!y.done&&(a=m.return)&&a.call(m)}finally{if(i)throw i.error}}g>=10&&(f|=1<<5-p)}n=e.determineFirstDigit(n,f),h=s.default.findGuardPattern(t,h,!0,s.default.MIDDLE_PATTERN,new Int32Array(s.default.MIDDLE_PATTERN.length).fill(0))[1];for(p=0;p<6&&h<d;p++){g=s.default.decodeDigit(t,c,h,s.default.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+g);try{for(var b=(l=void 0,o(c)),v=b.next();!v.done;v=b.next()){h+=v.value}}catch(t){l={error:t}}finally{try{v&&!v.done&&(u=b.return)&&u.call(b)}finally{if(l)throw l.error}}}return{rowOffset:h,resultString:n}},e.prototype.getBarcodeFormat=function(){return a.default.EAN_13},e.determineFirstDigit=function(t,e){for(var r=0;r<10;r++)if(e===this.FIRST_DIGIT_ENCODINGS[r])return t=String.fromCharCode("0".charCodeAt(0)+r)+t;throw new l.default},e.FIRST_DIGIT_ENCODINGS=[0,11,13,14,19,25,28,21,22,26],e}(s.default);r.default=u}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/EAN13Reader.js"}],[3725,{"../BarcodeFormat":3631,"./UPCEANReader":3734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../BarcodeFormat"),s=t("./UPCEANReader"),l=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return i(e,t),e.prototype.decodeMiddle=function(t,e,r){var n,i,a,l,u=this.decodeMiddleCounters;u[0]=0,u[1]=0,u[2]=0,u[3]=0;for(var c=t.getSize(),d=e[1],h=0;h<4&&d<c;h++){var f=s.default.decodeDigit(t,u,d,s.default.L_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var p=(n=void 0,o(u)),g=p.next();!g.done;g=p.next()){d+=g.value}}catch(t){n={error:t}}finally{try{g&&!g.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}d=s.default.findGuardPattern(t,d,!0,s.default.MIDDLE_PATTERN,new Int32Array(s.default.MIDDLE_PATTERN.length).fill(0))[1];for(h=0;h<4&&d<c;h++){f=s.default.decodeDigit(t,u,d,s.default.L_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var m=(a=void 0,o(u)),y=m.next();!y.done;y=m.next()){d+=y.value}}catch(t){a={error:t}}finally{try{y&&!y.done&&(l=m.return)&&l.call(m)}finally{if(a)throw a.error}}}return{rowOffset:d,resultString:r}},e.prototype.getBarcodeFormat=function(){return a.default.EAN_8},e}(s.default);r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/EAN8Reader.js"}],[3726,{"../BarcodeFormat":3631,"../DecodeHintType":3635,"../FormatException":3638,"../NotFoundException":3646,"../Result":3653,"../ResultPoint":3655,"../util/StringBuilder":3820,"../util/System":3822,"./OneDReader":3729},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../BarcodeFormat"),s=t("../DecodeHintType"),l=t("../FormatException"),u=t("../NotFoundException"),c=t("../Result"),d=t("../ResultPoint"),h=t("../util/StringBuilder"),f=t("../util/System"),p=t("./OneDReader"),g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.narrowLineWidth=-1,e}return i(e,t),e.prototype.decodeRow=function(t,r,n){var i,u,f=this.decodeStart(r),p=this.decodeEnd(r),g=new h.default;e.decodeMiddle(r,f[1],p[0],g);var m=g.toString(),y=null;null!=n&&(y=n.get(s.default.ALLOWED_LENGTHS)),null==y&&(y=e.DEFAULT_ALLOWED_LENGTHS);var b=m.length,v=!1,w=0;try{for(var _=o(y),A=_.next();!A.done;A=_.next()){var x=A.value;if(b===x){v=!0;break}x>w&&(w=x)}}catch(t){i={error:t}}finally{try{A&&!A.done&&(u=_.return)&&u.call(_)}finally{if(i)throw i.error}}if(!v&&b>w&&(v=!0),!v)throw new l.default;var C=[new d.default(f[1],t),new d.default(p[0],t)];return new c.default(m,null,0,C,a.default.ITF,(new Date).getTime())},e.decodeMiddle=function(t,r,n,i){var o=new Int32Array(10),a=new Int32Array(5),s=new Int32Array(5);for(o.fill(0),a.fill(0),s.fill(0);r<n;){p.default.recordPattern(t,r,o);for(var l=0;l<5;l++){var u=2*l;a[l]=o[u],s[l]=o[u+1]}var c=e.decodeDigit(a);i.append(c.toString()),c=this.decodeDigit(s),i.append(c.toString()),o.forEach((function(t){r+=t}))}},e.prototype.decodeStart=function(t){var r=e.skipWhiteSpace(t),n=e.findGuardPattern(t,r,e.START_PATTERN);return this.narrowLineWidth=(n[1]-n[0])/4,this.validateQuietZone(t,n[0]),n},e.prototype.validateQuietZone=function(t,e){var r=10*this.narrowLineWidth;r=r<e?r:e;for(var n=e-1;r>0&&n>=0&&!t.get(n);n--)r--;if(0!==r)throw new u.default},e.skipWhiteSpace=function(t){var e=t.getSize(),r=t.getNextSet(0);if(r===e)throw new u.default;return r},e.prototype.decodeEnd=function(t){t.reverse();try{var r=e.skipWhiteSpace(t),n=void 0;try{n=e.findGuardPattern(t,r,e.END_PATTERN_REVERSED[0])}catch(i){i instanceof u.default&&(n=e.findGuardPattern(t,r,e.END_PATTERN_REVERSED[1]))}this.validateQuietZone(t,n[0]);var i=n[0];return n[0]=t.getSize()-n[1],n[1]=t.getSize()-i,n}finally{t.reverse()}},e.findGuardPattern=function(t,r,n){var i=n.length,o=new Int32Array(i),a=t.getSize(),s=!1,l=0,c=r;o.fill(0);for(var d=r;d<a;d++)if(t.get(d)!==s)o[l]++;else{if(l===i-1){if(p.default.patternMatchVariance(o,n,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return[c,d];c+=o[0]+o[1],f.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 u.default},e.decodeDigit=function(t){for(var r=e.MAX_AVG_VARIANCE,n=-1,i=e.PATTERNS.length,o=0;o<i;o++){var a=e.PATTERNS[o],s=p.default.patternMatchVariance(t,a,e.MAX_INDIVIDUAL_VARIANCE);s<r?(r=s,n=o):s===r&&(n=-1)}if(n>=0)return n%10;throw new u.default},e.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],e.MAX_AVG_VARIANCE=.38,e.MAX_INDIVIDUAL_VARIANCE=.5,e.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],e.START_PATTERN=Int32Array.from([1,1,1,1]),e.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])],e}(p.default);r.default=g}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/ITFReader.js"}],[3727,{"../BarcodeFormat":3631,"../DecodeHintType":3635,"../NotFoundException":3646,"./CodaBarReader":3720,"./Code128Reader":3721,"./Code39Reader":3722,"./Code93Reader":3723,"./ITFReader":3726,"./MultiFormatUPCEANReader":3728,"./OneDReader":3729,"./rss/RSS14Reader":3740,"./rss/expanded/RSSExpandedReader":3745},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("../BarcodeFormat"),a=t("../DecodeHintType"),s=t("../NotFoundException"),l=t("./Code128Reader"),u=t("./Code39Reader"),c=t("./Code93Reader"),d=t("./ITFReader"),h=t("./MultiFormatUPCEANReader"),f=t("./OneDReader"),p=t("./CodaBarReader"),g=t("./rss/expanded/RSSExpandedReader"),m=t("./rss/RSS14Reader"),y=function(t){function e(e){var r=t.call(this)||this;r.readers=[];var n=e?e.get(a.default.POSSIBLE_FORMATS):null,i=e&&e.get(a.default.ASSUME_CODE_39_CHECK_DIGIT)!==undefined,s=e&&e.get(a.default.ENABLE_CODE_39_EXTENDED_MODE)!==undefined;return n&&((n.includes(o.default.EAN_13)||n.includes(o.default.UPC_A)||n.includes(o.default.EAN_8)||n.includes(o.default.UPC_E))&&r.readers.push(new h.default(e)),n.includes(o.default.CODE_39)&&r.readers.push(new u.default(i,s)),n.includes(o.default.CODE_93)&&r.readers.push(new c.default),n.includes(o.default.CODE_128)&&r.readers.push(new l.default),n.includes(o.default.ITF)&&r.readers.push(new d.default),n.includes(o.default.CODABAR)&&r.readers.push(new p.default),n.includes(o.default.RSS_14)&&r.readers.push(new m.default),n.includes(o.default.RSS_EXPANDED)&&(console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."),r.readers.push(new g.default))),0===r.readers.length&&(r.readers.push(new h.default(e)),r.readers.push(new u.default),r.readers.push(new c.default),r.readers.push(new h.default(e)),r.readers.push(new l.default),r.readers.push(new d.default),r.readers.push(new m.default)),r}return i(e,t),e.prototype.decodeRow=function(t,e,r){for(var n=0;n<this.readers.length;n++)try{return this.readers[n].decodeRow(t,e,r)}catch(t){}throw new s.default},e.prototype.reset=function(){this.readers.forEach((function(t){return t.reset()}))},e}(f.default);r.default=y}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/MultiFormatOneDReader.js"}],[3728,{"../BarcodeFormat":3631,"../DecodeHintType":3635,"../NotFoundException":3646,"../Result":3653,"./EAN13Reader":3724,"./EAN8Reader":3725,"./OneDReader":3729,"./UPCAReader":3730,"./UPCEReader":3735},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../BarcodeFormat"),s=t("../DecodeHintType"),l=t("../Result"),u=t("./OneDReader"),c=t("./EAN13Reader"),d=t("./EAN8Reader"),h=t("./UPCAReader"),f=t("../NotFoundException"),p=t("./UPCEReader"),g=function(t){function e(e){var r=t.call(this)||this,n=null==e?null:e.get(s.default.POSSIBLE_FORMATS),i=[];return null!=n&&(n.indexOf(a.default.EAN_13)>-1&&i.push(new c.default),n.indexOf(a.default.UPC_A)>-1&&i.push(new h.default),n.indexOf(a.default.EAN_8)>-1&&i.push(new d.default),n.indexOf(a.default.UPC_E)>-1&&i.push(new p.default)),0===i.length&&(i.push(new c.default),i.push(new h.default),i.push(new d.default),i.push(new p.default)),r.readers=i,r}return i(e,t),e.prototype.decodeRow=function(t,e,r){var n,i;try{for(var u=o(this.readers),c=u.next();!c.done;c=u.next()){var d=c.value;try{var h=d.decodeRow(t,e,r),p=h.getBarcodeFormat()===a.default.EAN_13&&"0"===h.getText().charAt(0),g=null==r?null:r.get(s.default.POSSIBLE_FORMATS),m=null==g||g.includes(a.default.UPC_A);if(p&&m){var y=h.getRawBytes(),b=new l.default(h.getText().substring(1),y,y?y.length:null,h.getResultPoints(),a.default.UPC_A);return b.putAllMetadata(h.getResultMetadata()),b}return h}catch(t){}}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}throw new f.default},e.prototype.reset=function(){var t,e;try{for(var r=o(this.readers),n=r.next();!n.done;n=r.next()){n.value.reset()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},e}(u.default);r.default=g}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/MultiFormatUPCEANReader.js"}],[3729,{"../DecodeHintType":3635,"../NotFoundException":3646,"../ResultMetadataType":3654,"../ResultPoint":3655,"../common/BitArray":3675},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../common/BitArray"),i=t("../DecodeHintType"),o=t("../ResultMetadataType"),a=t("../ResultPoint"),s=t("../NotFoundException"),l=function(){function t(){}return t.prototype.decode=function(t,e){try{return this.doDecode(t,e)}catch(f){if(e&&!0===e.get(i.default.TRY_HARDER)&&t.isRotateSupported()){var r=t.rotateCounterClockwise(),n=this.doDecode(r,e),l=n.getResultMetadata(),u=270;null!==l&&!0===l.get(o.default.ORIENTATION)&&(u+=l.get(o.default.ORIENTATION)%360),n.putMetadata(o.default.ORIENTATION,u);var c=n.getResultPoints();if(null!==c)for(var d=r.getHeight(),h=0;h<c.length;h++)c[h]=new a.default(d-c[h].getY()-1,c[h].getX());return n}throw new s.default}},t.prototype.reset=function(){},t.prototype.doDecode=function(t,e){var r,l=t.getWidth(),u=t.getHeight(),c=new n.default(l),d=e&&!0===e.get(i.default.TRY_HARDER),h=Math.max(1,u>>(d?8:5));r=d?u:15;for(var f=Math.trunc(u/2),p=0;p<r;p++){var g=Math.trunc((p+1)/2),m=f+h*(!(1&p)?g:-g);if(m<0||m>=u)break;try{c=t.getBlackRow(m,c)}catch(t){continue}for(var y=function(t){if(1===t&&(c.reverse(),e&&!0===e.get(i.default.NEED_RESULT_POINT_CALLBACK))){var r=new Map;e.forEach((function(t,e){return r.set(e,t)})),r.delete(i.default.NEED_RESULT_POINT_CALLBACK),e=r}try{var n=b.decodeRow(m,c,e);if(1===t){n.putMetadata(o.default.ORIENTATION,180);var s=n.getResultPoints();null!==s&&(s[0]=new a.default(l-s[0].getX()-1,s[0].getY()),s[1]=new a.default(l-s[1].getX()-1,s[1].getY()))}return{value:n}}catch(t){}},b=this,v=0;v<2;v++){var w=y(v);if("object"==typeof w)return w.value}}throw new s.default},t.recordPattern=function(t,e,r){for(var n=r.length,i=0;i<n;i++)r[i]=0;var o=t.getSize();if(e>=o)throw new s.default;for(var a=!t.get(e),l=0,u=e;u<o;){if(t.get(u)!==a)r[l]++;else{if(++l===n)break;r[l]=1,a=!a}u++}if(l!==n&&(l!==n-1||u!==o))throw new s.default},t.recordPatternInReverse=function(e,r,n){for(var i=n.length,o=e.get(r);r>0&&i>=0;)e.get(--r)!==o&&(i--,o=!o);if(i>=0)throw new s.default;t.recordPattern(e,r+1,n)},t.patternMatchVariance=function(t,e,r){for(var n=t.length,i=0,o=0,a=0;a<n;a++)i+=t[a],o+=e[a];if(i<o)return Number.POSITIVE_INFINITY;var s=i/o;r*=s;for(var l=0,u=0;u<n;u++){var c=t[u],d=e[u]*s,h=c>d?c-d:d-c;if(h>r)return Number.POSITIVE_INFINITY;l+=h}return l/i},t}();r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/OneDReader.js"}],[3730,{"../BarcodeFormat":3631,"../NotFoundException":3646,"../Result":3653,"./EAN13Reader":3724,"./UPCEANReader":3734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("../BarcodeFormat"),a=t("../Result"),s=t("../NotFoundException"),l=t("./EAN13Reader"),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ean13Reader=new l.default,e}return i(e,t),e.prototype.getBarcodeFormat=function(){return o.default.UPC_A},e.prototype.decode=function(t,e){return this.maybeReturnResult(this.ean13Reader.decode(t))},e.prototype.decodeRow=function(t,e,r){return this.maybeReturnResult(this.ean13Reader.decodeRow(t,e,r))},e.prototype.decodeMiddle=function(t,e,r){return this.ean13Reader.decodeMiddle(t,e,r)},e.prototype.maybeReturnResult=function(t){var e=t.getText();if("0"===e.charAt(0)){var r=new a.default(e.substring(1),null,null,t.getResultPoints(),o.default.UPC_A);return null!=t.getResultMetadata()&&r.putAllMetadata(t.getResultMetadata()),r}throw new s.default},e.prototype.reset=function(){this.ean13Reader.reset()},e}(t("./UPCEANReader").default);r.default=u}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/UPCAReader.js"}],[3731,{"../BarcodeFormat":3631,"../NotFoundException":3646,"../Result":3653,"../ResultMetadataType":3654,"../ResultPoint":3655,"./AbstractUPCEANReader":3719},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../BarcodeFormat"),o=t("./AbstractUPCEANReader"),a=t("../Result"),s=t("../ResultPoint"),l=t("../ResultMetadataType"),u=t("../NotFoundException"),c=function(){function t(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,r,n){var o=this.decodeRowStringBuffer,l=this.decodeMiddle(r,n,o),u=o.toString(),c=t.parseExtensionString(u),d=[new s.default((n[0]+n[1])/2,e),new s.default(l,e)],h=new a.default(u,null,0,d,i.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=c&&h.putAllMetadata(c),h},t.prototype.decodeMiddle=function(t,e,r){var i,a,s=this.decodeMiddleCounters;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var l=t.getSize(),c=e[1],d=0,h=0;h<2&&c<l;h++){var f=o.default.decodeDigit(t,s,c,o.default.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+f%10);try{for(var p=(i=void 0,n(s)),g=p.next();!g.done;g=p.next()){c+=g.value}}catch(t){i={error:t}}finally{try{g&&!g.done&&(a=p.return)&&a.call(p)}finally{if(i)throw i.error}}f>=10&&(d|=1<<1-h),1!==h&&(c=t.getNextSet(c),c=t.getNextUnset(c))}if(2!==r.length)throw new u.default;if(parseInt(r.toString())%4!==d)throw new u.default;return c},t.parseExtensionString=function(t){return 2!==t.length?null:new Map([[l.default.ISSUE_NUMBER,parseInt(t)]])},t}();r.default=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/UPCEANExtension2Support.js"}],[3732,{"../BarcodeFormat":3631,"../NotFoundException":3646,"../Result":3653,"../ResultMetadataType":3654,"../ResultPoint":3655,"./AbstractUPCEANReader":3719},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../BarcodeFormat"),o=t("./AbstractUPCEANReader"),a=t("../Result"),s=t("../ResultPoint"),l=t("../ResultMetadataType"),u=t("../NotFoundException"),c=function(){function t(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,r,n){var o=this.decodeRowStringBuffer,l=this.decodeMiddle(r,n,o),u=o.toString(),c=t.parseExtensionString(u),d=[new s.default((n[0]+n[1])/2,e),new s.default(l,e)],h=new a.default(u,null,0,d,i.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=c&&h.putAllMetadata(c),h},t.prototype.decodeMiddle=function(e,r,i){var a,s,l=this.decodeMiddleCounters;l[0]=0,l[1]=0,l[2]=0,l[3]=0;for(var c=e.getSize(),d=r[1],h=0,f=0;f<5&&d<c;f++){var p=o.default.decodeDigit(e,l,d,o.default.L_AND_G_PATTERNS);i+=String.fromCharCode("0".charCodeAt(0)+p%10);try{for(var g=(a=void 0,n(l)),m=g.next();!m.done;m=g.next()){d+=m.value}}catch(t){a={error:t}}finally{try{m&&!m.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}p>=10&&(h|=1<<4-f),4!==f&&(d=e.getNextSet(d),d=e.getNextUnset(d))}if(5!==i.length)throw new u.default;var y=this.determineCheckDigit(h);if(t.extensionChecksum(i.toString())!==y)throw new u.default;return d},t.extensionChecksum=function(t){for(var e=t.length,r=0,n=e-2;n>=0;n-=2)r+=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);r*=3;for(n=e-1;n>=0;n-=2)r+=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);return(r*=3)%10},t.prototype.determineCheckDigit=function(t){for(var e=0;e<10;e++)if(t===this.CHECK_DIGIT_ENCODINGS[e])return e;throw new u.default},t.parseExtensionString=function(e){if(5!==e.length)return null;var r=t.parseExtension5String(e);return null==r?null:new Map([[l.default.SUGGESTED_PRICE,r]])},t.parseExtension5String=function(t){var e;switch(t.charAt(0)){case"0":e="£";break;case"5":e="$";break;case"9":switch(t){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}e="";break;default:e=""}var r=parseInt(t.substring(1)),n=r%100;return e+(r/100).toString()+"."+(n<10?"0"+n:n.toString())},t}();r.default=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/UPCEANExtension5Support.js"}],[3733,{"./AbstractUPCEANReader":3719,"./UPCEANExtension2Support":3731,"./UPCEANExtension5Support":3732},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("./AbstractUPCEANReader"),i=t("./UPCEANExtension5Support"),o=t("./UPCEANExtension2Support"),a=function(){function t(){}return t.decodeRow=function(t,e,r){var a=n.default.findGuardPattern(e,r,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new i.default).decodeRow(t,e,a)}catch(r){return(new o.default).decodeRow(t,e,a)}},t.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/UPCEANExtensionSupport.js"}],[3734,{"../BarcodeFormat":3631,"../ChecksumException":3634,"../DecodeHintType":3635,"../FormatException":3638,"../NotFoundException":3646,"../Result":3653,"../ResultMetadataType":3654,"../ResultPoint":3655,"./AbstractUPCEANReader":3719,"./UPCEANExtensionSupport":3733},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("../BarcodeFormat"),a=t("../DecodeHintType"),s=t("../Result"),l=t("../ResultMetadataType"),u=t("../ResultPoint"),c=t("./UPCEANExtensionSupport"),d=t("./AbstractUPCEANReader"),h=t("../NotFoundException"),f=t("../FormatException"),p=t("../ChecksumException"),g=function(t){function e(){var r=t.call(this)||this;r.decodeRowStringBuffer="",e.L_AND_G_PATTERNS=e.L_PATTERNS.map((function(t){return Int32Array.from(t)}));for(var n=10;n<20;n++){for(var i=e.L_PATTERNS[n-10],o=new Int32Array(i.length),a=0;a<i.length;a++)o[a]=i[i.length-a-1];e.L_AND_G_PATTERNS[n]=o}return r}return i(e,t),e.prototype.decodeRow=function(t,r,n){var i=e.findStartGuardPattern(r),d=null==n?null:n.get(a.default.NEED_RESULT_POINT_CALLBACK);if(null!=d){var g=new u.default((i[0]+i[1])/2,t);d.foundPossibleResultPoint(g)}var m=this.decodeMiddle(r,i,this.decodeRowStringBuffer),y=m.rowOffset,b=m.resultString;if(null!=d){var v=new u.default(y,t);d.foundPossibleResultPoint(v)}var w=e.decodeEnd(r,y);if(null!=d){var _=new u.default((w[0]+w[1])/2,t);d.foundPossibleResultPoint(_)}var A=w[1],x=A+(A-w[0]);if(x>=r.getSize()||!r.isRange(A,x,!1))throw new h.default;var C=b.toString();if(C.length<8)throw new f.default;if(!e.checkChecksum(C))throw new p.default;var E=(i[1]+i[0])/2,S=(w[1]+w[0])/2,T=this.getBarcodeFormat(),I=[new u.default(E,t),new u.default(S,t)],D=new s.default(C,null,0,I,T,(new Date).getTime()),O=0;try{var R=c.default.decodeRow(t,r,w[1]);D.putMetadata(l.default.UPC_EAN_EXTENSION,R.getText()),D.putAllMetadata(R.getResultMetadata()),D.addResultPoints(R.getResultPoints()),O=R.getText().length}catch(t){}var P=null==n?null:n.get(a.default.ALLOWED_EAN_EXTENSIONS);if(null!=P){var M=!1;for(var N in P)if(O.toString()===N){M=!0;break}if(!M)throw new h.default}return T===o.default.EAN_13||o.default.UPC_A,D},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var r=t.length;if(0===r)return!1;var n=parseInt(t.charAt(r-1),10);return e.getStandardUPCEANChecksum(t.substring(0,r-1))===n},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,r=0,n=e-1;n>=0;n-=2){if((i=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new f.default;r+=i}r*=3;for(n=e-2;n>=0;n-=2){var i;if((i=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new f.default;r+=i}return(1e3-r)%10},e.decodeEnd=function(t,r){return e.findGuardPattern(t,r,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e}(d.default);r.default=g}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/UPCEANReader.js"}],[3735,{"../BarcodeFormat":3631,"../NotFoundException":3646,"../util/StringBuilder":3820,"./UPCEANReader":3734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("./UPCEANReader"),s=t("../util/StringBuilder"),l=t("../NotFoundException"),u=t("../BarcodeFormat"),c=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=new Int32Array(4),e}return i(e,t),e.prototype.decodeMiddle=function(t,r,n){var i,a,l=this.decodeMiddleCounters.map((function(t){return t}));l[0]=0,l[1]=0,l[2]=0,l[3]=0;for(var u=t.getSize(),c=r[1],d=0,h=0;h<6&&c<u;h++){var f=e.decodeDigit(t,l,c,e.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+f%10);try{for(var p=(i=void 0,o(l)),g=p.next();!g.done;g=p.next()){c+=g.value}}catch(t){i={error:t}}finally{try{g&&!g.done&&(a=p.return)&&a.call(p)}finally{if(i)throw i.error}}f>=10&&(d|=1<<5-h)}return e.determineNumSysAndCheckDigit(new s.default(n),d),c},e.prototype.decodeEnd=function(t,r){return e.findGuardPatternWithoutCounters(t,r,!0,e.MIDDLE_END_PATTERN)},e.prototype.checkChecksum=function(t){return a.default.checkChecksum(e.convertUPCEtoUPCA(t))},e.determineNumSysAndCheckDigit=function(t,e){for(var r=0;r<=1;r++)for(var n=0;n<10;n++)if(e===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[r][n])return t.insert(0,"0"+r),void t.append("0"+n);throw l.default.getNotFoundInstance()},e.prototype.getBarcodeFormat=function(){return u.default.UPC_E},e.convertUPCEtoUPCA=function(t){var e=t.slice(1,7).split("").map((function(t){return t.charCodeAt(0)})),r=new s.default;r.append(t.charAt(0));var n=e[5];switch(n){case 0:case 1:case 2:r.appendChars(e,0,2),r.append(n),r.append("0000"),r.appendChars(e,2,3);break;case 3:r.appendChars(e,0,3),r.append("00000"),r.appendChars(e,3,2);break;case 4:r.appendChars(e,0,4),r.append("00000"),r.append(e[4]);break;default:r.appendChars(e,0,5),r.append("0000"),r.append(n)}return t.length>=8&&r.append(t.charAt(7)),r.toString()},e.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,1])],e}(a.default);r.default=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/UPCEReader.js"}],[3736,{"../../NotFoundException":3646,"../../common/detector/MathUtils":3690,"../OneDReader":3729},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../../common/detector/MathUtils"),s=t("../../NotFoundException"),l=t("../OneDReader"),u=function(t){function e(){var e=t.call(this)||this;return e.decodeFinderCounters=new Int32Array(4),e.dataCharacterCounters=new Int32Array(8),e.oddRoundingErrors=new Array(4),e.evenRoundingErrors=new Array(4),e.oddCounts=new Array(e.dataCharacterCounters.length/2),e.evenCounts=new Array(e.dataCharacterCounters.length/2),e}return i(e,t),e.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},e.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},e.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},e.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},e.prototype.getOddCounts=function(){return this.oddCounts},e.prototype.getEvenCounts=function(){return this.evenCounts},e.prototype.parseFinderValue=function(t,r){for(var n=0;n<r.length;n++)if(l.default.patternMatchVariance(t,r[n],e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return n;throw new s.default},e.count=function(t){return a.default.sum(new Int32Array(t))},e.increment=function(t,e){for(var r=0,n=e[0],i=1;i<t.length;i++)e[i]>n&&(n=e[i],r=i);t[r]++},e.decrement=function(t,e){for(var r=0,n=e[0],i=1;i<t.length;i++)e[i]<n&&(n=e[i],r=i);t[r]--},e.isFinderPattern=function(t){var r,n,i=t[0]+t[1],a=i/(i+t[2]+t[3]);if(a>=e.MIN_FINDER_PATTERN_RATIO&&a<=e.MAX_FINDER_PATTERN_RATIO){var s=Number.MAX_SAFE_INTEGER,l=Number.MIN_SAFE_INTEGER;try{for(var u=o(t),c=u.next();!c.done;c=u.next()){var d=c.value;d>l&&(l=d),d<s&&(s=d)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return l<10*s}return!1},e.MAX_AVG_VARIANCE=.2,e.MAX_INDIVIDUAL_VARIANCE=.45,e.MIN_FINDER_PATTERN_RATIO=9.5/12,e.MAX_FINDER_PATTERN_RATIO=12.5/14,e}(l.default);r.default=u}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/AbstractRSSReader.js"}],[3737,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t,e){this.value=t,this.checksumPortion=e}return t.prototype.getValue=function(){return this.value},t.prototype.getChecksumPortion=function(){return this.checksumPortion},t.prototype.toString=function(){return this.value+"("+this.checksumPortion+")"},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.value===r.value&&this.checksumPortion===r.checksumPortion},t.prototype.hashCode=function(){return this.value^this.checksumPortion},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/DataCharacter.js"}],[3738,{"../../ResultPoint":3655},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../ResultPoint"),i=function(){function t(t,e,r,i,o){this.value=t,this.startEnd=e,this.value=t,this.startEnd=e,this.resultPoints=new Array,this.resultPoints.push(new n.default(r,o)),this.resultPoints.push(new n.default(i,o))}return t.prototype.getValue=function(){return this.value},t.prototype.getStartEnd=function(){return this.startEnd},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.value===r.value},t.prototype.hashCode=function(){return this.value},t}();r.default=i}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/FinderPattern.js"}],[3739,{"./DataCharacter":3737},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=function(t){function e(e,r,n){var i=t.call(this,e,r)||this;return i.count=0,i.finderPattern=n,i}return i(e,t),e.prototype.getFinderPattern=function(){return this.finderPattern},e.prototype.getCount=function(){return this.count},e.prototype.incrementCount=function(){this.count++},e}(t("./DataCharacter").default);r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/Pair.js"}],[374,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},e.exports.__esModule=!0,e.exports.default=e.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/assertThisInitialized.js"}],[3740,{"../../BarcodeFormat":3631,"../../DecodeHintType":3635,"../../NotFoundException":3646,"../../Result":3653,"../../ResultPoint":3655,"../../common/detector/MathUtils":3690,"../../util/StringBuilder":3820,"../../util/System":3822,"../OneDReader":3729,"./AbstractRSSReader":3736,"./DataCharacter":3737,"./FinderPattern":3738,"./Pair":3739,"./RSSUtils":3741},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("./AbstractRSSReader"),s=t("./Pair"),l=t("../../Result"),u=t("../../DecodeHintType"),c=t("../../NotFoundException"),d=t("../../util/StringBuilder"),h=t("../../BarcodeFormat"),f=t("../../ResultPoint"),p=t("./FinderPattern"),g=t("./DataCharacter"),m=t("../../common/detector/MathUtils"),y=t("./RSSUtils"),b=t("../../util/System"),v=t("../OneDReader"),w=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.possibleLeftPairs=[],e.possibleRightPairs=[],e}return i(e,t),e.prototype.decodeRow=function(t,r,n){var i,a,s,l,u=this.decodePair(r,!1,t,n);e.addOrTally(this.possibleLeftPairs,u),r.reverse();var d=this.decodePair(r,!0,t,n);e.addOrTally(this.possibleRightPairs,d),r.reverse();try{for(var h=o(this.possibleLeftPairs),f=h.next();!f.done;f=h.next()){var p=f.value;if(p.getCount()>1)try{for(var g=(s=void 0,o(this.possibleRightPairs)),m=g.next();!m.done;m=g.next()){var y=m.value;if(y.getCount()>1&&e.checkChecksum(p,y))return e.constructResult(p,y)}}catch(t){s={error:t}}finally{try{m&&!m.done&&(l=g.return)&&l.call(g)}finally{if(s)throw s.error}}}}catch(t){i={error:t}}finally{try{f&&!f.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}throw new c.default},e.addOrTally=function(t,e){var r,n;if(null!=e){var i=!1;try{for(var a=o(t),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.getValue()===e.getValue()){l.incrementCount(),i=!0;break}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}i||t.push(e)}},e.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},e.constructResult=function(t,e){for(var r=4537077*t.getValue()+e.getValue(),n=new String(r).toString(),i=new d.default,o=13-n.length;o>0;o--)i.append("0");i.append(n);var a=0;for(o=0;o<13;o++){var s=i.charAt(o).charCodeAt(0)-"0".charCodeAt(0);a+=1&o?s:3*s}10===(a=10-a%10)&&(a=0),i.append(a.toString());var u=t.getFinderPattern().getResultPoints(),c=e.getFinderPattern().getResultPoints();return new l.default(i.toString(),null,0,[u[0],u[1],c[0],c[1]],h.default.RSS_14,(new Date).getTime())},e.checkChecksum=function(t,e){var r=(t.getChecksumPortion()+16*e.getChecksumPortion())%79,n=9*t.getFinderPattern().getValue()+e.getFinderPattern().getValue();return n>72&&n--,n>8&&n--,r===n},e.prototype.decodePair=function(t,e,r,n){try{var i=this.findFinderPattern(t,e),o=this.parseFoundFinderPattern(t,r,e,i),a=null==n?null:n.get(u.default.NEED_RESULT_POINT_CALLBACK);if(null!=a){var l=(i[0]+i[1])/2;e&&(l=t.getSize()-1-l),a.foundPossibleResultPoint(new f.default(l,r))}var c=this.decodeDataCharacter(t,o,!0),d=this.decodeDataCharacter(t,o,!1);return new s.default(1597*c.getValue()+d.getValue(),c.getChecksumPortion()+4*d.getChecksumPortion(),o)}catch(t){return null}},e.prototype.decodeDataCharacter=function(t,r,n){for(var i=this.getDataCharacterCounters(),o=0;o<i.length;o++)i[o]=0;if(n)v.default.recordPatternInReverse(t,r.getStartEnd()[0],i);else{v.default.recordPattern(t,r.getStartEnd()[1]+1,i);for(var a=0,s=i.length-1;a<s;a++,s--){var l=i[a];i[a]=i[s],i[s]=l}}var u=n?16:15,d=m.default.sum(new Int32Array(i))/u,h=this.getOddCounts(),f=this.getEvenCounts(),p=this.getOddRoundingErrors(),b=this.getEvenRoundingErrors();for(a=0;a<i.length;a++){var w=i[a]/d,_=Math.floor(w+.5);_<1?_=1:_>8&&(_=8);var A=Math.floor(a/2);1&a?(f[A]=_,b[A]=w-_):(h[A]=_,p[A]=w-_)}this.adjustOddEvenCounts(n,u);var x=0,C=0;for(a=h.length-1;a>=0;a--)C*=9,C+=h[a],x+=h[a];var E=0,S=0;for(a=f.length-1;a>=0;a--)E*=9,E+=f[a],S+=f[a];var T=C+3*E;if(n){if(1&x||x>12||x<4)throw new c.default;var I=(12-x)/2,D=9-(N=e.OUTSIDE_ODD_WIDEST[I]),O=y.default.getRSSvalue(h,N,!1),R=y.default.getRSSvalue(f,D,!0),P=e.OUTSIDE_EVEN_TOTAL_SUBSET[I],M=e.OUTSIDE_GSUM[I];return new g.default(O*P+R+M,T)}if(1&S||S>10||S<4)throw new c.default;I=(10-S)/2,D=9-(N=e.INSIDE_ODD_WIDEST[I]),O=y.default.getRSSvalue(h,N,!0),R=y.default.getRSSvalue(f,D,!1);var N,k=e.INSIDE_ODD_TOTAL_SUBSET[I];M=e.INSIDE_GSUM[I];return new g.default(R*k+O+M,T)},e.prototype.findFinderPattern=function(t,e){var r=this.getDecodeFinderCounters();r[0]=0,r[1]=0,r[2]=0,r[3]=0;for(var n=t.getSize(),i=!1,o=0;o<n&&e!==(i=!t.get(o));)o++;for(var s=0,l=o,u=o;u<n;u++)if(t.get(u)!==i)r[s]++;else{if(3===s){if(a.default.isFinderPattern(r))return[l,u];l+=r[0]+r[1],r[0]=r[2],r[1]=r[3],r[2]=0,r[3]=0,s--}else s++;r[s]=1,i=!i}throw new c.default},e.prototype.parseFoundFinderPattern=function(t,r,n,i){for(var o=t.get(i[0]),a=i[0]-1;a>=0&&o!==t.get(a);)a--;a++;var s=i[0]-a,l=this.getDecodeFinderCounters(),u=new Int32Array(l.length);b.default.arraycopy(l,0,u,1,l.length-1),u[0]=s;var c=this.parseFinderValue(u,e.FINDER_PATTERNS),d=a,h=i[1];return n&&(d=t.getSize()-1-d,h=t.getSize()-1-h),new p.default(c,[a,i[1]],d,h,r)},e.prototype.adjustOddEvenCounts=function(t,e){var r=m.default.sum(new Int32Array(this.getOddCounts())),n=m.default.sum(new Int32Array(this.getEvenCounts())),i=!1,o=!1,s=!1,l=!1;t?(r>12?o=!0:r<4&&(i=!0),n>12?l=!0:n<4&&(s=!0)):(r>11?o=!0:r<5&&(i=!0),n>10?l=!0:n<4&&(s=!0));var u=r+n-e,d=(1&r)==(t?1:0),h=!(1&~n);if(1===u)if(d){if(h)throw new c.default;o=!0}else{if(!h)throw new c.default;l=!0}else if(-1===u)if(d){if(h)throw new c.default;i=!0}else{if(!h)throw new c.default;s=!0}else{if(0!==u)throw new c.default;if(d){if(!h)throw new c.default;r<n?(i=!0,l=!0):(o=!0,s=!0)}else if(h)throw new c.default}if(i){if(o)throw new c.default;a.default.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(o&&a.default.decrement(this.getOddCounts(),this.getOddRoundingErrors()),s){if(l)throw new c.default;a.default.increment(this.getEvenCounts(),this.getOddRoundingErrors())}l&&a.default.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},e.OUTSIDE_EVEN_TOTAL_SUBSET=[1,10,34,70,126],e.INSIDE_ODD_TOTAL_SUBSET=[4,20,48,81],e.OUTSIDE_GSUM=[0,161,961,2015,2715],e.INSIDE_GSUM=[0,336,1036,1516],e.OUTSIDE_ODD_WIDEST=[8,6,4,3,1],e.INSIDE_ODD_WIDEST=[2,4,6,8],e.FINDER_PATTERNS=[Int32Array.from([3,8,2,1]),Int32Array.from([3,5,5,1]),Int32Array.from([3,3,7,1]),Int32Array.from([3,1,9,1]),Int32Array.from([2,7,4,1]),Int32Array.from([2,5,6,1]),Int32Array.from([2,3,8,1]),Int32Array.from([1,5,7,1]),Int32Array.from([1,3,9,1])],e}(a.default);r.default=w}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/RSS14Reader.js"}],[3741,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function t(){}return t.getRSSvalue=function(e,r,i){var o,a,s=0;try{for(var l=n(e),u=l.next();!u.done;u=l.next()){s+=u.value}}catch(t){o={error:t}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}for(var c=0,d=0,h=e.length,f=0;f<h-1;f++){var p=void 0;for(p=1,d|=1<<f;p<e[f];p++,d&=~(1<<f)){var g=t.combins(s-p-1,h-f-2);if(i&&0===d&&s-p-(h-f-1)>=h-f-1&&(g-=t.combins(s-p-(h-f),h-f-2)),h-f-1>1){for(var m=0,y=s-p-(h-f-2);y>r;y--)m+=t.combins(s-p-y-1,h-f-3);g-=m*(h-1-f)}else s-p>r&&g--;c+=g}s-=p}return c},t.combins=function(t,e){var r,n;t-e>e?(n=e,r=t-e):(n=t-e,r=e);for(var i=1,o=1,a=t;a>r;a--)i*=a,o<=n&&(i/=o,o++);for(;o<=n;)i/=o,o++;return i},t}();r.default=i}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/RSSUtils.js"}],[3742,{"../../../common/BitArray":3675},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../../common/BitArray"),i=function(){function t(){}return t.buildBitArray=function(t){var e=2*t.length-1;null==t[t.length-1].getRightChar()&&(e-=1);for(var r=12*e,i=new n.default(r),o=0,a=t[0].getRightChar().getValue(),s=11;s>=0;--s)a&1<<s&&i.set(o),o++;for(s=1;s<t.length;++s){for(var l=t[s],u=l.getLeftChar().getValue(),c=11;c>=0;--c)u&1<<c&&i.set(o),o++;if(null!==l.getRightChar()){var d=l.getRightChar().getValue();for(c=11;c>=0;--c)d&1<<c&&i.set(o),o++}}return i},t}();r.default=i}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/BitArrayBuilder.js"}],[3743,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t,e,r,n){this.leftchar=t,this.rightchar=e,this.finderpattern=r,this.maybeLast=n}return t.prototype.mayBeLast=function(){return this.maybeLast},t.prototype.getLeftChar=function(){return this.leftchar},t.prototype.getRightChar=function(){return this.rightchar},t.prototype.getFinderPattern=function(){return this.finderpattern},t.prototype.mustBeLast=function(){return null==this.rightchar},t.prototype.toString=function(){return"[ "+this.leftchar+", "+this.rightchar+" : "+(null==this.finderpattern?"null":this.finderpattern.getValue())+" ]"},t.equals=function(e,r){return e instanceof t&&(t.equalsOrNull(e.leftchar,r.leftchar)&&t.equalsOrNull(e.rightchar,r.rightchar)&&t.equalsOrNull(e.finderpattern,r.finderpattern))},t.equalsOrNull=function(e,r){return null===e?null===r:t.equals(e,r)},t.prototype.hashCode=function(){return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/ExpandedPair.js"}],[3744,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t,e,r){this.pairs=t,this.rowNumber=e,this.wasReversed=r}return t.prototype.getPairs=function(){return this.pairs},t.prototype.getRowNumber=function(){return this.rowNumber},t.prototype.isReversed=function(){return this.wasReversed},t.prototype.isEquivalent=function(t){return this.checkEqualitity(this,t)},t.prototype.toString=function(){return"{ "+this.pairs+" }"},t.prototype.equals=function(e,r){return e instanceof t&&(this.checkEqualitity(e,r)&&e.wasReversed===r.wasReversed)},t.prototype.checkEqualitity=function(t,e){var r;if(t&&e)return t.forEach((function(t,n){e.forEach((function(e){t.getLeftChar().getValue()===e.getLeftChar().getValue()&&t.getRightChar().getValue()===e.getRightChar().getValue()&&t.getFinderPatter().getValue()===e.getFinderPatter().getValue()&&(r=!0)}))})),r},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/ExpandedRow.js"}],[3745,{"../../../BarcodeFormat":3631,"../../../NotFoundException":3646,"../../../Result":3653,"../../../common/detector/MathUtils":3690,"../../../util/System":3822,"../../rss/AbstractRSSReader":3736,"../../rss/DataCharacter":3737,"../../rss/FinderPattern":3738,"../../rss/RSSUtils":3741,"./BitArrayBuilder":3742,"./ExpandedPair":3743,"./ExpandedRow":3744,"./decoders/AbstractExpandedDecoderComplement":3756},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../../../BarcodeFormat"),s=t("../../../common/detector/MathUtils"),l=t("../../../NotFoundException"),u=t("../../../Result"),c=t("../../../util/System"),d=t("../../rss/AbstractRSSReader"),h=t("../../rss/DataCharacter"),f=t("../../rss/FinderPattern"),p=t("../../rss/RSSUtils"),g=t("./BitArrayBuilder"),m=t("./decoders/AbstractExpandedDecoderComplement"),y=t("./ExpandedPair"),b=t("./ExpandedRow"),v=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.pairs=new Array(e.MAX_PAIRS),r.rows=new Array,r.startEnd=[2],r}return i(e,t),e.prototype.decodeRow=function(t,r,n){this.pairs.length=0,this.startFromEven=!1;try{return e.constructResult(this.decodeRow2pairs(t,r))}catch(t){}return this.pairs.length=0,this.startFromEven=!0,e.constructResult(this.decodeRow2pairs(t,r))},e.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},e.prototype.decodeRow2pairs=function(t,e){for(var r,n=!1;!n;)try{this.pairs.push(this.retrieveNextPair(e,this.pairs,t))}catch(t){if(t instanceof l.default){if(!this.pairs.length)throw new l.default;n=!0}}if(this.checkChecksum())return this.pairs;if(r=!!this.rows.length,this.storeRow(t,!1),r){var i=this.checkRowsBoolean(!1);if(null!=i)return i;if(null!=(i=this.checkRowsBoolean(!0)))return i}throw new l.default},e.prototype.checkRowsBoolean=function(t){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,t&&(this.rows=this.rows.reverse());var e=null;try{e=this.checkRows(new Array,0)}catch(t){console.log(t)}return t&&(this.rows=this.rows.reverse()),e},e.prototype.checkRows=function(t,r){for(var n,i,a=r;a<this.rows.length;a++){var s=this.rows[a];this.pairs.length=0;try{for(var u=(n=void 0,o(t)),c=u.next();!c.done;c=u.next()){var d=c.value;this.pairs.push(d.getPairs())}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}if(this.pairs.push(s.getPairs()),e.isValidSequence(this.pairs)){if(this.checkChecksum())return this.pairs;var h=new Array(t);h.push(s);try{return this.checkRows(h,a+1)}catch(t){console.log(t)}}}throw new l.default},e.isValidSequence=function(t){var r,n;try{for(var i=o(e.FINDER_PATTERN_SEQUENCES),a=i.next();!a.done;a=i.next()){var s=a.value;if(!(t.length>s.length)){for(var l=!0,u=0;u<t.length;u++)if(t[u].getFinderPattern().getValue()!==s[u]){l=!1;break}if(l)return!0}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1},e.prototype.storeRow=function(t,r){for(var n=0,i=!1,o=!1;n<this.rows.length;){var a=this.rows[n];if(a.getRowNumber()>t){o=a.isEquivalent(this.pairs);break}i=a.isEquivalent(this.pairs),n++}o||i||e.isPartialRow(this.pairs,this.rows)||(this.rows.push(n,new b.default(this.pairs,t,r)),this.removePartialRows(this.pairs,this.rows))},e.prototype.removePartialRows=function(t,e){var r,n,i,a,s,l;try{for(var u=o(e),c=u.next();!c.done;c=u.next()){var d=c.value;if(d.getPairs().length!==t.length){try{for(var h=(i=void 0,o(d.getPairs())),f=h.next();!f.done;f=h.next()){var p=f.value,g=!1;try{for(var m=(s=void 0,o(t)),b=m.next();!b.done;b=m.next()){var v=b.value;if(y.default.equals(p,v)){g=!0;break}}}catch(t){s={error:t}}finally{try{b&&!b.done&&(l=m.return)&&l.call(m)}finally{if(s)throw s.error}}g||!1}}catch(t){i={error:t}}finally{try{f&&!f.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}},e.isPartialRow=function(t,e){var r,n,i,a,s,l;try{for(var u=o(e),c=u.next();!c.done;c=u.next()){var d=c.value,h=!0;try{for(var f=(i=void 0,o(t)),p=f.next();!p.done;p=f.next()){var g=p.value,m=!1;try{for(var y=(s=void 0,o(d.getPairs())),b=y.next();!b.done;b=y.next()){var v=b.value;if(g.equals(v)){m=!0;break}}}catch(t){s={error:t}}finally{try{b&&!b.done&&(l=y.return)&&l.call(y)}finally{if(s)throw s.error}}if(!m){h=!1;break}}}catch(t){i={error:t}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}if(h)return!0}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return!1},e.prototype.getRows=function(){return this.rows},e.constructResult=function(t){var e=g.default.buildBitArray(t),r=m.createDecoder(e).parseInformation(),n=t[0].getFinderPattern().getResultPoints(),i=t[t.length-1].getFinderPattern().getResultPoints(),o=[n[0],n[1],i[0],i[1]];return new u.default(r,null,null,o,a.default.RSS_EXPANDED,null)},e.prototype.checkChecksum=function(){var t=this.pairs.get(0),e=t.getLeftChar(),r=t.getRightChar();if(null===r)return!1;for(var n=r.getChecksumPortion(),i=2,o=1;o<this.pairs.size();++o){var a=this.pairs.get(o);n+=a.getLeftChar().getChecksumPortion(),i++;var s=a.getRightChar();null!=s&&(n+=s.getChecksumPortion(),i++)}return 211*(i-4)+(n%=211)===e.getValue()},e.getNextSecondBar=function(t,e){var r;return t.get(e)?(r=t.getNextUnset(e),r=t.getNextSet(r)):(r=t.getNextSet(e),r=t.getNextUnset(r)),r},e.prototype.retrieveNextPair=function(t,r,n){var i,o=r.length%2==0;this.startFromEven&&(o=!o);var a=!0,s=-1;do{this.findNextPair(t,r,s),null===(i=this.parseFoundFinderPattern(t,n,o))?s=e.getNextSecondBar(t,this.startEnd[0]):a=!1}while(a);var u,c=this.decodeDataCharacter(t,i,o,!0);if(!this.isEmptyPair(r)&&r[r.length-1].mustBeLast())throw new l.default;try{u=this.decodeDataCharacter(t,i,o,!1)}catch(t){u=null,console.log(t)}return new y.default(c,u,i,!0)},e.prototype.isEmptyPair=function(t){return 0===t.length},e.prototype.findNextPair=function(t,r,n){var i=this.getDecodeFinderCounters();i[0]=0,i[1]=0,i[2]=0,i[3]=0;var o,a=t.getSize();if(n>=0)o=n;else if(this.isEmptyPair(r))o=0;else{o=r[r.length-1].getFinderPattern().getStartEnd()[1]}var s=r.length%2!=0;this.startFromEven&&(s=!s);for(var u=!1;o<a&&(u=!t.get(o));)o++;for(var c=0,d=o,h=o;h<a;h++)if(t.get(h)!==u)i[c]++;else{if(3===c){if(s&&e.reverseCounters(i),e.isFinderPattern(i))return this.startEnd[0]=d,void(this.startEnd[1]=h);s&&e.reverseCounters(i),d+=i[0]+i[1],i[0]=i[2],i[1]=i[3],i[2]=0,i[3]=0,c--}else c++;i[c]=1,u=!u}throw new l.default},e.reverseCounters=function(t){for(var e=t.length,r=0;r<e/2;++r){var n=t[r];t[r]=t[e-r-1],t[e-r-1]=n}},e.prototype.parseFoundFinderPattern=function(t,r,n){var i,o,a;if(n){for(var s=this.startEnd[0]-1;s>=0&&!t.get(s);)s--;s++,i=this.startEnd[0]-s,o=s,a=this.startEnd[1]}else o=this.startEnd[0],i=(a=t.getNextUnset(this.startEnd[1]+1))-this.startEnd[1];var l,u=this.getDecodeFinderCounters();c.default.arraycopy(u,0,u,1,u.length-1),u[0]=i;try{l=this.parseFinderValue(u,e.FINDER_PATTERNS)}catch(t){return null}return new f.default(l,[o,a],o,a,r)},e.prototype.decodeDataCharacter=function(t,r,n,i){for(var o=this.getDataCharacterCounters(),a=0;a<o.length;a++)o[a]=0;if(i)e.recordPatternInReverse(t,r.getStartEnd()[0],o);else{e.recordPattern(t,r.getStartEnd()[1],o);for(var u=0,c=o.length-1;u<c;u++,c--){var d=o[u];o[u]=o[c],o[c]=d}}var f=s.default.sum(new Int32Array(o))/17,g=(r.getStartEnd()[1]-r.getStartEnd()[0])/15;if(Math.abs(f-g)/g>.3)throw new l.default;var m=this.getOddCounts(),y=this.getEvenCounts(),b=this.getOddRoundingErrors(),v=this.getEvenRoundingErrors();for(u=0;u<o.length;u++){var w=1*o[u]/f,_=w+.5;if(_<1){if(w<.3)throw new l.default;_=1}else if(_>8){if(w>8.7)throw new l.default;_=8}var A=u/2;1&u?(y[A]=_,v[A]=w-_):(m[A]=_,b[A]=w-_)}this.adjustOddEvenCounts(17);var x=4*r.getValue()+(n?0:2)+(i?0:1)-1,C=0,E=0;for(u=m.length-1;u>=0;u--){if(e.isNotA1left(r,n,i)){var S=e.WEIGHTS[x][2*u];E+=m[u]*S}C+=m[u]}var T=0;for(u=y.length-1;u>=0;u--)if(e.isNotA1left(r,n,i)){S=e.WEIGHTS[x][2*u+1];T+=y[u]*S}var I=E+T;if(1&C||C>13||C<4)throw new l.default;var D=(13-C)/2,O=e.SYMBOL_WIDEST[D],R=9-O,P=p.default.getRSSvalue(m,O,!0),M=p.default.getRSSvalue(y,R,!1),N=P*e.EVEN_TOTAL_SUBSET[D]+M+e.GSUM[D];return new h.default(N,I)},e.isNotA1left=function(t,e,r){return!(0===t.getValue()&&e&&r)},e.prototype.adjustOddEvenCounts=function(t){var r=s.default.sum(new Int32Array(this.getOddCounts())),n=s.default.sum(new Int32Array(this.getEvenCounts())),i=!1,o=!1;r>13?o=!0:r<4&&(i=!0);var a=!1,u=!1;n>13?u=!0:n<4&&(a=!0);var c=r+n-t,d=!(1&~r),h=!(1&n);if(1===c)if(d){if(h)throw new l.default;o=!0}else{if(!h)throw new l.default;u=!0}else if(-1===c)if(d){if(h)throw new l.default;i=!0}else{if(!h)throw new l.default;a=!0}else{if(0!==c)throw new l.default;if(d){if(!h)throw new l.default;r<n?(i=!0,u=!0):(o=!0,a=!0)}else if(h)throw new l.default}if(i){if(o)throw new l.default;e.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(o&&e.decrement(this.getOddCounts(),this.getOddRoundingErrors()),a){if(u)throw new l.default;e.increment(this.getEvenCounts(),this.getOddRoundingErrors())}u&&e.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},e.SYMBOL_WIDEST=[7,5,4,3,1],e.EVEN_TOTAL_SUBSET=[4,20,52,104,204],e.GSUM=[0,348,1388,2948,3988],e.FINDER_PATTERNS=[Int32Array.from([1,8,4,1]),Int32Array.from([3,6,4,1]),Int32Array.from([3,4,6,1]),Int32Array.from([3,2,8,1]),Int32Array.from([2,6,5,1]),Int32Array.from([2,2,9,1])],e.WEIGHTS=[[1,3,9,27,81,32,96,77],[20,60,180,118,143,7,21,63],[189,145,13,39,117,140,209,205],[193,157,49,147,19,57,171,91],[62,186,136,197,169,85,44,132],[185,133,188,142,4,12,36,108],[113,128,173,97,80,29,87,50],[150,28,84,41,123,158,52,156],[46,138,203,187,139,206,196,166],[76,17,51,153,37,111,122,155],[43,129,176,106,107,110,119,146],[16,48,144,10,30,90,59,177],[109,116,137,200,178,112,125,164],[70,210,208,202,184,130,179,115],[134,191,151,31,93,68,204,190],[148,22,66,198,172,94,71,2],[6,18,54,162,64,192,154,40],[120,149,25,75,14,42,126,167],[79,26,78,23,69,207,199,175],[103,98,83,38,114,131,182,124],[161,61,183,127,170,88,53,159],[55,165,73,8,24,72,5,15],[45,135,194,160,58,174,100,89]],e.FINDER_PAT_A=0,e.FINDER_PAT_B=1,e.FINDER_PAT_C=2,e.FINDER_PAT_D=3,e.FINDER_PAT_E=4,e.FINDER_PAT_F=5,e.FINDER_PATTERN_SEQUENCES=[[e.FINDER_PAT_A,e.FINDER_PAT_A],[e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B],[e.FINDER_PAT_A,e.FINDER_PAT_C,e.FINDER_PAT_B,e.FINDER_PAT_D],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_C],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_D,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_D],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_E],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F]],e.MAX_PAIRS=11,e}(d.default);r.default=v}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/RSSExpandedReader.js"}],[3746,{"./AI013x0xDecoder":3751},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.addWeightCode=function(t,e){t.append("(3103)")},e.prototype.checkWeight=function(t){return t},e}(t("./AI013x0xDecoder").default);r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/AI013103decoder.js"}],[3747,{"./AI013x0xDecoder":3751},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.addWeightCode=function(t,e){e<1e4?t.append("(3202)"):t.append("(3203)")},e.prototype.checkWeight=function(t){return t<1e4?t:t-1e4},e}(t("./AI013x0xDecoder").default);r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/AI01320xDecoder.js"}],[3748,{"../../../../NotFoundException":3646,"../../../../util/StringBuilder":3820,"./AI01decoder":3753},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("./AI01decoder"),a=t("../../../../NotFoundException"),s=t("../../../../util/StringBuilder"),l=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()<e.HEADER_SIZE+o.default.GTIN_SIZE)throw new a.default;var t=new s.default;this.encodeCompressedGtin(t,e.HEADER_SIZE);var r=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+o.default.GTIN_SIZE,e.LAST_DIGIT_SIZE);t.append("(392"),t.append(r),t.append(")");var n=this.getGeneralDecoder().decodeGeneralPurposeField(e.HEADER_SIZE+o.default.GTIN_SIZE+e.LAST_DIGIT_SIZE,null);return t.append(n.getNewString()),t.toString()},e.HEADER_SIZE=8,e.LAST_DIGIT_SIZE=2,e}(o.default);r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/AI01392xDecoder.js"}],[3749,{"../../../../NotFoundException":3646,"../../../../util/StringBuilder":3820,"./AI01decoder":3753},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("./AI01decoder"),a=t("../../../../NotFoundException"),s=t("../../../../util/StringBuilder"),l=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()<e.HEADER_SIZE+o.default.GTIN_SIZE)throw new a.default;var t=new s.default;this.encodeCompressedGtin(t,e.HEADER_SIZE);var r=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+o.default.GTIN_SIZE,e.LAST_DIGIT_SIZE);t.append("(393"),t.append(r),t.append(")");var n=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+o.default.GTIN_SIZE+e.LAST_DIGIT_SIZE,e.FIRST_THREE_DIGITS_SIZE);n/100==0&&t.append("0"),n/10==0&&t.append("0"),t.append(n);var i=this.getGeneralDecoder().decodeGeneralPurposeField(e.HEADER_SIZE+o.default.GTIN_SIZE+e.LAST_DIGIT_SIZE+e.FIRST_THREE_DIGITS_SIZE,null);return t.append(i.getNewString()),t.toString()},e.HEADER_SIZE=8,e.LAST_DIGIT_SIZE=2,e.FIRST_THREE_DIGITS_SIZE=10,e}(o.default);r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/AI01393xDecoder.js"}],[3750,{"../../../../NotFoundException":3646,"../../../../util/StringBuilder":3820,"./AI01weightDecoder":3754},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("./AI01weightDecoder"),a=t("../../../../NotFoundException"),s=t("../../../../util/StringBuilder"),l=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.dateCode=n,i.firstAIdigits=r,i}return i(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()!==e.HEADER_SIZE+e.GTIN_SIZE+e.WEIGHT_SIZE+e.DATE_SIZE)throw new a.default;var t=new s.default;return this.encodeCompressedGtin(t,e.HEADER_SIZE),this.encodeCompressedWeight(t,e.HEADER_SIZE+e.GTIN_SIZE,e.WEIGHT_SIZE),this.encodeCompressedDate(t,e.HEADER_SIZE+e.GTIN_SIZE+e.WEIGHT_SIZE),t.toString()},e.prototype.encodeCompressedDate=function(t,r){var n=this.getGeneralDecoder().extractNumericValueFromBitArray(r,e.DATE_SIZE);if(38400!==n){t.append("("),t.append(this.dateCode),t.append(")");var i=n%32,o=(n/=32)%12+1,a=n/=12;a/10==0&&t.append("0"),t.append(a),o/10==0&&t.append("0"),t.append(o),i/10==0&&t.append("0"),t.append(i)}},e.prototype.addWeightCode=function(t,e){t.append("("),t.append(this.firstAIdigits),t.append(e/1e5),t.append(")")},e.prototype.checkWeight=function(t){return t%1e5},e.HEADER_SIZE=8,e.WEIGHT_SIZE=20,e.DATE_SIZE=16,e}(o.default);r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/AI013x0x1xDecoder.js"}],[3751,{"../../../../NotFoundException":3646,"../../../../util/StringBuilder":3820,"./AI01weightDecoder":3754},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("./AI01weightDecoder"),a=t("../../../../util/StringBuilder"),s=t("../../../../NotFoundException"),l=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()!==e.HEADER_SIZE+o.default.GTIN_SIZE+e.WEIGHT_SIZE)throw new s.default;var t=new a.default;return this.encodeCompressedGtin(t,e.HEADER_SIZE),this.encodeCompressedWeight(t,e.HEADER_SIZE+o.default.GTIN_SIZE,e.WEIGHT_SIZE),t.toString()},e.HEADER_SIZE=5,e.WEIGHT_SIZE=15,e}(o.default);r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/AI013x0xDecoder.js"}],[3752,{"../../../../util/StringBuilder":3820,"./AI01decoder":3753},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("./AI01decoder"),a=t("../../../../util/StringBuilder"),s=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.parseInformation=function(){var t=new a.default;t.append("(01)");var r=t.length(),n=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE,4);return t.append(n),this.encodeCompressedGtinWithoutAI(t,e.HEADER_SIZE+4,r),this.getGeneralDecoder().decodeAllCodes(t,e.HEADER_SIZE+44)},e.HEADER_SIZE=4,e}(o.default);r.default=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/AI01AndOtherAIs.js"}],[3753,{"./AbstractExpandedDecoder":3755},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.encodeCompressedGtin=function(t,e){t.append("(01)");var r=t.length();t.append("9"),this.encodeCompressedGtinWithoutAI(t,e,r)},e.prototype.encodeCompressedGtinWithoutAI=function(t,r,n){for(var i=0;i<4;++i){var o=this.getGeneralDecoder().extractNumericValueFromBitArray(r+10*i,10);o/100==0&&t.append("0"),o/10==0&&t.append("0"),t.append(o)}e.appendCheckDigit(t,n)},e.appendCheckDigit=function(t,e){for(var r=0,n=0;n<13;n++){var i=t.charAt(n+e).charCodeAt(0)-"0".charCodeAt(0);r+=1&n?i:3*i}10===(r=10-r%10)&&(r=0),t.append(r)},e.GTIN_SIZE=40,e}(t("./AbstractExpandedDecoder").default);r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/AI01decoder.js"}],[3754,{"./AI01decoder":3753},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.encodeCompressedWeight=function(t,e,r){var n=this.getGeneralDecoder().extractNumericValueFromBitArray(e,r);this.addWeightCode(t,n);for(var i=this.checkWeight(n),o=1e5,a=0;a<5;++a)i/o==0&&t.append("0"),o/=10;t.append(i)},e}(t("./AI01decoder").default);r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/AI01weightDecoder.js"}],[3755,{"./GeneralAppIdDecoder":3764},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("./GeneralAppIdDecoder"),i=function(){function t(t){this.information=t,this.generalDecoder=new n.default(t)}return t.prototype.getInformation=function(){return this.information},t.prototype.getGeneralDecoder=function(){return this.generalDecoder},t}();r.default=i}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/AbstractExpandedDecoder.js"}],[3756,{"../../../../IllegalStateException":3640,"./AI013103decoder":3746,"./AI01320xDecoder":3747,"./AI01392xDecoder":3748,"./AI01393xDecoder":3749,"./AI013x0x1xDecoder":3750,"./AI01AndOtherAIs":3752,"./AnyAIDecoder":3757,"./GeneralAppIdDecoder":3764},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createDecoder=void 0;var n=t("../../../../IllegalStateException"),i=t("./GeneralAppIdDecoder"),o=t("./AI01AndOtherAIs"),a=t("./AnyAIDecoder"),s=t("./AI013103decoder"),l=t("./AI01320xDecoder"),u=t("./AI01392xDecoder"),c=t("./AI01393xDecoder"),d=t("./AI013x0x1xDecoder");r.createDecoder=function(t){try{if(t.get(1))return new o.default(t);if(!t.get(2))return new a.default(t);switch(i.default.extractNumericValueFromBitArray(t,1,4)){case 4:return new s.default(t);case 5:return new l.default(t)}switch(i.default.extractNumericValueFromBitArray(t,1,5)){case 12:return new u.default(t);case 13:return new c.default(t)}switch(i.default.extractNumericValueFromBitArray(t,1,7)){case 56:return new d.default(t,"310","11");case 57:return new d.default(t,"320","11");case 58:return new d.default(t,"310","13");case 59:return new d.default(t,"320","13");case 60:return new d.default(t,"310","15");case 61:return new d.default(t,"320","15");case 62:return new d.default(t,"310","17");case 63:return new d.default(t,"320","17")}}catch(e){throw console.log(e),new n.default("unknown decoder: "+t)}}}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/AbstractExpandedDecoderComplement.js"}],[3757,{"../../../../util/StringBuilder":3820,"./AbstractExpandedDecoder":3755},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("../../../../util/StringBuilder"),a=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.parseInformation=function(){var t=new o.default;return this.getGeneralDecoder().decodeAllCodes(t,e.HEADER_SIZE)},e.HEADER_SIZE=5,e}(t("./AbstractExpandedDecoder").default);r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/AnyAIDecoder.js"}],[3758,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t,e){e?this.decodedInformation=null:(this.finished=t,this.decodedInformation=e)}return t.prototype.getDecodedInformation=function(){return this.decodedInformation},t.prototype.isFinished=function(){return this.finished},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/BlockParsedResult.js"}],[3759,{"./DecodedObject":3762},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=function(t){function e(e,r){var n=t.call(this,e)||this;return n.value=r,n}return i(e,t),e.prototype.getValue=function(){return this.value},e.prototype.isFNC1=function(){return this.value===e.FNC1},e.FNC1="$",e}(t("./DecodedObject").default);r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/DecodedChar.js"}],[376,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/classCallCheck.js"}],[3760,{"./DecodedObject":3762},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=function(t){function e(e,r,n){var i=t.call(this,e)||this;return n?(i.remaining=!0,i.remainingValue=i.remainingValue):(i.remaining=!1,i.remainingValue=0),i.newString=r,i}return i(e,t),e.prototype.getNewString=function(){return this.newString},e.prototype.isRemaining=function(){return this.remaining},e.prototype.getRemainingValue=function(){return this.remainingValue},e}(t("./DecodedObject").default);r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/DecodedInformation.js"}],[3761,{"../../../../FormatException":3638,"./DecodedObject":3762},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("../../../../FormatException"),a=function(t){function e(e,r,n){var i=t.call(this,e)||this;if(r<0||r>10||n<0||n>10)throw new o.default;return i.firstDigit=r,i.secondDigit=n,i}return i(e,t),e.prototype.getFirstDigit=function(){return this.firstDigit},e.prototype.getSecondDigit=function(){return this.secondDigit},e.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},e.prototype.isFirstDigitFNC1=function(){return this.firstDigit===e.FNC1},e.prototype.isSecondDigitFNC1=function(){return this.secondDigit===e.FNC1},e.prototype.isAnyFNC1=function(){return this.firstDigit===e.FNC1||this.secondDigit===e.FNC1},e.FNC1=10,e}(t("./DecodedObject").default);r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/DecodedNumeric.js"}],[3762,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t){this.newPosition=t}return t.prototype.getNewPosition=function(){return this.newPosition},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/DecodedObject.js"}],[3763,{"../../../../NotFoundException":3646},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../../../NotFoundException"),o=function(){function t(){}return t.parseFieldsInGeneralPurpose=function(e){var r,o,a,s,l,u,c,d;if(!e)return null;if(e.length<2)throw new i.default;var h=e.substring(0,2);try{for(var f=n(t.TWO_DIGIT_DATA_LENGTH),p=f.next();!p.done;p=f.next()){if((x=p.value)[0]===h)return x[1]===t.VARIABLE_LENGTH?t.processVariableAI(2,x[2],e):t.processFixedAI(2,x[1],e)}}catch(t){r={error:t}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}if(e.length<3)throw new i.default;var g=e.substring(0,3);try{for(var m=n(t.THREE_DIGIT_DATA_LENGTH),y=m.next();!y.done;y=m.next()){if((x=y.value)[0]===g)return x[1]===t.VARIABLE_LENGTH?t.processVariableAI(3,x[2],e):t.processFixedAI(3,x[1],e)}}catch(t){a={error:t}}finally{try{y&&!y.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}try{for(var b=n(t.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),v=b.next();!v.done;v=b.next()){if((x=v.value)[0]===g)return x[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,x[2],e):t.processFixedAI(4,x[1],e)}}catch(t){l={error:t}}finally{try{v&&!v.done&&(u=b.return)&&u.call(b)}finally{if(l)throw l.error}}if(e.length<4)throw new i.default;var w=e.substring(0,4);try{for(var _=n(t.FOUR_DIGIT_DATA_LENGTH),A=_.next();!A.done;A=_.next()){var x;if((x=A.value)[0]===w)return x[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,x[2],e):t.processFixedAI(4,x[1],e)}}catch(t){c={error:t}}finally{try{A&&!A.done&&(d=_.return)&&d.call(_)}finally{if(c)throw c.error}}throw new i.default},t.processFixedAI=function(e,r,n){if(n.length<e)throw new i.default;var o=n.substring(0,e);if(n.length<e+r)throw new i.default;var a=n.substring(e,e+r),s=n.substring(e+r),l="("+o+")"+a,u=t.parseFieldsInGeneralPurpose(s);return null==u?l:l+u},t.processVariableAI=function(e,r,n){var i,o=n.substring(0,e);i=n.length<e+r?n.length:e+r;var a=n.substring(e,i),s=n.substring(i),l="("+o+")"+a,u=t.parseFieldsInGeneralPurpose(s);return null==u?l:l+u},t.VARIABLE_LENGTH=[],t.TWO_DIGIT_DATA_LENGTH=[["00",18],["01",14],["02",14],["10",t.VARIABLE_LENGTH,20],["11",6],["12",6],["13",6],["15",6],["17",6],["20",2],["21",t.VARIABLE_LENGTH,20],["22",t.VARIABLE_LENGTH,29],["30",t.VARIABLE_LENGTH,8],["37",t.VARIABLE_LENGTH,8],["90",t.VARIABLE_LENGTH,30],["91",t.VARIABLE_LENGTH,30],["92",t.VARIABLE_LENGTH,30],["93",t.VARIABLE_LENGTH,30],["94",t.VARIABLE_LENGTH,30],["95",t.VARIABLE_LENGTH,30],["96",t.VARIABLE_LENGTH,30],["97",t.VARIABLE_LENGTH,3],["98",t.VARIABLE_LENGTH,30],["99",t.VARIABLE_LENGTH,30]],t.THREE_DIGIT_DATA_LENGTH=[["240",t.VARIABLE_LENGTH,30],["241",t.VARIABLE_LENGTH,30],["242",t.VARIABLE_LENGTH,6],["250",t.VARIABLE_LENGTH,30],["251",t.VARIABLE_LENGTH,30],["253",t.VARIABLE_LENGTH,17],["254",t.VARIABLE_LENGTH,20],["400",t.VARIABLE_LENGTH,30],["401",t.VARIABLE_LENGTH,30],["402",17],["403",t.VARIABLE_LENGTH,30],["410",13],["411",13],["412",13],["413",13],["414",13],["420",t.VARIABLE_LENGTH,20],["421",t.VARIABLE_LENGTH,15],["422",3],["423",t.VARIABLE_LENGTH,15],["424",3],["425",3],["426",3]],t.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH=[["310",6],["311",6],["312",6],["313",6],["314",6],["315",6],["316",6],["320",6],["321",6],["322",6],["323",6],["324",6],["325",6],["326",6],["327",6],["328",6],["329",6],["330",6],["331",6],["332",6],["333",6],["334",6],["335",6],["336",6],["340",6],["341",6],["342",6],["343",6],["344",6],["345",6],["346",6],["347",6],["348",6],["349",6],["350",6],["351",6],["352",6],["353",6],["354",6],["355",6],["356",6],["357",6],["360",6],["361",6],["362",6],["363",6],["364",6],["365",6],["366",6],["367",6],["368",6],["369",6],["390",t.VARIABLE_LENGTH,15],["391",t.VARIABLE_LENGTH,18],["392",t.VARIABLE_LENGTH,15],["393",t.VARIABLE_LENGTH,18],["703",t.VARIABLE_LENGTH,30]],t.FOUR_DIGIT_DATA_LENGTH=[["7001",13],["7002",t.VARIABLE_LENGTH,30],["7003",10],["8001",14],["8002",t.VARIABLE_LENGTH,20],["8003",t.VARIABLE_LENGTH,30],["8004",t.VARIABLE_LENGTH,30],["8005",6],["8006",18],["8007",t.VARIABLE_LENGTH,30],["8008",t.VARIABLE_LENGTH,12],["8018",18],["8020",t.VARIABLE_LENGTH,25],["8100",6],["8101",10],["8102",2],["8110",t.VARIABLE_LENGTH,70],["8200",t.VARIABLE_LENGTH,70]],t}();r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/FieldParser.js"}],[3764,{"../../../../FormatException":3638,"../../../../IllegalStateException":3640,"../../../../util/StringBuilder":3820,"./BlockParsedResult":3758,"./DecodedChar":3759,"./DecodedInformation":3760,"./DecodedNumeric":3761,"./FieldParser":3763},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../../../FormatException"),i=t("../../../../IllegalStateException"),o=t("../../../../util/StringBuilder"),a=t("./BlockParsedResult"),s=t("./DecodedChar"),l=t("./DecodedInformation"),u=t("./DecodedNumeric"),c=t("./FieldParser"),d=function(){function t(t){this.buffer=new o.default,this.information=t}return t.prototype.decodeAllCodes=function(t,e){for(var r=e,n=null;;){var i=this.decodeGeneralPurposeField(r,n),o=c.default.parseFieldsInGeneralPurpose(i.getNewString());if(null!=o&&t.append(o),n=i.isRemaining()?""+i.getRemainingValue():null,r===i.getNewPosition())break;r=i.getNewPosition()}return t.toString()},t.prototype.isStillNumeric=function(t){if(t+7>this.information.getSize())return t+4<=this.information.getSize();for(var e=t;e<t+3;++e)if(this.information.get(e))return!0;return this.information.get(t+3)},t.prototype.decodeNumeric=function(t){if(t+7>this.information.getSize()){var e=this.extractNumericValueFromBitArray(t,4);return 0===e?new u.default(this.information.getSize(),u.default.FNC1,u.default.FNC1):new u.default(this.information.getSize(),e-1,u.default.FNC1)}var r=this.extractNumericValueFromBitArray(t,7),n=(r-8)/11,i=(r-8)%11;return new u.default(t+7,n,i)},t.prototype.extractNumericValueFromBitArray=function(e,r){return t.extractNumericValueFromBitArray(this.information,e,r)},t.extractNumericValueFromBitArray=function(t,e,r){for(var n=0,i=0;i<r;++i)t.get(e+i)&&(n|=1<<r-i-1);return n},t.prototype.decodeGeneralPurposeField=function(t,e){this.buffer.setLengthToZero(),null!=e&&this.buffer.append(e),this.current.setPosition(t);var r=this.parseBlocks();return null!=r&&r.isRemaining()?new l.default(this.current.getPosition(),this.buffer.toString(),r.getRemainingValue()):new l.default(this.current.getPosition(),this.buffer.toString())},t.prototype.parseBlocks=function(){var t,e;do{var r=this.current.getPosition();if(t=this.current.isAlpha()?(e=this.parseAlphaBlock()).isFinished():this.current.isIsoIec646()?(e=this.parseIsoIec646Block()).isFinished():(e=this.parseNumericBlock()).isFinished(),!(r!==this.current.getPosition())&&!t)break}while(!t);return e.getDecodedInformation()},t.prototype.parseNumericBlock=function(){for(;this.isStillNumeric(this.current.getPosition());){var t=this.decodeNumeric(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFirstDigitFNC1()){var e=void 0;return e=t.isSecondDigitFNC1()?new l.default(this.current.getPosition(),this.buffer.toString()):new l.default(this.current.getPosition(),this.buffer.toString(),t.getSecondDigit()),new a.default(!0,e)}if(this.buffer.append(t.getFirstDigit()),t.isSecondDigitFNC1()){e=new l.default(this.current.getPosition(),this.buffer.toString());return new a.default(!0,e)}this.buffer.append(t.getSecondDigit())}return this.isNumericToAlphaNumericLatch(this.current.getPosition())&&(this.current.setAlpha(),this.current.incrementPosition(4)),new a.default(!1)},t.prototype.parseIsoIec646Block=function(){for(;this.isStillIsoIec646(this.current.getPosition());){var t=this.decodeIsoIec646(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFNC1()){var e=new l.default(this.current.getPosition(),this.buffer.toString());return new a.default(!0,e)}this.buffer.append(t.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setAlpha()),new a.default(!1)},t.prototype.parseAlphaBlock=function(){for(;this.isStillAlpha(this.current.getPosition());){var t=this.decodeAlphanumeric(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFNC1()){var e=new l.default(this.current.getPosition(),this.buffer.toString());return new a.default(!0,e)}this.buffer.append(t.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setIsoIec646()),new a.default(!1)},t.prototype.isStillIsoIec646=function(t){if(t+5>this.information.getSize())return!1;var e=this.extractNumericValueFromBitArray(t,5);if(e>=5&&e<16)return!0;if(t+7>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(t,7);if(r>=64&&r<116)return!0;if(t+8>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(t,8);return n>=232&&n<253},t.prototype.decodeIsoIec646=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new s.default(t+5,s.default.FNC1);if(e>=5&&e<15)return new s.default(t+5,"0"+(e-5));var r,i=this.extractNumericValueFromBitArray(t,7);if(i>=64&&i<90)return new s.default(t+7,""+(i+1));if(i>=90&&i<116)return new s.default(t+7,""+(i+7));switch(this.extractNumericValueFromBitArray(t,8)){case 232:r="!";break;case 233:r='"';break;case 234:r="%";break;case 235:r="&";break;case 236:r="'";break;case 237:r="(";break;case 238:r=")";break;case 239:r="*";break;case 240:r="+";break;case 241:r=",";break;case 242:r="-";break;case 243:r=".";break;case 244:r="/";break;case 245:r=":";break;case 246:r=";";break;case 247:r="<";break;case 248:r="=";break;case 249:r=">";break;case 250:r="?";break;case 251:r="_";break;case 252:r=" ";break;default:throw new n.default}return new s.default(t+8,r)},t.prototype.isStillAlpha=function(t){if(t+5>this.information.getSize())return!1;var e=this.extractNumericValueFromBitArray(t,5);if(e>=5&&e<16)return!0;if(t+6>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(t,6);return r>=16&&r<63},t.prototype.decodeAlphanumeric=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new s.default(t+5,s.default.FNC1);if(e>=5&&e<15)return new s.default(t+5,"0"+(e-5));var r,n=this.extractNumericValueFromBitArray(t,6);if(n>=32&&n<58)return new s.default(t+6,""+(n+33));switch(n){case 58:r="*";break;case 59:r=",";break;case 60:r="-";break;case 61:r=".";break;case 62:r="/";break;default:throw new i.default("Decoding invalid alphanumeric value: "+n)}return new s.default(t+6,r)},t.prototype.isAlphaTo646ToAlphaLatch=function(t){if(t+1>this.information.getSize())return!1;for(var e=0;e<5&&e+t<this.information.getSize();++e)if(2===e){if(!this.information.get(t+2))return!1}else if(this.information.get(t+e))return!1;return!0},t.prototype.isAlphaOr646ToNumericLatch=function(t){if(t+3>this.information.getSize())return!1;for(var e=t;e<t+3;++e)if(this.information.get(e))return!1;return!0},t.prototype.isNumericToAlphaNumericLatch=function(t){if(t+1>this.information.getSize())return!1;for(var e=0;e<4&&e+t<this.information.getSize();++e)if(this.information.get(t+e))return!1;return!0},t}();r.default=d}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/GeneralAppIdDecoder.js"}],[3765,{"../common/detector/MathUtils":3690,"../util/Arrays":3810},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../util/Arrays"),o=t("../common/detector/MathUtils"),a=function(){function t(){}return t.prototype.PDF417Common=function(){},t.getBitCountSum=function(t){return o.default.sum(t)},t.toIntArray=function(e){var r,i;if(null==e||!e.length)return t.EMPTY_INT_ARRAY;var o=new Int32Array(e.length),a=0;try{for(var s=n(e),l=s.next();!l.done;l=s.next()){var u=l.value;o[a++]=u}}catch(t){r={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return o},t.getCodeword=function(e){var r=i.default.binarySearch(t.SYMBOL_TABLE,262143&e);return r<0?-1:(t.CODEWORD_TABLE[r]-1)%t.NUMBER_OF_CODEWORDS},t.NUMBER_OF_CODEWORDS=929,t.MAX_CODEWORDS_IN_BARCODE=t.NUMBER_OF_CODEWORDS-1,t.MIN_ROWS_IN_BARCODE=3,t.MAX_ROWS_IN_BARCODE=90,t.MODULES_IN_CODEWORD=17,t.MODULES_IN_STOP_PATTERN=18,t.BARS_IN_MODULE=8,t.EMPTY_INT_ARRAY=new Int32Array([]),t.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),t.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]),t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/PDF417Common.js"}],[3766,{"../BarcodeFormat":3631,"../ChecksumException":3634,"../FormatException":3638,"../NotFoundException":3646,"../Result":3653,"../ResultMetadataType":3654,"../util/Integer":3816,"./PDF417Common":3765,"./decoder/PDF417ScanningDecoder":3777,"./detector/Detector":3782},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../BarcodeFormat"),o=t("../ChecksumException"),a=t("../FormatException"),s=t("../NotFoundException"),l=t("../Result"),u=t("./PDF417Common"),c=t("../util/Integer"),d=t("../ResultMetadataType"),h=t("./detector/Detector"),f=t("./decoder/PDF417ScanningDecoder"),p=function(){function t(){}return t.prototype.decode=function(e,r){void 0===r&&(r=null);var n=t.decode(e,r,!1);if(null==n||0===n.length||null==n[0])throw s.default.getNotFoundInstance();return n[0]},t.prototype.decodeMultiple=function(e,r){void 0===r&&(r=null);try{return t.decode(e,r,!0)}catch(t){if(t instanceof a.default||t instanceof o.default)throw s.default.getNotFoundInstance();throw t}},t.decode=function(e,r,o){var a,s,u=new Array,c=h.default.detectMultiple(e,r,o);try{for(var p=n(c.getPoints()),g=p.next();!g.done;g=p.next()){var m=g.value,y=f.default.decode(c.getBits(),m[4],m[5],m[6],m[7],t.getMinCodewordWidth(m),t.getMaxCodewordWidth(m)),b=new l.default(y.getText(),y.getRawBytes(),undefined,m,i.default.PDF_417);b.putMetadata(d.default.ERROR_CORRECTION_LEVEL,y.getECLevel());var v=y.getOther();null!=v&&b.putMetadata(d.default.PDF417_EXTRA_METADATA,v),u.push(b)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}return u.map((function(t){return t}))},t.getMaxWidth=function(t,e){return null==t||null==e?0:Math.trunc(Math.abs(t.getX()-e.getX()))},t.getMinWidth=function(t,e){return null==t||null==e?c.default.MAX_VALUE:Math.trunc(Math.abs(t.getX()-e.getX()))},t.getMaxCodewordWidth=function(e){return Math.floor(Math.max(Math.max(t.getMaxWidth(e[0],e[4]),t.getMaxWidth(e[6],e[2])*u.default.MODULES_IN_CODEWORD/u.default.MODULES_IN_STOP_PATTERN),Math.max(t.getMaxWidth(e[1],e[5]),t.getMaxWidth(e[7],e[3])*u.default.MODULES_IN_CODEWORD/u.default.MODULES_IN_STOP_PATTERN)))},t.getMinCodewordWidth=function(e){return Math.floor(Math.min(Math.min(t.getMinWidth(e[0],e[4]),t.getMinWidth(e[6],e[2])*u.default.MODULES_IN_CODEWORD/u.default.MODULES_IN_STOP_PATTERN),Math.min(t.getMinWidth(e[1],e[5]),t.getMinWidth(e[7],e[3])*u.default.MODULES_IN_CODEWORD/u.default.MODULES_IN_STOP_PATTERN)))},t.prototype.reset=function(){},t}();r.default=p}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/PDF417Reader.js"}],[3767,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}return t.prototype.getSegmentIndex=function(){return this.segmentIndex},t.prototype.setSegmentIndex=function(t){this.segmentIndex=t},t.prototype.getFileId=function(){return this.fileId},t.prototype.setFileId=function(t){this.fileId=t},t.prototype.getOptionalData=function(){return this.optionalData},t.prototype.setOptionalData=function(t){this.optionalData=t},t.prototype.isLastSegment=function(){return this.lastSegment},t.prototype.setLastSegment=function(t){this.lastSegment=t},t.prototype.getSegmentCount=function(){return this.segmentCount},t.prototype.setSegmentCount=function(t){this.segmentCount=t},t.prototype.getSender=function(){return this.sender||null},t.prototype.setSender=function(t){this.sender=t},t.prototype.getAddressee=function(){return this.addressee||null},t.prototype.setAddressee=function(t){this.addressee=t},t.prototype.getFileName=function(){return this.fileName},t.prototype.setFileName=function(t){this.fileName=t},t.prototype.getFileSize=function(){return this.fileSize},t.prototype.setFileSize=function(t){this.fileSize=t},t.prototype.getChecksum=function(){return this.checksum},t.prototype.setChecksum=function(t){this.checksum=t},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.setTimestamp=function(t){this.timestamp=t},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/PDF417ResultMetadata.js"}],[3768,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t,e,r,n){this.columnCount=t,this.errorCorrectionLevel=n,this.rowCountUpperPart=e,this.rowCountLowerPart=r,this.rowCount=e+r}return t.prototype.getColumnCount=function(){return this.columnCount},t.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},t.prototype.getRowCount=function(){return this.rowCount},t.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},t.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/BarcodeMetadata.js"}],[3769,{"../PDF417Common":3765},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(r,"__esModule",{value:!0});var o=t("../PDF417Common"),a=function(){function t(){this.values=new Map}return t.prototype.setValue=function(t){t=Math.trunc(t);var e=this.values.get(t);null==e&&(e=0),e++,this.values.set(t,e)},t.prototype.getValue=function(){var t,e,r=-1,a=new Array,s=function(t,e){var n=function(){return t},i=function(){return e};i()>r?(r=i(),(a=[]).push(n())):i()===r&&a.push(n())};try{for(var l=n(this.values.entries()),u=l.next();!u.done;u=l.next()){var c=i(u.value,2);s(c[0],c[1])}}catch(e){t={error:e}}finally{try{u&&!u.done&&(e=l.return)&&e.call(l)}finally{if(t)throw t.error}}return o.default.toIntArray(a)},t.prototype.getConfidence=function(t){return this.values.get(t)},t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/BarcodeValue.js"}],[377,{"./toPropertyKey.js":399},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./toPropertyKey.js");function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,n(i.key),i)}}e.exports=function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t},e.exports.__esModule=!0,e.exports.default=e.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/createClass.js"}],[3770,{"../../NotFoundException":3646,"../../ResultPoint":3655},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../NotFoundException"),i=t("../../ResultPoint"),o=function(){function t(e,r,n,i,o){e instanceof t?this.constructor_2(e):this.constructor_1(e,r,n,i,o)}return t.prototype.constructor_1=function(t,e,r,o,a){var s=null==e||null==r,l=null==o||null==a;if(s&&l)throw new n.default;s?(e=new i.default(0,o.getY()),r=new i.default(0,a.getY())):l&&(o=new i.default(t.getWidth()-1,e.getY()),a=new i.default(t.getWidth()-1,r.getY())),this.image=t,this.topLeft=e,this.bottomLeft=r,this.topRight=o,this.bottomRight=a,this.minX=Math.trunc(Math.min(e.getX(),r.getX())),this.maxX=Math.trunc(Math.max(o.getX(),a.getX())),this.minY=Math.trunc(Math.min(e.getY(),o.getY())),this.maxY=Math.trunc(Math.max(r.getY(),a.getY()))},t.prototype.constructor_2=function(t){this.image=t.image,this.topLeft=t.getTopLeft(),this.bottomLeft=t.getBottomLeft(),this.topRight=t.getTopRight(),this.bottomRight=t.getBottomRight(),this.minX=t.getMinX(),this.maxX=t.getMaxX(),this.minY=t.getMinY(),this.maxY=t.getMaxY()},t.merge=function(e,r){return null==e?r:null==r?e:new t(e.image,e.topLeft,e.bottomLeft,r.topRight,r.bottomRight)},t.prototype.addMissingRows=function(e,r,n){var o=this.topLeft,a=this.bottomLeft,s=this.topRight,l=this.bottomRight;if(e>0){var u=n?this.topLeft:this.topRight,c=Math.trunc(u.getY()-e);c<0&&(c=0);var d=new i.default(u.getX(),c);n?o=d:s=d}if(r>0){var h=n?this.bottomLeft:this.bottomRight,f=Math.trunc(h.getY()+r);f>=this.image.getHeight()&&(f=this.image.getHeight()-1);var p=new i.default(h.getX(),f);n?a=p:l=p}return new t(this.image,o,a,s,l)},t.prototype.getMinX=function(){return this.minX},t.prototype.getMaxX=function(){return this.maxX},t.prototype.getMinY=function(){return this.minY},t.prototype.getMaxY=function(){return this.maxY},t.prototype.getTopLeft=function(){return this.topLeft},t.prototype.getTopRight=function(){return this.topRight},t.prototype.getBottomLeft=function(){return this.bottomLeft},t.prototype.getBottomRight=function(){return this.bottomRight},t}();r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/BoundingBox.js"}],[3771,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(e,r,n,i){this.rowNumber=t.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(e),this.endX=Math.trunc(r),this.bucket=Math.trunc(n),this.value=Math.trunc(i)}return t.prototype.hasValidRowNumber=function(){return this.isValidRowNumber(this.rowNumber)},t.prototype.isValidRowNumber=function(e){return e!==t.BARCODE_ROW_UNKNOWN&&this.bucket===e%3*3},t.prototype.setRowNumberAsRowIndicatorColumn=function(){this.rowNumber=Math.trunc(3*Math.trunc(this.value/30)+Math.trunc(this.bucket/3))},t.prototype.getWidth=function(){return this.endX-this.startX},t.prototype.getStartX=function(){return this.startX},t.prototype.getEndX=function(){return this.endX},t.prototype.getBucket=function(){return this.bucket},t.prototype.getValue=function(){return this.value},t.prototype.getRowNumber=function(){return this.rowNumber},t.prototype.setRowNumber=function(t){this.rowNumber=t},t.prototype.toString=function(){return this.rowNumber+"|"+this.value},t.BARCODE_ROW_UNKNOWN=-1,t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/Codeword.js"}],[3772,{"../../FormatException":3638,"../../common/CharacterSetECI":3678,"../../common/DecoderResult":3679,"../../util/Arrays":3810,"../../util/ByteArrayOutputStream":3811,"../../util/Integer":3816,"../../util/Long":3817,"../../util/StringBuilder":3820,"../../util/StringEncoding":3821,"../PDF417ResultMetadata":3767},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n,i,o=t("../../FormatException"),a=t("../../common/CharacterSetECI"),s=t("../../common/DecoderResult"),l=t("../PDF417ResultMetadata"),u=t("../../util/Arrays"),c=t("../../util/StringBuilder"),d=t("../../util/Integer"),h=t("../../util/Long"),f=t("../../util/ByteArrayOutputStream"),p=t("../../util/StringEncoding");function g(){if("undefined"!=typeof window)return window.BigInt||null;if("undefined"!=typeof global)return global.BigInt||null;if("undefined"!=typeof self)return self.BigInt||null;throw new Error("Can't search globals for BigInt!")}function m(t){if(void 0===i&&(i=g()),null===i)throw new Error("BigInt is not supported!");return i(t)}!function(t){t[t.ALPHA=0]="ALPHA",t[t.LOWER=1]="LOWER",t[t.MIXED=2]="MIXED",t[t.PUNCT=3]="PUNCT",t[t.ALPHA_SHIFT=4]="ALPHA_SHIFT",t[t.PUNCT_SHIFT=5]="PUNCT_SHIFT"}(n||(n={}));var y=function(){function t(){}return t.decode=function(e,r){var n=new c.default(""),i=a.default.ISO8859_1;n.enableDecoding(i);for(var u=1,d=e[u++],h=new l.default;u<e[0];){switch(d){case t.TEXT_COMPACTION_MODE_LATCH:u=t.textCompaction(e,u,n);break;case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:u=t.byteCompaction(d,e,i,u,n);break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:n.append(e[u++]);break;case t.NUMERIC_COMPACTION_MODE_LATCH:u=t.numericCompaction(e,u,n);break;case t.ECI_CHARSET:a.default.getCharacterSetECIByValue(e[u++]);break;case t.ECI_GENERAL_PURPOSE:u+=2;break;case t.ECI_USER_DEFINED:u++;break;case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:u=t.decodeMacroBlock(e,u,h);break;case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:throw new o.default;default:u--,u=t.textCompaction(e,u,n)}if(!(u<e.length))throw o.default.getFormatInstance();d=e[u++]}if(0===n.length())throw o.default.getFormatInstance();var f=new s.default(null,n.toString(),null,r);return f.setOther(h),f},t.decodeMacroBlock=function(e,r,n){if(r+t.NUMBER_OF_SEQUENCE_CODEWORDS>e[0])throw o.default.getFormatInstance();for(var i=new Int32Array(t.NUMBER_OF_SEQUENCE_CODEWORDS),a=0;a<t.NUMBER_OF_SEQUENCE_CODEWORDS;a++,r++)i[a]=e[r];n.setSegmentIndex(d.default.parseInt(t.decodeBase900toBase10(i,t.NUMBER_OF_SEQUENCE_CODEWORDS)));var s=new c.default;r=t.textCompaction(e,r,s),n.setFileId(s.toString());var l=-1;for(e[r]===t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD&&(l=r+1);r<e[0];)switch(e[r]){case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:switch(e[++r]){case t.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME:var f=new c.default;r=t.textCompaction(e,r+1,f),n.setFileName(f.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_SENDER:var p=new c.default;r=t.textCompaction(e,r+1,p),n.setSender(p.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE:var g=new c.default;r=t.textCompaction(e,r+1,g),n.setAddressee(g.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT:var m=new c.default;r=t.numericCompaction(e,r+1,m),n.setSegmentCount(d.default.parseInt(m.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP:var y=new c.default;r=t.numericCompaction(e,r+1,y),n.setTimestamp(h.default.parseLong(y.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM:var b=new c.default;r=t.numericCompaction(e,r+1,b),n.setChecksum(d.default.parseInt(b.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE:var v=new c.default;r=t.numericCompaction(e,r+1,v),n.setFileSize(h.default.parseLong(v.toString()));break;default:throw o.default.getFormatInstance()}break;case t.MACRO_PDF417_TERMINATOR:r++,n.setLastSegment(!0);break;default:throw o.default.getFormatInstance()}if(-1!==l){var w=r-l;n.isLastSegment()&&w--,n.setOptionalData(u.default.copyOfRange(e,l,l+w))}return r},t.textCompaction=function(e,r,n){for(var i=new Int32Array(2*(e[0]-r)),o=new Int32Array(2*(e[0]-r)),a=0,s=!1;r<e[0]&&!s;){var l=e[r++];if(l<t.TEXT_COMPACTION_MODE_LATCH)i[a]=l/30,i[a+1]=l%30,a+=2;else switch(l){case t.TEXT_COMPACTION_MODE_LATCH:i[a++]=t.TEXT_COMPACTION_MODE_LATCH;break;case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:r--,s=!0;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i[a]=t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE,l=e[r++],o[a]=l,a++}}return t.decodeTextCompaction(i,o,a,n),r},t.decodeTextCompaction=function(e,r,i,o){for(var a=n.ALPHA,s=n.ALPHA,l=0;l<i;){var u=e[l],c="";switch(a){case n.ALPHA:if(u<26)c=String.fromCharCode(65+u);else switch(u){case 26:c=" ";break;case t.LL:a=n.LOWER;break;case t.ML:a=n.MIXED;break;case t.PS:s=a,a=n.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(r[l]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA}break;case n.LOWER:if(u<26)c=String.fromCharCode(97+u);else switch(u){case 26:c=" ";break;case t.AS:s=a,a=n.ALPHA_SHIFT;break;case t.ML:a=n.MIXED;break;case t.PS:s=a,a=n.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(r[l]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA}break;case n.MIXED:if(u<t.PL)c=t.MIXED_CHARS[u];else switch(u){case t.PL:a=n.PUNCT;break;case 26:c=" ";break;case t.LL:a=n.LOWER;break;case t.AL:a=n.ALPHA;break;case t.PS:s=a,a=n.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(r[l]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA}break;case n.PUNCT:if(u<t.PAL)c=t.PUNCT_CHARS[u];else switch(u){case t.PAL:a=n.ALPHA;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(r[l]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA}break;case n.ALPHA_SHIFT:if(a=s,u<26)c=String.fromCharCode(65+u);else switch(u){case 26:c=" ";break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA}break;case n.PUNCT_SHIFT:if(a=s,u<t.PAL)c=t.PUNCT_CHARS[u];else switch(u){case t.PAL:a=n.ALPHA;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(r[l]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA}}""!==c&&o.append(c),l++}},t.byteCompaction=function(e,r,n,i,o){var a=new f.default,s=0,l=0,u=!1;switch(e){case t.BYTE_COMPACTION_MODE_LATCH:for(var c=new Int32Array(6),d=r[i++];i<r[0]&&!u;)switch(c[s++]=d,l=900*l+d,d=r[i++]){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:i--,u=!0;break;default:if(s%5==0&&s>0){for(var h=0;h<6;++h)a.write(Number(m(l)>>m(8*(5-h))));l=0,s=0}}i===r[0]&&d<t.TEXT_COMPACTION_MODE_LATCH&&(c[s++]=d);for(var g=0;g<s;g++)a.write(c[g]);break;case t.BYTE_COMPACTION_MODE_LATCH_6:for(;i<r[0]&&!u;){var y=r[i++];if(y<t.TEXT_COMPACTION_MODE_LATCH)s++,l=900*l+y;else switch(y){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:i--,u=!0}if(s%5==0&&s>0){for(h=0;h<6;++h)a.write(Number(m(l)>>m(8*(5-h))));l=0,s=0}}}return o.append(p.default.decode(a.toByteArray(),n)),i},t.numericCompaction=function(e,r,n){for(var i=0,o=!1,a=new Int32Array(t.MAX_NUMERIC_CODEWORDS);r<e[0]&&!o;){var s=e[r++];if(r===e[0]&&(o=!0),s<t.TEXT_COMPACTION_MODE_LATCH)a[i]=s,i++;else switch(s){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:r--,o=!0}(i%t.MAX_NUMERIC_CODEWORDS==0||s===t.NUMERIC_COMPACTION_MODE_LATCH||o)&&i>0&&(n.append(t.decodeBase900toBase10(a,i)),i=0)}return r},t.decodeBase900toBase10=function(e,r){for(var n=m(0),i=0;i<r;i++)n+=t.EXP900[r-i-1]*m(e[i]);var a=n.toString();if("1"!==a.charAt(0))throw new o.default;return a.substring(1)},t.TEXT_COMPACTION_MODE_LATCH=900,t.BYTE_COMPACTION_MODE_LATCH=901,t.NUMERIC_COMPACTION_MODE_LATCH=902,t.BYTE_COMPACTION_MODE_LATCH_6=924,t.ECI_USER_DEFINED=925,t.ECI_GENERAL_PURPOSE=926,t.ECI_CHARSET=927,t.BEGIN_MACRO_PDF417_CONTROL_BLOCK=928,t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD=923,t.MACRO_PDF417_TERMINATOR=922,t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE=913,t.MAX_NUMERIC_CODEWORDS=15,t.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME=0,t.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT=1,t.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP=2,t.MACRO_PDF417_OPTIONAL_FIELD_SENDER=3,t.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE=4,t.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE=5,t.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM=6,t.PL=25,t.LL=27,t.AS=27,t.ML=28,t.AL=28,t.PS=29,t.PAL=29,t.PUNCT_CHARS=";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",t.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",t.EXP900=g()?function(){var t=[];t[0]=m(1);var e=m(900);t[1]=e;for(var r=2;r<16;r++)t[r]=t[r-1]*e;return t}():[],t.NUMBER_OF_SEQUENCE_CODEWORDS=2,t}();r.default=y}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/DecodedBitStreamParser.js"}],[3773,{"../../util/Formatter":3815,"../PDF417Common":3765},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../PDF417Common"),o=t("../../util/Formatter"),a=function(){function t(t,e){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=t,this.barcodeColumnCount=t.getColumnCount(),this.boundingBox=e,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}return t.prototype.getDetectionResultColumns=function(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);var t,e=i.default.MAX_CODEWORDS_IN_BARCODE;do{t=e,e=this.adjustRowNumbersAndGetCount()}while(e>0&&e<t);return this.detectionResultColumns},t.prototype.adjustIndicatorColumnRowNumbers=function(t){null!=t&&t.adjustCompleteIndicatorColumnRowNumbers(this.barcodeMetadata)},t.prototype.adjustRowNumbersAndGetCount=function(){var t=this.adjustRowNumbersByRow();if(0===t)return 0;for(var e=1;e<this.barcodeColumnCount+1;e++)for(var r=this.detectionResultColumns[e].getCodewords(),n=0;n<r.length;n++)null!=r[n]&&(r[n].hasValidRowNumber()||this.adjustRowNumbers(e,n,r));return t},t.prototype.adjustRowNumbersByRow=function(){return this.adjustRowNumbersFromBothRI(),this.adjustRowNumbersFromLRI()+this.adjustRowNumbersFromRRI()},t.prototype.adjustRowNumbersFromBothRI=function(){if(null!=this.detectionResultColumns[0]&&null!=this.detectionResultColumns[this.barcodeColumnCount+1])for(var t=this.detectionResultColumns[0].getCodewords(),e=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),r=0;r<t.length;r++)if(null!=t[r]&&null!=e[r]&&t[r].getRowNumber()===e[r].getRowNumber())for(var n=1;n<=this.barcodeColumnCount;n++){var i=this.detectionResultColumns[n].getCodewords()[r];null!=i&&(i.setRowNumber(t[r].getRowNumber()),i.hasValidRowNumber()||(this.detectionResultColumns[n].getCodewords()[r]=null))}},t.prototype.adjustRowNumbersFromRRI=function(){if(null==this.detectionResultColumns[this.barcodeColumnCount+1])return 0;for(var e=0,r=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),n=0;n<r.length;n++)if(null!=r[n])for(var i=r[n].getRowNumber(),o=0,a=this.barcodeColumnCount+1;a>0&&o<this.ADJUST_ROW_NUMBER_SKIP;a--){var s=this.detectionResultColumns[a].getCodewords()[n];null!=s&&(o=t.adjustRowNumberIfValid(i,o,s),s.hasValidRowNumber()||e++)}return e},t.prototype.adjustRowNumbersFromLRI=function(){if(null==this.detectionResultColumns[0])return 0;for(var e=0,r=this.detectionResultColumns[0].getCodewords(),n=0;n<r.length;n++)if(null!=r[n])for(var i=r[n].getRowNumber(),o=0,a=1;a<this.barcodeColumnCount+1&&o<this.ADJUST_ROW_NUMBER_SKIP;a++){var s=this.detectionResultColumns[a].getCodewords()[n];null!=s&&(o=t.adjustRowNumberIfValid(i,o,s),s.hasValidRowNumber()||e++)}return e},t.adjustRowNumberIfValid=function(t,e,r){return null==r||r.hasValidRowNumber()||(r.isValidRowNumber(t)?(r.setRowNumber(t),e=0):++e),e},t.prototype.adjustRowNumbers=function(e,r,i){var o,a;if(null!=this.detectionResultColumns[e-1]){var s=i[r],l=this.detectionResultColumns[e-1].getCodewords(),u=l;null!=this.detectionResultColumns[e+1]&&(u=this.detectionResultColumns[e+1].getCodewords());var c=new Array(14);c[2]=l[r],c[3]=u[r],r>0&&(c[0]=i[r-1],c[4]=l[r-1],c[5]=u[r-1]),r>1&&(c[8]=i[r-2],c[10]=l[r-2],c[11]=u[r-2]),r<i.length-1&&(c[1]=i[r+1],c[6]=l[r+1],c[7]=u[r+1]),r<i.length-2&&(c[9]=i[r+2],c[12]=l[r+2],c[13]=u[r+2]);try{for(var d=n(c),h=d.next();!h.done;h=d.next()){var f=h.value;if(t.adjustRowNumber(s,f))return}}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}}},t.adjustRowNumber=function(t,e){return null!=e&&(!(!e.hasValidRowNumber()||e.getBucket()!==t.getBucket())&&(t.setRowNumber(e.getRowNumber()),!0))},t.prototype.getBarcodeColumnCount=function(){return this.barcodeColumnCount},t.prototype.getBarcodeRowCount=function(){return this.barcodeMetadata.getRowCount()},t.prototype.getBarcodeECLevel=function(){return this.barcodeMetadata.getErrorCorrectionLevel()},t.prototype.setBoundingBox=function(t){this.boundingBox=t},t.prototype.getBoundingBox=function(){return this.boundingBox},t.prototype.setDetectionResultColumn=function(t,e){this.detectionResultColumns[t]=e},t.prototype.getDetectionResultColumn=function(t){return this.detectionResultColumns[t]},t.prototype.toString=function(){var t=this.detectionResultColumns[0];null==t&&(t=this.detectionResultColumns[this.barcodeColumnCount+1]);for(var e=new o.default,r=0;r<t.getCodewords().length;r++){e.format("CW %3d:",r);for(var n=0;n<this.barcodeColumnCount+2;n++)if(null!=this.detectionResultColumns[n]){var i=this.detectionResultColumns[n].getCodewords()[r];null!=i?e.format(" %3d|%3d",i.getRowNumber(),i.getValue()):e.format(" | ")}else e.format(" | ");e.format("%n")}return e.toString()},t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/DetectionResult.js"}],[3774,{"../../util/Formatter":3815,"./BoundingBox":3770},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../util/Formatter"),o=t("./BoundingBox"),a=function(){function t(t){this.boundingBox=new o.default(t),this.codewords=new Array(t.getMaxY()-t.getMinY()+1)}return t.prototype.getCodewordNearby=function(e){var r=this.getCodeword(e);if(null!=r)return r;for(var n=1;n<t.MAX_NEARBY_DISTANCE;n++){var i=this.imageRowToCodewordIndex(e)-n;if(i>=0&&null!=(r=this.codewords[i]))return r;if((i=this.imageRowToCodewordIndex(e)+n)<this.codewords.length&&null!=(r=this.codewords[i]))return r}return null},t.prototype.imageRowToCodewordIndex=function(t){return t-this.boundingBox.getMinY()},t.prototype.setCodeword=function(t,e){this.codewords[this.imageRowToCodewordIndex(t)]=e},t.prototype.getCodeword=function(t){return this.codewords[this.imageRowToCodewordIndex(t)]},t.prototype.getBoundingBox=function(){return this.boundingBox},t.prototype.getCodewords=function(){return this.codewords},t.prototype.toString=function(){var t,e,r=new i.default,o=0;try{for(var a=n(this.codewords),s=a.next();!s.done;s=a.next()){var l=s.value;null!=l?r.format("%3d: %3d|%3d%n",o++,l.getRowNumber(),l.getValue()):r.format("%3d: | %n",o++)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return r.toString()},t.MAX_NEARBY_DISTANCE=5,t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/DetectionResultColumn.js"}],[3775,{"../PDF417Common":3765,"./BarcodeMetadata":3768,"./BarcodeValue":3769,"./DetectionResultColumn":3774},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../PDF417Common"),s=t("./BarcodeMetadata"),l=t("./DetectionResultColumn"),u=t("./BarcodeValue"),c=function(t){function e(e,r){var n=t.call(this,e)||this;return n._isLeft=r,n}return i(e,t),e.prototype.setRowNumbers=function(){var t,e;try{for(var r=o(this.getCodewords()),n=r.next();!n.done;n=r.next()){var i=n.value;null!=i&&i.setRowNumberAsRowIndicatorColumn()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},e.prototype.adjustCompleteIndicatorColumnRowNumbers=function(t){var e=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(e,t);for(var r=this.getBoundingBox(),n=this._isLeft?r.getTopLeft():r.getTopRight(),i=this._isLeft?r.getBottomLeft():r.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.imageRowToCodewordIndex(Math.trunc(i.getY())),s=-1,l=1,u=0,c=o;c<a;c++)if(null!=e[c]){var d=e[c],h=d.getRowNumber()-s;if(0===h)u++;else if(1===h)l=Math.max(l,u),u=1,s=d.getRowNumber();else if(h<0||d.getRowNumber()>=t.getRowCount()||h>c)e[c]=null;else{for(var f=void 0,p=(f=l>2?(l-2)*h:h)>=c,g=1;g<=f&&!p;g++)p=null!=e[c-g];p?e[c]=null:(s=d.getRowNumber(),u=1)}}},e.prototype.getRowHeights=function(){var t,e,r=this.getBarcodeMetadata();if(null==r)return null;this.adjustIncompleteIndicatorColumnRowNumbers(r);var n=new Int32Array(r.getRowCount());try{for(var i=o(this.getCodewords()),a=i.next();!a.done;a=i.next()){var s=a.value;if(null!=s){var l=s.getRowNumber();if(l>=n.length)continue;n[l]++}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return n},e.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(t){for(var e=this.getBoundingBox(),r=this._isLeft?e.getTopLeft():e.getTopRight(),n=this._isLeft?e.getBottomLeft():e.getBottomRight(),i=this.imageRowToCodewordIndex(Math.trunc(r.getY())),o=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.getCodewords(),s=-1,l=1,u=0,c=i;c<o;c++)if(null!=a[c]){var d=a[c];d.setRowNumberAsRowIndicatorColumn();var h=d.getRowNumber()-s;0===h?u++:1===h?(l=Math.max(l,u),u=1,s=d.getRowNumber()):d.getRowNumber()>=t.getRowCount()?a[c]=null:(s=d.getRowNumber(),u=1)}},e.prototype.getBarcodeMetadata=function(){var t,e,r=this.getCodewords(),n=new u.default,i=new u.default,l=new u.default,c=new u.default;try{for(var d=o(r),h=d.next();!h.done;h=d.next()){var f=h.value;if(null!=f){f.setRowNumberAsRowIndicatorColumn();var p=f.getValue()%30,g=f.getRowNumber();switch(this._isLeft||(g+=2),g%3){case 0:i.setValue(3*p+1);break;case 1:c.setValue(p/3),l.setValue(p%3);break;case 2:n.setValue(p+1)}}}}catch(e){t={error:e}}finally{try{h&&!h.done&&(e=d.return)&&e.call(d)}finally{if(t)throw t.error}}if(0===n.getValue().length||0===i.getValue().length||0===l.getValue().length||0===c.getValue().length||n.getValue()[0]<1||i.getValue()[0]+l.getValue()[0]<a.default.MIN_ROWS_IN_BARCODE||i.getValue()[0]+l.getValue()[0]>a.default.MAX_ROWS_IN_BARCODE)return null;var m=new s.default(n.getValue()[0],i.getValue()[0],l.getValue()[0],c.getValue()[0]);return this.removeIncorrectCodewords(r,m),m},e.prototype.removeIncorrectCodewords=function(t,e){for(var r=0;r<t.length;r++){var n=t[r];if(null!=t[r]){var i=n.getValue()%30,o=n.getRowNumber();if(o>e.getRowCount())t[r]=null;else switch(this._isLeft||(o+=2),o%3){case 0:3*i+1!==e.getRowCountUpperPart()&&(t[r]=null);break;case 1:Math.trunc(i/3)===e.getErrorCorrectionLevel()&&i%3===e.getRowCountLowerPart()||(t[r]=null);break;case 2:i+1!==e.getColumnCount()&&(t[r]=null)}}}},e.prototype.isLeft=function(){return this._isLeft},e.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+t.prototype.toString.call(this)},e}(l.default);r.default=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/DetectionResultRowIndicatorColumn.js"}],[3776,{"../../common/detector/MathUtils":3690,"../../util/Float":3814,"../PDF417Common":3765},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../common/detector/MathUtils"),i=t("../PDF417Common"),o=t("../../util/Float"),a=function(){function t(){}return t.initialize=function(){for(var e=0;e<i.default.SYMBOL_TABLE.length;e++)for(var r=i.default.SYMBOL_TABLE[e],n=1&r,o=0;o<i.default.BARS_IN_MODULE;o++){for(var a=0;(1&r)===n;)a+=1,r>>=1;n=1&r,t.RATIOS_TABLE[e]||(t.RATIOS_TABLE[e]=new Array(i.default.BARS_IN_MODULE)),t.RATIOS_TABLE[e][i.default.BARS_IN_MODULE-o-1]=Math.fround(a/i.default.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},t.getDecodedValue=function(e){var r=t.getDecodedCodewordValue(t.sampleBitCounts(e));return-1!==r?r:t.getClosestDecodedValue(e)},t.sampleBitCounts=function(t){for(var e=n.default.sum(t),r=new Int32Array(i.default.BARS_IN_MODULE),o=0,a=0,s=0;s<i.default.MODULES_IN_CODEWORD;s++){var l=e/(2*i.default.MODULES_IN_CODEWORD)+s*e/i.default.MODULES_IN_CODEWORD;a+t[o]<=l&&(a+=t[o],o++),r[o]++}return r},t.getDecodedCodewordValue=function(e){var r=t.getBitValue(e);return-1===i.default.getCodeword(r)?-1:r},t.getBitValue=function(t){for(var e=0,r=0;r<t.length;r++)for(var n=0;n<t[r];n++)e=e<<1|(r%2==0?1:0);return Math.trunc(e)},t.getClosestDecodedValue=function(e){var r=n.default.sum(e),a=new Array(i.default.BARS_IN_MODULE);if(r>1)for(var s=0;s<a.length;s++)a[s]=Math.fround(e[s]/r);var l=o.default.MAX_VALUE,u=-1;this.bSymbolTableReady||t.initialize();for(var c=0;c<t.RATIOS_TABLE.length;c++){for(var d=0,h=t.RATIOS_TABLE[c],f=0;f<i.default.BARS_IN_MODULE;f++){var p=Math.fround(h[f]-a[f]);if((d+=Math.fround(p*p))>=l)break}d<l&&(l=d,u=i.default.SYMBOL_TABLE[c])}return u},t.bSymbolTableReady=!1,t.RATIOS_TABLE=new Array(i.default.SYMBOL_TABLE.length).map((function(t){return new Array(i.default.BARS_IN_MODULE)})),t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/PDF417CodewordDecoder.js"}],[3777,{"../../ChecksumException":3634,"../../FormatException":3638,"../../NotFoundException":3646,"../../common/detector/MathUtils":3690,"../../util/Formatter":3815,"../PDF417Common":3765,"./BarcodeValue":3769,"./BoundingBox":3770,"./Codeword":3771,"./DecodedBitStreamParser":3772,"./DetectionResult":3773,"./DetectionResultColumn":3774,"./DetectionResultRowIndicatorColumn":3775,"./PDF417CodewordDecoder":3776,"./ec/ErrorCorrection":3778},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../ChecksumException"),o=t("../../FormatException"),a=t("../../NotFoundException"),s=t("../../common/detector/MathUtils"),l=t("../PDF417Common"),u=t("./ec/ErrorCorrection"),c=t("./BoundingBox"),d=t("./DetectionResultRowIndicatorColumn"),h=t("./DetectionResult"),f=t("./DetectionResultColumn"),p=t("./Codeword"),g=t("./BarcodeValue"),m=t("./PDF417CodewordDecoder"),y=t("./DecodedBitStreamParser"),b=t("../../util/Formatter"),v=function(){function t(){}return t.decode=function(e,r,n,i,o,s,l){for(var u,h=new c.default(e,r,n,i,o),p=null,g=null,m=!0;;m=!1){if(null!=r&&(p=t.getRowIndicatorColumn(e,h,r,!0,s,l)),null!=i&&(g=t.getRowIndicatorColumn(e,h,i,!1,s,l)),null==(u=t.merge(p,g)))throw a.default.getNotFoundInstance();var y=u.getBoundingBox();if(!m||null==y||!(y.getMinY()<h.getMinY()||y.getMaxY()>h.getMaxY()))break;h=y}u.setBoundingBox(h);var b=u.getBarcodeColumnCount()+1;u.setDetectionResultColumn(0,p),u.setDetectionResultColumn(b,g);for(var v=null!=p,w=1;w<=b;w++){var _=v?w:b-w;if(u.getDetectionResultColumn(_)===undefined){var A=void 0;A=0===_||_===b?new d.default(h,0===_):new f.default(h),u.setDetectionResultColumn(_,A);for(var x=-1,C=x,E=h.getMinY();E<=h.getMaxY();E++){if((x=t.getStartColumn(u,_,E,v))<0||x>h.getMaxX()){if(-1===C)continue;x=C}var S=t.detectCodeword(e,h.getMinX(),h.getMaxX(),v,x,E,s,l);null!=S&&(A.setCodeword(E,S),C=x,s=Math.min(s,S.getWidth()),l=Math.max(l,S.getWidth()))}}}return t.createDecoderResult(u)},t.merge=function(e,r){if(null==e&&null==r)return null;var n=t.getBarcodeMetadata(e,r);if(null==n)return null;var i=c.default.merge(t.adjustBoundingBox(e),t.adjustBoundingBox(r));return new h.default(n,i)},t.adjustBoundingBox=function(e){var r,i;if(null==e)return null;var o=e.getRowHeights();if(null==o)return null;var a=t.getMax(o),s=0;try{for(var l=n(o),u=l.next();!u.done;u=l.next()){var c=u.value;if(s+=a-c,c>0)break}}catch(t){r={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}for(var d=e.getCodewords(),h=0;s>0&&null==d[h];h++)s--;var f=0;for(h=o.length-1;h>=0&&(f+=a-o[h],!(o[h]>0));h--);for(h=d.length-1;f>0&&null==d[h];h--)f--;return e.getBoundingBox().addMissingRows(s,f,e.isLeft())},t.getMax=function(t){var e,r,i=-1;try{for(var o=n(t),a=o.next();!a.done;a=o.next()){var s=a.value;i=Math.max(i,s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i},t.getBarcodeMetadata=function(t,e){var r,n;return null==t||null==(r=t.getBarcodeMetadata())?null==e?null:e.getBarcodeMetadata():null==e||null==(n=e.getBarcodeMetadata())?r:r.getColumnCount()!==n.getColumnCount()&&r.getErrorCorrectionLevel()!==n.getErrorCorrectionLevel()&&r.getRowCount()!==n.getRowCount()?null:r},t.getRowIndicatorColumn=function(e,r,n,i,o,a){for(var s=new d.default(r,i),l=0;l<2;l++)for(var u=0===l?1:-1,c=Math.trunc(Math.trunc(n.getX())),h=Math.trunc(Math.trunc(n.getY()));h<=r.getMaxY()&&h>=r.getMinY();h+=u){var f=t.detectCodeword(e,0,e.getWidth(),i,c,h,o,a);null!=f&&(s.setCodeword(h,f),c=i?f.getStartX():f.getEndX())}return s},t.adjustCodewordCount=function(e,r){var n=r[0][1],i=n.getValue(),o=e.getBarcodeColumnCount()*e.getBarcodeRowCount()-t.getNumberOfECCodeWords(e.getBarcodeECLevel());if(0===i.length){if(o<1||o>l.default.MAX_CODEWORDS_IN_BARCODE)throw a.default.getNotFoundInstance();n.setValue(o)}else i[0]!==o&&n.setValue(o)},t.createDecoderResult=function(e){var r=t.createBarcodeMatrix(e);t.adjustCodewordCount(e,r);for(var n=new Array,i=new Int32Array(e.getBarcodeRowCount()*e.getBarcodeColumnCount()),o=[],a=new Array,s=0;s<e.getBarcodeRowCount();s++)for(var u=0;u<e.getBarcodeColumnCount();u++){var c=r[s][u+1].getValue(),d=s*e.getBarcodeColumnCount()+u;0===c.length?n.push(d):1===c.length?i[d]=c[0]:(a.push(d),o.push(c))}for(var h=new Array(o.length),f=0;f<h.length;f++)h[f]=o[f];return t.createDecoderResultFromAmbiguousValues(e.getBarcodeECLevel(),i,l.default.toIntArray(n),l.default.toIntArray(a),h)},t.createDecoderResultFromAmbiguousValues=function(e,r,n,o,a){for(var s=new Int32Array(o.length),l=100;l-- >0;){for(var u=0;u<s.length;u++)r[o[u]]=a[u][s[u]];try{return t.decodeCodewords(r,e,n)}catch(t){if(!(t instanceof i.default))throw t}if(0===s.length)throw i.default.getChecksumInstance();for(u=0;u<s.length;u++){if(s[u]<a[u].length-1){s[u]++;break}if(s[u]=0,u===s.length-1)throw i.default.getChecksumInstance()}}throw i.default.getChecksumInstance()},t.createBarcodeMatrix=function(t){for(var e,r,i,o,a=Array.from({length:t.getBarcodeRowCount()},(function(){return new Array(t.getBarcodeColumnCount()+2)})),s=0;s<a.length;s++)for(var l=0;l<a[s].length;l++)a[s][l]=new g.default;var u=0;try{for(var c=n(t.getDetectionResultColumns()),d=c.next();!d.done;d=c.next()){var h=d.value;if(null!=h)try{for(var f=(i=void 0,n(h.getCodewords())),p=f.next();!p.done;p=f.next()){var m=p.value;if(null!=m){var y=m.getRowNumber();if(y>=0){if(y>=a.length)continue;a[y][u].setValue(m.getValue())}}}}catch(t){i={error:t}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}u++}}catch(t){e={error:t}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}return a},t.isValidBarcodeColumn=function(t,e){return e>=0&&e<=t.getBarcodeColumnCount()+1},t.getStartColumn=function(e,r,i,o){var a,s,l=o?1:-1,u=null;if(t.isValidBarcodeColumn(e,r-l)&&(u=e.getDetectionResultColumn(r-l).getCodeword(i)),null!=u)return o?u.getEndX():u.getStartX();if(null!=(u=e.getDetectionResultColumn(r).getCodewordNearby(i)))return o?u.getStartX():u.getEndX();if(t.isValidBarcodeColumn(e,r-l)&&(u=e.getDetectionResultColumn(r-l).getCodewordNearby(i)),null!=u)return o?u.getEndX():u.getStartX();for(var c=0;t.isValidBarcodeColumn(e,r-l);){r-=l;try{for(var d=(a=void 0,n(e.getDetectionResultColumn(r).getCodewords())),h=d.next();!h.done;h=d.next()){var f=h.value;if(null!=f)return(o?f.getEndX():f.getStartX())+l*c*(f.getEndX()-f.getStartX())}}catch(t){a={error:t}}finally{try{h&&!h.done&&(s=d.return)&&s.call(d)}finally{if(a)throw a.error}}c++}return o?e.getBoundingBox().getMinX():e.getBoundingBox().getMaxX()},t.detectCodeword=function(e,r,n,i,o,a,u,c){o=t.adjustCodewordStartColumn(e,r,n,i,o,a);var d,h=t.getModuleBitCount(e,r,n,i,o,a);if(null==h)return null;var f=s.default.sum(h);if(i)d=o+f;else{for(var g=0;g<h.length/2;g++){var y=h[g];h[g]=h[h.length-1-g],h[h.length-1-g]=y}o=(d=o)-f}if(!t.checkCodewordSkew(f,u,c))return null;var b=m.default.getDecodedValue(h),v=l.default.getCodeword(b);return-1===v?null:new p.default(o,d,t.getCodewordBucketNumber(b),v)},t.getModuleBitCount=function(t,e,r,n,i,o){for(var a=i,s=new Int32Array(8),l=0,u=n?1:-1,c=n;(n?a<r:a>=e)&&l<s.length;)t.get(a,o)===c?(s[l]++,a+=u):(l++,c=!c);return l===s.length||a===(n?r:e)&&l===s.length-1?s:null},t.getNumberOfECCodeWords=function(t){return 2<<t},t.adjustCodewordStartColumn=function(e,r,n,i,o,a){for(var s=o,l=i?-1:1,u=0;u<2;u++){for(;(i?s>=r:s<n)&&i===e.get(s,a);){if(Math.abs(o-s)>t.CODEWORD_SKEW_SIZE)return o;s+=l}l=-l,i=!i}return s},t.checkCodewordSkew=function(e,r,n){return r-t.CODEWORD_SKEW_SIZE<=e&&e<=n+t.CODEWORD_SKEW_SIZE},t.decodeCodewords=function(e,r,n){if(0===e.length)throw o.default.getFormatInstance();var i=1<<r+1,a=t.correctErrors(e,n,i);t.verifyCodewordCount(e,i);var s=y.default.decode(e,""+r);return s.setErrorsCorrected(a),s.setErasures(n.length),s},t.correctErrors=function(e,r,n){if(null!=r&&r.length>n/2+t.MAX_ERRORS||n<0||n>t.MAX_EC_CODEWORDS)throw i.default.getChecksumInstance();return t.errorCorrection.decode(e,n,r)},t.verifyCodewordCount=function(t,e){if(t.length<4)throw o.default.getFormatInstance();var r=t[0];if(r>t.length)throw o.default.getFormatInstance();if(0===r){if(!(e<t.length))throw o.default.getFormatInstance();t[0]=t.length-e}},t.getBitCountForCodeword=function(t){for(var e=new Int32Array(8),r=0,n=e.length-1;!((1&t)!==r&&(r=1&t,--n<0));)e[n]++,t>>=1;return e},t.getCodewordBucketNumber=function(t){return t instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(t):this.getCodewordBucketNumber_number(t)},t.getCodewordBucketNumber_number=function(e){return t.getCodewordBucketNumber(t.getBitCountForCodeword(e))},t.getCodewordBucketNumber_Int32Array=function(t){return(t[0]-t[2]+t[4]-t[6]+9)%9},t.toString=function(t){for(var e=new b.default,r=0;r<t.length;r++){e.format("Row %2d: ",r);for(var n=0;n<t[r].length;n++){var i=t[r][n];0===i.getValue().length?e.format(" ",null):e.format("%4d(%2d)",i.getValue()[0],i.getConfidence(i.getValue()[0]))}e.format("%n")}return e.toString()},t.CODEWORD_SKEW_SIZE=2,t.MAX_ERRORS=3,t.MAX_EC_CODEWORDS=512,t.errorCorrection=new u.default,t}();r.default=v}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/PDF417ScanningDecoder.js"}],[3778,{"../../../ChecksumException":3634,"./ModulusGF":3780,"./ModulusPoly":3781},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../../ChecksumException"),o=t("./ModulusPoly"),a=t("./ModulusGF"),s=function(){function t(){this.field=a.default.PDF417_GF}return t.prototype.decode=function(t,e,r){for(var a,s,l=new o.default(this.field,t),u=new Int32Array(e),c=!1,d=e;d>0;d--){var h=l.evaluateAt(this.field.exp(d));u[e-d]=h,0!==h&&(c=!0)}if(!c)return 0;var f=this.field.getOne();if(null!=r)try{for(var p=n(r),g=p.next();!g.done;g=p.next()){var m=g.value,y=this.field.exp(t.length-1-m),b=new o.default(this.field,new Int32Array([this.field.subtract(0,y),1]));f=f.multiply(b)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}var v=new o.default(this.field,u),w=this.runEuclideanAlgorithm(this.field.buildMonomial(e,1),v,e),_=w[0],A=w[1],x=this.findErrorLocations(_),C=this.findErrorMagnitudes(A,_,x);for(d=0;d<x.length;d++){var E=t.length-1-this.field.log(x[d]);if(E<0)throw i.default.getChecksumInstance();t[E]=this.field.subtract(t[E],C[d])}return x.length},t.prototype.runEuclideanAlgorithm=function(t,e,r){if(t.getDegree()<e.getDegree()){var n=t;t=e,e=n}for(var o=t,a=e,s=this.field.getZero(),l=this.field.getOne();a.getDegree()>=Math.round(r/2);){var u=o,c=s;if(s=l,(o=a).isZero())throw i.default.getChecksumInstance();a=u;for(var d=this.field.getZero(),h=o.getCoefficient(o.getDegree()),f=this.field.inverse(h);a.getDegree()>=o.getDegree()&&!a.isZero();){var p=a.getDegree()-o.getDegree(),g=this.field.multiply(a.getCoefficient(a.getDegree()),f);d=d.add(this.field.buildMonomial(p,g)),a=a.subtract(o.multiplyByMonomial(p,g))}l=d.multiply(s).subtract(c).negative()}var m=l.getCoefficient(0);if(0===m)throw i.default.getChecksumInstance();var y=this.field.inverse(m);return[l.multiply(y),a.multiply(y)]},t.prototype.findErrorLocations=function(t){for(var e=t.getDegree(),r=new Int32Array(e),n=0,o=1;o<this.field.getSize()&&n<e;o++)0===t.evaluateAt(o)&&(r[n]=this.field.inverse(o),n++);if(n!==e)throw i.default.getChecksumInstance();return r},t.prototype.findErrorMagnitudes=function(t,e,r){for(var n=e.getDegree(),i=new Int32Array(n),a=1;a<=n;a++)i[n-a]=this.field.multiply(a,e.getCoefficient(a));var s=new o.default(this.field,i),l=r.length,u=new Int32Array(l);for(a=0;a<l;a++){var c=this.field.inverse(r[a]),d=this.field.subtract(0,t.evaluateAt(c)),h=this.field.inverse(s.evaluateAt(c));u[a]=this.field.multiply(d,h)}return u},t}();r.default=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/ec/ErrorCorrection.js"}],[3779,{"../../../ArithmeticException":3629,"../../../IllegalArgumentException":3639},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../../IllegalArgumentException"),i=t("../../../ArithmeticException"),o=function(){function t(){}return t.prototype.add=function(t,e){return(t+e)%this.modulus},t.prototype.subtract=function(t,e){return(this.modulus+t-e)%this.modulus},t.prototype.exp=function(t){return this.expTable[t]},t.prototype.log=function(t){if(0===t)throw new n.default;return this.logTable[t]},t.prototype.inverse=function(t){if(0===t)throw new i.default;return this.expTable[this.modulus-this.logTable[t]-1]},t.prototype.multiply=function(t,e){return 0===t||0===e?0:this.expTable[(this.logTable[t]+this.logTable[e])%(this.modulus-1)]},t.prototype.getSize=function(){return this.modulus},t.prototype.equals=function(t){return t===this},t}();r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/ec/ModulusBase.js"}],[3780,{"../../../IllegalArgumentException":3639,"../../PDF417Common":3765,"./ModulusBase":3779,"./ModulusPoly":3781},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("../../PDF417Common"),a=t("./ModulusPoly"),s=t("../../../IllegalArgumentException"),l=function(t){function e(e,r){var n=t.call(this)||this;n.modulus=e,n.expTable=new Int32Array(e),n.logTable=new Int32Array(e);for(var i=1,o=0;o<e;o++)n.expTable[o]=i,i=i*r%e;for(o=0;o<e-1;o++)n.logTable[n.expTable[o]]=o;return n.zero=new a.default(n,new Int32Array([0])),n.one=new a.default(n,new Int32Array([1])),n}return i(e,t),e.prototype.getZero=function(){return this.zero},e.prototype.getOne=function(){return this.one},e.prototype.buildMonomial=function(t,e){if(t<0)throw new s.default;if(0===e)return this.zero;var r=new Int32Array(t+1);return r[0]=e,new a.default(this,r)},e.PDF417_GF=new e(o.default.NUMBER_OF_CODEWORDS,3),e}(t("./ModulusBase").default);r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/ec/ModulusGF.js"}],[3781,{"../../../IllegalArgumentException":3639,"../../../util/StringBuilder":3820,"../../../util/System":3822},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../../IllegalArgumentException"),o=t("../../../util/System"),a=t("../../../util/StringBuilder"),s=function(){function t(t,e){if(0===e.length)throw new i.default;this.field=t;var r=e.length;if(r>1&&0===e[0]){for(var n=1;n<r&&0===e[n];)n++;n===r?this.coefficients=new Int32Array([0]):(this.coefficients=new Int32Array(r-n),o.default.arraycopy(e,n,this.coefficients,0,this.coefficients.length))}else this.coefficients=e}return t.prototype.getCoefficients=function(){return this.coefficients},t.prototype.getDegree=function(){return this.coefficients.length-1},t.prototype.isZero=function(){return 0===this.coefficients[0]},t.prototype.getCoefficient=function(t){return this.coefficients[this.coefficients.length-1-t]},t.prototype.evaluateAt=function(t){var e,r;if(0===t)return this.getCoefficient(0);if(1===t){var i=0;try{for(var o=n(this.coefficients),a=o.next();!a.done;a=o.next()){var s=a.value;i=this.field.add(i,s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i}for(var l=this.coefficients[0],u=this.coefficients.length,c=1;c<u;c++)l=this.field.add(this.field.multiply(t,l),this.coefficients[c]);return l},t.prototype.add=function(e){if(!this.field.equals(e.field))throw new i.default("ModulusPolys do not have same ModulusGF field");if(this.isZero())return e;if(e.isZero())return this;var r=this.coefficients,n=e.coefficients;if(r.length>n.length){var a=r;r=n,n=a}var s=new Int32Array(n.length),l=n.length-r.length;o.default.arraycopy(n,0,s,0,l);for(var u=l;u<n.length;u++)s[u]=this.field.add(r[u-l],n[u]);return new t(this.field,s)},t.prototype.subtract=function(t){if(!this.field.equals(t.field))throw new i.default("ModulusPolys do not have same ModulusGF field");return t.isZero()?this:this.add(t.negative())},t.prototype.multiply=function(e){return e instanceof t?this.multiplyOther(e):this.multiplyScalar(e)},t.prototype.multiplyOther=function(e){if(!this.field.equals(e.field))throw new i.default("ModulusPolys do not have same ModulusGF field");if(this.isZero()||e.isZero())return new t(this.field,new Int32Array([0]));for(var r=this.coefficients,n=r.length,o=e.coefficients,a=o.length,s=new Int32Array(n+a-1),l=0;l<n;l++)for(var u=r[l],c=0;c<a;c++)s[l+c]=this.field.add(s[l+c],this.field.multiply(u,o[c]));return new t(this.field,s)},t.prototype.negative=function(){for(var e=this.coefficients.length,r=new Int32Array(e),n=0;n<e;n++)r[n]=this.field.subtract(0,this.coefficients[n]);return new t(this.field,r)},t.prototype.multiplyScalar=function(e){if(0===e)return new t(this.field,new Int32Array([0]));if(1===e)return this;for(var r=this.coefficients.length,n=new Int32Array(r),i=0;i<r;i++)n[i]=this.field.multiply(this.coefficients[i],e);return new t(this.field,n)},t.prototype.multiplyByMonomial=function(e,r){if(e<0)throw new i.default;if(0===r)return new t(this.field,new Int32Array([0]));for(var n=this.coefficients.length,o=new Int32Array(n+e),a=0;a<n;a++)o[a]=this.field.multiply(this.coefficients[a],r);return new t(this.field,o)},t.prototype.toString=function(){for(var t=new a.default,e=this.getDegree();e>=0;e--){var r=this.getCoefficient(e);0!==r&&(r<0?(t.append(" - "),r=-r):t.length()>0&&t.append(" + "),0!==e&&1===r||t.append(r),0!==e&&(1===e?t.append("x"):(t.append("x^"),t.append(e))))}return t.toString()},t}();r.default=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/ec/ModulusPoly.js"}],[3782,{"../../ResultPoint":3655,"../../util/Arrays":3810,"../../util/System":3822,"./PDF417DetectorResult":3783},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../ResultPoint"),o=t("../../util/System"),a=t("../../util/Arrays"),s=t("./PDF417DetectorResult"),l=function(){function t(){}return t.detectMultiple=function(e,r,n){var i=e.getBlackMatrix(),o=t.detect(n,i);return o.length||((i=i.clone()).rotate180(),o=t.detect(n,i)),new s.default(i,o)},t.detect=function(e,r){for(var i,o,a=new Array,s=0,l=0,u=!1;s<r.getHeight();){var c=t.findVertices(r,s,l);if(null!=c[0]||null!=c[3]){if(u=!0,a.push(c),!e)break;null!=c[2]?(l=Math.trunc(c[2].getX()),s=Math.trunc(c[2].getY())):(l=Math.trunc(c[4].getX()),s=Math.trunc(c[4].getY()))}else{if(!u)break;u=!1,l=0;try{for(var d=(i=void 0,n(a)),h=d.next();!h.done;h=d.next()){var f=h.value;null!=f[1]&&(s=Math.trunc(Math.max(s,f[1].getY()))),null!=f[3]&&(s=Math.max(s,Math.trunc(f[3].getY())))}}catch(t){i={error:t}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}s+=t.ROW_STEP}}return a},t.findVertices=function(e,r,n){var i=e.getHeight(),o=e.getWidth(),a=new Array(8);return t.copyToResult(a,t.findRowsWithPattern(e,i,o,r,n,t.START_PATTERN),t.INDEXES_START_PATTERN),null!=a[4]&&(n=Math.trunc(a[4].getX()),r=Math.trunc(a[4].getY())),t.copyToResult(a,t.findRowsWithPattern(e,i,o,r,n,t.STOP_PATTERN),t.INDEXES_STOP_PATTERN),a},t.copyToResult=function(t,e,r){for(var n=0;n<r.length;n++)t[r[n]]=e[n]},t.findRowsWithPattern=function(e,r,n,o,s,l){for(var u=new Array(4),c=!1,d=new Int32Array(l.length);o<r;o+=t.ROW_STEP){if(null!=(g=t.findGuardPattern(e,s,o,n,!1,l,d))){for(;o>0;){if(null==(p=t.findGuardPattern(e,s,--o,n,!1,l,d))){o++;break}g=p}u[0]=new i.default(g[0],o),u[1]=new i.default(g[1],o),c=!0;break}}var h=o+1;if(c){for(var f=0,p=Int32Array.from([Math.trunc(u[0].getX()),Math.trunc(u[1].getX())]);h<r;h++){var g;if(null!=(g=t.findGuardPattern(e,p[0],h,n,!1,l,d))&&Math.abs(p[0]-g[0])<t.MAX_PATTERN_DRIFT&&Math.abs(p[1]-g[1])<t.MAX_PATTERN_DRIFT)p=g,f=0;else{if(f>t.SKIPPED_ROW_COUNT_MAX)break;f++}}h-=f+1,u[2]=new i.default(p[0],h),u[3]=new i.default(p[1],h)}return h-o<t.BARCODE_MIN_HEIGHT&&a.default.fill(u,null),u},t.findGuardPattern=function(e,r,n,i,s,l,u){a.default.fillWithin(u,0,u.length,0);for(var c=r,d=0;e.get(c,n)&&c>0&&d++<t.MAX_PIXEL_DRIFT;)c--;for(var h=c,f=0,p=l.length,g=s;h<i;h++){if(e.get(h,n)!==g)u[f]++;else{if(f===p-1){if(t.patternMatchVariance(u,l,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return new Int32Array([c,h]);c+=u[0]+u[1],o.default.arraycopy(u,2,u,0,f-1),u[f-1]=0,u[f]=0,f--}else f++;u[f]=1,g=!g}}return f===p-1&&t.patternMatchVariance(u,l,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE?new Int32Array([c,h-1]):null},t.patternMatchVariance=function(t,e,r){for(var n=t.length,i=0,o=0,a=0;a<n;a++)i+=t[a],o+=e[a];if(i<o)return Infinity;var s=i/o;r*=s;for(var l=0,u=0;u<n;u++){var c=t[u],d=e[u]*s,h=c>d?c-d:d-c;if(h>r)return Infinity;l+=h}return l/i},t.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),t.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),t.MAX_AVG_VARIANCE=.42,t.MAX_INDIVIDUAL_VARIANCE=.8,t.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),t.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),t.MAX_PIXEL_DRIFT=3,t.MAX_PATTERN_DRIFT=5,t.SKIPPED_ROW_COUNT_MAX=25,t.ROW_STEP=5,t.BARCODE_MIN_HEIGHT=10,t}();r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/detector/Detector.js"}],[3783,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t,e){this.bits=t,this.points=e}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/detector/PDF417DetectorResult.js"}],[3784,{"../BarcodeFormat":3631,"../DecodeHintType":3635,"../NotFoundException":3646,"../Result":3653,"../ResultMetadataType":3654,"../common/BitMatrix":3676,"./decoder/Decoder":3790,"./decoder/QRCodeDecoderMetaData":3796,"./detector/Detector":3800},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../BarcodeFormat"),i=t("../common/BitMatrix"),o=t("../DecodeHintType"),a=t("../NotFoundException"),s=t("../Result"),l=t("../ResultMetadataType"),u=t("./decoder/Decoder"),c=t("./decoder/QRCodeDecoderMetaData"),d=t("./detector/Detector"),h=function(){function t(){this.decoder=new u.default}return t.prototype.getDecoder=function(){return this.decoder},t.prototype.decode=function(e,r){var i,a;if(r!==undefined&&null!==r&&undefined!==r.get(o.default.PURE_BARCODE)){var u=t.extractPureBits(e.getBlackMatrix());i=this.decoder.decodeBitMatrix(u,r),a=t.NO_POINTS}else{var h=new d.default(e.getBlackMatrix()).detect(r);i=this.decoder.decodeBitMatrix(h.getBits(),r),a=h.getPoints()}i.getOther()instanceof c.default&&i.getOther().applyMirroredCorrection(a);var f=new s.default(i.getText(),i.getRawBytes(),undefined,a,n.default.QR_CODE,undefined),p=i.getByteSegments();null!==p&&f.putMetadata(l.default.BYTE_SEGMENTS,p);var g=i.getECLevel();return null!==g&&f.putMetadata(l.default.ERROR_CORRECTION_LEVEL,g),i.hasStructuredAppend()&&(f.putMetadata(l.default.STRUCTURED_APPEND_SEQUENCE,i.getStructuredAppendSequenceNumber()),f.putMetadata(l.default.STRUCTURED_APPEND_PARITY,i.getStructuredAppendParity())),f},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),r=t.getBottomRightOnBit();if(null===e||null===r)throw new a.default;var n=this.moduleSize(e,t),o=e[1],s=r[1],l=e[0],u=r[0];if(l>=u||o>=s)throw new a.default;if(s-o!=u-l&&(u=l+(s-o))>=t.getWidth())throw new a.default;var c=Math.round((u-l+1)/n),d=Math.round((s-o+1)/n);if(c<=0||d<=0)throw new a.default;if(d!==c)throw new a.default;var h=Math.floor(n/2);o+=h;var f=(l+=h)+Math.floor((c-1)*n)-u;if(f>0){if(f>h)throw new a.default;l-=f}var p=o+Math.floor((d-1)*n)-s;if(p>0){if(p>h)throw new a.default;o-=p}for(var g=new i.default(c,d),m=0;m<d;m++)for(var y=o+Math.floor(m*n),b=0;b<c;b++)t.get(l+Math.floor(b*n),y)&&g.set(b,m);return g},t.moduleSize=function(t,e){for(var r=e.getHeight(),n=e.getWidth(),i=t[0],o=t[1],s=!0,l=0;i<n&&o<r;){if(s!==e.get(i,o)){if(5==++l)break;s=!s}i++,o++}if(i===n||o===r)throw new a.default;return(i-t[0])/7},t.NO_POINTS=new Array,t}();r.default=h}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/QRCodeReader.js"}],[3785,{"../BarcodeFormat":3631,"../EncodeHintType":3636,"../IllegalArgumentException":3639,"../IllegalStateException":3640,"../common/BitMatrix":3676,"./decoder/ErrorCorrectionLevel":3793,"./encoder/Encoder":3806},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../BarcodeFormat"),i=t("../EncodeHintType"),o=t("../common/BitMatrix"),a=t("./decoder/ErrorCorrectionLevel"),s=t("./encoder/Encoder"),l=t("../IllegalArgumentException"),u=t("../IllegalStateException"),c=function(){function t(){}return t.prototype.encode=function(e,r,o,u,c){if(0===e.length)throw new l.default("Found empty contents");if(r!==n.default.QR_CODE)throw new l.default("Can only encode QR_CODE, but got "+r);if(o<0||u<0)throw new l.default("Requested dimensions are too small: "+o+"x"+u);var d=a.default.L,h=t.QUIET_ZONE_SIZE;null!==c&&(undefined!==c.get(i.default.ERROR_CORRECTION)&&(d=a.default.fromString(c.get(i.default.ERROR_CORRECTION).toString())),undefined!==c.get(i.default.MARGIN)&&(h=Number.parseInt(c.get(i.default.MARGIN).toString(),10)));var f=s.default.encode(e,d,c);return t.renderResult(f,o,u,h)},t.renderResult=function(t,e,r,n){var i=t.getMatrix();if(null===i)throw new u.default;for(var a=i.getWidth(),s=i.getHeight(),l=a+2*n,c=s+2*n,d=Math.max(e,l),h=Math.max(r,c),f=Math.min(Math.floor(d/l),Math.floor(h/c)),p=Math.floor((d-a*f)/2),g=Math.floor((h-s*f)/2),m=new o.default(d,h),y=0,b=g;y<s;y++,b+=f)for(var v=0,w=p;v<a;v++,w+=f)1===i.get(v,y)&&m.setRegion(w,b,f,f);return m},t.QUIET_ZONE_SIZE=4,t}();r.default=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/QRCodeWriter.js"}],[3786,{"../../FormatException":3638,"./DataMask":3788,"./FormatInformation":3794,"./Version":3797},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("./Version"),i=t("./FormatInformation"),o=t("./DataMask"),a=t("../../FormatException"),s=function(){function t(t){var e=t.getHeight();if(e<21||1!=(3&e))throw new a.default;this.bitMatrix=t}return t.prototype.readFormatInformation=function(){if(null!==this.parsedFormatInfo&&this.parsedFormatInfo!==undefined)return this.parsedFormatInfo;for(var t=0,e=0;e<6;e++)t=this.copyBit(e,8,t);t=this.copyBit(7,8,t),t=this.copyBit(8,8,t),t=this.copyBit(8,7,t);for(var r=5;r>=0;r--)t=this.copyBit(8,r,t);var n=this.bitMatrix.getHeight(),o=0,s=n-7;for(r=n-1;r>=s;r--)o=this.copyBit(8,r,o);for(e=n-8;e<n;e++)o=this.copyBit(e,8,o);if(this.parsedFormatInfo=i.default.decodeFormatInformation(t,o),null!==this.parsedFormatInfo)return this.parsedFormatInfo;throw new a.default},t.prototype.readVersion=function(){if(null!==this.parsedVersion&&this.parsedVersion!==undefined)return this.parsedVersion;var t=this.bitMatrix.getHeight(),e=Math.floor((t-17)/4);if(e<=6)return n.default.getVersionForNumber(e);for(var r=0,i=t-11,o=5;o>=0;o--)for(var s=t-9;s>=i;s--)r=this.copyBit(s,o,r);var l=n.default.decodeVersionInformation(r);if(null!==l&&l.getDimensionForVersion()===t)return this.parsedVersion=l,l;r=0;for(s=5;s>=0;s--)for(o=t-9;o>=i;o--)r=this.copyBit(s,o,r);if(null!==(l=n.default.decodeVersionInformation(r))&&l.getDimensionForVersion()===t)return this.parsedVersion=l,l;throw new a.default},t.prototype.copyBit=function(t,e,r){return(this.isMirror?this.bitMatrix.get(e,t):this.bitMatrix.get(t,e))?r<<1|1:r<<1},t.prototype.readCodewords=function(){var t=this.readFormatInformation(),e=this.readVersion(),r=o.default.values.get(t.getDataMask()),n=this.bitMatrix.getHeight();r.unmaskBitMatrix(this.bitMatrix,n);for(var i=e.buildFunctionPattern(),s=!0,l=new Uint8Array(e.getTotalCodewords()),u=0,c=0,d=0,h=n-1;h>0;h-=2){6===h&&h--;for(var f=0;f<n;f++)for(var p=s?n-1-f:f,g=0;g<2;g++)i.get(h-g,p)||(d++,c<<=1,this.bitMatrix.get(h-g,p)&&(c|=1),8===d&&(l[u++]=c,d=0,c=0));s=!s}if(u!==e.getTotalCodewords())throw new a.default;return l},t.prototype.remask=function(){if(null!==this.parsedFormatInfo){var t=o.default.values.get(this.parsedFormatInfo.getDataMask()),e=this.bitMatrix.getHeight();t.unmaskBitMatrix(this.bitMatrix,e)}},t.prototype.setMirror=function(t){this.parsedVersion=null,this.parsedFormatInfo=null,this.isMirror=t},t.prototype.mirror=function(){for(var t=this.bitMatrix,e=0,r=t.getWidth();e<r;e++)for(var n=e+1,i=t.getHeight();n<i;n++)t.get(e,n)!==t.get(n,e)&&(t.flip(n,e),t.flip(e,n))},t}();r.default=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/BitMatrixParser.js"}],[3787,{"../../IllegalArgumentException":3639},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../IllegalArgumentException"),o=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,r,o){var a,s,l,u;if(e.length!==r.getTotalCodewords())throw new i.default;var c=r.getECBlocksForLevel(o),d=0,h=c.getECBlocks();try{for(var f=n(h),p=f.next();!p.done;p=f.next()){d+=(v=p.value).getCount()}}catch(t){a={error:t}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(a)throw a.error}}var g=new Array(d),m=0;try{for(var y=n(h),b=y.next();!b.done;b=y.next())for(var v=b.value,w=0;w<v.getCount();w++){var _=v.getDataCodewords(),A=c.getECCodewordsPerBlock()+_;g[m++]=new t(_,new Uint8Array(A))}}catch(t){l={error:t}}finally{try{b&&!b.done&&(u=y.return)&&u.call(y)}finally{if(l)throw l.error}}for(var x=g[0].codewords.length,C=g.length-1;C>=0;){if(g[C].codewords.length===x)break;C--}C++;var E=x-c.getECCodewordsPerBlock(),S=0;for(w=0;w<E;w++)for(var T=0;T<m;T++)g[T].codewords[w]=e[S++];for(T=C;T<m;T++)g[T].codewords[E]=e[S++];var I=g[0].codewords.length;for(w=E;w<I;w++)for(T=0;T<m;T++){var D=T<C?w:w+1;g[T].codewords[D]=e[S++]}return g},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}();r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/DataBlock.js"}],[3788,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n;Object.defineProperty(r,"__esModule",{value:!0}),r.DataMaskValues=void 0,function(t){t[t.DATA_MASK_000=0]="DATA_MASK_000",t[t.DATA_MASK_001=1]="DATA_MASK_001",t[t.DATA_MASK_010=2]="DATA_MASK_010",t[t.DATA_MASK_011=3]="DATA_MASK_011",t[t.DATA_MASK_100=4]="DATA_MASK_100",t[t.DATA_MASK_101=5]="DATA_MASK_101",t[t.DATA_MASK_110=6]="DATA_MASK_110",t[t.DATA_MASK_111=7]="DATA_MASK_111"}(n=r.DataMaskValues||(r.DataMaskValues={}));var i=function(){function t(t,e){this.value=t,this.isMasked=e}return t.prototype.unmaskBitMatrix=function(t,e){for(var r=0;r<e;r++)for(var n=0;n<e;n++)this.isMasked(r,n)&&t.flip(n,r)},t.values=new Map([[n.DATA_MASK_000,new t(n.DATA_MASK_000,(function(t,e){return!(t+e&1)}))],[n.DATA_MASK_001,new t(n.DATA_MASK_001,(function(t,e){return!(1&t)}))],[n.DATA_MASK_010,new t(n.DATA_MASK_010,(function(t,e){return e%3==0}))],[n.DATA_MASK_011,new t(n.DATA_MASK_011,(function(t,e){return(t+e)%3==0}))],[n.DATA_MASK_100,new t(n.DATA_MASK_100,(function(t,e){return!(Math.floor(t/2)+Math.floor(e/3)&1)}))],[n.DATA_MASK_101,new t(n.DATA_MASK_101,(function(t,e){return t*e%6==0}))],[n.DATA_MASK_110,new t(n.DATA_MASK_110,(function(t,e){return t*e%6<3}))],[n.DATA_MASK_111,new t(n.DATA_MASK_111,(function(t,e){return!(t+e+t*e%3&1)}))]]),t}();r.default=i}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/DataMask.js"}],[3789,{"../../FormatException":3638,"../../common/BitSource":3677,"../../common/CharacterSetECI":3678,"../../common/DecoderResult":3679,"../../common/StringUtils":3689,"../../util/StringBuilder":3820,"../../util/StringEncoding":3821,"./Mode":3795},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../common/BitSource"),i=t("../../common/CharacterSetECI"),o=t("../../common/DecoderResult"),a=t("../../common/StringUtils"),s=t("../../FormatException"),l=t("../../util/StringBuilder"),u=t("../../util/StringEncoding"),c=t("./Mode"),d=function(){function t(){}return t.decode=function(e,r,a,u){var d=new n.default(e),h=new l.default,f=new Array,p=-1,g=-1;try{var m=null,y=!1,b=void 0;do{if(d.available()<4)b=c.default.TERMINATOR;else{var v=d.readBits(4);b=c.default.forBits(v)}switch(b){case c.default.TERMINATOR:break;case c.default.FNC1_FIRST_POSITION:case c.default.FNC1_SECOND_POSITION:y=!0;break;case c.default.STRUCTURED_APPEND:if(d.available()<16)throw new s.default;p=d.readBits(8),g=d.readBits(8);break;case c.default.ECI:var w=t.parseECIValue(d);if(null===(m=i.default.getCharacterSetECIByValue(w)))throw new s.default;break;case c.default.HANZI:var _=d.readBits(4),A=d.readBits(b.getCharacterCountBits(r));_===t.GB2312_SUBSET&&t.decodeHanziSegment(d,h,A);break;default:var x=d.readBits(b.getCharacterCountBits(r));switch(b){case c.default.NUMERIC:t.decodeNumericSegment(d,h,x);break;case c.default.ALPHANUMERIC:t.decodeAlphanumericSegment(d,h,x,y);break;case c.default.BYTE:t.decodeByteSegment(d,h,x,m,f,u);break;case c.default.KANJI:t.decodeKanjiSegment(d,h,x);break;default:throw new s.default}}}while(b!==c.default.TERMINATOR)}catch(t){throw new s.default}return new o.default(e,h.toString(),0===f.length?null:f,null===a?null:a.toString(),p,g)},t.decodeHanziSegment=function(t,e,r){if(13*r>t.available())throw new s.default;for(var n=new Uint8Array(2*r),i=0;r>0;){var o=t.readBits(13),l=o/96<<8&4294967295|o%96;l+=l<959?41377:42657,n[i]=l>>8&255,n[i+1]=255&l,i+=2,r--}try{e.append(u.default.decode(n,a.default.GB2312))}catch(t){throw new s.default(t)}},t.decodeKanjiSegment=function(t,e,r){if(13*r>t.available())throw new s.default;for(var n=new Uint8Array(2*r),i=0;r>0;){var o=t.readBits(13),l=o/192<<8&4294967295|o%192;l+=l<7936?33088:49472,n[i]=l>>8,n[i+1]=l,i+=2,r--}try{e.append(u.default.decode(n,a.default.SHIFT_JIS))}catch(t){throw new s.default(t)}},t.decodeByteSegment=function(t,e,r,n,i,o){if(8*r>t.available())throw new s.default;for(var l,c=new Uint8Array(r),d=0;d<r;d++)c[d]=t.readBits(8);l=null===n?a.default.guessEncoding(c,o):n.getName();try{e.append(u.default.decode(c,l))}catch(t){throw new s.default(t)}i.push(c)},t.toAlphaNumericChar=function(e){if(e>=t.ALPHANUMERIC_CHARS.length)throw new s.default;return t.ALPHANUMERIC_CHARS[e]},t.decodeAlphanumericSegment=function(e,r,n,i){for(var o=r.length();n>1;){if(e.available()<11)throw new s.default;var a=e.readBits(11);r.append(t.toAlphaNumericChar(Math.floor(a/45))),r.append(t.toAlphaNumericChar(a%45)),n-=2}if(1===n){if(e.available()<6)throw new s.default;r.append(t.toAlphaNumericChar(e.readBits(6)))}if(i)for(var l=o;l<r.length();l++)"%"===r.charAt(l)&&(l<r.length()-1&&"%"===r.charAt(l+1)?r.deleteCharAt(l+1):r.setCharAt(l,String.fromCharCode(29)))},t.decodeNumericSegment=function(e,r,n){for(;n>=3;){if(e.available()<10)throw new s.default;var i=e.readBits(10);if(i>=1e3)throw new s.default;r.append(t.toAlphaNumericChar(Math.floor(i/100))),r.append(t.toAlphaNumericChar(Math.floor(i/10)%10)),r.append(t.toAlphaNumericChar(i%10)),n-=3}if(2===n){if(e.available()<7)throw new s.default;var o=e.readBits(7);if(o>=100)throw new s.default;r.append(t.toAlphaNumericChar(Math.floor(o/10))),r.append(t.toAlphaNumericChar(o%10))}else if(1===n){if(e.available()<4)throw new s.default;var a=e.readBits(4);if(a>=10)throw new s.default;r.append(t.toAlphaNumericChar(a))}},t.parseECIValue=function(t){var e=t.readBits(8);if(!(128&e))return 127&e;if(128==(192&e))return(63&e)<<8&4294967295|t.readBits(8);if(192==(224&e))return(31&e)<<16&4294967295|t.readBits(16);throw new s.default},t.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",t.GB2312_SUBSET=1,t}();r.default=d}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/DecodedBitStreamParser.js"}],[3790,{"../../ChecksumException":3634,"../../common/BitMatrix":3676,"../../common/reedsolomon/GenericGF":3693,"../../common/reedsolomon/ReedSolomonDecoder":3695,"./BitMatrixParser":3786,"./DataBlock":3787,"./DecodedBitStreamParser":3789,"./QRCodeDecoderMetaData":3796},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../ChecksumException"),o=t("../../common/BitMatrix"),a=t("../../common/reedsolomon/GenericGF"),s=t("../../common/reedsolomon/ReedSolomonDecoder"),l=t("./BitMatrixParser"),u=t("./DataBlock"),c=t("./DecodedBitStreamParser"),d=t("./QRCodeDecoderMetaData"),h=function(){function t(){this.rsDecoder=new s.default(a.default.QR_CODE_FIELD_256)}return t.prototype.decodeBooleanArray=function(t,e){return this.decodeBitMatrix(o.default.parseFromBooleanArray(t),e)},t.prototype.decodeBitMatrix=function(t,e){var r=new l.default(t),n=null;try{return this.decodeBitMatrixParser(r,e)}catch(t){n=t}try{r.remask(),r.setMirror(!0),r.readVersion(),r.readFormatInformation(),r.mirror();var i=this.decodeBitMatrixParser(r,e);return i.setOther(new d.default(!0)),i}catch(t){if(null!==n)throw n;throw t}},t.prototype.decodeBitMatrixParser=function(t,e){var r,i,o,a,s=t.readVersion(),l=t.readFormatInformation().getErrorCorrectionLevel(),d=t.readCodewords(),h=u.default.getDataBlocks(d,s,l),f=0;try{for(var p=n(h),g=p.next();!g.done;g=p.next()){f+=(w=g.value).getNumDataCodewords()}}catch(t){r={error:t}}finally{try{g&&!g.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}var m=new Uint8Array(f),y=0;try{for(var b=n(h),v=b.next();!v.done;v=b.next()){var w,_=(w=v.value).getCodewords(),A=w.getNumDataCodewords();this.correctErrors(_,A);for(var x=0;x<A;x++)m[y++]=_[x]}}catch(t){o={error:t}}finally{try{v&&!v.done&&(a=b.return)&&a.call(b)}finally{if(o)throw o.error}}return c.default.decode(m,s,l,e)},t.prototype.correctErrors=function(t,e){var r=new Int32Array(t);try{this.rsDecoder.decode(r,t.length-e)}catch(t){throw new i.default}for(var n=0;n<e;n++)t[n]=r[n]},t}();r.default=h}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/Decoder.js"}],[3791,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t,e){this.count=t,this.dataCodewords=e}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/ECB.js"}],[3792,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function t(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];this.ecCodewordsPerBlock=t,this.ecBlocks=e}return t.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},t.prototype.getNumBlocks=function(){var t,e,r=0,i=this.ecBlocks;try{for(var o=n(i),a=o.next();!a.done;a=o.next()){r+=a.value.getCount()}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return r},t.prototype.getTotalECCodewords=function(){return this.ecCodewordsPerBlock*this.getNumBlocks()},t.prototype.getECBlocks=function(){return this.ecBlocks},t}();r.default=i}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/ECBlocks.js"}],[3793,{"../../ArgumentException":3628,"../../IllegalArgumentException":3639},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ErrorCorrectionLevelValues=void 0;var n,i=t("../../ArgumentException"),o=t("../../IllegalArgumentException");!function(t){t[t.L=0]="L",t[t.M=1]="M",t[t.Q=2]="Q",t[t.H=3]="H"}(n=r.ErrorCorrectionLevelValues||(r.ErrorCorrectionLevelValues={}));var a=function(){function t(e,r,n){this.value=e,this.stringValue=r,this.bits=n,t.FOR_BITS.set(n,this),t.FOR_VALUE.set(e,this)}return t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.fromString=function(e){switch(e){case"L":return t.L;case"M":return t.M;case"Q":return t.Q;case"H":return t.H;default:throw new i.default(e+"not available")}},t.prototype.toString=function(){return this.stringValue},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.value===r.value},t.forBits=function(e){if(e<0||e>=t.FOR_BITS.size)throw new o.default;return t.FOR_BITS.get(e)},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.L=new t(n.L,"L",1),t.M=new t(n.M,"M",0),t.Q=new t(n.Q,"Q",3),t.H=new t(n.H,"H",2),t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/ErrorCorrectionLevel.js"}],[3794,{"../../util/Integer":3816,"./ErrorCorrectionLevel":3793},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("./ErrorCorrectionLevel"),o=t("../../util/Integer"),a=function(){function t(t){this.errorCorrectionLevel=i.default.forBits(t>>3&3),this.dataMask=7&t}return t.numBitsDiffering=function(t,e){return o.default.bitCount(t^e)},t.decodeFormatInformation=function(e,r){var n=t.doDecodeFormatInformation(e,r);return null!==n?n:t.doDecodeFormatInformation(e^t.FORMAT_INFO_MASK_QR,r^t.FORMAT_INFO_MASK_QR)},t.doDecodeFormatInformation=function(e,r){var i,o,a=Number.MAX_SAFE_INTEGER,s=0;try{for(var l=n(t.FORMAT_INFO_DECODE_LOOKUP),u=l.next();!u.done;u=l.next()){var c=u.value,d=c[0];if(d===e||d===r)return new t(c[1]);var h=t.numBitsDiffering(e,d);h<a&&(s=c[1],a=h),e!==r&&(h=t.numBitsDiffering(r,d))<a&&(s=c[1],a=h)}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}return a<=3?new t(s):null},t.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},t.prototype.getDataMask=function(){return this.dataMask},t.prototype.hashCode=function(){return this.errorCorrectionLevel.getBits()<<3|this.dataMask},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.errorCorrectionLevel===r.errorCorrectionLevel&&this.dataMask===r.dataMask},t.FORMAT_INFO_MASK_QR=21522,t.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])],t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/FormatInformation.js"}],[3795,{"../../IllegalArgumentException":3639},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ModeValues=void 0;var n,i=t("../../IllegalArgumentException");!function(t){t[t.TERMINATOR=0]="TERMINATOR",t[t.NUMERIC=1]="NUMERIC",t[t.ALPHANUMERIC=2]="ALPHANUMERIC",t[t.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",t[t.BYTE=4]="BYTE",t[t.ECI=5]="ECI",t[t.KANJI=6]="KANJI",t[t.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",t[t.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",t[t.HANZI=9]="HANZI"}(n=r.ModeValues||(r.ModeValues={}));var o=function(){function t(e,r,n,i){this.value=e,this.stringValue=r,this.characterCountBitsForVersions=n,this.bits=i,t.FOR_BITS.set(i,this),t.FOR_VALUE.set(e,this)}return t.forBits=function(e){var r=t.FOR_BITS.get(e);if(undefined===r)throw new i.default;return r},t.prototype.getCharacterCountBits=function(t){var e,r=t.getVersionNumber();return e=r<=9?0:r<=26?1:2,this.characterCountBitsForVersions[e]},t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.value===r.value},t.prototype.toString=function(){return this.stringValue},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.TERMINATOR=new t(n.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),t.NUMERIC=new t(n.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),t.ALPHANUMERIC=new t(n.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),t.STRUCTURED_APPEND=new t(n.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),t.BYTE=new t(n.BYTE,"BYTE",Int32Array.from([8,16,16]),4),t.ECI=new t(n.ECI,"ECI",Int32Array.from([0,0,0]),7),t.KANJI=new t(n.KANJI,"KANJI",Int32Array.from([8,10,12]),8),t.FNC1_FIRST_POSITION=new t(n.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),t.FNC1_SECOND_POSITION=new t(n.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),t.HANZI=new t(n.HANZI,"HANZI",Int32Array.from([8,10,12]),13),t}();r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/Mode.js"}],[3796,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t){this.mirrored=t}return t.prototype.isMirrored=function(){return this.mirrored},t.prototype.applyMirroredCorrection=function(t){if(this.mirrored&&null!==t&&!(t.length<3)){var e=t[0];t[0]=t[2],t[2]=e}},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/QRCodeDecoderMetaData.js"}],[3797,{"../../FormatException":3638,"../../IllegalArgumentException":3639,"../../common/BitMatrix":3676,"./ECB":3791,"./ECBlocks":3792,"./FormatInformation":3794},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../common/BitMatrix"),o=t("./FormatInformation"),a=t("./ECBlocks"),s=t("./ECB"),l=t("../../FormatException"),u=t("../../IllegalArgumentException"),c=function(){function t(t,e){for(var r,i,o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];this.versionNumber=t,this.alignmentPatternCenters=e,this.ecBlocks=o;var s=0,l=o[0].getECCodewordsPerBlock(),u=o[0].getECBlocks();try{for(var c=n(u),d=c.next();!d.done;d=c.next()){var h=d.value;s+=h.getCount()*(h.getDataCodewords()+l)}}catch(t){r={error:t}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}this.totalCodewords=s}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getAlignmentPatternCenters=function(){return this.alignmentPatternCenters},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getDimensionForVersion=function(){return 17+4*this.versionNumber},t.prototype.getECBlocksForLevel=function(t){return this.ecBlocks[t.getValue()]},t.getProvisionalVersionForDimension=function(t){if(t%4!=1)throw new l.default;try{return this.getVersionForNumber((t-17)/4)}catch(t){throw new l.default}},t.getVersionForNumber=function(e){if(e<1||e>40)throw new u.default;return t.VERSIONS[e-1]},t.decodeVersionInformation=function(e){for(var r=Number.MAX_SAFE_INTEGER,n=0,i=0;i<t.VERSION_DECODE_INFO.length;i++){var a=t.VERSION_DECODE_INFO[i];if(a===e)return t.getVersionForNumber(i+7);var s=o.default.numBitsDiffering(e,a);s<r&&(n=i+7,r=s)}return r<=3?t.getVersionForNumber(n):null},t.prototype.buildFunctionPattern=function(){var t=this.getDimensionForVersion(),e=new i.default(t);e.setRegion(0,0,9,9),e.setRegion(t-8,0,8,9),e.setRegion(0,t-8,9,8);for(var r=this.alignmentPatternCenters.length,n=0;n<r;n++)for(var o=this.alignmentPatternCenters[n]-2,a=0;a<r;a++)0===n&&(0===a||a===r-1)||n===r-1&&0===a||e.setRegion(this.alignmentPatternCenters[a]-2,o,5,5);return e.setRegion(6,9,1,t-17),e.setRegion(9,6,t-17,1),this.versionNumber>6&&(e.setRegion(t-11,0,3,6),e.setRegion(0,t-11,6,3)),e},t.prototype.toString=function(){return""+this.versionNumber},t.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]),t.VERSIONS=[new t(1,new Int32Array(0),new a.default(7,new s.default(1,19)),new a.default(10,new s.default(1,16)),new a.default(13,new s.default(1,13)),new a.default(17,new s.default(1,9))),new t(2,Int32Array.from([6,18]),new a.default(10,new s.default(1,34)),new a.default(16,new s.default(1,28)),new a.default(22,new s.default(1,22)),new a.default(28,new s.default(1,16))),new t(3,Int32Array.from([6,22]),new a.default(15,new s.default(1,55)),new a.default(26,new s.default(1,44)),new a.default(18,new s.default(2,17)),new a.default(22,new s.default(2,13))),new t(4,Int32Array.from([6,26]),new a.default(20,new s.default(1,80)),new a.default(18,new s.default(2,32)),new a.default(26,new s.default(2,24)),new a.default(16,new s.default(4,9))),new t(5,Int32Array.from([6,30]),new a.default(26,new s.default(1,108)),new a.default(24,new s.default(2,43)),new a.default(18,new s.default(2,15),new s.default(2,16)),new a.default(22,new s.default(2,11),new s.default(2,12))),new t(6,Int32Array.from([6,34]),new a.default(18,new s.default(2,68)),new a.default(16,new s.default(4,27)),new a.default(24,new s.default(4,19)),new a.default(28,new s.default(4,15))),new t(7,Int32Array.from([6,22,38]),new a.default(20,new s.default(2,78)),new a.default(18,new s.default(4,31)),new a.default(18,new s.default(2,14),new s.default(4,15)),new a.default(26,new s.default(4,13),new s.default(1,14))),new t(8,Int32Array.from([6,24,42]),new a.default(24,new s.default(2,97)),new a.default(22,new s.default(2,38),new s.default(2,39)),new a.default(22,new s.default(4,18),new s.default(2,19)),new a.default(26,new s.default(4,14),new s.default(2,15))),new t(9,Int32Array.from([6,26,46]),new a.default(30,new s.default(2,116)),new a.default(22,new s.default(3,36),new s.default(2,37)),new a.default(20,new s.default(4,16),new s.default(4,17)),new a.default(24,new s.default(4,12),new s.default(4,13))),new t(10,Int32Array.from([6,28,50]),new a.default(18,new s.default(2,68),new s.default(2,69)),new a.default(26,new s.default(4,43),new s.default(1,44)),new a.default(24,new s.default(6,19),new s.default(2,20)),new a.default(28,new s.default(6,15),new s.default(2,16))),new t(11,Int32Array.from([6,30,54]),new a.default(20,new s.default(4,81)),new a.default(30,new s.default(1,50),new s.default(4,51)),new a.default(28,new s.default(4,22),new s.default(4,23)),new a.default(24,new s.default(3,12),new s.default(8,13))),new t(12,Int32Array.from([6,32,58]),new a.default(24,new s.default(2,92),new s.default(2,93)),new a.default(22,new s.default(6,36),new s.default(2,37)),new a.default(26,new s.default(4,20),new s.default(6,21)),new a.default(28,new s.default(7,14),new s.default(4,15))),new t(13,Int32Array.from([6,34,62]),new a.default(26,new s.default(4,107)),new a.default(22,new s.default(8,37),new s.default(1,38)),new a.default(24,new s.default(8,20),new s.default(4,21)),new a.default(22,new s.default(12,11),new s.default(4,12))),new t(14,Int32Array.from([6,26,46,66]),new a.default(30,new s.default(3,115),new s.default(1,116)),new a.default(24,new s.default(4,40),new s.default(5,41)),new a.default(20,new s.default(11,16),new s.default(5,17)),new a.default(24,new s.default(11,12),new s.default(5,13))),new t(15,Int32Array.from([6,26,48,70]),new a.default(22,new s.default(5,87),new s.default(1,88)),new a.default(24,new s.default(5,41),new s.default(5,42)),new a.default(30,new s.default(5,24),new s.default(7,25)),new a.default(24,new s.default(11,12),new s.default(7,13))),new t(16,Int32Array.from([6,26,50,74]),new a.default(24,new s.default(5,98),new s.default(1,99)),new a.default(28,new s.default(7,45),new s.default(3,46)),new a.default(24,new s.default(15,19),new s.default(2,20)),new a.default(30,new s.default(3,15),new s.default(13,16))),new t(17,Int32Array.from([6,30,54,78]),new a.default(28,new s.default(1,107),new s.default(5,108)),new a.default(28,new s.default(10,46),new s.default(1,47)),new a.default(28,new s.default(1,22),new s.default(15,23)),new a.default(28,new s.default(2,14),new s.default(17,15))),new t(18,Int32Array.from([6,30,56,82]),new a.default(30,new s.default(5,120),new s.default(1,121)),new a.default(26,new s.default(9,43),new s.default(4,44)),new a.default(28,new s.default(17,22),new s.default(1,23)),new a.default(28,new s.default(2,14),new s.default(19,15))),new t(19,Int32Array.from([6,30,58,86]),new a.default(28,new s.default(3,113),new s.default(4,114)),new a.default(26,new s.default(3,44),new s.default(11,45)),new a.default(26,new s.default(17,21),new s.default(4,22)),new a.default(26,new s.default(9,13),new s.default(16,14))),new t(20,Int32Array.from([6,34,62,90]),new a.default(28,new s.default(3,107),new s.default(5,108)),new a.default(26,new s.default(3,41),new s.default(13,42)),new a.default(30,new s.default(15,24),new s.default(5,25)),new a.default(28,new s.default(15,15),new s.default(10,16))),new t(21,Int32Array.from([6,28,50,72,94]),new a.default(28,new s.default(4,116),new s.default(4,117)),new a.default(26,new s.default(17,42)),new a.default(28,new s.default(17,22),new s.default(6,23)),new a.default(30,new s.default(19,16),new s.default(6,17))),new t(22,Int32Array.from([6,26,50,74,98]),new a.default(28,new s.default(2,111),new s.default(7,112)),new a.default(28,new s.default(17,46)),new a.default(30,new s.default(7,24),new s.default(16,25)),new a.default(24,new s.default(34,13))),new t(23,Int32Array.from([6,30,54,78,102]),new a.default(30,new s.default(4,121),new s.default(5,122)),new a.default(28,new s.default(4,47),new s.default(14,48)),new a.default(30,new s.default(11,24),new s.default(14,25)),new a.default(30,new s.default(16,15),new s.default(14,16))),new t(24,Int32Array.from([6,28,54,80,106]),new a.default(30,new s.default(6,117),new s.default(4,118)),new a.default(28,new s.default(6,45),new s.default(14,46)),new a.default(30,new s.default(11,24),new s.default(16,25)),new a.default(30,new s.default(30,16),new s.default(2,17))),new t(25,Int32Array.from([6,32,58,84,110]),new a.default(26,new s.default(8,106),new s.default(4,107)),new a.default(28,new s.default(8,47),new s.default(13,48)),new a.default(30,new s.default(7,24),new s.default(22,25)),new a.default(30,new s.default(22,15),new s.default(13,16))),new t(26,Int32Array.from([6,30,58,86,114]),new a.default(28,new s.default(10,114),new s.default(2,115)),new a.default(28,new s.default(19,46),new s.default(4,47)),new a.default(28,new s.default(28,22),new s.default(6,23)),new a.default(30,new s.default(33,16),new s.default(4,17))),new t(27,Int32Array.from([6,34,62,90,118]),new a.default(30,new s.default(8,122),new s.default(4,123)),new a.default(28,new s.default(22,45),new s.default(3,46)),new a.default(30,new s.default(8,23),new s.default(26,24)),new a.default(30,new s.default(12,15),new s.default(28,16))),new t(28,Int32Array.from([6,26,50,74,98,122]),new a.default(30,new s.default(3,117),new s.default(10,118)),new a.default(28,new s.default(3,45),new s.default(23,46)),new a.default(30,new s.default(4,24),new s.default(31,25)),new a.default(30,new s.default(11,15),new s.default(31,16))),new t(29,Int32Array.from([6,30,54,78,102,126]),new a.default(30,new s.default(7,116),new s.default(7,117)),new a.default(28,new s.default(21,45),new s.default(7,46)),new a.default(30,new s.default(1,23),new s.default(37,24)),new a.default(30,new s.default(19,15),new s.default(26,16))),new t(30,Int32Array.from([6,26,52,78,104,130]),new a.default(30,new s.default(5,115),new s.default(10,116)),new a.default(28,new s.default(19,47),new s.default(10,48)),new a.default(30,new s.default(15,24),new s.default(25,25)),new a.default(30,new s.default(23,15),new s.default(25,16))),new t(31,Int32Array.from([6,30,56,82,108,134]),new a.default(30,new s.default(13,115),new s.default(3,116)),new a.default(28,new s.default(2,46),new s.default(29,47)),new a.default(30,new s.default(42,24),new s.default(1,25)),new a.default(30,new s.default(23,15),new s.default(28,16))),new t(32,Int32Array.from([6,34,60,86,112,138]),new a.default(30,new s.default(17,115)),new a.default(28,new s.default(10,46),new s.default(23,47)),new a.default(30,new s.default(10,24),new s.default(35,25)),new a.default(30,new s.default(19,15),new s.default(35,16))),new t(33,Int32Array.from([6,30,58,86,114,142]),new a.default(30,new s.default(17,115),new s.default(1,116)),new a.default(28,new s.default(14,46),new s.default(21,47)),new a.default(30,new s.default(29,24),new s.default(19,25)),new a.default(30,new s.default(11,15),new s.default(46,16))),new t(34,Int32Array.from([6,34,62,90,118,146]),new a.default(30,new s.default(13,115),new s.default(6,116)),new a.default(28,new s.default(14,46),new s.default(23,47)),new a.default(30,new s.default(44,24),new s.default(7,25)),new a.default(30,new s.default(59,16),new s.default(1,17))),new t(35,Int32Array.from([6,30,54,78,102,126,150]),new a.default(30,new s.default(12,121),new s.default(7,122)),new a.default(28,new s.default(12,47),new s.default(26,48)),new a.default(30,new s.default(39,24),new s.default(14,25)),new a.default(30,new s.default(22,15),new s.default(41,16))),new t(36,Int32Array.from([6,24,50,76,102,128,154]),new a.default(30,new s.default(6,121),new s.default(14,122)),new a.default(28,new s.default(6,47),new s.default(34,48)),new a.default(30,new s.default(46,24),new s.default(10,25)),new a.default(30,new s.default(2,15),new s.default(64,16))),new t(37,Int32Array.from([6,28,54,80,106,132,158]),new a.default(30,new s.default(17,122),new s.default(4,123)),new a.default(28,new s.default(29,46),new s.default(14,47)),new a.default(30,new s.default(49,24),new s.default(10,25)),new a.default(30,new s.default(24,15),new s.default(46,16))),new t(38,Int32Array.from([6,32,58,84,110,136,162]),new a.default(30,new s.default(4,122),new s.default(18,123)),new a.default(28,new s.default(13,46),new s.default(32,47)),new a.default(30,new s.default(48,24),new s.default(14,25)),new a.default(30,new s.default(42,15),new s.default(32,16))),new t(39,Int32Array.from([6,26,54,82,110,138,166]),new a.default(30,new s.default(20,117),new s.default(4,118)),new a.default(28,new s.default(40,47),new s.default(7,48)),new a.default(30,new s.default(43,24),new s.default(22,25)),new a.default(30,new s.default(10,15),new s.default(67,16))),new t(40,Int32Array.from([6,30,58,86,114,142,170]),new a.default(30,new s.default(19,118),new s.default(6,119)),new a.default(28,new s.default(18,47),new s.default(31,48)),new a.default(30,new s.default(34,24),new s.default(34,25)),new a.default(30,new s.default(20,15),new s.default(61,16)))],t}();r.default=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/Version.js"}],[3798,{"../../ResultPoint":3655},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=function(t){function e(e,r,n){var i=t.call(this,e,r)||this;return i.estimatedModuleSize=n,i}return i(e,t),e.prototype.aboutEquals=function(t,e,r){if(Math.abs(e-this.getY())<=t&&Math.abs(r-this.getX())<=t){var n=Math.abs(t-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,r,n){return new e((this.getX()+r)/2,(this.getY()+t)/2,(this.estimatedModuleSize+n)/2)},e}(t("../../ResultPoint").default);r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/detector/AlignmentPattern.js"}],[3799,{"../../NotFoundException":3646,"./AlignmentPattern":3798},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("./AlignmentPattern"),o=t("../../NotFoundException"),a=function(){function t(t,e,r,n,i,o,a){this.image=t,this.startX=e,this.startY=r,this.width=n,this.height=i,this.moduleSize=o,this.resultPointCallback=a,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return t.prototype.find=function(){for(var t=this.startX,e=this.height,r=t+this.width,n=this.startY+e/2,i=new Int32Array(3),a=this.image,s=0;s<e;s++){var l=n+(1&s?-Math.floor((s+1)/2):Math.floor((s+1)/2));i[0]=0,i[1]=0,i[2]=0;for(var u=t;u<r&&!a.get(u,l);)u++;for(var c=0;u<r;){if(a.get(u,l))if(1===c)i[1]++;else if(2===c){var d;if(this.foundPatternCross(i))if(null!==(d=this.handlePossibleCenter(i,l,u)))return d;i[0]=i[2],i[1]=1,i[2]=0,c=1}else i[++c]++;else 1===c&&c++,i[c]++;u++}if(this.foundPatternCross(i))if(null!==(d=this.handlePossibleCenter(i,l,r)))return d}if(0!==this.possibleCenters.length)return this.possibleCenters[0];throw new o.default},t.centerFromEnd=function(t,e){return e-t[2]-t[1]/2},t.prototype.foundPatternCross=function(t){for(var e=this.moduleSize,r=e/2,n=0;n<3;n++)if(Math.abs(e-t[n])>=r)return!1;return!0},t.prototype.crossCheckVertical=function(e,r,n,i){var o=this.image,a=o.getHeight(),s=this.crossCheckStateCount;s[0]=0,s[1]=0,s[2]=0;for(var l=e;l>=0&&o.get(r,l)&&s[1]<=n;)s[1]++,l--;if(l<0||s[1]>n)return NaN;for(;l>=0&&!o.get(r,l)&&s[0]<=n;)s[0]++,l--;if(s[0]>n)return NaN;for(l=e+1;l<a&&o.get(r,l)&&s[1]<=n;)s[1]++,l++;if(l===a||s[1]>n)return NaN;for(;l<a&&!o.get(r,l)&&s[2]<=n;)s[2]++,l++;if(s[2]>n)return NaN;var u=s[0]+s[1]+s[2];return 5*Math.abs(u-i)>=2*i?NaN:this.foundPatternCross(s)?t.centerFromEnd(s,l):NaN},t.prototype.handlePossibleCenter=function(e,r,o){var a,s,l=e[0]+e[1]+e[2],u=t.centerFromEnd(e,o),c=this.crossCheckVertical(r,u,2*e[1],l);if(!isNaN(c)){var d=(e[0]+e[1]+e[2])/3;try{for(var h=n(this.possibleCenters),f=h.next();!f.done;f=h.next()){var p=f.value;if(p.aboutEquals(d,c,u))return p.combineEstimate(c,u,d)}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}var g=new i.default(u,c,d);this.possibleCenters.push(g),null!==this.resultPointCallback&&this.resultPointCallback!==undefined&&this.resultPointCallback.foundPossibleResultPoint(g)}return null},t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/detector/AlignmentPatternFinder.js"}],[380,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/getPrototypeOf.js"}],[3800,{"../../DecodeHintType":3635,"../../NotFoundException":3646,"../../ResultPoint":3655,"../../common/DetectorResult":3681,"../../common/GridSamplerInstance":3685,"../../common/PerspectiveTransform":3688,"../../common/detector/MathUtils":3690,"../decoder/Version":3797,"./AlignmentPatternFinder":3799,"./FinderPatternFinder":3802},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../common/detector/MathUtils"),i=t("../../common/DetectorResult"),o=t("../../common/GridSamplerInstance"),a=t("../../common/PerspectiveTransform"),s=t("../../DecodeHintType"),l=t("../../NotFoundException"),u=t("../../ResultPoint"),c=t("../decoder/Version"),d=t("./AlignmentPatternFinder"),h=t("./FinderPatternFinder"),f=function(){function t(t){this.image=t}return t.prototype.getImage=function(){return this.image},t.prototype.getResultPointCallback=function(){return this.resultPointCallback},t.prototype.detect=function(t){this.resultPointCallback=null===t||t===undefined?null:t.get(s.default.NEED_RESULT_POINT_CALLBACK);var e=new h.default(this.image,this.resultPointCallback).find(t);return this.processFinderPatternInfo(e)},t.prototype.processFinderPatternInfo=function(e){var r=e.getTopLeft(),n=e.getTopRight(),o=e.getBottomLeft(),a=this.calculateModuleSize(r,n,o);if(a<1)throw new l.default("No pattern found in proccess finder.");var s=t.computeDimension(r,n,o,a),u=c.default.getProvisionalVersionForDimension(s),d=u.getDimensionForVersion()-7,h=null;if(u.getAlignmentPatternCenters().length>0)for(var f=n.getX()-r.getX()+o.getX(),p=n.getY()-r.getY()+o.getY(),g=1-3/d,m=Math.floor(r.getX()+g*(f-r.getX())),y=Math.floor(r.getY()+g*(p-r.getY())),b=4;b<=16;b<<=1)try{h=this.findAlignmentInRegion(a,m,y,b);break}catch(t){if(!(t instanceof l.default))throw t}var v,w=t.createTransform(r,n,o,h,s),_=t.sampleGrid(this.image,w,s);return v=null===h?[o,r,n]:[o,r,n,h],new i.default(_,v)},t.createTransform=function(t,e,r,n,i){var o,s,l,u,c=i-3.5;return null!==n?(o=n.getX(),s=n.getY(),u=l=c-3):(o=e.getX()-t.getX()+r.getX(),s=e.getY()-t.getY()+r.getY(),l=c,u=c),a.default.quadrilateralToQuadrilateral(3.5,3.5,c,3.5,l,u,3.5,c,t.getX(),t.getY(),e.getX(),e.getY(),o,s,r.getX(),r.getY())},t.sampleGrid=function(t,e,r){return o.default.getInstance().sampleGridWithTransform(t,r,r,e)},t.computeDimension=function(t,e,r,i){var o=n.default.round(u.default.distance(t,e)/i),a=n.default.round(u.default.distance(t,r)/i),s=Math.floor((o+a)/2)+7;switch(3&s){case 0:s++;break;case 2:s--;break;case 3:throw new l.default("Dimensions could be not found.")}return s},t.prototype.calculateModuleSize=function(t,e,r){return(this.calculateModuleSizeOneWay(t,e)+this.calculateModuleSizeOneWay(t,r))/2},t.prototype.calculateModuleSizeOneWay=function(t,e){var r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY())),n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY()));return isNaN(r)?n/7:isNaN(n)?r/7:(r+n)/14},t.prototype.sizeOfBlackWhiteBlackRunBothWays=function(t,e,r,n){var i=this.sizeOfBlackWhiteBlackRun(t,e,r,n),o=1,a=t-(r-t);a<0?(o=t/(t-a),a=0):a>=this.image.getWidth()&&(o=(this.image.getWidth()-1-t)/(a-t),a=this.image.getWidth()-1);var s=Math.floor(e-(n-e)*o);return o=1,s<0?(o=e/(e-s),s=0):s>=this.image.getHeight()&&(o=(this.image.getHeight()-1-e)/(s-e),s=this.image.getHeight()-1),a=Math.floor(t+(a-t)*o),(i+=this.sizeOfBlackWhiteBlackRun(t,e,a,s))-1},t.prototype.sizeOfBlackWhiteBlackRun=function(t,e,r,i){var o=Math.abs(i-e)>Math.abs(r-t);if(o){var a=t;t=e,e=a,a=r,r=i,i=a}for(var s=Math.abs(r-t),l=Math.abs(i-e),u=-s/2,c=t<r?1:-1,d=e<i?1:-1,h=0,f=r+c,p=t,g=e;p!==f;p+=c){var m=o?g:p,y=o?p:g;if(1===h===this.image.get(m,y)){if(2===h)return n.default.distance(p,g,t,e);h++}if((u+=l)>0){if(g===i)break;g+=d,u-=s}}return 2===h?n.default.distance(r+c,i,t,e):NaN},t.prototype.findAlignmentInRegion=function(t,e,r,n){var i=Math.floor(n*t),o=Math.max(0,e-i),a=Math.min(this.image.getWidth()-1,e+i);if(a-o<3*t)throw new l.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*t)throw new l.default("Alignment bottom exceeds estimated module size.");return new d.default(this.image,o,s,a-o,u-s,t,this.resultPointCallback).find()},t}();r.default=f}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/detector/Detector.js"}],[3801,{"../../ResultPoint":3655},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=function(t){function e(e,r,n,i){var o=t.call(this,e,r)||this;return o.estimatedModuleSize=n,o.count=i,undefined===i&&(o.count=1),o}return i(e,t),e.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},e.prototype.getCount=function(){return this.count},e.prototype.aboutEquals=function(t,e,r){if(Math.abs(e-this.getY())<=t&&Math.abs(r-this.getX())<=t){var n=Math.abs(t-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,r,n){var i=this.count+1;return new e((this.count*this.getX()+r)/i,(this.count*this.getY()+t)/i,(this.count*this.estimatedModuleSize+n)/i,i)},e}(t("../../ResultPoint").default);r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/detector/FinderPattern.js"}],[3802,{"../../DecodeHintType":3635,"../../NotFoundException":3646,"../../ResultPoint":3655,"./FinderPattern":3801,"./FinderPatternInfo":3803},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../DecodeHintType"),o=t("../../ResultPoint"),a=t("./FinderPattern"),s=t("./FinderPatternInfo"),l=t("../../NotFoundException"),u=function(){function t(t,e){this.image=t,this.resultPointCallback=e,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=e}return t.prototype.getImage=function(){return this.image},t.prototype.getPossibleCenters=function(){return this.possibleCenters},t.prototype.find=function(e){var r=null!==e&&e!==undefined&&undefined!==e.get(i.default.TRY_HARDER),n=null!==e&&e!==undefined&&undefined!==e.get(i.default.PURE_BARCODE),a=this.image,l=a.getHeight(),u=a.getWidth(),c=Math.floor(3*l/(4*t.MAX_MODULES));(c<t.MIN_SKIP||r)&&(c=t.MIN_SKIP);for(var d=!1,h=new Int32Array(5),f=c-1;f<l&&!d;f+=c){h[0]=0,h[1]=0,h[2]=0,h[3]=0,h[4]=0;for(var p=0,g=0;g<u;g++)if(a.get(g,f))1&~p||p++,h[p]++;else if(1&p)h[p]++;else if(4===p)if(t.foundPatternCross(h)){if(!0!==this.handlePossibleCenter(h,f,g,n)){h[0]=h[2],h[1]=h[3],h[2]=h[4],h[3]=1,h[4]=0,p=3;continue}if(c=2,!0===this.hasSkipped)d=this.haveMultiplyConfirmedCenters();else{var m=this.findRowSkip();m>h[2]&&(f+=m-h[2]-c,g=u-1)}p=0,h[0]=0,h[1]=0,h[2]=0,h[3]=0,h[4]=0}else h[0]=h[2],h[1]=h[3],h[2]=h[4],h[3]=1,h[4]=0,p=3;else h[++p]++;if(t.foundPatternCross(h))!0===this.handlePossibleCenter(h,f,u,n)&&(c=h[0],this.hasSkipped&&(d=this.haveMultiplyConfirmedCenters()))}var y=this.selectBestPatterns();return o.default.orderBestPatterns(y),new s.default(y)},t.centerFromEnd=function(t,e){return e-t[4]-t[3]-t[2]/2},t.foundPatternCross=function(t){for(var e=0,r=0;r<5;r++){var n=t[r];if(0===n)return!1;e+=n}if(e<7)return!1;var i=e/7,o=i/2;return Math.abs(i-t[0])<o&&Math.abs(i-t[1])<o&&Math.abs(3*i-t[2])<3*o&&Math.abs(i-t[3])<o&&Math.abs(i-t[4])<o},t.prototype.getCrossCheckStateCount=function(){var t=this.crossCheckStateCount;return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t},t.prototype.crossCheckDiagonal=function(e,r,n,i){for(var o=this.getCrossCheckStateCount(),a=0,s=this.image;e>=a&&r>=a&&s.get(r-a,e-a);)o[2]++,a++;if(e<a||r<a)return!1;for(;e>=a&&r>=a&&!s.get(r-a,e-a)&&o[1]<=n;)o[1]++,a++;if(e<a||r<a||o[1]>n)return!1;for(;e>=a&&r>=a&&s.get(r-a,e-a)&&o[0]<=n;)o[0]++,a++;if(o[0]>n)return!1;var l=s.getHeight(),u=s.getWidth();for(a=1;e+a<l&&r+a<u&&s.get(r+a,e+a);)o[2]++,a++;if(e+a>=l||r+a>=u)return!1;for(;e+a<l&&r+a<u&&!s.get(r+a,e+a)&&o[3]<n;)o[3]++,a++;if(e+a>=l||r+a>=u||o[3]>=n)return!1;for(;e+a<l&&r+a<u&&s.get(r+a,e+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&&t.foundPatternCross(o)},t.prototype.crossCheckVertical=function(e,r,n,i){for(var o=this.image,a=o.getHeight(),s=this.getCrossCheckStateCount(),l=e;l>=0&&o.get(r,l);)s[2]++,l--;if(l<0)return NaN;for(;l>=0&&!o.get(r,l)&&s[1]<=n;)s[1]++,l--;if(l<0||s[1]>n)return NaN;for(;l>=0&&o.get(r,l)&&s[0]<=n;)s[0]++,l--;if(s[0]>n)return NaN;for(l=e+1;l<a&&o.get(r,l);)s[2]++,l++;if(l===a)return NaN;for(;l<a&&!o.get(r,l)&&s[3]<n;)s[3]++,l++;if(l===a||s[3]>=n)return NaN;for(;l<a&&o.get(r,l)&&s[4]<n;)s[4]++,l++;if(s[4]>=n)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-i)>=2*i?NaN:t.foundPatternCross(s)?t.centerFromEnd(s,l):NaN},t.prototype.crossCheckHorizontal=function(e,r,n,i){for(var o=this.image,a=o.getWidth(),s=this.getCrossCheckStateCount(),l=e;l>=0&&o.get(l,r);)s[2]++,l--;if(l<0)return NaN;for(;l>=0&&!o.get(l,r)&&s[1]<=n;)s[1]++,l--;if(l<0||s[1]>n)return NaN;for(;l>=0&&o.get(l,r)&&s[0]<=n;)s[0]++,l--;if(s[0]>n)return NaN;for(l=e+1;l<a&&o.get(l,r);)s[2]++,l++;if(l===a)return NaN;for(;l<a&&!o.get(l,r)&&s[3]<n;)s[3]++,l++;if(l===a||s[3]>=n)return NaN;for(;l<a&&o.get(l,r)&&s[4]<n;)s[4]++,l++;if(s[4]>=n)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-i)>=i?NaN:t.foundPatternCross(s)?t.centerFromEnd(s,l):NaN},t.prototype.handlePossibleCenter=function(e,r,n,i){var o=e[0]+e[1]+e[2]+e[3]+e[4],s=t.centerFromEnd(e,n),l=this.crossCheckVertical(r,Math.floor(s),e[2],o);if(!isNaN(l)&&(s=this.crossCheckHorizontal(Math.floor(s),Math.floor(l),e[2],o),!isNaN(s)&&(!i||this.crossCheckDiagonal(Math.floor(l),Math.floor(s),e[2],o)))){for(var u=o/7,c=!1,d=this.possibleCenters,h=0,f=d.length;h<f;h++){var p=d[h];if(p.aboutEquals(u,l,s)){d[h]=p.combineEstimate(l,s,u),c=!0;break}}if(!c){var g=new a.default(s,l,u);d.push(g),null!==this.resultPointCallback&&this.resultPointCallback!==undefined&&this.resultPointCallback.foundPossibleResultPoint(g)}return!0}return!1},t.prototype.findRowSkip=function(){var e,r;if(this.possibleCenters.length<=1)return 0;var i=null;try{for(var o=n(this.possibleCenters),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.getCount()>=t.CENTER_QUORUM){if(null!=i)return this.hasSkipped=!0,Math.floor((Math.abs(i.getX()-s.getX())-Math.abs(i.getY()-s.getY()))/2);i=s}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return 0},t.prototype.haveMultiplyConfirmedCenters=function(){var e,r,i,o,a=0,s=0,l=this.possibleCenters.length;try{for(var u=n(this.possibleCenters),c=u.next();!c.done;c=u.next()){(g=c.value).getCount()>=t.CENTER_QUORUM&&(a++,s+=g.getEstimatedModuleSize())}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}if(a<3)return!1;var d=s/l,h=0;try{for(var f=n(this.possibleCenters),p=f.next();!p.done;p=f.next()){var g=p.value;h+=Math.abs(g.getEstimatedModuleSize()-d)}}catch(t){i={error:t}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}return h<=.05*s},t.prototype.selectBestPatterns=function(){var t,e,r,i,o=this.possibleCenters.length;if(o<3)throw new l.default;var a,s=this.possibleCenters;if(o>3){var u=0,c=0;try{for(var d=n(this.possibleCenters),h=d.next();!h.done;h=d.next()){var f=h.value.getEstimatedModuleSize();u+=f,c+=f*f}}catch(e){t={error:e}}finally{try{h&&!h.done&&(e=d.return)&&e.call(d)}finally{if(t)throw t.error}}a=u/o;var p=Math.sqrt(c/o-a*a);s.sort((function(t,e){var r=Math.abs(e.getEstimatedModuleSize()-a),n=Math.abs(t.getEstimatedModuleSize()-a);return r<n?-1:r>n?1:0}));for(var g=Math.max(.2*a,p),m=0;m<s.length&&s.length>3;m++){var y=s[m];Math.abs(y.getEstimatedModuleSize()-a)>g&&(s.splice(m,1),m--)}}if(s.length>3){u=0;try{for(var b=n(s),v=b.next();!v.done;v=b.next()){u+=v.value.getEstimatedModuleSize()}}catch(t){r={error:t}}finally{try{v&&!v.done&&(i=b.return)&&i.call(b)}finally{if(r)throw r.error}}a=u/s.length,s.sort((function(t,e){if(e.getCount()===t.getCount()){var r=Math.abs(e.getEstimatedModuleSize()-a),n=Math.abs(t.getEstimatedModuleSize()-a);return r<n?1:r>n?-1:0}return e.getCount()-t.getCount()})),s.splice(3)}return[s[0],s[1],s[2]]},t.CENTER_QUORUM=2,t.MIN_SKIP=3,t.MAX_MODULES=57,t}();r.default=u}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/detector/FinderPatternFinder.js"}],[3803,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t){this.bottomLeft=t[0],this.topLeft=t[1],this.topRight=t[2]}return t.prototype.getBottomLeft=function(){return this.bottomLeft},t.prototype.getTopLeft=function(){return this.topLeft},t.prototype.getTopRight=function(){return this.topRight},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/detector/FinderPatternInfo.js"}],[3804,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t,e){this.dataBytes=t,this.errorCorrectionBytes=e}return t.prototype.getDataBytes=function(){return this.dataBytes},t.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/encoder/BlockPair.js"}],[3805,{"../../util/Arrays":3810,"../../util/StringBuilder":3820},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../util/Arrays"),o=t("../../util/StringBuilder"),a=function(){function t(t,e){this.width=t,this.height=e;for(var r=new Array(e),n=0;n!==e;n++)r[n]=new Uint8Array(t);this.bytes=r}return t.prototype.getHeight=function(){return this.height},t.prototype.getWidth=function(){return this.width},t.prototype.get=function(t,e){return this.bytes[e][t]},t.prototype.getArray=function(){return this.bytes},t.prototype.setNumber=function(t,e,r){this.bytes[e][t]=r},t.prototype.setBoolean=function(t,e,r){this.bytes[e][t]=r?1:0},t.prototype.clear=function(t){var e,r;try{for(var o=n(this.bytes),a=o.next();!a.done;a=o.next()){var s=a.value;i.default.fill(s,t)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;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,l=this.width;s<l;++s)if(o[s]!==a[s])return!1;return!0},t.prototype.toString=function(){for(var t=new o.default,e=0,r=this.height;e<r;++e){for(var n=this.bytes[e],i=0,a=this.width;i<a;++i)switch(n[i]){case 0:t.append(" 0");break;case 1:t.append(" 1");break;default:t.append(" ")}t.append("\n")}return t.toString()},t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/encoder/ByteMatrix.js"}],[3806,{"../../EncodeHintType":3636,"../../WriterException":3657,"../../common/BitArray":3675,"../../common/CharacterSetECI":3678,"../../common/reedsolomon/GenericGF":3693,"../../common/reedsolomon/ReedSolomonEncoder":3696,"../../util/StringEncoding":3821,"../decoder/Mode":3795,"../decoder/Version":3797,"./BlockPair":3804,"./ByteMatrix":3805,"./MaskUtil":3807,"./MatrixUtil":3808,"./QRCode":3809},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../EncodeHintType"),o=t("../../common/BitArray"),a=t("../../common/CharacterSetECI"),s=t("../../common/reedsolomon/GenericGF"),l=t("../../common/reedsolomon/ReedSolomonEncoder"),u=t("../decoder/Mode"),c=t("../decoder/Version"),d=t("./MaskUtil"),h=t("./ByteMatrix"),f=t("./QRCode"),p=t("./MatrixUtil"),g=t("../../util/StringEncoding"),m=t("./BlockPair"),y=t("../../WriterException"),b=function(){function t(){}return t.calculateMaskPenalty=function(t){return d.default.applyMaskPenaltyRule1(t)+d.default.applyMaskPenaltyRule2(t)+d.default.applyMaskPenaltyRule3(t)+d.default.applyMaskPenaltyRule4(t)},t.encode=function(e,r,n){void 0===n&&(n=null);var s=t.DEFAULT_BYTE_MODE_ENCODING,l=null!==n&&undefined!==n.get(i.default.CHARACTER_SET);l&&(s=n.get(i.default.CHARACTER_SET).toString());var d=this.chooseMode(e,s),g=new o.default;if(d===u.default.BYTE&&(l||t.DEFAULT_BYTE_MODE_ENCODING!==s)){var m=a.default.getCharacterSetECIByName(s);m!==undefined&&this.appendECI(m,g)}this.appendModeInfo(d,g);var b,v=new o.default;if(this.appendBytes(e,d,v,s),null!==n&&undefined!==n.get(i.default.QR_VERSION)){var w=Number.parseInt(n.get(i.default.QR_VERSION).toString(),10);b=c.default.getVersionForNumber(w);var _=this.calculateBitsNeeded(d,g,v,b);if(!this.willFit(_,b,r))throw new y.default("Data too big for requested version")}else b=this.recommendVersion(r,d,g,v);var A=new o.default;A.appendBitArray(g);var x=d===u.default.BYTE?v.getSizeInBytes():e.length;this.appendLengthInfo(x,b,d,A),A.appendBitArray(v);var C=b.getECBlocksForLevel(r),E=b.getTotalCodewords()-C.getTotalECCodewords();this.terminateBits(E,A);var S=this.interleaveWithECBytes(A,b.getTotalCodewords(),E,C.getNumBlocks()),T=new f.default;T.setECLevel(r),T.setMode(d),T.setVersion(b);var I=b.getDimensionForVersion(),D=new h.default(I,I),O=this.chooseMaskPattern(S,r,b,D);return T.setMaskPattern(O),p.default.buildMatrix(S,r,b,O,D),T.setMatrix(D),T},t.recommendVersion=function(t,e,r,n){var i=this.calculateBitsNeeded(e,r,n,c.default.getVersionForNumber(1)),o=this.chooseVersion(i,t),a=this.calculateBitsNeeded(e,r,n,o);return this.chooseVersion(a,t)},t.calculateBitsNeeded=function(t,e,r,n){return e.getSize()+t.getCharacterCountBits(n)+r.getSize()},t.getAlphanumericCode=function(e){return e<t.ALPHANUMERIC_TABLE.length?t.ALPHANUMERIC_TABLE[e]:-1},t.chooseMode=function(e,r){if(void 0===r&&(r=null),a.default.SJIS.getName()===r&&this.isOnlyDoubleByteKanji(e))return u.default.KANJI;for(var n=!1,i=!1,o=0,s=e.length;o<s;++o){var l=e.charAt(o);if(t.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},t.isOnlyDoubleByteKanji=function(t){var e;try{e=g.default.encode(t,a.default.SJIS)}catch(t){return!1}var r=e.length;if(r%2!=0)return!1;for(var n=0;n<r;n+=2){var i=255&e[n];if((i<129||i>159)&&(i<224||i>235))return!1}return!0},t.chooseMaskPattern=function(t,e,r,n){for(var i=Number.MAX_SAFE_INTEGER,o=-1,a=0;a<f.default.NUM_MASK_PATTERNS;a++){p.default.buildMatrix(t,e,r,a,n);var s=this.calculateMaskPenalty(n);s<i&&(i=s,o=a)}return o},t.chooseVersion=function(e,r){for(var n=1;n<=40;n++){var i=c.default.getVersionForNumber(n);if(t.willFit(e,i,r))return i}throw new y.default("Data too big")},t.willFit=function(t,e,r){return e.getTotalCodewords()-e.getECBlocksForLevel(r).getTotalECCodewords()>=(t+7)/8},t.terminateBits=function(t,e){var r=8*t;if(e.getSize()>r)throw new y.default("data bits cannot fit in the QR Code"+e.getSize()+" > "+r);for(var n=0;n<4&&e.getSize()<r;++n)e.appendBit(!1);var i=7&e.getSize();if(i>0)for(n=i;n<8;n++)e.appendBit(!1);var o=t-e.getSizeInBytes();for(n=0;n<o;++n)e.appendBits(1&n?17:236,8);if(e.getSize()!==r)throw new y.default("Bits size does not equal capacity")},t.getNumDataBytesAndNumECBytesForBlockID=function(t,e,r,n,i,o){if(n>=r)throw new y.default("Block ID too large");var a=t%r,s=r-a,l=Math.floor(t/r),u=l+1,c=Math.floor(e/r),d=c+1,h=l-c,f=u-d;if(h!==f)throw new y.default("EC bytes mismatch");if(r!==s+a)throw new y.default("RS blocks mismatch");if(t!==(c+h)*s+(d+f)*a)throw new y.default("Total bytes mismatch");n<s?(i[0]=c,o[0]=h):(i[0]=d,o[0]=f)},t.interleaveWithECBytes=function(e,r,i,a){var s,l,u,c;if(e.getSizeInBytes()!==i)throw new y.default("Number of bits and data bytes does not match");for(var d=0,h=0,f=0,p=new Array,g=0;g<a;++g){var b=new Int32Array(1),v=new Int32Array(1);t.getNumDataBytesAndNumECBytesForBlockID(r,i,a,g,b,v);var w=b[0],_=new Uint8Array(w);e.toBytes(8*d,_,0,w);var A=t.generateECBytes(_,v[0]);p.push(new m.default(_,A)),h=Math.max(h,w),f=Math.max(f,A.length),d+=b[0]}if(i!==d)throw new y.default("Data bytes does not match offset");var x=new o.default;for(g=0;g<h;++g)try{for(var C=(s=void 0,n(p)),E=C.next();!E.done;E=C.next()){g<(_=E.value.getDataBytes()).length&&x.appendBits(_[g],8)}}catch(t){s={error:t}}finally{try{E&&!E.done&&(l=C.return)&&l.call(C)}finally{if(s)throw s.error}}for(g=0;g<f;++g)try{for(var S=(u=void 0,n(p)),T=S.next();!T.done;T=S.next()){g<(A=T.value.getErrorCorrectionBytes()).length&&x.appendBits(A[g],8)}}catch(t){u={error:t}}finally{try{T&&!T.done&&(c=S.return)&&c.call(S)}finally{if(u)throw u.error}}if(r!==x.getSizeInBytes())throw new y.default("Interleaving error: "+r+" and "+x.getSizeInBytes()+" differ.");return x},t.generateECBytes=function(t,e){for(var r=t.length,n=new Int32Array(r+e),i=0;i<r;i++)n[i]=255&t[i];new l.default(s.default.QR_CODE_FIELD_256).encode(n,e);var o=new Uint8Array(e);for(i=0;i<e;i++)o[i]=n[r+i];return o},t.appendModeInfo=function(t,e){e.appendBits(t.getBits(),4)},t.appendLengthInfo=function(t,e,r,n){var i=r.getCharacterCountBits(e);if(t>=1<<i)throw new y.default(t+" is bigger than "+((1<<i)-1));n.appendBits(t,i)},t.appendBytes=function(e,r,n,i){switch(r){case u.default.NUMERIC:t.appendNumericBytes(e,n);break;case u.default.ALPHANUMERIC:t.appendAlphanumericBytes(e,n);break;case u.default.BYTE:t.append8BitBytes(e,n,i);break;case u.default.KANJI:t.appendKanjiBytes(e,n);break;default:throw new y.default("Invalid mode: "+r)}},t.getDigit=function(t){return t.charCodeAt(0)-48},t.isDigit=function(e){var r=t.getDigit(e);return r>=0&&r<=9},t.appendNumericBytes=function(e,r){for(var n=e.length,i=0;i<n;){var o=t.getDigit(e.charAt(i));if(i+2<n){var a=t.getDigit(e.charAt(i+1)),s=t.getDigit(e.charAt(i+2));r.appendBits(100*o+10*a+s,10),i+=3}else if(i+1<n){a=t.getDigit(e.charAt(i+1));r.appendBits(10*o+a,7),i+=2}else r.appendBits(o,4),i++}},t.appendAlphanumericBytes=function(e,r){for(var n=e.length,i=0;i<n;){var o=t.getAlphanumericCode(e.charCodeAt(i));if(-1===o)throw new y.default;if(i+1<n){var a=t.getAlphanumericCode(e.charCodeAt(i+1));if(-1===a)throw new y.default;r.appendBits(45*o+a,11),i+=2}else r.appendBits(o,6),i++}},t.append8BitBytes=function(t,e,r){var n;try{n=g.default.encode(t,r)}catch(t){throw new y.default(t)}for(var i=0,o=n.length;i!==o;i++){var a=n[i];e.appendBits(a,8)}},t.appendKanjiBytes=function(t,e){var r;try{r=g.default.encode(t,a.default.SJIS)}catch(t){throw new y.default(t)}for(var n=r.length,i=0;i<n;i+=2){var o=(255&r[i])<<8&4294967295|255&r[i+1],s=-1;if(o>=33088&&o<=40956?s=o-33088:o>=57408&&o<=60351&&(s=o-49472),-1===s)throw new y.default("Invalid byte sequence");var l=192*(s>>8)+(255&s);e.appendBits(l,13)}},t.appendECI=function(t,e){e.appendBits(u.default.ECI.getBits(),4),e.appendBits(t.getValue(),8)},t.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]),t.DEFAULT_BYTE_MODE_ENCODING=a.default.UTF8.getName(),t}();r.default=b}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/encoder/Encoder.js"}],[3807,{"../../IllegalArgumentException":3639},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../IllegalArgumentException"),i=function(){function t(){}return t.applyMaskPenaltyRule1=function(e){return t.applyMaskPenaltyRule1Internal(e,!0)+t.applyMaskPenaltyRule1Internal(e,!1)},t.applyMaskPenaltyRule2=function(e){for(var r=0,n=e.getArray(),i=e.getWidth(),o=e.getHeight(),a=0;a<o-1;a++)for(var s=n[a],l=0;l<i-1;l++){var u=s[l];u===s[l+1]&&u===n[a+1][l]&&u===n[a+1][l+1]&&r++}return t.N2*r},t.applyMaskPenaltyRule3=function(e){for(var r=0,n=e.getArray(),i=e.getWidth(),o=e.getHeight(),a=0;a<o;a++)for(var s=0;s<i;s++){var l=n[a];s+6<i&&1===l[s]&&0===l[s+1]&&1===l[s+2]&&1===l[s+3]&&1===l[s+4]&&0===l[s+5]&&1===l[s+6]&&(t.isWhiteHorizontal(l,s-4,s)||t.isWhiteHorizontal(l,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]&&(t.isWhiteVertical(n,s,a-4,a)||t.isWhiteVertical(n,s,a+7,a+11))&&r++}return r*t.N3},t.isWhiteHorizontal=function(t,e,r){e=Math.max(e,0),r=Math.min(r,t.length);for(var n=e;n<r;n++)if(1===t[n])return!1;return!0},t.isWhiteVertical=function(t,e,r,n){r=Math.max(r,0),n=Math.min(n,t.length);for(var i=r;i<n;i++)if(1===t[i][e])return!1;return!0},t.applyMaskPenaltyRule4=function(e){for(var r=0,n=e.getArray(),i=e.getWidth(),o=e.getHeight(),a=0;a<o;a++)for(var s=n[a],l=0;l<i;l++)1===s[l]&&r++;var u=e.getHeight()*e.getWidth();return Math.floor(10*Math.abs(2*r-u)/u)*t.N4},t.getDataMaskBit=function(t,e,r){var i,o;switch(t){case 0:i=r+e&1;break;case 1:i=1&r;break;case 2:i=e%3;break;case 3:i=(r+e)%3;break;case 4:i=Math.floor(r/2)+Math.floor(e/3)&1;break;case 5:i=(1&(o=r*e))+o%3;break;case 6:i=(1&(o=r*e))+o%3&1;break;case 7:i=(o=r*e)%3+(r+e&1)&1;break;default:throw new n.default("Invalid mask pattern: "+t)}return 0===i},t.applyMaskPenaltyRule1Internal=function(e,r){for(var n=0,i=r?e.getHeight():e.getWidth(),o=r?e.getWidth():e.getHeight(),a=e.getArray(),s=0;s<i;s++){for(var l=0,u=-1,c=0;c<o;c++){var d=r?a[s][c]:a[c][s];d===u?l++:(l>=5&&(n+=t.N1+(l-5)),l=1,u=d)}l>=5&&(n+=t.N1+(l-5))}return n},t.N1=3,t.N2=3,t.N3=40,t.N4=10,t}();r.default=i}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/encoder/MaskUtil.js"}],[3808,{"../../IllegalArgumentException":3639,"../../WriterException":3657,"../../common/BitArray":3675,"../../util/Integer":3816,"./MaskUtil":3807,"./QRCode":3809},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../common/BitArray"),i=t("../../util/Integer"),o=t("./QRCode"),a=t("./MaskUtil"),s=t("../../WriterException"),l=t("../../IllegalArgumentException"),u=function(){function t(){}return t.clearMatrix=function(t){t.clear(255)},t.buildMatrix=function(e,r,n,i,o){t.clearMatrix(o),t.embedBasicPatterns(n,o),t.embedTypeInfo(r,i,o),t.maybeEmbedVersionInfo(n,o),t.embedDataBits(e,i,o)},t.embedBasicPatterns=function(e,r){t.embedPositionDetectionPatternsAndSeparators(r),t.embedDarkDotAtLeftBottomCorner(r),t.maybeEmbedPositionAdjustmentPatterns(e,r),t.embedTimingPatterns(r)},t.embedTypeInfo=function(e,r,i){var o=new n.default;t.makeTypeInfoBits(e,r,o);for(var a=0,s=o.getSize();a<s;++a){var l=o.get(o.getSize()-1-a),u=t.TYPE_INFO_COORDINATES[a],c=u[0],d=u[1];if(i.setBoolean(c,d,l),a<8){var h=i.getWidth()-a-1,f=8;i.setBoolean(h,f,l)}else{h=8,f=i.getHeight()-7+(a-8);i.setBoolean(h,f,l)}}},t.maybeEmbedVersionInfo=function(e,r){if(!(e.getVersionNumber()<7)){var i=new n.default;t.makeVersionInfoBits(e,i);for(var o=17,a=0;a<6;++a)for(var s=0;s<3;++s){var l=i.get(o);o--,r.setBoolean(a,r.getHeight()-11+s,l),r.setBoolean(r.getHeight()-11+s,a,l)}}},t.embedDataBits=function(e,r,n){for(var i=0,o=-1,l=n.getWidth()-1,u=n.getHeight()-1;l>0;){for(6===l&&(l-=1);u>=0&&u<n.getHeight();){for(var c=0;c<2;++c){var d=l-c;if(t.isEmpty(n.get(d,u))){var h=void 0;i<e.getSize()?(h=e.get(i),++i):h=!1,255!==r&&a.default.getDataMaskBit(r,d,u)&&(h=!h),n.setBoolean(d,u,h)}}u+=o}u+=o=-o,l-=2}if(i!==e.getSize())throw new s.default("Not all bits consumed: "+i+"/"+e.getSize())},t.findMSBSet=function(t){return 32-i.default.numberOfLeadingZeros(t)},t.calculateBCHCode=function(e,r){if(0===r)throw new l.default("0 polynomial");var n=t.findMSBSet(r);for(e<<=n-1;t.findMSBSet(e)>=n;)e^=r<<t.findMSBSet(e)-n;return e},t.makeTypeInfoBits=function(e,r,i){if(!o.default.isValidMaskPattern(r))throw new s.default("Invalid mask pattern");var a=e.getBits()<<3|r;i.appendBits(a,5);var l=t.calculateBCHCode(a,t.TYPE_INFO_POLY);i.appendBits(l,10);var u=new n.default;if(u.appendBits(t.TYPE_INFO_MASK_PATTERN,15),i.xor(u),15!==i.getSize())throw new s.default("should not happen but we got: "+i.getSize())},t.makeVersionInfoBits=function(e,r){r.appendBits(e.getVersionNumber(),6);var n=t.calculateBCHCode(e.getVersionNumber(),t.VERSION_INFO_POLY);if(r.appendBits(n,12),18!==r.getSize())throw new s.default("should not happen but we got: "+r.getSize())},t.isEmpty=function(t){return 255===t},t.embedTimingPatterns=function(e){for(var r=8;r<e.getWidth()-8;++r){var n=(r+1)%2;t.isEmpty(e.get(r,6))&&e.setNumber(r,6,n),t.isEmpty(e.get(6,r))&&e.setNumber(6,r,n)}},t.embedDarkDotAtLeftBottomCorner=function(t){if(0===t.get(8,t.getHeight()-8))throw new s.default;t.setNumber(8,t.getHeight()-8,1)},t.embedHorizontalSeparationPattern=function(e,r,n){for(var i=0;i<8;++i){if(!t.isEmpty(n.get(e+i,r)))throw new s.default;n.setNumber(e+i,r,0)}},t.embedVerticalSeparationPattern=function(e,r,n){for(var i=0;i<7;++i){if(!t.isEmpty(n.get(e,r+i)))throw new s.default;n.setNumber(e,r+i,0)}},t.embedPositionAdjustmentPattern=function(e,r,n){for(var i=0;i<5;++i)for(var o=t.POSITION_ADJUSTMENT_PATTERN[i],a=0;a<5;++a)n.setNumber(e+a,r+i,o[a])},t.embedPositionDetectionPattern=function(e,r,n){for(var i=0;i<7;++i)for(var o=t.POSITION_DETECTION_PATTERN[i],a=0;a<7;++a)n.setNumber(e+a,r+i,o[a])},t.embedPositionDetectionPatternsAndSeparators=function(e){var r=t.POSITION_DETECTION_PATTERN[0].length;t.embedPositionDetectionPattern(0,0,e),t.embedPositionDetectionPattern(e.getWidth()-r,0,e),t.embedPositionDetectionPattern(0,e.getWidth()-r,e);t.embedHorizontalSeparationPattern(0,7,e),t.embedHorizontalSeparationPattern(e.getWidth()-8,7,e),t.embedHorizontalSeparationPattern(0,e.getWidth()-8,e);t.embedVerticalSeparationPattern(7,0,e),t.embedVerticalSeparationPattern(e.getHeight()-7-1,0,e),t.embedVerticalSeparationPattern(7,e.getHeight()-7,e)},t.maybeEmbedPositionAdjustmentPatterns=function(e,r){if(!(e.getVersionNumber()<2))for(var n=e.getVersionNumber()-1,i=t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[n],o=0,a=i.length;o!==a;o++){var s=i[o];if(s>=0)for(var l=0;l!==a;l++){var u=i[l];u>=0&&t.isEmpty(r.get(u,s))&&t.embedPositionAdjustmentPattern(u-2,s-2,r)}}},t.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])]),t.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])]),t.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])]),t.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])]),t.VERSION_INFO_POLY=7973,t.TYPE_INFO_POLY=1335,t.TYPE_INFO_MASK_PATTERN=21522,t}();r.default=u}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/encoder/MatrixUtil.js"}],[3809,{"../../util/StringBuilder":3820},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../util/StringBuilder"),i=function(){function t(){this.maskPattern=-1}return t.prototype.getMode=function(){return this.mode},t.prototype.getECLevel=function(){return this.ecLevel},t.prototype.getVersion=function(){return this.version},t.prototype.getMaskPattern=function(){return this.maskPattern},t.prototype.getMatrix=function(){return this.matrix},t.prototype.toString=function(){var t=new n.default;return t.append("<<\n"),t.append(" mode: "),t.append(this.mode?this.mode.toString():"null"),t.append("\n ecLevel: "),t.append(this.ecLevel?this.ecLevel.toString():"null"),t.append("\n version: "),t.append(this.version?this.version.toString():"null"),t.append("\n maskPattern: "),t.append(this.maskPattern.toString()),this.matrix?(t.append("\n matrix:\n"),t.append(this.matrix.toString())):t.append("\n matrix: null\n"),t.append(">>\n"),t.toString()},t.prototype.setMode=function(t){this.mode=t},t.prototype.setECLevel=function(t){this.ecLevel=t},t.prototype.setVersion=function(t){this.version=t},t.prototype.setMaskPattern=function(t){this.maskPattern=t},t.prototype.setMatrix=function(t){this.matrix=t},t.isValidMaskPattern=function(e){return e>=0&&e<t.NUM_MASK_PATTERNS},t.NUM_MASK_PATTERNS=8,t}();r.default=i}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/encoder/QRCode.js"}],[381,{"./setPrototypeOf.js":394},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./setPrototypeOf.js");e.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/inherits.js"}],[3810,{"../ArrayIndexOutOfBoundsException":3630,"../IllegalArgumentException":3639,"./System":3822},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("./System"),o=t("../IllegalArgumentException"),a=t("../ArrayIndexOutOfBoundsException"),s=function(){function t(){}return t.fill=function(t,e){for(var r=0,n=t.length;r<n;r++)t[r]=e},t.fillWithin=function(e,r,n,i){t.rangeCheck(e.length,r,n);for(var o=r;o<n;o++)e[o]=i},t.rangeCheck=function(t,e,r){if(e>r)throw new o.default("fromIndex("+e+") > toIndex("+r+")");if(e<0)throw new a.default(e);if(r>t)throw new a.default(r)},t.asList=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t},t.create=function(t,e,r){return Array.from({length:t}).map((function(t){return Array.from({length:e}).fill(r)}))},t.createInt32Array=function(t,e,r){return Array.from({length:t}).map((function(t){return Int32Array.from({length:e}).fill(r)}))},t.equals=function(t,e){if(!t)return!1;if(!e)return!1;if(!t.length)return!1;if(!e.length)return!1;if(t.length!==e.length)return!1;for(var r=0,n=t.length;r<n;r++)if(t[r]!==e[r])return!1;return!0},t.hashCode=function(t){var e,r;if(null===t)return 0;var i=1;try{for(var o=n(t),a=o.next();!a.done;a=o.next()){i=31*i+a.value}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i},t.fillUint8Array=function(t,e){for(var r=0;r!==t.length;r++)t[r]=e},t.copyOf=function(t,e){return t.slice(0,e)},t.copyOfUint8Array=function(t,e){if(t.length<=e){var r=new Uint8Array(e);return r.set(t),r}return t.slice(0,e)},t.copyOfRange=function(t,e,r){var n=r-e,o=new Int32Array(n);return i.default.arraycopy(t,e,o,0,n),o},t.binarySearch=function(e,r,n){undefined===n&&(n=t.numberComparator);for(var i=0,o=e.length-1;i<=o;){var a=o+i>>1,s=n(r,e[a]);if(s>0)i=a+1;else{if(!(s<0))return a;o=a-1}}return-i-1},t.numberComparator=function(t,e){return t-e},t}();r.default=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/Arrays.js"}],[3811,{"../IllegalArgumentException":3639,"../IndexOutOfBoundsException":3641,"../OutOfMemoryError":3648,"./Arrays":3810,"./Integer":3816,"./OutputStream":3818,"./System":3822},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("./Arrays"),a=t("./OutputStream"),s=t("./Integer"),l=t("../IllegalArgumentException"),u=t("../OutOfMemoryError"),c=t("./System"),d=t("../IndexOutOfBoundsException"),h=function(t){function e(e){void 0===e&&(e=32);var r=t.call(this)||this;if(r.count=0,e<0)throw new l.default("Negative initial size: "+e);return r.buf=new Uint8Array(e),r}return i(e,t),e.prototype.ensureCapacity=function(t){t-this.buf.length>0&&this.grow(t)},e.prototype.grow=function(t){var e=this.buf.length<<1;if(e-t<0&&(e=t),e<0){if(t<0)throw new u.default;e=s.default.MAX_VALUE}this.buf=o.default.copyOfUint8Array(this.buf,e)},e.prototype.write=function(t){this.ensureCapacity(this.count+1),this.buf[this.count]=t,this.count+=1},e.prototype.writeBytesOffset=function(t,e,r){if(e<0||e>t.length||r<0||e+r-t.length>0)throw new d.default;this.ensureCapacity(this.count+r),c.default.arraycopy(t,e,this.buf,this.count,r),this.count+=r},e.prototype.writeTo=function(t){t.writeBytesOffset(this.buf,0,this.count)},e.prototype.reset=function(){this.count=0},e.prototype.toByteArray=function(){return o.default.copyOfUint8Array(this.buf,this.count)},e.prototype.size=function(){return this.count},e.prototype.toString=function(t){return t?"string"==typeof t?this.toString_string(t):this.toString_number(t):this.toString_void()},e.prototype.toString_void=function(){return new String(this.buf).toString()},e.prototype.toString_string=function(t){return new String(this.buf).toString()},e.prototype.toString_number=function(t){return new String(this.buf).toString()},e.prototype.close=function(){},e}(a.default);r.default=h}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/ByteArrayOutputStream.js"}],[3812,{"../common/CharacterSetECI":3678},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.forName=function(t){return this.getCharacterSetECIByName(t)},e}(t("../common/CharacterSetECI").default);r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/Charset.js"}],[3813,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(){}return t.singletonList=function(t){return[t]},t.min=function(t,e){return t.sort(e)[0]},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/Collections.js"}],[3814,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(){}return t.floatToIntBits=function(t){return t},t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/Float.js"}],[3815,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(){this.buffer=""}return t.form=function(t,e){var r=-1;return t.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,(function(t,n,i,o,a,s){if("%%"===t)return"%";if(e[++r]===undefined)return undefined;t=o?parseInt(o.substr(1)):undefined;var l,u=a?parseInt(a.substr(1)):undefined;switch(s){case"s":l=e[r];break;case"c":l=e[r][0];break;case"f":l=parseFloat(e[r]).toFixed(t);break;case"p":l=parseFloat(e[r]).toPrecision(t);break;case"e":l=parseFloat(e[r]).toExponential(t);break;case"x":l=parseInt(e[r]).toString(u||16);break;case"d":l=parseFloat(parseInt(e[r],u||10).toPrecision(t)).toFixed(0)}l="object"==typeof l?JSON.stringify(l):(+l).toString(u);for(var c=parseInt(i),d=i&&i[0]+""=="0"?"0":" ";l.length<c;)l=n!==undefined?l+d:d+l;return l}))},t.prototype.format=function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];this.buffer+=t.form(e,r)},t.prototype.toString=function(){return this.buffer},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/Formatter.js"}],[3816,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(){}return t.numberOfTrailingZeros=function(t){var e;if(0===t)return 32;var r=31;return 0!==(e=t<<16)&&(r-=16,t=e),0!==(e=t<<8)&&(r-=8,t=e),0!==(e=t<<4)&&(r-=4,t=e),0!==(e=t<<2)&&(r-=2,t=e),r-(t<<1>>>31)},t.numberOfLeadingZeros=function(t){if(0===t)return 32;var e=1;return t>>>16==0&&(e+=16,t<<=16),t>>>24==0&&(e+=8,t<<=8),t>>>28==0&&(e+=4,t<<=4),t>>>30==0&&(e+=2,t<<=2),e-=t>>>31},t.toHexString=function(t){return t.toString(16)},t.toBinaryString=function(t){return String(parseInt(String(t),2))},t.bitCount=function(t){return t=(t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135,t+=t>>>8,63&(t+=t>>>16)},t.truncDivision=function(t,e){return Math.trunc(t/e)},t.parseInt=function(t,e){return void 0===e&&(e=undefined),parseInt(t,e)},t.MIN_VALUE_32_BITS=-2147483648,t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/Integer.js"}],[3817,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(){}return t.parseLong=function(t,e){return void 0===e&&(e=undefined),parseInt(t,e)},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/Long.js"}],[3818,{"../IndexOutOfBoundsException":3641,"../NullPointerException":3647},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../IndexOutOfBoundsException"),i=t("../NullPointerException"),o=function(){function t(){}return t.prototype.writeBytes=function(t){this.writeBytesOffset(t,0,t.length)},t.prototype.writeBytesOffset=function(t,e,r){if(null==t)throw new i.default;if(e<0||e>t.length||r<0||e+r>t.length||e+r<0)throw new n.default;if(0!==r)for(var o=0;o<r;o++)this.write(t[e+o])},t.prototype.flush=function(){},t.prototype.close=function(){},t}();r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/OutputStream.js"}],[3819,{"../common/CharacterSetECI":3678},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../common/CharacterSetECI"),i=function(){function t(){}return t.ISO_8859_1=n.default.ISO8859_1,t}();r.default=i}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/StandardCharsets.js"}],[3820,{"../common/StringUtils":3689},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../common/StringUtils"),i=function(){function t(t){void 0===t&&(t=""),this.value=t}return t.prototype.enableDecoding=function(t){return this.encoding=t,this},t.prototype.append=function(t){return"string"==typeof t?this.value+=t.toString():this.encoding?this.value+=n.default.castAsNonUtf8Char(t,this.encoding):this.value+=String.fromCharCode(t),this},t.prototype.appendChars=function(t,e,r){for(var n=e;e<e+r;n++)this.append(t[n]);return this},t.prototype.length=function(){return this.value.length},t.prototype.charAt=function(t){return this.value.charAt(t)},t.prototype.deleteCharAt=function(t){this.value=this.value.substr(0,t)+this.value.substring(t+1)},t.prototype.setCharAt=function(t,e){this.value=this.value.substr(0,t)+e+this.value.substr(t+1)},t.prototype.substring=function(t,e){return this.value.substring(t,e)},t.prototype.setLengthToZero=function(){this.value=""},t.prototype.toString=function(){return this.value},t.prototype.insert=function(t,e){this.value=this.value.substring(0,t)+e+this.value.substring(t)},t}();r.default=i}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/StringBuilder.js"}],[3821,{"../UnsupportedOperationException":3656,"../common/CharacterSetECI":3678},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../UnsupportedOperationException"),i=t("../common/CharacterSetECI"),o=function(){function t(){}return t.decode=function(t,e){var r=this.encodingName(e);return this.customDecoder?this.customDecoder(t,r):"undefined"==typeof TextDecoder||this.shouldDecodeOnFallback(r)?this.decodeFallback(t,r):new TextDecoder(r).decode(t)},t.shouldDecodeOnFallback=function(e){return!t.isBrowser()&&"ISO-8859-1"===e},t.encode=function(t,e){var r=this.encodingName(e);return this.customEncoder?this.customEncoder(t,r):"undefined"==typeof TextEncoder?this.encodeFallback(t):(new TextEncoder).encode(t)},t.isBrowser=function(){return"undefined"!=typeof window&&"[object Window]"==={}.toString.call(window)},t.encodingName=function(t){return"string"==typeof t?t:t.getName()},t.encodingCharacterSet=function(t){return t instanceof i.default?t:i.default.getCharacterSetECIByName(t)},t.decodeFallback=function(e,r){var o=this.encodingCharacterSet(r);if(t.isDecodeFallbackSupported(o)){for(var a="",s=0,l=e.length;s<l;s++){var u=e[s].toString(16);u.length<2&&(u="0"+u),a+="%"+u}return decodeURIComponent(a)}if(o.equals(i.default.UnicodeBigUnmarked))return String.fromCharCode.apply(null,new Uint16Array(e.buffer));throw new n.default("Encoding "+this.encodingName(r)+" not supported by fallback.")},t.isDecodeFallbackSupported=function(t){return t.equals(i.default.UTF8)||t.equals(i.default.ISO8859_1)||t.equals(i.default.ASCII)},t.encodeFallback=function(t){for(var e=btoa(unescape(encodeURIComponent(t))).split(""),r=[],n=0;n<e.length;n++)r.push(e[n].charCodeAt(0));return new Uint8Array(r)},t}();r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/StringEncoding.js"}],[3822,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(){}return t.arraycopy=function(t,e,r,n,i){for(;i--;)r[n++]=t[e++]},t.currentTimeMillis=function(){return Date.now()},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/System.js"}],[3823,{"./browser":3615,"./core/ArgumentException":3628,"./core/ArithmeticException":3629,"./core/BarcodeFormat":3631,"./core/Binarizer":3632,"./core/BinaryBitmap":3633,"./core/ChecksumException":3634,"./core/DecodeHintType":3635,"./core/EncodeHintType":3636,"./core/Exception":3637,"./core/FormatException":3638,"./core/IllegalArgumentException":3639,"./core/IllegalStateException":3640,"./core/InvertedLuminanceSource":3642,"./core/LuminanceSource":3643,"./core/MultiFormatReader":3644,"./core/MultiFormatWriter":3645,"./core/NotFoundException":3646,"./core/PlanarYUVLuminanceSource":3649,"./core/RGBLuminanceSource":3650,"./core/ReaderException":3651,"./core/ReedSolomonException":3652,"./core/Result":3653,"./core/ResultMetadataType":3654,"./core/ResultPoint":3655,"./core/UnsupportedOperationException":3656,"./core/WriterException":3657,"./core/aztec/AztecDetectorResult":3658,"./core/aztec/AztecReader":3659,"./core/aztec/AztecWriter":3660,"./core/aztec/decoder/Decoder":3661,"./core/aztec/detector/Detector":3662,"./core/aztec/encoder/AztecCode":3663,"./core/aztec/encoder/Encoder":3666,"./core/aztec/encoder/HighLevelEncoder":3668,"./core/common/BitArray":3675,"./core/common/BitMatrix":3676,"./core/common/BitSource":3677,"./core/common/CharacterSetECI":3678,"./core/common/DecoderResult":3679,"./core/common/DefaultGridSampler":3680,"./core/common/DetectorResult":3681,"./core/common/GlobalHistogramBinarizer":3683,"./core/common/GridSampler":3684,"./core/common/GridSamplerInstance":3685,"./core/common/HybridBinarizer":3686,"./core/common/PerspectiveTransform":3688,"./core/common/StringUtils":3689,"./core/common/detector/MathUtils":3690,"./core/common/detector/WhiteRectangleDetector":3691,"./core/common/reedsolomon/GenericGF":3693,"./core/common/reedsolomon/GenericGFPoly":3694,"./core/common/reedsolomon/ReedSolomonDecoder":3695,"./core/common/reedsolomon/ReedSolomonEncoder":3696,"./core/datamatrix/DataMatrixReader":3697,"./core/datamatrix/DataMatrixWriter":3698,"./core/datamatrix/decoder/DecodedBitStreamParser":3701,"./core/datamatrix/encoder/DefaultPlacement":3708,"./core/datamatrix/encoder/ErrorCorrection":3711,"./core/datamatrix/encoder/HighLevelEncoder":3712,"./core/datamatrix/encoder/SymbolInfo":3714,"./core/datamatrix/encoder/constants":3717,"./core/oned/CodaBarReader":3720,"./core/oned/Code128Reader":3721,"./core/oned/Code39Reader":3722,"./core/oned/Code93Reader":3723,"./core/oned/EAN13Reader":3724,"./core/oned/ITFReader":3726,"./core/oned/MultiFormatOneDReader":3727,"./core/oned/OneDReader":3729,"./core/oned/rss/RSS14Reader":3740,"./core/oned/rss/expanded/RSSExpandedReader":3745,"./core/oned/rss/expanded/decoders/AbstractExpandedDecoder":3755,"./core/oned/rss/expanded/decoders/AbstractExpandedDecoderComplement":3756,"./core/pdf417/PDF417Reader":3766,"./core/pdf417/PDF417ResultMetadata":3767,"./core/pdf417/decoder/DecodedBitStreamParser":3772,"./core/pdf417/decoder/ec/ErrorCorrection":3778,"./core/qrcode/QRCodeReader":3784,"./core/qrcode/QRCodeWriter":3785,"./core/qrcode/decoder/DataMask":3788,"./core/qrcode/decoder/DecodedBitStreamParser":3789,"./core/qrcode/decoder/ErrorCorrectionLevel":3793,"./core/qrcode/decoder/FormatInformation":3794,"./core/qrcode/decoder/Mode":3795,"./core/qrcode/decoder/Version":3797,"./core/qrcode/encoder/ByteMatrix":3805,"./core/qrcode/encoder/Encoder":3806,"./core/qrcode/encoder/MaskUtil":3807,"./core/qrcode/encoder/MatrixUtil":3808,"./core/qrcode/encoder/QRCode":3809,"./core/util/Arrays":3810,"./core/util/Charset":3812,"./core/util/Integer":3816,"./core/util/StandardCharsets":3819,"./core/util/StringBuilder":3820,"./core/util/StringEncoding":3821,"./core/util/System":3822},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){n===undefined&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===undefined&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||n(e,t,r)};Object.defineProperty(r,"__esModule",{value:!0}),i(t("./browser"),r);var o=t("./core/ArgumentException");Object.defineProperty(r,"ArgumentException",{enumerable:!0,get:function(){return o.default}});var a=t("./core/ArithmeticException");Object.defineProperty(r,"ArithmeticException",{enumerable:!0,get:function(){return a.default}});var s=t("./core/ChecksumException");Object.defineProperty(r,"ChecksumException",{enumerable:!0,get:function(){return s.default}});var l=t("./core/Exception");Object.defineProperty(r,"Exception",{enumerable:!0,get:function(){return l.default}});var u=t("./core/FormatException");Object.defineProperty(r,"FormatException",{enumerable:!0,get:function(){return u.default}});var c=t("./core/IllegalArgumentException");Object.defineProperty(r,"IllegalArgumentException",{enumerable:!0,get:function(){return c.default}});var d=t("./core/IllegalStateException");Object.defineProperty(r,"IllegalStateException",{enumerable:!0,get:function(){return d.default}});var h=t("./core/NotFoundException");Object.defineProperty(r,"NotFoundException",{enumerable:!0,get:function(){return h.default}});var f=t("./core/ReaderException");Object.defineProperty(r,"ReaderException",{enumerable:!0,get:function(){return f.default}});var p=t("./core/ReedSolomonException");Object.defineProperty(r,"ReedSolomonException",{enumerable:!0,get:function(){return p.default}});var g=t("./core/UnsupportedOperationException");Object.defineProperty(r,"UnsupportedOperationException",{enumerable:!0,get:function(){return g.default}});var m=t("./core/WriterException");Object.defineProperty(r,"WriterException",{enumerable:!0,get:function(){return m.default}});var y=t("./core/BarcodeFormat");Object.defineProperty(r,"BarcodeFormat",{enumerable:!0,get:function(){return y.default}});var b=t("./core/Binarizer");Object.defineProperty(r,"Binarizer",{enumerable:!0,get:function(){return b.default}});var v=t("./core/BinaryBitmap");Object.defineProperty(r,"BinaryBitmap",{enumerable:!0,get:function(){return v.default}});var w=t("./core/DecodeHintType");Object.defineProperty(r,"DecodeHintType",{enumerable:!0,get:function(){return w.default}});var _=t("./core/InvertedLuminanceSource");Object.defineProperty(r,"InvertedLuminanceSource",{enumerable:!0,get:function(){return _.default}});var A=t("./core/LuminanceSource");Object.defineProperty(r,"LuminanceSource",{enumerable:!0,get:function(){return A.default}});var x=t("./core/MultiFormatReader");Object.defineProperty(r,"MultiFormatReader",{enumerable:!0,get:function(){return x.default}});var C=t("./core/MultiFormatWriter");Object.defineProperty(r,"MultiFormatWriter",{enumerable:!0,get:function(){return C.default}});var E=t("./core/PlanarYUVLuminanceSource");Object.defineProperty(r,"PlanarYUVLuminanceSource",{enumerable:!0,get:function(){return E.default}});var S=t("./core/Result");Object.defineProperty(r,"Result",{enumerable:!0,get:function(){return S.default}});var T=t("./core/ResultMetadataType");Object.defineProperty(r,"ResultMetadataType",{enumerable:!0,get:function(){return T.default}});var I=t("./core/RGBLuminanceSource");Object.defineProperty(r,"RGBLuminanceSource",{enumerable:!0,get:function(){return I.default}});var D=t("./core/ResultPoint");Object.defineProperty(r,"ResultPoint",{enumerable:!0,get:function(){return D.default}});var O=t("./core/util/System");Object.defineProperty(r,"ZXingSystem",{enumerable:!0,get:function(){return O.default}});var R=t("./core/util/StringBuilder");Object.defineProperty(r,"ZXingStringBuilder",{enumerable:!0,get:function(){return R.default}});var P=t("./core/util/StringEncoding");Object.defineProperty(r,"ZXingStringEncoding",{enumerable:!0,get:function(){return P.default}});var M=t("./core/util/Charset");Object.defineProperty(r,"ZXingCharset",{enumerable:!0,get:function(){return M.default}});var N=t("./core/util/Arrays");Object.defineProperty(r,"ZXingArrays",{enumerable:!0,get:function(){return N.default}});var k=t("./core/util/StandardCharsets");Object.defineProperty(r,"ZXingStandardCharsets",{enumerable:!0,get:function(){return k.default}});var B=t("./core/util/Integer");Object.defineProperty(r,"ZXingInteger",{enumerable:!0,get:function(){return B.default}});var L=t("./core/common/BitArray");Object.defineProperty(r,"BitArray",{enumerable:!0,get:function(){return L.default}});var F=t("./core/common/BitMatrix");Object.defineProperty(r,"BitMatrix",{enumerable:!0,get:function(){return F.default}});var j=t("./core/common/BitSource");Object.defineProperty(r,"BitSource",{enumerable:!0,get:function(){return j.default}});var z=t("./core/common/CharacterSetECI");Object.defineProperty(r,"CharacterSetECI",{enumerable:!0,get:function(){return z.default}});var V=t("./core/common/DecoderResult");Object.defineProperty(r,"DecoderResult",{enumerable:!0,get:function(){return V.default}});var H=t("./core/common/DefaultGridSampler");Object.defineProperty(r,"DefaultGridSampler",{enumerable:!0,get:function(){return H.default}});var U=t("./core/common/DetectorResult");Object.defineProperty(r,"DetectorResult",{enumerable:!0,get:function(){return U.default}});var q=t("./core/EncodeHintType");Object.defineProperty(r,"EncodeHintType",{enumerable:!0,get:function(){return q.default}});var W=t("./core/common/GlobalHistogramBinarizer");Object.defineProperty(r,"GlobalHistogramBinarizer",{enumerable:!0,get:function(){return W.default}});var G=t("./core/common/GridSampler");Object.defineProperty(r,"GridSampler",{enumerable:!0,get:function(){return G.default}});var X=t("./core/common/GridSamplerInstance");Object.defineProperty(r,"GridSamplerInstance",{enumerable:!0,get:function(){return X.default}});var Y=t("./core/common/HybridBinarizer");Object.defineProperty(r,"HybridBinarizer",{enumerable:!0,get:function(){return Y.default}});var K=t("./core/common/PerspectiveTransform");Object.defineProperty(r,"PerspectiveTransform",{enumerable:!0,get:function(){return K.default}});var Z=t("./core/common/StringUtils");Object.defineProperty(r,"StringUtils",{enumerable:!0,get:function(){return Z.default}});var $=t("./core/common/detector/MathUtils");Object.defineProperty(r,"MathUtils",{enumerable:!0,get:function(){return $.default}});var Q=t("./core/common/detector/WhiteRectangleDetector");Object.defineProperty(r,"WhiteRectangleDetector",{enumerable:!0,get:function(){return Q.default}});var J=t("./core/common/reedsolomon/GenericGF");Object.defineProperty(r,"GenericGF",{enumerable:!0,get:function(){return J.default}});var tt=t("./core/common/reedsolomon/GenericGFPoly");Object.defineProperty(r,"GenericGFPoly",{enumerable:!0,get:function(){return tt.default}});var et=t("./core/common/reedsolomon/ReedSolomonDecoder");Object.defineProperty(r,"ReedSolomonDecoder",{enumerable:!0,get:function(){return et.default}});var rt=t("./core/common/reedsolomon/ReedSolomonEncoder");Object.defineProperty(r,"ReedSolomonEncoder",{enumerable:!0,get:function(){return rt.default}});var nt=t("./core/datamatrix/DataMatrixReader");Object.defineProperty(r,"DataMatrixReader",{enumerable:!0,get:function(){return nt.default}});var it=t("./core/datamatrix/decoder/DecodedBitStreamParser");Object.defineProperty(r,"DataMatrixDecodedBitStreamParser",{enumerable:!0,get:function(){return it.default}});var ot=t("./core/datamatrix/encoder/DefaultPlacement");Object.defineProperty(r,"DataMatrixDefaultPlacement",{enumerable:!0,get:function(){return ot.default}});var at=t("./core/datamatrix/encoder/ErrorCorrection");Object.defineProperty(r,"DataMatrixErrorCorrection",{enumerable:!0,get:function(){return at.default}});var st=t("./core/datamatrix/encoder/HighLevelEncoder");Object.defineProperty(r,"DataMatrixHighLevelEncoder",{enumerable:!0,get:function(){return st.default}});var lt=t("./core/datamatrix/encoder/SymbolInfo");Object.defineProperty(r,"DataMatrixSymbolInfo",{enumerable:!0,get:function(){return lt.default}});var ut=t("./core/datamatrix/encoder/constants");Object.defineProperty(r,"DataMatrixSymbolShapeHint",{enumerable:!0,get:function(){return ut.SymbolShapeHint}});var ct=t("./core/datamatrix/DataMatrixWriter");Object.defineProperty(r,"DataMatrixWriter",{enumerable:!0,get:function(){return ct.default}});var dt=t("./core/pdf417/PDF417Reader");Object.defineProperty(r,"PDF417Reader",{enumerable:!0,get:function(){return dt.default}});var ht=t("./core/pdf417/PDF417ResultMetadata");Object.defineProperty(r,"PDF417ResultMetadata",{enumerable:!0,get:function(){return ht.default}});var ft=t("./core/pdf417/decoder/DecodedBitStreamParser");Object.defineProperty(r,"PDF417DecodedBitStreamParser",{enumerable:!0,get:function(){return ft.default}});var pt=t("./core/pdf417/decoder/ec/ErrorCorrection");Object.defineProperty(r,"PDF417DecoderErrorCorrection",{enumerable:!0,get:function(){return pt.default}});var gt=t("./core/qrcode/QRCodeReader");Object.defineProperty(r,"QRCodeReader",{enumerable:!0,get:function(){return gt.default}});var mt=t("./core/qrcode/QRCodeWriter");Object.defineProperty(r,"QRCodeWriter",{enumerable:!0,get:function(){return mt.default}});var yt=t("./core/qrcode/decoder/ErrorCorrectionLevel");Object.defineProperty(r,"QRCodeDecoderErrorCorrectionLevel",{enumerable:!0,get:function(){return yt.default}});var bt=t("./core/qrcode/decoder/FormatInformation");Object.defineProperty(r,"QRCodeDecoderFormatInformation",{enumerable:!0,get:function(){return bt.default}});var vt=t("./core/qrcode/decoder/Version");Object.defineProperty(r,"QRCodeVersion",{enumerable:!0,get:function(){return vt.default}});var wt=t("./core/qrcode/decoder/Mode");Object.defineProperty(r,"QRCodeMode",{enumerable:!0,get:function(){return wt.default}});var _t=t("./core/qrcode/decoder/DecodedBitStreamParser");Object.defineProperty(r,"QRCodeDecodedBitStreamParser",{enumerable:!0,get:function(){return _t.default}});var At=t("./core/qrcode/decoder/DataMask");Object.defineProperty(r,"QRCodeDataMask",{enumerable:!0,get:function(){return At.default}});var xt=t("./core/qrcode/encoder/Encoder");Object.defineProperty(r,"QRCodeEncoder",{enumerable:!0,get:function(){return xt.default}});var Ct=t("./core/qrcode/encoder/QRCode");Object.defineProperty(r,"QRCodeEncoderQRCode",{enumerable:!0,get:function(){return Ct.default}});var Et=t("./core/qrcode/encoder/MatrixUtil");Object.defineProperty(r,"QRCodeMatrixUtil",{enumerable:!0,get:function(){return Et.default}});var St=t("./core/qrcode/encoder/ByteMatrix");Object.defineProperty(r,"QRCodeByteMatrix",{enumerable:!0,get:function(){return St.default}});var Tt=t("./core/qrcode/encoder/MaskUtil");Object.defineProperty(r,"QRCodeMaskUtil",{enumerable:!0,get:function(){return Tt.default}});var It=t("./core/aztec/AztecReader");Object.defineProperty(r,"AztecCodeReader",{enumerable:!0,get:function(){return It.default}});var Dt=t("./core/aztec/AztecWriter");Object.defineProperty(r,"AztecCodeWriter",{enumerable:!0,get:function(){return Dt.default}});var Ot=t("./core/aztec/AztecDetectorResult");Object.defineProperty(r,"AztecDetectorResult",{enumerable:!0,get:function(){return Ot.default}});var Rt=t("./core/aztec/encoder/Encoder");Object.defineProperty(r,"AztecEncoder",{enumerable:!0,get:function(){return Rt.default}});var Pt=t("./core/aztec/encoder/HighLevelEncoder");Object.defineProperty(r,"AztecHighLevelEncoder",{enumerable:!0,get:function(){return Pt.default}});var Mt=t("./core/aztec/encoder/AztecCode");Object.defineProperty(r,"AztecCode",{enumerable:!0,get:function(){return Mt.default}});var Nt=t("./core/aztec/decoder/Decoder");Object.defineProperty(r,"AztecDecoder",{enumerable:!0,get:function(){return Nt.default}});var kt=t("./core/aztec/detector/Detector");Object.defineProperty(r,"AztecDetector",{enumerable:!0,get:function(){return kt.default}});var Bt=t("./core/aztec/detector/Detector");Object.defineProperty(r,"AztecPoint",{enumerable:!0,get:function(){return Bt.Point}});var Lt=t("./core/oned/OneDReader");Object.defineProperty(r,"OneDReader",{enumerable:!0,get:function(){return Lt.default}});var Ft=t("./core/oned/EAN13Reader");Object.defineProperty(r,"EAN13Reader",{enumerable:!0,get:function(){return Ft.default}});var jt=t("./core/oned/Code128Reader");Object.defineProperty(r,"Code128Reader",{enumerable:!0,get:function(){return jt.default}});var zt=t("./core/oned/ITFReader");Object.defineProperty(r,"ITFReader",{enumerable:!0,get:function(){return zt.default}});var Vt=t("./core/oned/Code39Reader");Object.defineProperty(r,"Code39Reader",{enumerable:!0,get:function(){return Vt.default}});var Ht=t("./core/oned/Code93Reader");Object.defineProperty(r,"Code93Reader",{enumerable:!0,get:function(){return Ht.default}});var Ut=t("./core/oned/rss/RSS14Reader");Object.defineProperty(r,"RSS14Reader",{enumerable:!0,get:function(){return Ut.default}});var qt=t("./core/oned/rss/expanded/RSSExpandedReader");Object.defineProperty(r,"RSSExpandedReader",{enumerable:!0,get:function(){return qt.default}});var Wt=t("./core/oned/rss/expanded/decoders/AbstractExpandedDecoder");Object.defineProperty(r,"AbstractExpandedDecoder",{enumerable:!0,get:function(){return Wt.default}});var Gt=t("./core/oned/rss/expanded/decoders/AbstractExpandedDecoderComplement");Object.defineProperty(r,"createAbstractExpandedDecoder",{enumerable:!0,get:function(){return Gt.createDecoder}});var Xt=t("./core/oned/MultiFormatOneDReader");Object.defineProperty(r,"MultiFormatOneDReader",{enumerable:!0,get:function(){return Xt.default}});var Yt=t("./core/oned/CodaBarReader");Object.defineProperty(r,"CodaBarReader",{enumerable:!0,get:function(){return Yt.default}})}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/index.js"}],[3895,{"call-bind/callBound":4089,"is-array-buffer":4654},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("call-bind/callBound")("ArrayBuffer.prototype.byteLength",!0),i=t("is-array-buffer");e.exports=function(t){return i(t)?n?n(t):t.byteLength:NaN}}}},{package:"string.prototype.matchall>es-abstract>array-buffer-byte-length",file:"node_modules/array-buffer-byte-length/index.js"}],[392,{"./assertThisInitialized.js":374,"./typeof.js":400},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./typeof.js").default,i=t("./assertThisInitialized.js");e.exports=function(t,e){if(e&&("object"==n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return i(t)},e.exports.__esModule=!0,e.exports.default=e.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"}],[396,{"./arrayWithHoles.js":372,"./iterableToArray.js":385,"./nonIterableRest.js":387,"./unsupportedIterableToArray.js":401},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./arrayWithHoles.js"),i=t("./iterableToArray.js"),o=t("./unsupportedIterableToArray.js"),a=t("./nonIterableRest.js");e.exports=function(t){return n(t)||i(t)||o(t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/toArray.js"}],[403,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports={name:"@blockaid/ppom_release",version:"1.5.3",files:["ppom_bg.wasm","ppom.js","ppom.d.ts"],module:"ppom.js",types:"ppom.d.ts"}}}},{package:"@blockaid/ppom_release",file:"node_modules/@blockaid/ppom_release/package.json"}],[4069,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){}}},{package:"browserify",file:"node_modules/browserify/lib/_empty.js"}],[4097,{"./chunks/helpers.segment.cjs":4098,"@kurkle/color":734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./chunks/helpers.segment.cjs");t("@kurkle/color");class i{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=undefined}_notify(t,e,r,n){const i=e.listeners[n],o=e.duration;i.forEach((n=>n({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(r-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=n.requestAnimFrame.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((r,n)=>{if(!r.running||!r.items.length)return;const i=r.items;let o,a=i.length-1,s=!1;for(;a>=0;--a)o=i[a],o._active?(o._total>r.duration&&(r.duration=o._total),o.tick(t),s=!0):(i[a]=i[i.length-1],i.pop());s&&(n.draw(),this._notify(n,r,t,"progress")),i.length||(r.running=!1,this._notify(n,r,t,"complete"),r.initial=!1),e+=i.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let r=e.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,r)),r}listen(t,e,r){this._getAnims(t).listeners[e].push(r)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const r=e.items;let n=r.length-1;for(;n>=0;--n)r[n].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var o=new i;const a="transparent",s={boolean:(t,e,r)=>r>.5?e:t,color(t,e,r){const i=n.color(t||a),o=i.valid&&n.color(e||a);return o&&o.valid?o.mix(i,r).hexString():e},number:(t,e,r)=>t+(e-t)*r};class l{constructor(t,e,r,i){const o=e[r];i=n.resolve([t.to,i,o,t.from]);const a=n.resolve([t.from,o,i]);this._active=!0,this._fn=t.fn||s[t.type||typeof a],this._easing=n.effects[t.easing]||n.effects.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=r,this._from=a,this._to=i,this._promises=undefined}active(){return this._active}update(t,e,r){if(this._active){this._notify(!1);const i=this._target[this._prop],o=r-this._start,a=this._duration-o;this._start=r,this._duration=Math.floor(Math.max(a,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=n.resolve([t.to,e,i,t.from]),this._from=n.resolve([t.from,i,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,r=this._duration,n=this._prop,i=this._from,o=this._loop,a=this._to;let s;if(this._active=i!==a&&(o||e<r),!this._active)return this._target[n]=a,void this._notify(!0);e<0?this._target[n]=i:(s=e/r%2,s=o&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[n]=this._fn(i,a,s))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,r)=>{t.push({res:e,rej:r})}))}_notify(t){const e=t?"res":"rej",r=this._promises||[];for(let t=0;t<r.length;t++)r[t][e]()}}class u{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!n.isObject(t))return;const e=Object.keys(n.defaults.animation),r=this._properties;Object.getOwnPropertyNames(t).forEach((i=>{const o=t[i];if(!n.isObject(o))return;const a={};for(const t of e)a[t]=o[t];(n.isArray(o.properties)&&o.properties||[i]).forEach((t=>{t!==i&&r.has(t)||r.set(t,a)}))}))}_animateOptions(t,e){const r=e.options,n=function(t,e){if(!e)return;let r=t.options;if(!r)return void(t.options=e);r.$shared&&(t.options=r=Object.assign({},r,{$shared:!1,$animations:{}}));return r}(t,r);if(!n)return[];const i=this._createAnimations(n,r);return r.$shared&&function(t,e){const r=[],n=Object.keys(e);for(let e=0;e<n.length;e++){const i=t[n[e]];i&&i.active()&&r.push(i.wait())}return Promise.all(r)}(t.options.$animations,r).then((()=>{t.options=r}),(()=>{})),i}_createAnimations(t,e){const r=this._properties,n=[],i=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let s;for(s=o.length-1;s>=0;--s){const u=o[s];if("$"===u.charAt(0))continue;if("options"===u){n.push(...this._animateOptions(t,e));continue}const c=e[u];let d=i[u];const h=r.get(u);if(d){if(h&&d.active()){d.update(h,c,a);continue}d.cancel()}h&&h.duration?(i[u]=d=new l(h,t,u,c),n.push(d)):t[u]=c}return n}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const r=this._createAnimations(t,e);return r.length?(o.add(this._chart,r),!0):void 0}}function c(t,e){const r=t&&t.options||{},n=r.reverse,i=r.min===undefined?e:0,o=r.max===undefined?e:0;return{start:n?o:i,end:n?i:o}}function d(t,e){const r=[],n=t._getSortedDatasetMetas(e);let i,o;for(i=0,o=n.length;i<o;++i)r.push(n[i].index);return r}function h(t,e,r,i={}){const o=t.keys,a="single"===i.mode;let s,l,u,c;if(null!==e){for(s=0,l=o.length;s<l;++s){if(u=+o[s],u===r){if(i.all)continue;break}c=t.values[u],n.isNumberFinite(c)&&(a||0===e||n.sign(e)===n.sign(c))&&(e+=c)}return e}}function f(t,e){const r=t&&t.options.stacked;return r||r===undefined&&e.stack!==undefined}function p(t,e,r){const n=t[e]||(t[e]={});return n[r]||(n[r]={})}function g(t,e,r,n){for(const i of e.getMatchingVisibleMetas(n).reverse()){const e=t[i.index];if(r&&e>0||!r&&e<0)return i.index}return null}function m(t,e){const{chart:r,_cachedMeta:n}=t,i=r._stacks||(r._stacks={}),{iScale:o,vScale:a,index:s}=n,l=o.axis,u=a.axis,c=function(t,e,r){return`${t.id}.${e.id}.${r.stack||r.type}`}(o,a,n),d=e.length;let h;for(let t=0;t<d;++t){const r=e[t],{[l]:o,[u]:d}=r;h=(r._stacks||(r._stacks={}))[u]=p(i,c,o),h[s]=d,h._top=g(h,a,!0,n.type),h._bottom=g(h,a,!1,n.type);(h._visualValues||(h._visualValues={}))[s]=d}}function y(t,e){const r=t.scales;return Object.keys(r).filter((t=>r[t].axis===e)).shift()}function b(t,e){const r=t.controller.index,n=t.vScale&&t.vScale.axis;if(n){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||e[n]===undefined||e[n][r]===undefined)return;delete e[n][r],e[n]._visualValues!==undefined&&e[n]._visualValues[r]!==undefined&&delete e[n]._visualValues[r]}}}const v=t=>"reset"===t||"none"===t,w=(t,e)=>e?t:Object.assign({},t);class _{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=undefined,this._parsing=!1,this._data=undefined,this._objectData=undefined,this._sharedOptions=undefined,this._drawStart=undefined,this._drawCount=undefined,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=undefined,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=f(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&b(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,r=this.getDataset(),i=(t,e,r,n)=>"x"===t?e:"r"===t?n:r,o=e.xAxisID=n.valueOrDefault(r.xAxisID,y(t,"x")),a=e.yAxisID=n.valueOrDefault(r.yAxisID,y(t,"y")),s=e.rAxisID=n.valueOrDefault(r.rAxisID,y(t,"r")),l=e.indexAxis,u=e.iAxisID=i(l,o,a,s),c=e.vAxisID=i(l,a,o,s);e.xScale=this.getScaleForId(o),e.yScale=this.getScaleForId(a),e.rScale=this.getScaleForId(s),e.iScale=this.getScaleForId(u),e.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&n.unlistenArrayEvents(this._data,this),t._stacked&&b(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),r=this._data;if(n.isObject(e))this._data=function(t){const e=Object.keys(t),r=new Array(e.length);let n,i,o;for(n=0,i=e.length;n<i;++n)o=e[n],r[n]={x:o,y:t[o]};return r}(e);else if(r!==e){if(r){n.unlistenArrayEvents(r,this);const t=this._cachedMeta;b(t),t._parsed=[]}e&&Object.isExtensible(e)&&n.listenArrayEvents(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,r=this.getDataset();let n=!1;this._dataCheck();const i=e._stacked;e._stacked=f(e.vScale,e),e.stack!==r.stack&&(n=!0,b(e),e.stack=r.stack),this._resyncElements(t),(n||i!==e._stacked)&&m(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:r,_data:i}=this,{iScale:o,_stacked:a}=r,s=o.axis;let l,u,c,d=0===t&&e===i.length||r._sorted,h=t>0&&r._parsed[t-1];if(!1===this._parsing)r._parsed=i,r._sorted=!0,c=i;else{c=n.isArray(i[t])?this.parseArrayData(r,i,t,e):n.isObject(i[t])?this.parseObjectData(r,i,t,e):this.parsePrimitiveData(r,i,t,e);const o=()=>null===u[s]||h&&u[s]<h[s];for(l=0;l<e;++l)r._parsed[l+t]=u=c[l],d&&(o()&&(d=!1),h=u);r._sorted=d}a&&m(this,c)}parsePrimitiveData(t,e,r,n){const{iScale:i,vScale:o}=t,a=i.axis,s=o.axis,l=i.getLabels(),u=i===o,c=new Array(n);let d,h,f;for(d=0,h=n;d<h;++d)f=d+r,c[d]={[a]:u||i.parse(l[f],f),[s]:o.parse(e[f],f)};return c}parseArrayData(t,e,r,n){const{xScale:i,yScale:o}=t,a=new Array(n);let s,l,u,c;for(s=0,l=n;s<l;++s)u=s+r,c=e[u],a[s]={x:i.parse(c[0],u),y:o.parse(c[1],u)};return a}parseObjectData(t,e,r,i){const{xScale:o,yScale:a}=t,{xAxisKey:s="x",yAxisKey:l="y"}=this._parsing,u=new Array(i);let c,d,h,f;for(c=0,d=i;c<d;++c)h=c+r,f=e[h],u[c]={x:o.parse(n.resolveObjectKey(f,s),h),y:a.parse(n.resolveObjectKey(f,l),h)};return u}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,r){const n=this.chart,i=this._cachedMeta,o=e[t.axis];return h({keys:d(n,!0),values:e._stacks[t.axis]._visualValues},o,i.index,{mode:r})}updateRangeFromParsed(t,e,r,n){const i=r[e.axis];let o=null===i?NaN:i;const a=n&&r._stacks[e.axis];n&&a&&(n.values=a,o=h(n,i,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,e){const r=this._cachedMeta,i=r._parsed,o=r._sorted&&t===r.iScale,a=i.length,s=this._getOtherScale(t),l=((t,e,r)=>t&&!e.hidden&&e._stacked&&{keys:d(r,!0),values:null})(e,r,this.chart),u={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:h}=function(t){const{min:e,max:r,minDefined:n,maxDefined:i}=t.getUserBounds();return{min:n?e:Number.NEGATIVE_INFINITY,max:i?r:Number.POSITIVE_INFINITY}}(s);let f,p;function g(){p=i[f];const e=p[s.axis];return!n.isNumberFinite(p[t.axis])||c>e||h<e}for(f=0;f<a&&(g()||(this.updateRangeFromParsed(u,t,p,l),!o));++f);if(o)for(f=a-1;f>=0;--f)if(!g()){this.updateRangeFromParsed(u,t,p,l);break}return u}getAllParsedValues(t){const e=this._cachedMeta._parsed,r=[];let i,o,a;for(i=0,o=e.length;i<o;++i)a=e[i][t.axis],n.isNumberFinite(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,r=e.iScale,n=e.vScale,i=this.getParsed(t);return{label:r?""+r.getLabelForValue(i[r.axis]):"",value:n?""+n.getLabelForValue(i[n.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=function(t){let e,r,i,o;return n.isObject(t)?(e=t.top,r=t.right,i=t.bottom,o=t.left):e=r=i=o=t,{top:e,right:r,bottom:i,left:o,disabled:!1===t}}(n.valueOrDefault(this.options.clip,function(t,e,r){if(!1===r)return!1;const n=c(t,r),i=c(e,r);return{top:i.end,right:n.end,bottom:i.start,left:n.start}}(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,r=this._cachedMeta,n=r.data||[],i=e.chartArea,o=[],a=this._drawStart||0,s=this._drawCount||n.length-a,l=this.options.drawActiveElementsOnTop;let u;for(r.dataset&&r.dataset.draw(t,i,a,s),u=a;u<a+s;++u){const e=n[u];e.hidden||(e.active&&l?o.push(e):e.draw(t,i))}for(u=0;u<o.length;++u)o[u].draw(t,i)}getStyle(t,e){const r=e?"active":"default";return t===undefined&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(t||0,r)}getContext(t,e,r){const i=this.getDataset();let o;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];o=e.$context||(e.$context=function(t,e,r){return n.createContext(t,{active:!1,dataIndex:e,parsed:undefined,raw:undefined,element:r,index:e,mode:"default",type:"data"})}(this.getContext(),t,e)),o.parsed=this.getParsed(t),o.raw=i.data[t],o.index=o.dataIndex=t}else o=this.$context||(this.$context=function(t,e){return n.createContext(t,{active:!1,dataset:undefined,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),o.dataset=i,o.index=o.datasetIndex=this.index;return o.active=!!e,o.mode=r,o}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",r){const i="active"===e,o=this._cachedDataOpts,a=t+"-"+e,s=o[a],l=this.enableOptionSharing&&n.defined(r);if(s)return w(s,l);const u=this.chart.config,c=u.datasetElementScopeKeys(this._type,t),d=i?[`${t}Hover`,"hover",t,""]:[t,""],h=u.getOptionScopes(this.getDataset(),c),f=Object.keys(n.defaults.elements[t]),p=u.resolveNamedOptions(h,f,(()=>this.getContext(r,i,e)),d);return p.$shared&&(p.$shared=l,o[a]=Object.freeze(w(p,l))),p}_resolveAnimations(t,e,r){const n=this.chart,i=this._cachedDataOpts,o=`animation-${e}`,a=i[o];if(a)return a;let s;if(!1!==n.options.animation){const n=this.chart.config,i=n.datasetAnimationScopeKeys(this._type,e),o=n.getOptionScopes(this.getDataset(),i);s=n.createResolver(o,this.getContext(t,r,e))}const l=new u(n,s&&s.animations);return s&&s._cacheable&&(i[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||v(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const r=this.resolveDataElementOptions(t,e),n=this._sharedOptions,i=this.getSharedOptions(r),o=this.includeOptions(e,i)||i!==n;return this.updateSharedOptions(i,e,r),{sharedOptions:i,includeOptions:o}}updateElement(t,e,r,n){v(n)?Object.assign(t,r):this._resolveAnimations(e,n).update(t,r)}updateSharedOptions(t,e,r){t&&!v(e)&&this._resolveAnimations(undefined,e).update(t,r)}_setStyle(t,e,r,n){t.active=n;const i=this.getStyle(e,n);this._resolveAnimations(e,r,n).update(t,{options:!n&&this.getSharedOptions(i)||i})}removeHoverStyle(t,e,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,e,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,undefined,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,undefined,"active",!0)}_resyncElements(t){const e=this._data,r=this._cachedMeta.data;for(const[t,e,r]of this._syncList)this[t](e,r);this._syncList=[];const n=r.length,i=e.length,o=Math.min(i,n);o&&this.parse(0,o),i>n?this._insertElements(n,i-n,t):i<n&&this._removeElements(i,n-i)}_insertElements(t,e,r=!0){const n=this._cachedMeta,i=n.data,o=t+e;let a;const s=t=>{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(s(i),a=t;a<o;++a)i[a]=new this.dataElementType;this._parsing&&s(n._parsed),this.parse(t,e),r&&this.updateElements(i,t,e,"reset")}updateElements(t,e,r,n){}_removeElements(t,e){const r=this._cachedMeta;if(this._parsing){const n=r._parsed.splice(t,e);r._stacked&&b(r,n)}r.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,r,n]=t;this[e](r,n)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const r=arguments.length-2;r&&this._sync(["_insertElements",t,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function A(t){const e=t.iScale,r=function(t,e){if(!t._cache.$bar){const r=t.getMatchingVisibleMetas(e);let i=[];for(let e=0,n=r.length;e<n;e++)i=i.concat(r[e].controller.getAllParsedValues(t));t._cache.$bar=n._arrayUnique(i.sort(((t,e)=>t-e)))}return t._cache.$bar}(e,t.type);let i,o,a,s,l=e._length;const u=()=>{32767!==a&&-32768!==a&&(n.defined(s)&&(l=Math.min(l,Math.abs(a-s)||l)),s=a)};for(i=0,o=r.length;i<o;++i)a=e.getPixelForValue(r[i]),u();for(s=undefined,i=0,o=e.ticks.length;i<o;++i)a=e.getPixelForTick(i),u();return l}function x(t,e,r,i){return n.isArray(t)?function(t,e,r,n){const i=r.parse(t[0],n),o=r.parse(t[1],n),a=Math.min(i,o),s=Math.max(i,o);let l=a,u=s;Math.abs(a)>Math.abs(s)&&(l=s,u=a),e[r.axis]=u,e._custom={barStart:l,barEnd:u,start:i,end:o,min:a,max:s}}(t,e,r,i):e[r.axis]=r.parse(t,i),e}function C(t,e,r,n){const i=t.iScale,o=t.vScale,a=i.getLabels(),s=i===o,l=[];let u,c,d,h;for(u=r,c=r+n;u<c;++u)h=e[u],d={},d[i.axis]=s||i.parse(a[u],u),l.push(x(h,d,o,u));return l}function E(t){return t&&t.barStart!==undefined&&t.barEnd!==undefined}function S(t,e,r,n){let i=e.borderSkipped;const o={};if(!i)return void(t.borderSkipped=o);if(!0===i)return void(t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:a,end:s,reverse:l,top:u,bottom:c}=function(t){let e,r,n,i,o;return t.horizontal?(e=t.base>t.x,r="left",n="right"):(e=t.base<t.y,r="bottom",n="top"),e?(i="end",o="start"):(i="start",o="end"),{start:r,end:n,reverse:e,top:i,bottom:o}}(t);"middle"===i&&r&&(t.enableBorderRadius=!0,(r._top||0)===n?i=u:(r._bottom||0)===n?i=c:(o[T(c,a,s,l)]=!0,i=u)),o[T(i,a,s,l)]=!0,t.borderSkipped=o}function T(t,e,r,n){var i,o,a;return n?(a=r,t=I(t=(i=t)===(o=e)?a:i===a?o:i,r,e)):t=I(t,e,r),t}function I(t,e,r){return"start"===t?e:"end"===t?r:t}function D(t,{inflateAmount:e},r){t.inflateAmount="auto"===e?1===r?.33:0:e}class O extends _{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,e,r,n){return C(t,e,r,n)}parseArrayData(t,e,r,n){return C(t,e,r,n)}parseObjectData(t,e,r,i){const{iScale:o,vScale:a}=t,{xAxisKey:s="x",yAxisKey:l="y"}=this._parsing,u="x"===o.axis?s:l,c="x"===a.axis?s:l,d=[];let h,f,p,g;for(h=r,f=r+i;h<f;++h)g=e[h],p={},p[o.axis]=o.parse(n.resolveObjectKey(g,u),h),d.push(x(n.resolveObjectKey(g,c),p,a,h));return d}updateRangeFromParsed(t,e,r,n){super.updateRangeFromParsed(t,e,r,n);const i=r._custom;i&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:r,vScale:n}=e,i=this.getParsed(t),o=i._custom,a=E(o)?"["+o.start+", "+o.end+"]":""+n.getLabelForValue(i[n.axis]);return{label:""+r.getLabelForValue(i[r.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();this._cachedMeta.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,r,i){const o="reset"===i,{index:a,_cachedMeta:{vScale:s}}=this,l=s.getBasePixel(),u=s.isHorizontal(),c=this._getRuler(),{sharedOptions:d,includeOptions:h}=this._getSharedOptions(e,i);for(let f=e;f<e+r;f++){const e=this.getParsed(f),r=o||n.isNullOrUndef(e[s.axis])?{base:l,head:l}:this._calculateBarValuePixels(f),p=this._calculateBarIndexPixels(f,c),g=(e._stacks||{})[s.axis],m={horizontal:u,base:r.base,enableBorderRadius:!g||E(e._custom)||a===g._top||a===g._bottom,x:u?r.head:p.center,y:u?p.center:r.head,height:u?p.size:Math.abs(r.size),width:u?Math.abs(r.size):p.size};h&&(m.options=d||this.resolveDataElementOptions(f,t[f].active?"active":i));const y=m.options||t[f].options;S(m,y,g,a),D(m,y,c.ratio),this.updateElement(t[f],f,m,i)}}_getStacks(t,e){const{iScale:r}=this._cachedMeta,i=r.getMatchingVisibleMetas(this._type).filter((t=>t.controller.options.grouped)),o=r.options.stacked,a=[],s=t=>{const r=t.controller.getParsed(e),i=r&&r[t.vScale.axis];if(n.isNullOrUndef(i)||isNaN(i))return!0};for(const r of i)if((e===undefined||!s(r))&&((!1===o||-1===a.indexOf(r.stack)||o===undefined&&r.stack===undefined)&&a.push(r.stack),r.index===t))break;return a.length||a.push(undefined),a}_getStackCount(t){return this._getStacks(undefined,t).length}_getStackIndex(t,e,r){const n=this._getStacks(t,r),i=e!==undefined?n.indexOf(e):-1;return-1===i?n.length-1:i}_getRuler(){const t=this.options,e=this._cachedMeta,r=e.iScale,n=[];let i,o;for(i=0,o=e.data.length;i<o;++i)n.push(r.getPixelForValue(this.getParsed(i)[r.axis],i));const a=t.barThickness;return{min:a||A(e),pixels:n,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:t.grouped,ratio:a?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:r,index:i},options:{base:o,minBarLength:a}}=this,s=o||0,l=this.getParsed(t),u=l._custom,c=E(u);let d,h,f=l[e.axis],p=0,g=r?this.applyStack(e,l,r):f;g!==f&&(p=g-f,g=f),c&&(f=u.barStart,g=u.barEnd-u.barStart,0!==f&&n.sign(f)!==n.sign(u.barEnd)&&(p=0),p+=f);const m=n.isNullOrUndef(o)||c?p:o;let y=e.getPixelForValue(m);if(d=this.chart.getDataVisibility(t)?e.getPixelForValue(p+g):y,h=d-y,Math.abs(h)<a){h=function(t,e,r){return 0!==t?n.sign(t):(e.isHorizontal()?1:-1)*(e.min>=r?1:-1)}(h,e,s)*a,f===s&&(y-=h/2);const t=e.getPixelForDecimal(0),o=e.getPixelForDecimal(1),u=Math.min(t,o),p=Math.max(t,o);y=Math.max(Math.min(y,p),u),d=y+h,r&&!c&&(l._stacks[e.axis]._visualValues[i]=e.getValueForPixel(d)-e.getValueForPixel(y))}if(y===e.getPixelForValue(s)){const t=n.sign(h)*e.getLineWidthForValue(s)/2;y+=t,h-=t}return{size:h,base:y,head:d,center:d+h/2}}_calculateBarIndexPixels(t,e){const r=e.scale,i=this.options,o=i.skipNull,a=n.valueOrDefault(i.maxBarThickness,Infinity);let s,l;if(e.grouped){const r=o?this._getStackCount(t):e.stackCount,u="flex"===i.barThickness?function(t,e,r,n){const i=e.pixels,o=i[t];let a=t>0?i[t-1]:null,s=t<i.length-1?i[t+1]:null;const l=r.categoryPercentage;null===a&&(a=o-(null===s?e.end-e.start:s-o)),null===s&&(s=o+o-a);const u=o-(o-Math.min(a,s))/2*l;return{chunk:Math.abs(s-a)/2*l/n,ratio:r.barPercentage,start:u}}(t,e,i,r):function(t,e,r,i){const o=r.barThickness;let a,s;return n.isNullOrUndef(o)?(a=e.min*r.categoryPercentage,s=r.barPercentage):(a=o*i,s=1),{chunk:a/i,ratio:s,start:e.pixels[t]-a/2}}(t,e,i,r),c=this._getStackIndex(this.index,this._cachedMeta.stack,o?t:undefined);s=u.start+u.chunk*c+u.chunk/2,l=Math.min(a,u.chunk*u.ratio)}else s=r.getPixelForValue(this.getParsed(t)[r.axis],t),l=Math.min(a,e.min*e.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}}draw(){const t=this._cachedMeta,e=t.vScale,r=t.data,n=r.length;let i=0;for(;i<n;++i)null!==this.getParsed(i)[e.axis]&&r[i].draw(this._ctx)}}class R extends _{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,r,n){const i=super.parsePrimitiveData(t,e,r,n);for(let t=0;t<i.length;t++)i[t]._custom=this.resolveDataElementOptions(t+r).radius;return i}parseArrayData(t,e,r,i){const o=super.parseArrayData(t,e,r,i);for(let t=0;t<o.length;t++){const i=e[r+t];o[t]._custom=n.valueOrDefault(i[2],this.resolveDataElementOptions(t+r).radius)}return o}parseObjectData(t,e,r,i){const o=super.parseObjectData(t,e,r,i);for(let t=0;t<o.length;t++){const i=e[r+t];o[t]._custom=n.valueOrDefault(i&&i.r&&+i.r,this.resolveDataElementOptions(t+r).radius)}return o}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let r=t.length-1;r>=0;--r)e=Math.max(e,t[r].size(this.resolveDataElementOptions(r))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,r=this.chart.data.labels||[],{xScale:n,yScale:i}=e,o=this.getParsed(t),a=n.getLabelForValue(o.x),s=i.getLabelForValue(o.y),l=o._custom;return{label:r[t]||"",value:"("+a+", "+s+(l?", "+l:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,r,n){const i="reset"===n,{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:s,includeOptions:l}=this._getSharedOptions(e,n),u=o.axis,c=a.axis;for(let d=e;d<e+r;d++){const e=t[d],r=!i&&this.getParsed(d),h={},f=h[u]=i?o.getPixelForDecimal(.5):o.getPixelForValue(r[u]),p=h[c]=i?a.getBasePixel():a.getPixelForValue(r[c]);h.skip=isNaN(f)||isNaN(p),l&&(h.options=s||this.resolveDataElementOptions(d,e.active?"active":n),i&&(h.options.radius=0)),this.updateElement(e,d,h,n)}}resolveDataElementOptions(t,e){const r=this.getParsed(t);let i=super.resolveDataElementOptions(t,e);i.$shared&&(i=Object.assign({},i,{$shared:!1}));const o=i.radius;return"active"!==e&&(i.radius=0),i.radius+=n.valueOrDefault(r&&r._custom,o),i}}class P extends _{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:r,color:n}}=t.legend.options;return e.labels.map(((e,i)=>{const o=t.getDatasetMeta(0).controller.getStyle(i);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:n,lineWidth:o.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(i),index:i}}))}return[]}},onClick(t,e,r){r.chart.toggleDataVisibility(e.index),r.chart.update()}}}};constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=undefined,this.outerRadius=undefined,this.offsetX=undefined,this.offsetY=undefined}linkScales(){}parse(t,e){const r=this.getDataset().data,i=this._cachedMeta;if(!1===this._parsing)i._parsed=r;else{let o,a,s=t=>+r[t];if(n.isObject(r[t])){const{key:t="value"}=this._parsing;s=e=>+n.resolveObjectKey(r[e],t)}for(o=t,a=t+e;o<a;++o)i._parsed[o]=s(o)}}_getRotation(){return n.toRadians(this.options.rotation-90)}_getCircumference(){return n.toRadians(this.options.circumference)}_getRotationExtents(){let t=n.TAU,e=-n.TAU;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const n=this.chart.getDatasetMeta(r).controller,i=n._getRotation(),o=n._getCircumference();t=Math.min(t,i),e=Math.max(e,i+o)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:r}=e,i=this._cachedMeta,o=i.data,a=this.getMaxBorderWidth()+this.getMaxOffset(o)+this.options.spacing,s=Math.max((Math.min(r.width,r.height)-a)/2,0),l=Math.min(n.toPercentage(this.options.cutout,s),1),u=this._getRingWeight(this.index),{circumference:c,rotation:d}=this._getRotationExtents(),{ratioX:h,ratioY:f,offsetX:p,offsetY:g}=function(t,e,r){let i=1,o=1,a=0,s=0;if(e<n.TAU){const l=t,u=l+e,c=Math.cos(l),d=Math.sin(l),h=Math.cos(u),f=Math.sin(u),p=(t,e,i)=>n._angleBetween(t,l,u,!0)?1:Math.max(e,e*r,i,i*r),g=(t,e,i)=>n._angleBetween(t,l,u,!0)?-1:Math.min(e,e*r,i,i*r),m=p(0,c,h),y=p(n.HALF_PI,d,f),b=g(n.PI,c,h),v=g(n.PI+n.HALF_PI,d,f);i=(m-b)/2,o=(y-v)/2,a=-(m+b)/2,s=-(y+v)/2}return{ratioX:i,ratioY:o,offsetX:a,offsetY:s}}(d,c,l),m=(r.width-a)/h,y=(r.height-a)/f,b=Math.max(Math.min(m,y)/2,0),v=n.toDimension(this.options.radius,b),w=(v-Math.max(v*l,0))/this._getVisibleDatasetWeightTotal();this.offsetX=p*v,this.offsetY=g*v,i.total=this.calculateTotal(),this.outerRadius=v-w*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-w*u,0),this.updateElements(o,0,o.length,t)}_circumference(t,e){const r=this.options,i=this._cachedMeta,o=this._getCircumference();return e&&r.animation.animateRotate||!this.chart.getDataVisibility(t)||null===i._parsed[t]||i.data[t].hidden?0:this.calculateCircumference(i._parsed[t]*o/n.TAU)}updateElements(t,e,r,n){const i="reset"===n,o=this.chart,a=o.chartArea,s=o.options.animation,l=(a.left+a.right)/2,u=(a.top+a.bottom)/2,c=i&&s.animateScale,d=c?0:this.innerRadius,h=c?0:this.outerRadius,{sharedOptions:f,includeOptions:p}=this._getSharedOptions(e,n);let g,m=this._getRotation();for(g=0;g<e;++g)m+=this._circumference(g,i);for(g=e;g<e+r;++g){const e=this._circumference(g,i),r=t[g],o={x:l+this.offsetX,y:u+this.offsetY,startAngle:m,endAngle:m+e,circumference:e,outerRadius:h,innerRadius:d};p&&(o.options=f||this.resolveDataElementOptions(g,r.active?"active":n)),m+=e,this.updateElement(r,g,o,n)}}calculateTotal(){const t=this._cachedMeta,e=t.data;let r,n=0;for(r=0;r<e.length;r++){const i=t._parsed[r];null===i||isNaN(i)||!this.chart.getDataVisibility(r)||e[r].hidden||(n+=Math.abs(i))}return n}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?n.TAU*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=n.formatNumber(e._parsed[t],r.options.locale);return{label:i[t]||"",value:o}}getMaxBorderWidth(t){let e=0;const r=this.chart;let n,i,o,a,s;if(!t)for(n=0,i=r.data.datasets.length;n<i;++n)if(r.isDatasetVisible(n)){o=r.getDatasetMeta(n),t=o.data,a=o.controller;break}if(!t)return 0;for(n=0,i=t.length;n<i;++n)s=a.resolveDataElementOptions(n),"inner"!==s.borderAlign&&(e=Math.max(e,s.borderWidth||0,s.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let r=0,n=t.length;r<n;++r){const t=this.resolveDataElementOptions(r);e=Math.max(e,t.offset||0,t.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let r=0;r<t;++r)this.chart.isDatasetVisible(r)&&(e+=this._getRingWeight(r));return e}_getRingWeight(t){return Math.max(n.valueOrDefault(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class M extends _{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:r,data:i=[],_dataset:o}=e,a=this.chart._animationsDisabled;let{start:s,count:l}=n._getStartAndCountOfVisiblePoints(e,i,a);this._drawStart=s,this._drawCount=l,n._scaleRangesChanged(e)&&(s=0,l=i.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!o._decimated,r.points=i;const u=this.resolveDatasetElementOptions(t);this.options.showLine||(u.borderWidth=0),u.segment=this.options.segment,this.updateElement(r,undefined,{animated:!a,options:u},t),this.updateElements(i,s,l,t)}updateElements(t,e,r,i){const o="reset"===i,{iScale:a,vScale:s,_stacked:l,_dataset:u}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(e,i),h=a.axis,f=s.axis,{spanGaps:p,segment:g}=this.options,m=n.isNumber(p)?p:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||o||"none"===i,b=e+r,v=t.length;let w=e>0&&this.getParsed(e-1);for(let r=0;r<v;++r){const p=t[r],v=y?p:{};if(r<e||r>=b){v.skip=!0;continue}const _=this.getParsed(r),A=n.isNullOrUndef(_[f]),x=v[h]=a.getPixelForValue(_[h],r),C=v[f]=o||A?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,_,l):_[f],r);v.skip=isNaN(x)||isNaN(C)||A,v.stop=r>0&&Math.abs(_[h]-w[h])>m,g&&(v.parsed=_,v.raw=u.data[r]),d&&(v.options=c||this.resolveDataElementOptions(r,p.active?"active":i)),y||this.updateElement(p,r,v,i),w=_}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,r=e.options&&e.options.borderWidth||0,n=t.data||[];if(!n.length)return r;const i=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(r,i,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}class N extends _{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:r,color:n}}=t.legend.options;return e.labels.map(((e,i)=>{const o=t.getDatasetMeta(0).controller.getStyle(i);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:n,lineWidth:o.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(i),index:i}}))}return[]}},onClick(t,e,r){r.chart.toggleDataVisibility(e.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,e){super(t,e),this.innerRadius=undefined,this.outerRadius=undefined}getLabelAndValue(t){const e=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=n.formatNumber(e._parsed[t].r,r.options.locale);return{label:i[t]||"",value:o}}parseObjectData(t,e,r,i){return n._parseObjectDataRadialScale.bind(this)(t,e,r,i)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,r)=>{const n=this.getParsed(r).r;!isNaN(n)&&this.chart.getDataVisibility(r)&&(n<e.min&&(e.min=n),n>e.max&&(e.max=n))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,r=t.options,n=Math.min(e.right-e.left,e.bottom-e.top),i=Math.max(n/2,0),o=(i-Math.max(r.cutoutPercentage?i/100*r.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=i-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,r,i){const o="reset"===i,a=this.chart,s=a.options.animation,l=this._cachedMeta.rScale,u=l.xCenter,c=l.yCenter,d=l.getIndexAngle(0)-.5*n.PI;let h,f=d;const p=360/this.countVisibleElements();for(h=0;h<e;++h)f+=this._computeAngle(h,i,p);for(h=e;h<e+r;h++){const e=t[h];let r=f,n=f+this._computeAngle(h,i,p),g=a.getDataVisibility(h)?l.getDistanceFromCenterForValue(this.getParsed(h).r):0;f=n,o&&(s.animateScale&&(g=0),s.animateRotate&&(r=n=d));const m={x:u,y:c,innerRadius:0,outerRadius:g,startAngle:r,endAngle:n,options:this.resolveDataElementOptions(h,e.active?"active":i)};this.updateElement(e,h,m,i)}}countVisibleElements(){const t=this._cachedMeta;let e=0;return t.data.forEach(((t,r)=>{!isNaN(this.getParsed(r).r)&&this.chart.getDataVisibility(r)&&e++})),e}_computeAngle(t,e,r){return this.chart.getDataVisibility(t)?n.toRadians(this.resolveDataElementOptions(t,e).angle||r):0}}class k extends P{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}class B extends _{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){const e=this._cachedMeta.vScale,r=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(r[e.axis])}}parseObjectData(t,e,r,i){return n._parseObjectDataRadialScale.bind(this)(t,e,r,i)}update(t){const e=this._cachedMeta,r=e.dataset,n=e.data||[],i=e.iScale.getLabels();if(r.points=n,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:i.length===n.length,options:e};this.updateElement(r,undefined,o,t)}this.updateElements(n,0,n.length,t)}updateElements(t,e,r,n){const i=this._cachedMeta.rScale,o="reset"===n;for(let a=e;a<e+r;a++){const e=t[a],r=this.resolveDataElementOptions(a,e.active?"active":n),s=i.getPointPositionForValue(a,this.getParsed(a).r),l=o?i.xCenter:s.x,u=o?i.yCenter:s.y,c={x:l,y:u,angle:s.angle,skip:isNaN(l)||isNaN(u),options:r};this.updateElement(e,a,c,n)}}}class L extends _{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(t){const e=this._cachedMeta,r=this.chart.data.labels||[],{xScale:n,yScale:i}=e,o=this.getParsed(t),a=n.getLabelForValue(o.x),s=i.getLabelForValue(o.y);return{label:r[t]||"",value:"("+a+", "+s+")"}}update(t){const e=this._cachedMeta,{data:r=[]}=e,i=this.chart._animationsDisabled;let{start:o,count:a}=n._getStartAndCountOfVisiblePoints(e,r,i);if(this._drawStart=o,this._drawCount=a,n._scaleRangesChanged(e)&&(o=0,a=r.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:n,_dataset:o}=e;n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!o._decimated,n.points=r;const a=this.resolveDatasetElementOptions(t);a.segment=this.options.segment,this.updateElement(n,undefined,{animated:!i,options:a},t)}else this.datasetElementType&&(delete e.dataset,this.datasetElementType=!1);this.updateElements(r,o,a,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,e,r,i){const o="reset"===i,{iScale:a,vScale:s,_stacked:l,_dataset:u}=this._cachedMeta,c=this.resolveDataElementOptions(e,i),d=this.getSharedOptions(c),h=this.includeOptions(i,d),f=a.axis,p=s.axis,{spanGaps:g,segment:m}=this.options,y=n.isNumber(g)?g:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||o||"none"===i;let v=e>0&&this.getParsed(e-1);for(let c=e;c<e+r;++c){const e=t[c],r=this.getParsed(c),g=b?e:{},w=n.isNullOrUndef(r[p]),_=g[f]=a.getPixelForValue(r[f],c),A=g[p]=o||w?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,r,l):r[p],c);g.skip=isNaN(_)||isNaN(A)||w,g.stop=c>0&&Math.abs(r[f]-v[f])>y,m&&(g.parsed=r,g.raw=u.data[c]),h&&(g.options=d||this.resolveDataElementOptions(c,e.active?"active":i)),b||this.updateElement(e,c,g,i),v=r}this.updateSharedOptions(d,i,c)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let r=e.length-1;r>=0;--r)t=Math.max(t,e[r].size(this.resolveDataElementOptions(r))/2);return t>0&&t}const r=t.dataset,n=r.options&&r.options.borderWidth||0;if(!e.length)return n;const i=e[0].size(this.resolveDataElementOptions(0)),o=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(n,i,o)/2}}var F=Object.freeze({__proto__:null,BarController:O,BubbleController:R,DoughnutController:P,LineController:M,PieController:k,PolarAreaController:N,RadarController:B,ScatterController:L});function j(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class z{static override(t){Object.assign(z.prototype,t)}options;constructor(t){this.options=t||{}}init(){}formats(){return j()}parse(){return j()}format(){return j()}add(){return j()}diff(){return j()}startOf(){return j()}endOf(){return j()}}var V={_date:z};function H(t,e,r,i){const{controller:o,data:a,_sorted:s}=t,l=o._cachedMeta.iScale;if(l&&e===l.axis&&"r"!==e&&s&&a.length){const t=l._reversePixels?n._rlookupByKey:n._lookupByKey;if(!i)return t(a,e,r);if(o._sharedOptions){const n=a[0],i="function"==typeof n.getRange&&n.getRange(e);if(i){const n=t(a,e,r-i),o=t(a,e,r+i);return{lo:n.lo,hi:o.hi}}}}return{lo:0,hi:a.length-1}}function U(t,e,r,n,i){const o=t.getSortedVisibleDatasetMetas(),a=r[e];for(let t=0,r=o.length;t<r;++t){const{index:r,data:s}=o[t],{lo:l,hi:u}=H(o[t],e,a,i);for(let t=l;t<=u;++t){const e=s[t];e.skip||n(e,r,t)}}}function q(t,e,r,i,o){const a=[];if(!o&&!t.isPointInArea(e))return a;return U(t,r,e,(function(r,s,l){(o||n._isPointInArea(r,t.chartArea,0))&&r.inRange(e.x,e.y,i)&&a.push({element:r,datasetIndex:s,index:l})}),!0),a}function W(t,e,r,n,i,o){let a=[];const s=function(t){const e=-1!==t.indexOf("x"),r=-1!==t.indexOf("y");return function(t,n){const i=e?Math.abs(t.x-n.x):0,o=r?Math.abs(t.y-n.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}(r);let l=Number.POSITIVE_INFINITY;return U(t,r,e,(function(r,u,c){const d=r.inRange(e.x,e.y,i);if(n&&!d)return;const h=r.getCenterPoint(i);if(!(!!o||t.isPointInArea(h))&&!d)return;const f=s(e,h);f<l?(a=[{element:r,datasetIndex:u,index:c}],l=f):f===l&&a.push({element:r,datasetIndex:u,index:c})})),a}function G(t,e,r,i,o,a){return a||t.isPointInArea(e)?"r"!==r||i?W(t,e,r,i,o,a):function(t,e,r,i){let o=[];return U(t,r,e,(function(t,r,a){const{startAngle:s,endAngle:l}=t.getProps(["startAngle","endAngle"],i),{angle:u}=n.getAngleFromPoint(t,{x:e.x,y:e.y});n._angleBetween(u,s,l)&&o.push({element:t,datasetIndex:r,index:a})})),o}(t,e,r,o):[]}function X(t,e,r,n,i){const o=[],a="x"===r?"inXRange":"inYRange";let s=!1;return U(t,r,e,((t,n,l)=>{t[a](e[r],i)&&(o.push({element:t,datasetIndex:n,index:l}),s=s||t.inRange(e.x,e.y,i))})),n&&!s?[]:o}var Y={evaluateInteractionItems:U,modes:{index(t,e,r,i){const o=n.getRelativePosition(e,t),a=r.axis||"x",s=r.includeInvisible||!1,l=r.intersect?q(t,o,a,i,s):G(t,o,a,!1,i,s),u=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=l[0].index,r=t.data[e];r&&!r.skip&&u.push({element:r,datasetIndex:t.index,index:e})})),u):[]},dataset(t,e,r,i){const o=n.getRelativePosition(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;let l=r.intersect?q(t,o,a,i,s):G(t,o,a,!1,i,s);if(l.length>0){const e=l[0].datasetIndex,r=t.getDatasetMeta(e).data;l=[];for(let t=0;t<r.length;++t)l.push({element:r[t],datasetIndex:e,index:t})}return l},point:(t,e,r,i)=>q(t,n.getRelativePosition(e,t),r.axis||"xy",i,r.includeInvisible||!1),nearest(t,e,r,i){const o=n.getRelativePosition(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;return G(t,o,a,r.intersect,i,s)},x:(t,e,r,i)=>X(t,n.getRelativePosition(e,t),"x",r.intersect,i),y:(t,e,r,i)=>X(t,n.getRelativePosition(e,t),"y",r.intersect,i)}};const K=["left","top","right","bottom"];function Z(t,e){return t.filter((t=>t.pos===e))}function $(t,e){return t.filter((t=>-1===K.indexOf(t.pos)&&t.box.axis===e))}function Q(t,e){return t.sort(((t,r)=>{const n=e?r:t,i=e?t:r;return n.weight===i.weight?n.index-i.index:n.weight-i.weight}))}function J(t,e){const r=function(t){const e={};for(const r of t){const{stack:t,pos:n,stackWeight:i}=r;if(!t||!K.includes(n))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return e}(t),{vBoxMaxWidth:n,hBoxMaxHeight:i}=e;let o,a,s;for(o=0,a=t.length;o<a;++o){s=t[o];const{fullSize:a}=s.box,l=r[s.stack],u=l&&s.stackWeight/l.weight;s.horizontal?(s.width=u?u*n:a&&e.availableWidth,s.height=i):(s.width=n,s.height=u?u*i:a&&e.availableHeight)}return r}function tt(t,e,r,n){return Math.max(t[r],e[r])+Math.max(t[n],e[n])}function et(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function rt(t,e,r,i){const{pos:o,box:a}=r,s=t.maxPadding;if(!n.isObject(o)){r.size&&(t[o]-=r.size);const e=i[r.stack]||{size:0,count:1};e.size=Math.max(e.size,r.horizontal?a.height:a.width),r.size=e.size/e.count,t[o]+=r.size}a.getPadding&&et(s,a.getPadding());const l=Math.max(0,e.outerWidth-tt(s,t,"left","right")),u=Math.max(0,e.outerHeight-tt(s,t,"top","bottom")),c=l!==t.w,d=u!==t.h;return t.w=l,t.h=u,r.horizontal?{same:c,other:d}:{same:d,other:c}}function nt(t,e){const r=e.maxPadding;function n(t){const n={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{n[t]=Math.max(e[t],r[t])})),n}return n(t?["left","right"]:["top","bottom"])}function it(t,e,r,n){const i=[];let o,a,s,l,u,c;for(o=0,a=t.length,u=0;o<a;++o){s=t[o],l=s.box,l.update(s.width||e.w,s.height||e.h,nt(s.horizontal,e));const{same:a,other:d}=rt(e,r,s,n);u|=a&&i.length,c=c||d,l.fullSize||i.push(s)}return u&&it(i,e,r,n)||c}function ot(t,e,r,n,i){t.top=r,t.left=e,t.right=e+n,t.bottom=r+i,t.width=n,t.height=i}function at(t,e,r,i){const o=r.padding;let{x:a,y:s}=e;for(const l of t){const t=l.box,u=i[l.stack]||{count:1,placed:0,weight:1},c=l.stackWeight/u.weight||1;if(l.horizontal){const i=e.w*c,a=u.size||t.height;n.defined(u.start)&&(s=u.start),t.fullSize?ot(t,o.left,s,r.outerWidth-o.right-o.left,a):ot(t,e.left+u.placed,s,i,a),u.start=s,u.placed+=i,s=t.bottom}else{const i=e.h*c,s=u.size||t.width;n.defined(u.start)&&(a=u.start),t.fullSize?ot(t,a,o.top,s,r.outerHeight-o.bottom-o.top):ot(t,a,e.top+u.placed,s,i),u.start=a,u.placed+=i,a=t.right}}e.x=a,e.y=s}var st={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const r=t.boxes?t.boxes.indexOf(e):-1;-1!==r&&t.boxes.splice(r,1)},configure(t,e,r){e.fullSize=r.fullSize,e.position=r.position,e.weight=r.weight},update(t,e,r,i){if(!t)return;const o=n.toPadding(t.options.layout.padding),a=Math.max(e-o.width,0),s=Math.max(r-o.height,0),l=function(t){const e=function(t){const e=[];let r,n,i,o,a,s;for(r=0,n=(t||[]).length;r<n;++r)i=t[r],({position:o,options:{stack:a,stackWeight:s=1}}=i),e.push({index:r,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:a&&o+a,stackWeight:s});return e}(t),r=Q(e.filter((t=>t.box.fullSize)),!0),n=Q(Z(e,"left"),!0),i=Q(Z(e,"right")),o=Q(Z(e,"top"),!0),a=Q(Z(e,"bottom")),s=$(e,"x"),l=$(e,"y");return{fullSize:r,leftAndTop:n.concat(o),rightAndBottom:i.concat(l).concat(a).concat(s),chartArea:Z(e,"chartArea"),vertical:n.concat(i).concat(l),horizontal:o.concat(a).concat(s)}}(t.boxes),u=l.vertical,c=l.horizontal;n.each(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const d=u.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,h=Object.freeze({outerWidth:e,outerHeight:r,padding:o,availableWidth:a,availableHeight:s,vBoxMaxWidth:a/2/d,hBoxMaxHeight:s/2}),f=Object.assign({},o);et(f,n.toPadding(i));const p=Object.assign({maxPadding:f,w:a,h:s,x:o.left,y:o.top},o),g=J(u.concat(c),h);it(l.fullSize,p,h,g),it(u,p,h,g),it(c,p,h,g)&&it(u,p,h,g),function(t){const e=t.maxPadding;function r(r){const n=Math.max(e[r]-t[r],0);return t[r]+=n,n}t.y+=r("top"),t.x+=r("left"),r("right"),r("bottom")}(p),at(l.leftAndTop,p,h,g),p.x+=p.w,p.y+=p.h,at(l.rightAndBottom,p,h,g),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},n.each(l.chartArea,(e=>{const r=e.box;Object.assign(r,t.chartArea),r.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})}))}};class lt{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,r){}removeEventListener(t,e,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,r,n){return e=Math.max(0,e||t.width),r=r||t.height,{width:e,height:Math.max(0,n?Math.floor(e/n):r)}}isAttached(t){return!0}updateConfig(t){}}class ut extends lt{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const ct="$chartjs",dt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ht=t=>null===t||""===t;const ft=!!n.supportsEventListenerOptions&&{passive:!0};function pt(t,e,r){t.canvas.removeEventListener(e,r,ft)}function gt(t,e){for(const r of t)if(r===e||r.contains(e))return!0}function mt(t,e,r){const n=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const r of t)e=e||gt(r.addedNodes,n),e=e&&!gt(r.removedNodes,n);e&&r()}));return i.observe(document,{childList:!0,subtree:!0}),i}function yt(t,e,r){const n=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const r of t)e=e||gt(r.removedNodes,n),e=e&&!gt(r.addedNodes,n);e&&r()}));return i.observe(document,{childList:!0,subtree:!0}),i}const bt=new Map;let vt=0;function wt(){const t=window.devicePixelRatio;t!==vt&&(vt=t,bt.forEach(((e,r)=>{r.currentDevicePixelRatio!==t&&e()})))}function _t(t,e,r){const i=t.canvas,o=i&&n._getParentNode(i);if(!o)return;const a=n.throttled(((t,e)=>{const n=o.clientWidth;r(t,e),n<o.clientWidth&&r()}),window),s=new ResizeObserver((t=>{const e=t[0],r=e.contentRect.width,n=e.contentRect.height;0===r&&0===n||a(r,n)}));return s.observe(o),function(t,e){bt.size||window.addEventListener("resize",wt),bt.set(t,e)}(t,a),s}function At(t,e,r){r&&r.disconnect(),"resize"===e&&function(t){bt.delete(t),bt.size||window.removeEventListener("resize",wt)}(t)}function xt(t,e,r){const i=t.canvas,o=n.throttled((e=>{null!==t.ctx&&r(function(t,e){const r=dt[t.type]||t.type,{x:i,y:o}=n.getRelativePosition(t,e);return{type:r,chart:e,native:t,x:i!==undefined?i:null,y:o!==undefined?o:null}}(e,t))}),t);return function(t,e,r){t.addEventListener(e,r,ft)}(i,e,o),o}class Ct extends lt{acquireContext(t,e){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(function(t,e){const r=t.style,i=t.getAttribute("height"),o=t.getAttribute("width");if(t[ct]={initial:{height:i,width:o,style:{display:r.display,height:r.height,width:r.width}}},r.display=r.display||"block",r.boxSizing=r.boxSizing||"border-box",ht(o)){const e=n.readUsedSize(t,"width");e!==undefined&&(t.width=e)}if(ht(i))if(""===t.style.height)t.height=t.width/(e||2);else{const e=n.readUsedSize(t,"height");e!==undefined&&(t.height=e)}}(t,e),r):null}releaseContext(t){const e=t.canvas;if(!e[ct])return!1;const r=e[ct].initial;["height","width"].forEach((t=>{const i=r[t];n.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)}));const i=r.style||{};return Object.keys(i).forEach((t=>{e.style[t]=i[t]})),e.width=e.width,delete e[ct],!0}addEventListener(t,e,r){this.removeEventListener(t,e);const n=t.$proxies||(t.$proxies={}),i={attach:mt,detach:yt,resize:_t}[e]||xt;n[e]=i(t,e,r)}removeEventListener(t,e){const r=t.$proxies||(t.$proxies={}),n=r[e];if(!n)return;({attach:At,detach:At,resize:At}[e]||pt)(t,e,n),r[e]=undefined}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,r,i){return n.getMaximumSize(t,e,r,i)}isAttached(t){const e=n._getParentNode(t);return!(!e||!e.isConnected)}}function Et(t){return!n._isDomSupported()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?ut:Ct}class St{static defaults={};static defaultRoutes=undefined;x;y;active=!1;options;$animations;tooltipPosition(t){const{x:e,y:r}=this.getProps(["x","y"],t);return{x:e,y:r}}hasValue(){return n.isNumber(this.x)&&n.isNumber(this.y)}getProps(t,e){const r=this.$animations;if(!e||!r)return this;const n={};return t.forEach((t=>{n[t]=r[t]&&r[t].active()?r[t]._to:this[t]})),n}}function Tt(t,e){const r=t.options.ticks,i=function(t){const e=t.options.offset,r=t._tickSize(),n=t._length/r+(e?0:1),i=t._maxLength/r;return Math.floor(Math.min(n,i))}(t),o=Math.min(r.maxTicksLimit||i,i),a=r.major.enabled?function(t){const e=[];let r,n;for(r=0,n=t.length;r<n;r++)t[r].major&&e.push(r);return e}(e):[],s=a.length,l=a[0],u=a[s-1],c=[];if(s>o)return function(t,e,r,n){let i,o=0,a=r[0];for(n=Math.ceil(n),i=0;i<t.length;i++)i===a&&(e.push(t[i]),o++,a=r[o*n])}(e,c,a,s/o),c;const d=function(t,e,r){const i=function(t){const e=t.length;let r,n;if(e<2)return!1;for(n=t[0],r=1;r<e;++r)if(t[r]-t[r-1]!==n)return!1;return n}(t),o=e.length/r;if(!i)return Math.max(o,1);const a=n._factorize(i);for(let t=0,e=a.length-1;t<e;t++){const e=a[t];if(e>o)return e}return Math.max(o,1)}(a,e,o);if(s>0){let t,r;const i=s>1?Math.round((u-l)/(s-1)):null;for(It(e,c,d,n.isNullOrUndef(i)?0:l-i,l),t=0,r=s-1;t<r;t++)It(e,c,d,a[t],a[t+1]);return It(e,c,d,u,n.isNullOrUndef(i)?e.length:u+i),c}return It(e,c,d),c}function It(t,e,r,i,o){const a=n.valueOrDefault(i,0),s=Math.min(n.valueOrDefault(o,t.length),t.length);let l,u,c,d=0;for(r=Math.ceil(r),o&&(l=o-i,r=l/Math.floor(l/r)),c=a;c<0;)d++,c=Math.round(a+d*r);for(u=Math.max(a,0);u<s;u++)u===c&&(e.push(t[u]),d++,c=Math.round(a+d*r))}const Dt=(t,e,r)=>"top"===e||"left"===e?t[e]+r:t[e]-r,Ot=(t,e)=>Math.min(e||t,t);function Rt(t,e){const r=[],n=t.length/e,i=t.length;let o=0;for(;o<i;o+=n)r.push(t[Math.floor(o)]);return r}function Pt(t,e,r){const n=t.ticks.length,i=Math.min(e,n-1),o=t._startPixel,a=t._endPixel,s=1e-6;let l,u=t.getPixelForTick(i);if(!(r&&(l=1===n?Math.max(u-o,a-u):0===e?(t.getPixelForTick(1)-u)/2:(u-t.getPixelForTick(i-1))/2,u+=i<e?l:-l,u<o-s||u>a+s)))return u}function Mt(t){return t.drawTicks?t.tickLength:0}function Nt(t,e){if(!t.display)return 0;const r=n.toFont(t.font,e),i=n.toPadding(t.padding);return(n.isArray(t.text)?t.text.length:1)*r.lineHeight+i.height}function kt(t,e,r){let i=n._toLeftRightCenter(t);return(r&&"right"!==e||!r&&"right"===e)&&(i=(t=>"left"===t?"right":"right"===t?"left":t)(i)),i}class Bt extends St{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=undefined,this.ctx=t.ctx,this.chart=t.chart,this.top=undefined,this.bottom=undefined,this.left=undefined,this.right=undefined,this.width=undefined,this.height=undefined,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=undefined,this.maxHeight=undefined,this.paddingTop=undefined,this.paddingBottom=undefined,this.paddingLeft=undefined,this.paddingRight=undefined,this.axis=undefined,this.labelRotation=undefined,this.min=undefined,this.max=undefined,this._range=undefined,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=undefined,this._endPixel=undefined,this._reversePixels=!1,this._userMax=undefined,this._userMin=undefined,this._suggestedMax=undefined,this._suggestedMin=undefined,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=undefined}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:r,_suggestedMax:i}=this;return t=n.finiteOrDefault(t,Number.POSITIVE_INFINITY),e=n.finiteOrDefault(e,Number.NEGATIVE_INFINITY),r=n.finiteOrDefault(r,Number.POSITIVE_INFINITY),i=n.finiteOrDefault(i,Number.NEGATIVE_INFINITY),{min:n.finiteOrDefault(t,r),max:n.finiteOrDefault(e,i),minDefined:n.isNumberFinite(t),maxDefined:n.isNumberFinite(e)}}getMinMax(t){let e,{min:r,max:i,minDefined:o,maxDefined:a}=this.getUserBounds();if(o&&a)return{min:r,max:i};const s=this.getMatchingVisibleMetas();for(let n=0,l=s.length;n<l;++n)e=s[n].controller.getMinMax(this,t),o||(r=Math.min(r,e.min)),a||(i=Math.max(i,e.max));return r=a&&r>i?i:r,i=o&&r>i?r:i,{min:n.finiteOrDefault(r,n.finiteOrDefault(i,r)),max:n.finiteOrDefault(i,n.finiteOrDefault(r,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){n.callback(this.options.beforeUpdate,[this])}update(t,e,r){const{beginAtZero:i,grace:o,ticks:a}=this.options,s=a.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=n._addGrace(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=s<this.ticks.length;this._convertTicksToLabels(l?Rt(this.ticks,s):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||"auto"===a.source)&&(this.ticks=Tt(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,r=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,r=!r),this._startPixel=t,this._endPixel=e,this._reversePixels=r,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){n.callback(this.options.afterUpdate,[this])}beforeSetDimensions(){n.callback(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){n.callback(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),n.callback(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){n.callback(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let r,i,o;for(r=0,i=t.length;r<i;r++)o=t[r],o.label=n.callback(e.callback,[o.value,r,t],this)}afterTickToLabelConversion(){n.callback(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){n.callback(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,r=Ot(this.ticks.length,t.ticks.maxTicksLimit),i=e.minRotation||0,o=e.maxRotation;let a,s,l,u=i;if(!this._isVisible()||!e.display||i>=o||r<=1||!this.isHorizontal())return void(this.labelRotation=i);const c=this._getLabelSizes(),d=c.widest.width,h=c.highest.height,f=n._limitValue(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/r:f/(r-1),d+6>a&&(a=f/(r-(t.offset?.5:1)),s=this.maxHeight-Mt(t.grid)-e.padding-Nt(t.title,this.chart.options.font),l=Math.sqrt(d*d+h*h),u=n.toDegrees(Math.min(Math.asin(n._limitValue((c.highest.height+6)/a,-1,1)),Math.asin(n._limitValue(s/l,-1,1))-Math.asin(n._limitValue(h/l,-1,1)))),u=Math.max(i,Math.min(o,u))),this.labelRotation=u}afterCalculateLabelRotation(){n.callback(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){n.callback(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:r,title:i,grid:o}}=this,a=this._isVisible(),s=this.isHorizontal();if(a){const a=Nt(i,e.options.font);if(s?(t.width=this.maxWidth,t.height=Mt(o)+a):(t.height=this.maxHeight,t.width=Mt(o)+a),r.display&&this.ticks.length){const{first:e,last:i,widest:o,highest:a}=this._getLabelSizes(),l=2*r.padding,u=n.toRadians(this.labelRotation),c=Math.cos(u),d=Math.sin(u);if(s){const e=r.mirror?0:d*o.width+c*a.height;t.height=Math.min(this.maxHeight,t.height+e+l)}else{const e=r.mirror?0:c*o.width+d*a.height;t.width=Math.min(this.maxWidth,t.width+e+l)}this._calculatePadding(e,i,d,c)}}this._handleMargins(),s?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,r,n){const{ticks:{align:i,padding:o},position:a}=this.options,s=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,u=this.right-this.getPixelForTick(this.ticks.length-1);let c=0,d=0;s?l?(c=n*t.width,d=r*e.height):(c=r*t.height,d=n*e.width):"start"===i?d=e.width:"end"===i?c=t.width:"inner"!==i&&(c=t.width/2,d=e.width/2),this.paddingLeft=Math.max((c-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-u+o)*this.width/(this.width-u),0)}else{let r=e.height/2,n=t.height/2;"start"===i?(r=0,n=t.height):"end"===i&&(r=e.height,n=0),this.paddingTop=r+o,this.paddingBottom=n+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){n.callback(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,r;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,r=t.length;e<r;e++)n.isNullOrUndef(t[e].label)&&(t.splice(e,1),r--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let r=this.ticks;e<r.length&&(r=Rt(r,e)),this._labelSizes=t=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,e,r){const{ctx:i,_longestTextCache:o}=this,a=[],s=[],l=Math.floor(e/Ot(e,r));let u,c,d,h,f,p,g,m,y,b,v,w=0,_=0;for(u=0;u<e;u+=l){if(h=t[u].label,f=this._resolveTickFontOptions(u),i.font=p=f.string,g=o[p]=o[p]||{data:{},gc:[]},m=f.lineHeight,y=b=0,n.isNullOrUndef(h)||n.isArray(h)){if(n.isArray(h))for(c=0,d=h.length;c<d;++c)v=h[c],n.isNullOrUndef(v)||n.isArray(v)||(y=n._measureText(i,g.data,g.gc,y,v),b+=m)}else y=n._measureText(i,g.data,g.gc,y,h),b=m;a.push(y),s.push(b),w=Math.max(y,w),_=Math.max(b,_)}!function(t,e){n.each(t,(t=>{const r=t.gc,n=r.length/2;let i;if(n>e){for(i=0;i<n;++i)delete t.data[r[i]];r.splice(0,n)}}))}(o,e);const A=a.indexOf(w),x=s.indexOf(_),C=t=>({width:a[t]||0,height:s[t]||0});return{first:C(0),last:C(e-1),widest:C(A),highest:C(x),widths:a,heights:s}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return n._int16Range(this._alignToPixels?n._alignPixel(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const r=e[t];return r.$context||(r.$context=function(t,e,r){return n.createContext(t,{tick:r,index:e,type:"tick"})}(this.getContext(),t,r))}return this.$context||(this.$context=(r=this.chart.getContext(),i=this,n.createContext(r,{scale:i,type:"scale"})));var r,i}_tickSize(){const t=this.options.ticks,e=n.toRadians(this.labelRotation),r=Math.abs(Math.cos(e)),i=Math.abs(Math.sin(e)),o=this._getLabelSizes(),a=t.autoSkipPadding||0,s=o?o.widest.width+a:0,l=o?o.highest.height+a:0;return this.isHorizontal()?l*r>s*i?s/r:l/i:l*i<s*r?l/r:s/i}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,r=this.chart,i=this.options,{grid:o,position:a,border:s}=i,l=o.offset,u=this.isHorizontal(),c=this.ticks.length+(l?1:0),d=Mt(o),h=[],f=s.setContext(this.getContext()),p=f.display?f.width:0,g=p/2,m=function(t){return n._alignPixel(r,t,p)};let y,b,v,w,_,A,x,C,E,S,T,I;if("top"===a)y=m(this.bottom),A=this.bottom-d,C=y-g,S=m(t.top)+g,I=t.bottom;else if("bottom"===a)y=m(this.top),S=t.top,I=m(t.bottom)-g,A=y+g,C=this.top+d;else if("left"===a)y=m(this.right),_=this.right-d,x=y-g,E=m(t.left)+g,T=t.right;else if("right"===a)y=m(this.left),E=t.left,T=m(t.right)-g,_=y+g,x=this.left+d;else if("x"===e){if("center"===a)y=m((t.top+t.bottom)/2+.5);else if(n.isObject(a)){const t=Object.keys(a)[0],e=a[t];y=m(this.chart.scales[t].getPixelForValue(e))}S=t.top,I=t.bottom,A=y+g,C=A+d}else if("y"===e){if("center"===a)y=m((t.left+t.right)/2);else if(n.isObject(a)){const t=Object.keys(a)[0],e=a[t];y=m(this.chart.scales[t].getPixelForValue(e))}_=y-g,x=_-d,E=t.left,T=t.right}const D=n.valueOrDefault(i.ticks.maxTicksLimit,c),O=Math.max(1,Math.ceil(c/D));for(b=0;b<c;b+=O){const t=this.getContext(b),e=o.setContext(t),i=s.setContext(t),a=e.lineWidth,c=e.color,d=i.dash||[],f=i.dashOffset,p=e.tickWidth,g=e.tickColor,m=e.tickBorderDash||[],y=e.tickBorderDashOffset;v=Pt(this,b,l),v!==undefined&&(w=n._alignPixel(r,v,a),u?_=x=E=T=w:A=C=S=I=w,h.push({tx1:_,ty1:A,tx2:x,ty2:C,x1:E,y1:S,x2:T,y2:I,width:a,color:c,borderDash:d,borderDashOffset:f,tickWidth:p,tickColor:g,tickBorderDash:m,tickBorderDashOffset:y}))}return this._ticksLength=c,this._borderValue=y,h}_computeLabelItems(t){const e=this.axis,r=this.options,{position:i,ticks:o}=r,a=this.isHorizontal(),s=this.ticks,{align:l,crossAlign:u,padding:c,mirror:d}=o,h=Mt(r.grid),f=h+c,p=d?-c:f,g=-n.toRadians(this.labelRotation),m=[];let y,b,v,w,_,A,x,C,E,S,T,I,D="middle";if("top"===i)A=this.bottom-p,x=this._getXAxisLabelAlignment();else if("bottom"===i)A=this.top+p,x=this._getXAxisLabelAlignment();else if("left"===i){const t=this._getYAxisLabelAlignment(h);x=t.textAlign,_=t.x}else if("right"===i){const t=this._getYAxisLabelAlignment(h);x=t.textAlign,_=t.x}else if("x"===e){if("center"===i)A=(t.top+t.bottom)/2+f;else if(n.isObject(i)){const t=Object.keys(i)[0],e=i[t];A=this.chart.scales[t].getPixelForValue(e)+f}x=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===i)_=(t.left+t.right)/2-f;else if(n.isObject(i)){const t=Object.keys(i)[0],e=i[t];_=this.chart.scales[t].getPixelForValue(e)}x=this._getYAxisLabelAlignment(h).textAlign}"y"===e&&("start"===l?D="top":"end"===l&&(D="bottom"));const O=this._getLabelSizes();for(y=0,b=s.length;y<b;++y){v=s[y],w=v.label;const t=o.setContext(this.getContext(y));C=this.getPixelForTick(y)+o.labelOffset,E=this._resolveTickFontOptions(y),S=E.lineHeight,T=n.isArray(w)?w.length:1;const e=T/2,r=t.color,l=t.textStrokeColor,c=t.textStrokeWidth;let h,f=x;if(a?(_=C,"inner"===x&&(f=y===b-1?this.options.reverse?"left":"right":0===y?this.options.reverse?"right":"left":"center"),I="top"===i?"near"===u||0!==g?-T*S+S/2:"center"===u?-O.highest.height/2-e*S+S:-O.highest.height+S/2:"near"===u||0!==g?S/2:"center"===u?O.highest.height/2-e*S:O.highest.height-T*S,d&&(I*=-1),0===g||t.showLabelBackdrop||(_+=S/2*Math.sin(g))):(A=C,I=(1-T)*S/2),t.showLabelBackdrop){const e=n.toPadding(t.backdropPadding),r=O.heights[y],i=O.widths[y];let o=I-e.top,a=0-e.left;switch(D){case"middle":o-=r/2;break;case"bottom":o-=r}switch(x){case"center":a-=i/2;break;case"right":a-=i;break;case"inner":y===b-1?a-=i:y>0&&(a-=i/2)}h={left:a,top:o,width:i+e.width,height:r+e.height,color:t.backdropColor}}m.push({label:w,font:E,textOffset:I,options:{rotation:g,color:r,strokeColor:l,strokeWidth:c,textAlign:f,textBaseline:D,translation:[_,A],backdrop:h}})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-n.toRadians(this.labelRotation))return"top"===t?"left":"right";let r="center";return"start"===e.align?r="left":"end"===e.align?r="right":"inner"===e.align&&(r="inner"),r}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:r,mirror:n,padding:i}}=this.options,o=t+i,a=this._getLabelSizes().widest.width;let s,l;return"left"===e?n?(l=this.right+i,"near"===r?s="left":"center"===r?(s="center",l+=a/2):(s="right",l+=a)):(l=this.right-o,"near"===r?s="right":"center"===r?(s="center",l-=a/2):(s="left",l=this.left)):"right"===e?n?(l=this.left+i,"near"===r?s="right":"center"===r?(s="center",l-=a/2):(s="left",l-=a)):(l=this.left+o,"near"===r?s="left":"center"===r?(s="center",l+=a/2):(s="right",l=this.right)):s="right",{textAlign:s,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:r,top:n,width:i,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(r,n,i,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const r=this.ticks.findIndex((e=>e.value===t));if(r>=0){return e.setContext(this.getContext(r)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,r=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,o;const a=(t,e,n)=>{n.width&&n.color&&(r.save(),r.lineWidth=n.width,r.strokeStyle=n.color,r.setLineDash(n.borderDash||[]),r.lineDashOffset=n.borderDashOffset,r.beginPath(),r.moveTo(t.x,t.y),r.lineTo(e.x,e.y),r.stroke(),r.restore())};if(e.display)for(i=0,o=n.length;i<o;++i){const t=n[i];e.drawOnChartArea&&a({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&a({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{border:r,grid:i}}=this,o=r.setContext(this.getContext()),a=r.display?o.width:0;if(!a)return;const s=i.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let u,c,d,h;this.isHorizontal()?(u=n._alignPixel(t,this.left,a)-a/2,c=n._alignPixel(t,this.right,s)+s/2,d=h=l):(d=n._alignPixel(t,this.top,a)-a/2,h=n._alignPixel(t,this.bottom,s)+s/2,u=c=l),e.save(),e.lineWidth=o.width,e.strokeStyle=o.color,e.beginPath(),e.moveTo(u,d),e.lineTo(c,h),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const e=this.ctx,r=this._computeLabelArea();r&&n.clipArea(e,r);const i=this.getLabelItems(t);for(const t of i){const r=t.options,i=t.font,o=t.label,a=t.textOffset;n.renderText(e,o,0,a,i,r)}r&&n.unclipArea(e)}drawTitle(){const{ctx:t,options:{position:e,title:r,reverse:i}}=this;if(!r.display)return;const o=n.toFont(r.font),a=n.toPadding(r.padding),s=r.align;let l=o.lineHeight/2;"bottom"===e||"center"===e||n.isObject(e)?(l+=a.bottom,n.isArray(r.text)&&(l+=o.lineHeight*(r.text.length-1))):l+=a.top;const{titleX:u,titleY:c,maxWidth:d,rotation:h}=function(t,e,r,i){const{top:o,left:a,bottom:s,right:l,chart:u}=t,{chartArea:c,scales:d}=u;let h,f,p,g=0;const m=s-o,y=l-a;if(t.isHorizontal()){if(f=n._alignStartEnd(i,a,l),n.isObject(r)){const t=Object.keys(r)[0],n=r[t];p=d[t].getPixelForValue(n)+m-e}else p="center"===r?(c.bottom+c.top)/2+m-e:Dt(t,r,e);h=l-a}else{if(n.isObject(r)){const t=Object.keys(r)[0],n=r[t];f=d[t].getPixelForValue(n)-y+e}else f="center"===r?(c.left+c.right)/2-y+e:Dt(t,r,e);p=n._alignStartEnd(i,s,o),g="left"===r?-n.HALF_PI:n.HALF_PI}return{titleX:f,titleY:p,maxWidth:h,rotation:g}}(this,l,e,s);n.renderText(t,r.text,0,0,o,{color:r.color,maxWidth:d,rotation:h,textAlign:kt(s,e,i),textBaseline:"middle",translation:[u,c]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,r=n.valueOrDefault(t.grid&&t.grid.z,-1),i=n.valueOrDefault(t.border&&t.border.z,0);return this._isVisible()&&this.draw===Bt.prototype.draw?[{z:r,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",n=[];let i,o;for(i=0,o=e.length;i<o;++i){const o=e[i];o[r]!==this.id||t&&o.type!==t||n.push(o)}return n}_resolveTickFontOptions(t){const e=this.options.ticks.setContext(this.getContext(t));return n.toFont(e.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Lt{constructor(t,e,r){this.type=t,this.scope=e,this.override=r,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let r;(function(t){return"id"in t&&"defaults"in t})(e)&&(r=this.register(e));const i=this.items,o=t.id,a=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+t);return o in i||(i[o]=t,function(t,e,r){const i=n.merge(Object.create(null),[r?n.defaults.get(r):{},n.defaults.get(e),t.defaults]);n.defaults.set(e,i),t.defaultRoutes&&function(t,e){Object.keys(e).forEach((r=>{const i=r.split("."),o=i.pop(),a=[t].concat(i).join("."),s=e[r].split("."),l=s.pop(),u=s.join(".");n.defaults.route(a,o,u,l)}))}(e,t.defaultRoutes);t.descriptors&&n.defaults.describe(e,t.descriptors)}(t,a,r),this.override&&n.defaults.override(t.id,t.overrides)),a}get(t){return this.items[t]}unregister(t){const e=this.items,r=t.id,i=this.scope;r in e&&delete e[r],i&&r in n.defaults[i]&&(delete n.defaults[i][r],this.override&&delete n.overrides[r])}}class Ft{constructor(){this.controllers=new Lt(_,"datasets",!0),this.elements=new Lt(St,"elements"),this.plugins=new Lt(Object,"plugins"),this.scales=new Lt(Bt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,r){[...e].forEach((e=>{const i=r||this._getRegistryForType(e);r||i.isForType(e)||i===this.plugins&&e.id?this._exec(t,i,e):n.each(e,(e=>{const n=r||this._getRegistryForType(e);this._exec(t,n,e)}))}))}_exec(t,e,r){const i=n._capitalize(t);n.callback(r["before"+i],[],r),e[t](r),n.callback(r["after"+i],[],r)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const r=this._typedRegistries[e];if(r.isForType(t))return r}return this.plugins}_get(t,e,r){const n=e.get(t);if(n===undefined)throw new Error('"'+t+'" is not a registered '+r+".");return n}}var jt=new Ft;class zt{constructor(){this._init=[]}notify(t,e,r,n){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const i=n?this._descriptors(t).filter(n):this._descriptors(t),o=this._notify(i,t,e,r);return"afterDestroy"===e&&(this._notify(i,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,r,i){i=i||{};for(const o of t){const t=o.plugin,a=t[r],s=[e,i,o.options];if(!1===n.callback(a,s,t)&&i.cancelable)return!1}return!0}invalidate(){n.isNullOrUndef(this._cache)||(this._oldCache=this._cache,this._cache=undefined)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const r=t&&t.config,i=n.valueOrDefault(r.options&&r.options.plugins,{}),o=function(t){const e={},r=[],n=Object.keys(jt.plugins.items);for(let t=0;t<n.length;t++)r.push(jt.getPlugin(n[t]));const i=t.plugins||[];for(let t=0;t<i.length;t++){const n=i[t];-1===r.indexOf(n)&&(r.push(n),e[n.id]=!0)}return{plugins:r,localIds:e}}(r);return!1!==i||e?function(t,{plugins:e,localIds:r},n,i){const o=[],a=t.getContext();for(const s of e){const e=s.id,l=Vt(n[e],i);null!==l&&o.push({plugin:s,options:Ht(t.config,{plugin:s,local:r[e]},l,a)})}return o}(t,o,i,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],r=this._cache,n=(t,e)=>t.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(n(e,r),t,"stop"),this._notify(n(r,e),t,"start")}}function Vt(t,e){return e||!1!==t?!0===t?{}:t:null}function Ht(t,{plugin:e,local:r},n,i){const o=t.pluginScopeKeys(e),a=t.getOptionScopes(n,o);return r&&e.defaults&&a.push(e.defaults),t.createResolver(a,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Ut(t,e){const r=n.defaults.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||r.indexAxis||"x"}function qt(t){if("x"===t||"y"===t||"r"===t)return t}function Wt(t,...e){if(qt(t))return t;for(const n of e){const e=n.axis||("top"===(r=n.position)||"bottom"===r?"x":"left"===r||"right"===r?"y":void 0)||t.length>1&&qt(t[0].toLowerCase());if(e)return e}var r;throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Gt(t,e,r){if(r[e+"AxisID"]===t)return{axis:e}}function Xt(t,e){const r=n.overrides[t.type]||{scales:{}},i=e.scales||{},o=Ut(t.type,e),a=Object.create(null);return Object.keys(i).forEach((e=>{const s=i[e];if(!n.isObject(s))return console.error(`Invalid scale configuration for scale: ${e}`);if(s._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const l=Wt(e,s,function(t,e){if(e.data&&e.data.datasets){const r=e.data.datasets.filter((e=>e.xAxisID===t||e.yAxisID===t));if(r.length)return Gt(t,"x",r[0])||Gt(t,"y",r[0])}return{}}(e,t),n.defaults.scales[s.type]),u=function(t,e){return t===e?"_index_":"_value_"}(l,o),c=r.scales||{};a[e]=n.mergeIf(Object.create(null),[{axis:l},s,c[l],c[u]])})),t.data.datasets.forEach((r=>{const o=r.type||t.type,s=r.indexAxis||Ut(o,e),l=(n.overrides[o]||{}).scales||{};Object.keys(l).forEach((t=>{const e=function(t,e){let r=t;return"_index_"===t?r=e:"_value_"===t&&(r="x"===e?"y":"x"),r}(t,s),o=r[e+"AxisID"]||e;a[o]=a[o]||Object.create(null),n.mergeIf(a[o],[{axis:e},i[o],l[t]])}))})),Object.keys(a).forEach((t=>{const e=a[t];n.mergeIf(e,[n.defaults.scales[e.type],n.defaults.scale])})),a}function Yt(t){const e=t.options||(t.options={});e.plugins=n.valueOrDefault(e.plugins,{}),e.scales=Xt(t,e)}function Kt(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const Zt=new Map,$t=new Set;function Qt(t,e){let r=Zt.get(t);return r||(r=e(),Zt.set(t,r),$t.add(r)),r}const Jt=(t,e,r)=>{const i=n.resolveObjectKey(e,r);i!==undefined&&t.add(i)};class te{constructor(t){this._config=function(t){return(t=t||{}).data=Kt(t.data),Yt(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=Kt(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),Yt(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Qt(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return Qt(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return Qt(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return Qt(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const r=this._scopeCache;let n=r.get(t);return n&&!e||(n=new Map,r.set(t,n)),n}getOptionScopes(t,e,r){const{options:i,type:o}=this,a=this._cachedScopes(t,r),s=a.get(e);if(s)return s;const l=new Set;e.forEach((e=>{t&&(l.add(t),e.forEach((e=>Jt(l,t,e)))),e.forEach((t=>Jt(l,i,t))),e.forEach((t=>Jt(l,n.overrides[o]||{},t))),e.forEach((t=>Jt(l,n.defaults,t))),e.forEach((t=>Jt(l,n.descriptors,t)))}));const u=Array.from(l);return 0===u.length&&u.push(Object.create(null)),$t.has(e)&&a.set(e,u),u}chartOptionScopes(){const{options:t,type:e}=this;return[t,n.overrides[e]||{},n.defaults.datasets[e]||{},{type:e},n.defaults,n.descriptors]}resolveNamedOptions(t,e,r,i=[""]){const o={$shared:!0},{resolver:a,subPrefixes:s}=ee(this._resolverCache,t,i);let l=a;if(function(t,e){const{isScriptable:r,isIndexable:i}=n._descriptors(t);for(const o of e){const e=r(o),a=i(o),s=(a||e)&&t[o];if(e&&(n.isFunction(s)||re(s))||a&&n.isArray(s))return!0}return!1}(a,e)){o.$shared=!1,r=n.isFunction(r)?r():r;const e=this.createResolver(t,r,s);l=n._attachContext(a,r,e)}for(const t of e)o[t]=l[t];return o}createResolver(t,e,r=[""],i){const{resolver:o}=ee(this._resolverCache,t,r);return n.isObject(e)?n._attachContext(o,e,undefined,i):o}}function ee(t,e,r){let i=t.get(e);i||(i=new Map,t.set(e,i));const o=r.join();let a=i.get(o);if(!a){a={resolver:n._createResolver(e,r),subPrefixes:r.filter((t=>!t.toLowerCase().includes("hover")))},i.set(o,a)}return a}const re=t=>n.isObject(t)&&Object.getOwnPropertyNames(t).some((e=>n.isFunction(t[e])));const ne=["top","bottom","left","right","chartArea"];function ie(t,e){return"top"===t||"bottom"===t||-1===ne.indexOf(t)&&"x"===e}function oe(t,e){return function(r,n){return r[t]===n[t]?r[e]-n[e]:r[t]-n[t]}}function ae(t){const e=t.chart,r=e.options.animation;e.notifyPlugins("afterRender"),n.callback(r&&r.onComplete,[t],e)}function se(t){const e=t.chart,r=e.options.animation;n.callback(r&&r.onProgress,[t],e)}function le(t){return n._isDomSupported()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const ue={},ce=t=>{const e=le(t);return Object.values(ue).filter((t=>t.canvas===e)).pop()};function de(t,e,r){const n=Object.keys(t);for(const i of n){const n=+i;if(n>=e){const o=t[i];delete t[i],(r>0||n>e)&&(t[n+r]=o)}}}function he(t,e,r){return t.options.clip?t[r]:e[r]}class fe{static defaults=n.defaults;static instances=ue;static overrides=n.overrides;static registry=jt;static version="4.4.1";static getChart=ce;static register(...t){jt.add(...t),pe()}static unregister(...t){jt.remove(...t),pe()}constructor(t,e){const r=this.config=new te(e),i=le(t),a=ce(i);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas with ID '"+a.canvas.id+"' can be reused.");const s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||Et(i)),this.platform.updateConfig(r);const l=this.platform.acquireContext(i,s.aspectRatio),u=l&&l.canvas,c=u&&u.height,d=u&&u.width;this.id=n.uid(),this.ctx=l,this.canvas=u,this.width=d,this.height=c,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=undefined,this.boxes=[],this.currentDevicePixelRatio=undefined,this.chartArea=undefined,this._active=[],this._lastEvent=undefined,this._listeners={},this._responsiveListeners=undefined,this._sortedMetasets=[],this.scales={},this._plugins=new zt,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=undefined,this.$context=undefined,this._doResize=n.debounce((t=>this.update(t)),s.resizeDelay||0),this._dataChanges=[],ue[this.id]=this,l&&u?(o.listen(this,"complete",ae),o.listen(this,"progress",se),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:r,height:i,_aspectRatio:o}=this;return n.isNullOrUndef(t)?e&&o?o:i?r/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return jt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():n.retinaScale(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return n.clearCanvas(this.canvas,this.ctx),this}stop(){return o.stop(this),this}resize(t,e){o.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const r=this.options,i=this.canvas,o=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(i,t,e,o),s=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,n.retinaScale(this,s,!0)&&(this.notifyPlugins("resize",{size:a}),n.callback(r.onResize,[this,a],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const t=this.options.scales||{};n.each(t,((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,r=this.scales,i=Object.keys(r).reduce(((t,e)=>(t[e]=!1,t)),{});let o=[];e&&(o=o.concat(Object.keys(e).map((t=>{const r=e[t],n=Wt(t,r),i="r"===n,o="x"===n;return{options:r,dposition:i?"chartArea":o?"bottom":"left",dtype:i?"radialLinear":o?"category":"linear"}})))),n.each(o,(e=>{const o=e.options,a=o.id,s=Wt(a,o),l=n.valueOrDefault(o.type,e.dtype);o.position!==undefined&&ie(o.position,s)===ie(e.dposition)||(o.position=e.dposition),i[a]=!0;let u=null;if(a in r&&r[a].type===l)u=r[a];else{u=new(jt.getScale(l))({id:a,type:l,ctx:this.ctx,chart:this}),r[u.id]=u}u.init(o,t)})),n.each(i,((t,e)=>{t||delete r[e]})),n.each(r,(t=>{st.configure(this,t,t.options),st.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,r=t.length;if(t.sort(((t,e)=>t.index-e.index)),r>e){for(let t=e;t<r;++t)this._destroyDatasetMeta(t);t.splice(e,r-e)}this._sortedMetasets=t.slice(0).sort(oe("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach(((t,r)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(r)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=e.length;r<i;r++){const i=e[r];let o=this.getDatasetMeta(r);const a=i.type||this.config.type;if(o.type&&o.type!==a&&(this._destroyDatasetMeta(r),o=this.getDatasetMeta(r)),o.type=a,o.indexAxis=i.indexAxis||Ut(a,this.options),o.order=i.order||0,o.index=r,o.label=""+i.label,o.visible=this.isDatasetVisible(r),o.controller)o.controller.updateIndex(r),o.controller.linkScales();else{const e=jt.getController(a),{datasetElementType:i,dataElementType:s}=n.defaults.datasets[a];Object.assign(e,{dataElementType:jt.getElement(s),datasetElementType:i&&jt.getElement(i)}),o.controller=new e(this,r),t.push(o.controller)}}return this._updateMetasets(),t}_resetElements(){n.each(this.data.datasets,((t,e)=>{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const r=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let t=0,e=this.data.datasets.length;t<e;t++){const{controller:e}=this.getDatasetMeta(t),r=!i&&-1===o.indexOf(e);e.buildOrUpdateElements(r),a=Math.max(+e.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),i||n.each(o,(t=>{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(oe("z","_idx"));const{_active:s,_lastEvent:l}=this;l?this._eventHandler(l,!0):s.length&&this._updateHoverStyles(s,s,!0),this.render()}_updateScales(){n.each(this.scales,(t=>{st.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),r=new Set(t.events);n.setsEqual(e,r)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:r,start:n,count:i}of e){de(t,n,"_removeElements"===r?-i:i)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,r=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),i=r(0);for(let t=1;t<e;t++)if(!n.setsEqual(i,r(t)))return;return Array.from(i).map((t=>t.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;st.update(this,this.width,this.height,t);const e=this.chartArea,r=e.width<=0||e.height<=0;this._layers=[],n.each(this.boxes,(t=>{r&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,r=this.data.datasets.length;e<r;++e)this._updateDataset(e,n.isFunction(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const r=this.getDatasetMeta(t),n={meta:r,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",n)&&(r.controller._update(e),n.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",n))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(o.has(this)?this.attached&&!o.running(this)&&o.start(this):(this.draw(),ae({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resize(t,e),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,r=[];let n,i;for(n=0,i=e.length;n<i;++n){const i=e[n];t&&!i.visible||r.push(i)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,r=t._clip,i=!r.disabled,o=function(t,e){const{xScale:r,yScale:n}=t;return r&&n?{left:he(r,e,"left"),right:he(r,e,"right"),top:he(n,e,"top"),bottom:he(n,e,"bottom")}:e}(t,this.chartArea),a={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(i&&n.clipArea(e,{left:!1===r.left?0:o.left-r.left,right:!1===r.right?this.width:o.right+r.right,top:!1===r.top?0:o.top-r.top,bottom:!1===r.bottom?this.height:o.bottom+r.bottom}),t.controller.draw(),i&&n.unclipArea(e),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(t){return n._isPointInArea(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,r,n){const i=Y.modes[e];return"function"==typeof i?i(this,t,r,n):[]}getDatasetMeta(t){const e=this.data.datasets[t],r=this._metasets;let n=r.filter((t=>t&&t._dataset===e)).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},r.push(n)),n}getContext(){return this.$context||(this.$context=n.createContext(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const r=this.getDatasetMeta(t);return"boolean"==typeof r.hidden?!r.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,r){const i=r?"show":"hide",o=this.getDatasetMeta(t),a=o.controller._resolveAnimations(undefined,i);n.defined(e)?(o.data[e].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),a.update(o,{visible:r}),this.update((e=>e.datasetIndex===t?i:undefined)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),o.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),n.clearCanvas(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),delete ue[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,r=(r,n)=>{e.addEventListener(this,r,n),t[r]=n},i=(t,e,r)=>{t.offsetX=e,t.offsetY=r,this._eventHandler(t)};n.each(this.options.events,(t=>r(t,i)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,r=(r,n)=>{e.addEventListener(this,r,n),t[r]=n},n=(r,n)=>{t[r]&&(e.removeEventListener(this,r,n),delete t[r])},i=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{n("attach",a),this.attached=!0,this.resize(),r("resize",i),r("detach",o)};o=()=>{this.attached=!1,n("resize",i),this._stop(),this._resize(0,0),r("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){n.each(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},n.each(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=undefined}updateHoverStyle(t,e,r){const n=r?"set":"remove";let i,o,a,s;for("dataset"===e&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+n+"DatasetHoverStyle"]()),a=0,s=t.length;a<s;++a){o=t[a];const e=o&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[n+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],r=t.map((({datasetIndex:t,index:e})=>{const r=this.getDatasetMeta(t);if(!r)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:r.data[e],index:e}}));!n._elementsEqual(r,e)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,e))}notifyPlugins(t,e,r){return this._plugins.notify(this,t,e,r)}isPluginEnabled(t){return 1===this._plugins._cache.filter((e=>e.plugin.id===t)).length}_updateHoverStyles(t,e,r){const n=this.options.hover,i=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=i(e,t),a=r?t:i(t,e);o.length&&this.updateHoverStyle(o,n.mode,!1),a.length&&n.mode&&this.updateHoverStyle(a,n.mode,!0)}_eventHandler(t,e){const r={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},n=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",r,n))return;const i=this._handleEvent(t,e,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,n),(i||r.changed)&&this.render(),this}_handleEvent(t,e,r){const{_active:i=[],options:o}=this,a=e,s=this._getActiveElements(t,i,r,a),l=n._isClickEvent(t),u=function(t,e,r,n){return r&&"mouseout"!==t.type?n?e:t:null}(t,this._lastEvent,r,l);r&&(this._lastEvent=null,n.callback(o.onHover,[t,s,this],this),l&&n.callback(o.onClick,[t,s,this],this));const c=!n._elementsEqual(s,i);return(c||e)&&(this._active=s,this._updateHoverStyles(s,i,e)),this._lastEvent=u,c}_getActiveElements(t,e,r,n){if("mouseout"===t.type)return[];if(!r)return e;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,n)}}function pe(){return n.each(fe.instances,(t=>t._plugins.invalidate()))}function ge(t,e,r,i){const o=(a=t.options.borderRadius,n._readValueToProps(a,["outerStart","outerEnd","innerStart","innerEnd"]));var a;const s=(r-e)/2,l=Math.min(s,i*e/2),u=t=>{const e=(r-Math.min(s,t))*i/2;return n._limitValue(t,0,Math.min(s,e))};return{outerStart:u(o.outerStart),outerEnd:u(o.outerEnd),innerStart:n._limitValue(o.innerStart,0,l),innerEnd:n._limitValue(o.innerEnd,0,l)}}function me(t,e,r,n){return{x:r+t*Math.cos(e),y:n+t*Math.sin(e)}}function ye(t,e,r,i,o,a){const{x:s,y:l,startAngle:u,pixelMargin:c,innerRadius:d}=e,h=Math.max(e.outerRadius+i+r-c,0),f=d>0?d+i+r+c:0;let p=0;const g=o-u;if(i){const t=((d>0?d-i:0)+(h>0?h-i:0))/2;p=(g-(0!==t?g*t/(t+i):g))/2}const m=(g-Math.max(.001,g*h-r/n.PI)/h)/2,y=u+m+p,b=o-m-p,{outerStart:v,outerEnd:w,innerStart:_,innerEnd:A}=ge(e,f,h,b-y),x=h-v,C=h-w,E=y+v/x,S=b-w/C,T=f+_,I=f+A,D=y+_/T,O=b-A/I;if(t.beginPath(),a){const e=(E+S)/2;if(t.arc(s,l,h,E,e),t.arc(s,l,h,e,S),w>0){const e=me(C,S,s,l);t.arc(e.x,e.y,w,S,b+n.HALF_PI)}const r=me(I,b,s,l);if(t.lineTo(r.x,r.y),A>0){const e=me(I,O,s,l);t.arc(e.x,e.y,A,b+n.HALF_PI,O+Math.PI)}const i=(b-A/f+(y+_/f))/2;if(t.arc(s,l,f,b-A/f,i,!0),t.arc(s,l,f,i,y+_/f,!0),_>0){const e=me(T,D,s,l);t.arc(e.x,e.y,_,D+Math.PI,y-n.HALF_PI)}const o=me(x,y,s,l);if(t.lineTo(o.x,o.y),v>0){const e=me(x,E,s,l);t.arc(e.x,e.y,v,y-n.HALF_PI,E)}}else{t.moveTo(s,l);const e=Math.cos(E)*h+s,r=Math.sin(E)*h+l;t.lineTo(e,r);const n=Math.cos(S)*h+s,i=Math.sin(S)*h+l;t.lineTo(n,i)}t.closePath()}function be(t,e,r,i,o){const{fullCircles:a,startAngle:s,circumference:l,options:u}=e,{borderWidth:c,borderJoinStyle:d,borderDash:h,borderDashOffset:f}=u,p="inner"===u.borderAlign;if(!c)return;t.setLineDash(h||[]),t.lineDashOffset=f,p?(t.lineWidth=2*c,t.lineJoin=d||"round"):(t.lineWidth=c,t.lineJoin=d||"bevel");let g=e.endAngle;if(a){ye(t,e,r,i,g,o);for(let e=0;e<a;++e)t.stroke();isNaN(l)||(g=s+(l%n.TAU||n.TAU))}p&&function(t,e,r){const{startAngle:i,pixelMargin:o,x:a,y:s,outerRadius:l,innerRadius:u}=e;let c=o/l;t.beginPath(),t.arc(a,s,l,i-c,r+c),u>o?(c=o/u,t.arc(a,s,u,r+c,i-c,!0)):t.arc(a,s,o,r+n.HALF_PI,i-n.HALF_PI),t.closePath(),t.clip()}(t,e,g),a||(ye(t,e,r,i,g,o),t.stroke())}class ve extends St{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:undefined,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:undefined,circular:!0};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(t){super(),this.options=undefined,this.circumference=undefined,this.startAngle=undefined,this.endAngle=undefined,this.innerRadius=undefined,this.outerRadius=undefined,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,r){const i=this.getProps(["x","y"],r),{angle:o,distance:a}=n.getAngleFromPoint(i,{x:t,y:e}),{startAngle:s,endAngle:l,innerRadius:u,outerRadius:c,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],r),h=(this.options.spacing+this.options.borderWidth)/2,f=n.valueOrDefault(d,l-s)>=n.TAU||n._angleBetween(o,s,l),p=n._isBetween(a,u+h,c+h);return f&&p}getCenterPoint(t){const{x:e,y:r,startAngle:n,endAngle:i,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:s,spacing:l}=this.options,u=(n+i)/2,c=(o+a+l+s)/2;return{x:e+Math.cos(u)*c,y:r+Math.sin(u)*c}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:r}=this,i=(e.offset||0)/4,o=(e.spacing||0)/2,a=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=r>n.TAU?Math.floor(r/n.TAU):0,0===r||this.innerRadius<0||this.outerRadius<0)return;t.save();const s=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(s)*i,Math.sin(s)*i);const l=i*(1-Math.sin(Math.min(n.PI,r||0)));t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,function(t,e,r,i,o){const{fullCircles:a,startAngle:s,circumference:l}=e;let u=e.endAngle;if(a){ye(t,e,r,i,u,o);for(let e=0;e<a;++e)t.fill();isNaN(l)||(u=s+(l%n.TAU||n.TAU))}ye(t,e,r,i,u,o),t.fill()}(t,this,l,o,a),be(t,this,l,o,a),t.restore()}}function we(t,e,r=e){t.lineCap=n.valueOrDefault(r.borderCapStyle,e.borderCapStyle),t.setLineDash(n.valueOrDefault(r.borderDash,e.borderDash)),t.lineDashOffset=n.valueOrDefault(r.borderDashOffset,e.borderDashOffset),t.lineJoin=n.valueOrDefault(r.borderJoinStyle,e.borderJoinStyle),t.lineWidth=n.valueOrDefault(r.borderWidth,e.borderWidth),t.strokeStyle=n.valueOrDefault(r.borderColor,e.borderColor)}function _e(t,e,r){t.lineTo(r.x,r.y)}function Ae(t,e,r={}){const n=t.length,{start:i=0,end:o=n-1}=r,{start:a,end:s}=e,l=Math.max(i,a),u=Math.min(o,s),c=i<a&&o<a||i>s&&o>s;return{count:n,start:l,loop:e.loop,ilen:u<l&&!c?n+u-l:u-l}}function xe(t,e,r,i){const{points:o,options:a}=e,{count:s,start:l,loop:u,ilen:c}=Ae(o,r,i),d=function(t){return t.stepped?n._steppedLineTo:t.tension||"monotone"===t.cubicInterpolationMode?n._bezierCurveTo:_e}(a);let h,f,p,{move:g=!0,reverse:m}=i||{};for(h=0;h<=c;++h)f=o[(l+(m?c-h:h))%s],f.skip||(g?(t.moveTo(f.x,f.y),g=!1):d(t,p,f,m,a.stepped),p=f);return u&&(f=o[(l+(m?c:0))%s],d(t,p,f,m,a.stepped)),!!u}function Ce(t,e,r,n){const i=e.points,{count:o,start:a,ilen:s}=Ae(i,r,n),{move:l=!0,reverse:u}=n||{};let c,d,h,f,p,g,m=0,y=0;const b=t=>(a+(u?s-t:t))%o,v=()=>{f!==p&&(t.lineTo(m,p),t.lineTo(m,f),t.lineTo(m,g))};for(l&&(d=i[b(0)],t.moveTo(d.x,d.y)),c=0;c<=s;++c){if(d=i[b(c)],d.skip)continue;const e=d.x,r=d.y,n=0|e;n===h?(r<f?f=r:r>p&&(p=r),m=(y*m+e)/++y):(v(),t.lineTo(e,r),h=n,y=0,f=p=r),g=r}v()}function Ee(t){const e=t.options,r=e.borderDash&&e.borderDash.length;return!(t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||r)?Ce:xe}const Se="function"==typeof Path2D;function Te(t,e,r,n){Se&&!e.options.segment?function(t,e,r,n){let i=e._path;i||(i=e._path=new Path2D,e.path(i,r,n)&&i.closePath()),we(t,e.options),t.stroke(i)}(t,e,r,n):function(t,e,r,n){const{segments:i,options:o}=e,a=Ee(e);for(const s of i)we(t,o,s.style),t.beginPath(),a(t,e,s,{start:r,end:r+n-1})&&t.closePath(),t.stroke()}(t,e,r,n)}class Ie extends St{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};constructor(t){super(),this.animated=!0,this.options=undefined,this._chart=undefined,this._loop=undefined,this._fullLoop=undefined,this._path=undefined,this._points=undefined,this._segments=undefined,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=undefined,t&&Object.assign(this,t)}updateControlPoints(t,e){const r=this.options;if((r.tension||"monotone"===r.cubicInterpolationMode)&&!r.stepped&&!this._pointsUpdated){const i=r.spanGaps?this._loop:this._fullLoop;n._updateBezierControlPoints(this._points,r,t,i,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=n._computeSegments(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,r=t.length;return r&&e[t[r-1].end]}interpolate(t,e){const r=this.options,i=t[e],o=this.points,a=n._boundSegments(this,{property:e,start:i,end:i});if(!a.length)return;const s=[],l=function(t){return t.stepped?n._steppedInterpolation:t.tension||"monotone"===t.cubicInterpolationMode?n._bezierInterpolation:n._pointInLine}(r);let u,c;for(u=0,c=a.length;u<c;++u){const{start:n,end:c}=a[u],d=o[n],h=o[c];if(d===h){s.push(d);continue}const f=l(d,h,Math.abs((i-d[e])/(h[e]-d[e])),r.stepped);f[e]=t[e],s.push(f)}return 1===s.length?s[0]:s}pathSegment(t,e,r){return Ee(this)(t,this,e,r)}path(t,e,r){const n=this.segments,i=Ee(this);let o=this._loop;e=e||0,r=r||this.points.length-e;for(const a of n)o&=i(t,this,a,{start:e,end:e+r-1});return!!o}draw(t,e,r,n){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(t.save(),Te(t,this,r,n),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=undefined)}}function De(t,e,r,n){const i=t.options,{[r]:o}=t.getProps([r],n);return Math.abs(e-o)<i.radius+i.hitRadius}class Oe extends St{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=undefined,this.parsed=undefined,this.skip=undefined,this.stop=undefined,t&&Object.assign(this,t)}inRange(t,e,r){const n=this.options,{x:i,y:o}=this.getProps(["x","y"],r);return Math.pow(t-i,2)+Math.pow(e-o,2)<Math.pow(n.hitRadius+n.radius,2)}inXRange(t,e){return De(this,t,"x",e)}inYRange(t,e){return De(this,t,"y",e)}getCenterPoint(t){const{x:e,y:r}=this.getProps(["x","y"],t);return{x:e,y:r}}size(t){let e=(t=t||this.options||{}).radius||0;e=Math.max(e,e&&t.hoverRadius||0);return 2*(e+(e&&t.borderWidth||0))}draw(t,e){const r=this.options;this.skip||r.radius<.1||!n._isPointInArea(this,e,this.size(r)/2)||(t.strokeStyle=r.borderColor,t.lineWidth=r.borderWidth,t.fillStyle=r.backgroundColor,n.drawPoint(t,r,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function Re(t,e){const{x:r,y:n,base:i,width:o,height:a}=t.getProps(["x","y","base","width","height"],e);let s,l,u,c,d;return t.horizontal?(d=a/2,s=Math.min(r,i),l=Math.max(r,i),u=n-d,c=n+d):(d=o/2,s=r-d,l=r+d,u=Math.min(n,i),c=Math.max(n,i)),{left:s,top:u,right:l,bottom:c}}function Pe(t,e,r,i){return t?0:n._limitValue(e,r,i)}function Me(t){const e=Re(t),r=e.right-e.left,i=e.bottom-e.top,o=function(t,e,r){const i=t.options.borderWidth,o=t.borderSkipped,a=n.toTRBL(i);return{t:Pe(o.top,a.top,0,r),r:Pe(o.right,a.right,0,e),b:Pe(o.bottom,a.bottom,0,r),l:Pe(o.left,a.left,0,e)}}(t,r/2,i/2),a=function(t,e,r){const{enableBorderRadius:i}=t.getProps(["enableBorderRadius"]),o=t.options.borderRadius,a=n.toTRBLCorners(o),s=Math.min(e,r),l=t.borderSkipped,u=i||n.isObject(o);return{topLeft:Pe(!u||l.top||l.left,a.topLeft,0,s),topRight:Pe(!u||l.top||l.right,a.topRight,0,s),bottomLeft:Pe(!u||l.bottom||l.left,a.bottomLeft,0,s),bottomRight:Pe(!u||l.bottom||l.right,a.bottomRight,0,s)}}(t,r/2,i/2);return{outer:{x:e.left,y:e.top,w:r,h:i,radius:a},inner:{x:e.left+o.l,y:e.top+o.t,w:r-o.l-o.r,h:i-o.t-o.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,a.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(o.b,o.r))}}}}function Ne(t,e,r,i){const o=null===e,a=null===r,s=t&&!(o&&a)&&Re(t,i);return s&&(o||n._isBetween(e,s.left,s.right))&&(a||n._isBetween(r,s.top,s.bottom))}function ke(t,e){t.rect(e.x,e.y,e.w,e.h)}function Be(t,e,r={}){const n=t.x!==r.x?-e:0,i=t.y!==r.y?-e:0,o=(t.x+t.w!==r.x+r.w?e:0)-n,a=(t.y+t.h!==r.y+r.h?e:0)-i;return{x:t.x+n,y:t.y+i,w:t.w+o,h:t.h+a,radius:t.radius}}class Le extends St{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:undefined};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=undefined,this.horizontal=undefined,this.base=undefined,this.width=undefined,this.height=undefined,this.inflateAmount=undefined,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:r,backgroundColor:i}}=this,{inner:o,outer:a}=Me(this),s=(l=a.radius).topLeft||l.topRight||l.bottomLeft||l.bottomRight?n.addRoundedRectPath:ke;var l;t.save(),a.w===o.w&&a.h===o.h||(t.beginPath(),s(t,Be(a,e,o)),t.clip(),s(t,Be(o,-e,a)),t.fillStyle=r,t.fill("evenodd")),t.beginPath(),s(t,Be(o,e)),t.fillStyle=i,t.fill(),t.restore()}inRange(t,e,r){return Ne(this,t,e,r)}inXRange(t,e){return Ne(this,t,null,e)}inYRange(t,e){return Ne(this,null,t,e)}getCenterPoint(t){const{x:e,y:r,base:n,horizontal:i}=this.getProps(["x","y","base","horizontal"],t);return{x:i?(e+n)/2:e,y:i?r:(r+n)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}var Fe=Object.freeze({__proto__:null,ArcElement:ve,BarElement:Le,LineElement:Ie,PointElement:Oe});const je=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],ze=je.map((t=>t.replace("rgb(","rgba(").replace(")",", 0.5)")));function Ve(t){return je[t%je.length]}function He(t){return ze[t%ze.length]}function Ue(t){let e=0;return(r,n)=>{const i=t.getDatasetMeta(n).controller;i instanceof P?e=function(t,e){return t.backgroundColor=t.data.map((()=>Ve(e++))),e}(r,e):i instanceof N?e=function(t,e){return t.backgroundColor=t.data.map((()=>He(e++))),e}(r,e):i&&(e=function(t,e){return t.borderColor=Ve(e),t.backgroundColor=He(e),++e}(r,e))}}function qe(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}var We={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,r){if(!r.enabled)return;const{data:{datasets:n},options:i}=t.config,{elements:o}=i;if(!r.forceOverride&&(qe(n)||(a=i)&&(a.borderColor||a.backgroundColor)||o&&qe(o)))return;var a;const s=Ue(t);n.forEach(s)}};function Ge(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function Xe(t){t.data.datasets.forEach((t=>{Ge(t)}))}var Ye={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,r)=>{if(!r.enabled)return void Xe(t);const i=t.width;t.data.datasets.forEach(((e,o)=>{const{_data:a,indexAxis:s}=e,l=t.getDatasetMeta(o),u=a||e.data;if("y"===n.resolve([s,t.options.indexAxis]))return;if(!l.controller.supportsDecimation)return;const c=t.scales[l.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(t.options.parsing)return;let{start:d,count:h}=function(t,e){const r=e.length;let i,o=0;const{iScale:a}=t,{min:s,max:l,minDefined:u,maxDefined:c}=a.getUserBounds();return u&&(o=n._limitValue(n._lookupByKey(e,a.axis,s).lo,0,r-1)),i=c?n._limitValue(n._lookupByKey(e,a.axis,l).hi+1,o,r)-o:r-o,{start:o,count:i}}(l,u);if(h<=(r.threshold||4*i))return void Ge(e);let f;switch(n.isNullOrUndef(a)&&(e._data=u,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),r.algorithm){case"lttb":f=function(t,e,r,n,i){const o=i.samples||n;if(o>=r)return t.slice(e,e+r);const a=[],s=(r-2)/(o-2);let l=0;const u=e+r-1;let c,d,h,f,p,g=e;for(a[l++]=t[g],c=0;c<o-2;c++){let n,i=0,o=0;const u=Math.floor((c+1)*s)+1+e,m=Math.min(Math.floor((c+2)*s)+1,r)+e,y=m-u;for(n=u;n<m;n++)i+=t[n].x,o+=t[n].y;i/=y,o/=y;const b=Math.floor(c*s)+1+e,v=Math.min(Math.floor((c+1)*s)+1,r)+e,{x:w,y:_}=t[g];for(h=f=-1,n=b;n<v;n++)f=.5*Math.abs((w-i)*(t[n].y-_)-(w-t[n].x)*(o-_)),f>h&&(h=f,d=t[n],p=n);a[l++]=d,g=p}return a[l++]=t[u],a}(u,d,h,i,r);break;case"min-max":f=function(t,e,r,i){let o,a,s,l,u,c,d,h,f,p,g=0,m=0;const y=[],b=e+r-1,v=t[e].x,w=t[b].x-v;for(o=e;o<e+r;++o){a=t[o],s=(a.x-v)/w*i,l=a.y;const e=0|s;if(e===u)l<f?(f=l,c=o):l>p&&(p=l,d=o),g=(m*g+a.x)/++m;else{const r=o-1;if(!n.isNullOrUndef(c)&&!n.isNullOrUndef(d)){const e=Math.min(c,d),n=Math.max(c,d);e!==h&&e!==r&&y.push({...t[e],x:g}),n!==h&&n!==r&&y.push({...t[n],x:g})}o>0&&r!==h&&y.push(t[r]),y.push(a),u=e,m=0,f=p=l,c=d=h=o}}return y}(u,d,h,i);break;default:throw new Error(`Unsupported decimation algorithm '${r.algorithm}'`)}e._decimated=f}))},destroy(t){Xe(t)}};function Ke(t,e,r,i){if(i)return;let o=e[t],a=r[t];return"angle"===t&&(o=n._normalizeAngle(o),a=n._normalizeAngle(a)),{property:t,start:o,end:a}}function Ze(t,e,r){for(;e>t;e--){const t=r[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function $e(t,e,r,n){return t&&e?n(t[r],e[r]):t?t[r]:e?e[r]:0}function Qe(t,e){let r=[],i=!1;return n.isArray(t)?(i=!0,r=t):r=function(t,e){const{x:r=null,y:n=null}=t||{},i=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=Ze(t,e,i);const a=i[t],s=i[e];null!==n?(o.push({x:a.x,y:n}),o.push({x:s.x,y:n})):null!==r&&(o.push({x:r,y:a.y}),o.push({x:r,y:s.y}))})),o}(t,e),r.length?new Ie({points:r,options:{tension:0},_loop:i,_fullLoop:i}):null}function Je(t){return t&&!1!==t.fill}function tr(t,e,r){let i=t[e].fill;const o=[e];let a;if(!r)return i;for(;!1!==i&&-1===o.indexOf(i);){if(!n.isNumberFinite(i))return i;if(a=t[i],!a)return!1;if(a.visible)return i;o.push(i),i=a.fill}return!1}function er(t,e,r){const i=function(t){const e=t.options,r=e.fill;let i=n.valueOrDefault(r&&r.target,r);i===undefined&&(i=!!e.backgroundColor);if(!1===i||null===i)return!1;if(!0===i)return"origin";return i}(t);if(n.isObject(i))return!isNaN(i.value)&&i;let o=parseFloat(i);return n.isNumberFinite(o)&&Math.floor(o)===o?function(t,e,r,n){"-"!==t&&"+"!==t||(r=e+r);if(r===e||r<0||r>=n)return!1;return r}(i[0],e,o,r):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function rr(t,e,r){const n=[];for(let i=0;i<r.length;i++){const o=r[i],{first:a,last:s,point:l}=nr(o,e,"x");if(!(!l||a&&s))if(a)n.unshift(l);else if(t.push(l),!s)break}t.push(...n)}function nr(t,e,r){const i=t.interpolate(e,r);if(!i)return{};const o=i[r],a=t.segments,s=t.points;let l=!1,u=!1;for(let t=0;t<a.length;t++){const e=a[t],i=s[e.start][r],c=s[e.end][r];if(n._isBetween(o,i,c)){l=o===i,u=o===c;break}}return{first:l,last:u,point:i}}class ir{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,r){const{x:i,y:o,radius:a}=this;return e=e||{start:0,end:n.TAU},t.arc(i,o,a,e.end,e.start,!0),!r.bounds}interpolate(t){const{x:e,y:r,radius:n}=this,i=t.angle;return{x:e+Math.cos(i)*n,y:r+Math.sin(i)*n,angle:i}}}function or(t){const{chart:e,fill:r,line:i}=t;if(n.isNumberFinite(r))return function(t,e){const r=t.getDatasetMeta(e),n=r&&t.isDatasetVisible(e);return n?r.dataset:null}(e,r);if("stack"===r)return function(t){const{scale:e,index:r,line:n}=t,i=[],o=n.segments,a=n.points,s=function(t,e){const r=[],n=t.getMatchingVisibleMetas("line");for(let t=0;t<n.length;t++){const i=n[t];if(i.index===e)break;i.hidden||r.unshift(i.dataset)}return r}(e,r);s.push(Qe({x:null,y:e.bottom},n));for(let t=0;t<o.length;t++){const e=o[t];for(let t=e.start;t<=e.end;t++)rr(i,a[t],s)}return new Ie({points:i,options:{}})}(t);if("shape"===r)return!0;const o=function(t){const e=t.scale||{};if(e.getPointPositionForValue)return function(t){const{scale:e,fill:r}=t,i=e.options,o=e.getLabels().length,a=i.reverse?e.max:e.min,s=function(t,e,r){let i;return i="start"===t?r:"end"===t?e.options.reverse?e.min:e.max:n.isObject(t)?t.value:e.getBaseValue(),i}(r,e,a),l=[];if(i.grid.circular){const t=e.getPointPositionForValue(0,a);return new ir({x:t.x,y:t.y,radius:e.getDistanceFromCenterForValue(s)})}for(let t=0;t<o;++t)l.push(e.getPointPositionForValue(t,s));return l}(t);return function(t){const{scale:e={},fill:r}=t,i=function(t,e){let r=null;return"start"===t?r=e.bottom:"end"===t?r=e.top:n.isObject(t)?r=e.getPixelForValue(t.value):e.getBasePixel&&(r=e.getBasePixel()),r}(r,e);if(n.isNumberFinite(i)){const t=e.isHorizontal();return{x:t?i:null,y:t?null:i}}return null}(t)}(t);return o instanceof ir?o:Qe(o,i)}function ar(t,e,r){const i=or(e),{line:o,scale:a,axis:s}=e,l=o.options,u=l.fill,c=l.backgroundColor,{above:d=c,below:h=c}=u||{};i&&o.points.length&&(n.clipArea(t,r),function(t,e){const{line:r,target:n,above:i,below:o,area:a,scale:s}=e,l=r._loop?"angle":e.axis;t.save(),"x"===l&&o!==i&&(sr(t,n,a.top),lr(t,{line:r,target:n,color:i,scale:s,property:l}),t.restore(),t.save(),sr(t,n,a.bottom));lr(t,{line:r,target:n,color:o,scale:s,property:l}),t.restore()}(t,{line:o,target:i,above:d,below:h,area:r,scale:a,axis:s}),n.unclipArea(t))}function sr(t,e,r){const{segments:n,points:i}=e;let o=!0,a=!1;t.beginPath();for(const s of n){const{start:n,end:l}=s,u=i[n],c=i[Ze(n,l,i)];o?(t.moveTo(u.x,u.y),o=!1):(t.lineTo(u.x,r),t.lineTo(u.x,u.y)),a=!!e.pathSegment(t,s,{move:a}),a?t.closePath():t.lineTo(c.x,r)}t.lineTo(e.first().x,r),t.closePath(),t.clip()}function lr(t,e){const{line:r,target:i,property:o,color:a,scale:s}=e,l=function(t,e,r){const i=t.segments,o=t.points,a=e.points,s=[];for(const t of i){let{start:i,end:l}=t;l=Ze(i,l,o);const u=Ke(r,o[i],o[l],t.loop);if(!e.segments){s.push({source:t,target:u,start:o[i],end:o[l]});continue}const c=n._boundSegments(e,u);for(const e of c){const i=Ke(r,a[e.start],a[e.end],e.loop),l=n._boundSegment(t,o,i);for(const t of l)s.push({source:t,target:e,start:{[r]:$e(u,i,"start",Math.max)},end:{[r]:$e(u,i,"end",Math.min)}})}}return s}(r,i,o);for(const{source:e,target:n,start:u,end:c}of l){const{style:{backgroundColor:l=a}={}}=e,d=!0!==i;t.save(),t.fillStyle=l,ur(t,s,d&&Ke(o,u,c)),t.beginPath();const h=!!r.pathSegment(t,e);let f;if(d){h?t.closePath():cr(t,i,c,o);const e=!!i.pathSegment(t,n,{move:h,reverse:!0});f=h&&e,f||cr(t,i,u,o)}t.closePath(),t.fill(f?"evenodd":"nonzero"),t.restore()}}function ur(t,e,r){const{top:n,bottom:i}=e.chart.chartArea,{property:o,start:a,end:s}=r||{};"x"===o&&(t.beginPath(),t.rect(a,n,s-a,i-n),t.clip())}function cr(t,e,r,n){const i=e.interpolate(r,n);i&&t.lineTo(i.x,i.y)}var dr={id:"filler",afterDatasetsUpdate(t,e,r){const n=(t.data.datasets||[]).length,i=[];let o,a,s,l;for(a=0;a<n;++a)o=t.getDatasetMeta(a),s=o.dataset,l=null,s&&s.options&&s instanceof Ie&&(l={visible:t.isDatasetVisible(a),index:a,fill:er(s,a,n),chart:t,axis:o.controller.options.indexAxis,scale:o.vScale,line:s}),o.$filler=l,i.push(l);for(a=0;a<n;++a)l=i[a],l&&!1!==l.fill&&(l.fill=tr(i,a,r.propagate))},beforeDraw(t,e,r){const n="beforeDraw"===r.drawTime,i=t.getSortedVisibleDatasetMetas(),o=t.chartArea;for(let e=i.length-1;e>=0;--e){const r=i[e].$filler;r&&(r.line.updateControlPoints(o,r.axis),n&&r.fill&&ar(t.ctx,r,o))}},beforeDatasetsDraw(t,e,r){if("beforeDatasetsDraw"!==r.drawTime)return;const n=t.getSortedVisibleDatasetMetas();for(let e=n.length-1;e>=0;--e){const r=n[e].$filler;Je(r)&&ar(t.ctx,r,t.chartArea)}},beforeDatasetDraw(t,e,r){const n=e.meta.$filler;Je(n)&&"beforeDatasetDraw"===r.drawTime&&ar(t.ctx,n,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const hr=(t,e)=>{let{boxHeight:r=e,boxWidth:n=e}=t;return t.usePointStyle&&(r=Math.min(r,e),n=t.pointStyleWidth||Math.min(n,e)),{boxWidth:n,boxHeight:r,itemHeight:Math.max(e,r)}};class fr extends St{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=undefined,this.columnSizes=undefined,this.lineWidths=undefined,this.maxHeight=undefined,this.maxWidth=undefined,this.top=undefined,this.bottom=undefined,this.left=undefined,this.right=undefined,this.height=undefined,this.width=undefined,this._margins=undefined,this.position=undefined,this.weight=undefined,this.fullSize=undefined}update(t,e,r){this.maxWidth=t,this.maxHeight=e,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=n.callback(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,r)=>t.sort(e,r,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const r=t.labels,i=n.toFont(r.font),o=i.size,a=this._computeTitleHeight(),{boxWidth:s,itemHeight:l}=hr(r,o);let u,c;e.font=i.string,this.isHorizontal()?(u=this.maxWidth,c=this._fitRows(a,o,s,l)+10):(c=this.maxHeight,u=this._fitCols(a,i,s,l)+10),this.width=Math.min(u,t.maxWidth||this.maxWidth),this.height=Math.min(c,t.maxHeight||this.maxHeight)}_fitRows(t,e,r,n){const{ctx:i,maxWidth:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.lineWidths=[0],u=n+a;let c=t;i.textAlign="left",i.textBaseline="middle";let d=-1,h=-u;return this.legendItems.forEach(((t,f)=>{const p=r+e/2+i.measureText(t.text).width;(0===f||l[l.length-1]+p+2*a>o)&&(c+=u,l[l.length-(f>0?0:1)]=0,h+=u,d++),s[f]={left:0,top:h,row:d,width:p,height:n},l[l.length-1]+=p+a})),c}_fitCols(t,e,r,n){const{ctx:i,maxHeight:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.columnSizes=[],u=o-t;let c=a,d=0,h=0,f=0,p=0;return this.legendItems.forEach(((t,o)=>{const{itemWidth:g,itemHeight:m}=function(t,e,r,n,i){const o=function(t,e,r,n){let i=t.text;i&&"string"!=typeof i&&(i=i.reduce(((t,e)=>t.length>e.length?t:e)));return e+r.size/2+n.measureText(i).width}(n,t,e,r),a=function(t,e,r){let n=t;"string"!=typeof e.text&&(n=pr(e,r));return n}(i,n,e.lineHeight);return{itemWidth:o,itemHeight:a}}(r,e,i,t,n);o>0&&h+m+2*a>u&&(c+=d+a,l.push({width:d,height:h}),f+=d+a,p++,d=h=0),s[o]={left:f,top:h,col:p,width:g,height:m},d=Math.max(d,g),h+=m+a})),c+=d,l.push({width:d,height:h}),c}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:r,labels:{padding:i},rtl:o}}=this,a=n.getRtlAdapter(o,this.left,this.width);if(this.isHorizontal()){let o=0,s=n._alignStartEnd(r,this.left+i,this.right-this.lineWidths[o]);for(const l of e)o!==l.row&&(o=l.row,s=n._alignStartEnd(r,this.left+i,this.right-this.lineWidths[o])),l.top+=this.top+t+i,l.left=a.leftForLtr(a.x(s),l.width),s+=l.width+i}else{let o=0,s=n._alignStartEnd(r,this.top+t+i,this.bottom-this.columnSizes[o].height);for(const l of e)l.col!==o&&(o=l.col,s=n._alignStartEnd(r,this.top+t+i,this.bottom-this.columnSizes[o].height)),l.top=s,l.left+=this.left+i,l.left=a.leftForLtr(a.x(l.left),l.width),s+=l.height+i}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;n.clipArea(t,this),this._draw(),n.unclipArea(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:r,ctx:i}=this,{align:o,labels:a}=t,s=n.defaults.color,l=n.getRtlAdapter(t.rtl,this.left,this.width),u=n.toFont(a.font),{padding:c}=a,d=u.size,h=d/2;let f;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=u.string;const{boxWidth:p,boxHeight:g,itemHeight:m}=hr(a,d),y=this.isHorizontal(),b=this._computeTitleHeight();f=y?{x:n._alignStartEnd(o,this.left+c,this.right-r[0]),y:this.top+c+b,line:0}:{x:this.left+c,y:n._alignStartEnd(o,this.top+b+c,this.bottom-e[0].height),line:0},n.overrideTextDirection(this.ctx,t.textDirection);const v=m+c;this.legendItems.forEach(((w,_)=>{i.strokeStyle=w.fontColor,i.fillStyle=w.fontColor;const A=i.measureText(w.text).width,x=l.textAlign(w.textAlign||(w.textAlign=a.textAlign)),C=p+h+A;let E=f.x,S=f.y;l.setWidth(this.width),y?_>0&&E+C+c>this.right&&(S=f.y+=v,f.line++,E=f.x=n._alignStartEnd(o,this.left+c,this.right-r[f.line])):_>0&&S+v>this.bottom&&(E=f.x=E+e[f.line].width+c,f.line++,S=f.y=n._alignStartEnd(o,this.top+b+c,this.bottom-e[f.line].height));if(function(t,e,r){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;i.save();const o=n.valueOrDefault(r.lineWidth,1);if(i.fillStyle=n.valueOrDefault(r.fillStyle,s),i.lineCap=n.valueOrDefault(r.lineCap,"butt"),i.lineDashOffset=n.valueOrDefault(r.lineDashOffset,0),i.lineJoin=n.valueOrDefault(r.lineJoin,"miter"),i.lineWidth=o,i.strokeStyle=n.valueOrDefault(r.strokeStyle,s),i.setLineDash(n.valueOrDefault(r.lineDash,[])),a.usePointStyle){const s={radius:g*Math.SQRT2/2,pointStyle:r.pointStyle,rotation:r.rotation,borderWidth:o},u=l.xPlus(t,p/2),c=e+h;n.drawPointLegend(i,s,u,c,a.pointStyleWidth&&p)}else{const a=e+Math.max((d-g)/2,0),s=l.leftForLtr(t,p),u=n.toTRBLCorners(r.borderRadius);i.beginPath(),Object.values(u).some((t=>0!==t))?n.addRoundedRectPath(i,{x:s,y:a,w:p,h:g,radius:u}):i.rect(s,a,p,g),i.fill(),0!==o&&i.stroke()}i.restore()}(l.x(E),S,w),E=n._textX(x,E+p+h,y?E+C:this.right,t.rtl),function(t,e,r){n.renderText(i,r.text,t,e+m/2,u,{strikethrough:r.hidden,textAlign:l.textAlign(r.textAlign)})}(l.x(E),S,w),y)f.x+=C+c;else if("string"!=typeof w.text){const t=u.lineHeight;f.y+=pr(w,t)+c}else f.y+=v})),n.restoreTextDirection(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,r=n.toFont(e.font),i=n.toPadding(e.padding);if(!e.display)return;const o=n.getRtlAdapter(t.rtl,this.left,this.width),a=this.ctx,s=e.position,l=r.size/2,u=i.top+l;let c,d=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),c=this.top+u,d=n._alignStartEnd(t.align,d,this.right-h);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);c=u+n._alignStartEnd(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const f=n._alignStartEnd(s,d,d+h);a.textAlign=o.textAlign(n._toLeftRightCenter(s)),a.textBaseline="middle",a.strokeStyle=e.color,a.fillStyle=e.color,a.font=r.string,n.renderText(a,e.text,f,c,r)}_computeTitleHeight(){const t=this.options.title,e=n.toFont(t.font),r=n.toPadding(t.padding);return t.display?e.lineHeight+r.height:0}_getLegendItemAt(t,e){let r,i,o;if(n._isBetween(t,this.left,this.right)&&n._isBetween(e,this.top,this.bottom))for(o=this.legendHitBoxes,r=0;r<o.length;++r)if(i=o[r],n._isBetween(t,i.left,i.left+i.width)&&n._isBetween(e,i.top,i.top+i.height))return this.legendItems[r];return null}handleEvent(t){const e=this.options;if(!function(t,e){if(("mousemove"===t||"mouseout"===t)&&(e.onHover||e.onLeave))return!0;if(e.onClick&&("click"===t||"mouseup"===t))return!0;return!1}(t.type,e))return;const r=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const a=this._hoveredItem,s=(o=r,null!==(i=a)&&null!==o&&i.datasetIndex===o.datasetIndex&&i.index===o.index);a&&!s&&n.callback(e.onLeave,[t,a,this],this),this._hoveredItem=r,r&&!s&&n.callback(e.onHover,[t,r,this],this)}else r&&n.callback(e.onClick,[t,r,this],this);var i,o}}function pr(t,e){return e*(t.text?t.text.length:0)}var gr={id:"legend",_element:fr,start(t,e,r){const n=t.legend=new fr({ctx:t.ctx,options:r,chart:t});st.configure(t,n,r),st.addBox(t,n)},stop(t){st.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,r){const n=t.legend;st.configure(t,n,r),n.options=r},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,r){const n=e.datasetIndex,i=r.chart;i.isDatasetVisible(n)?(i.hide(n),e.hidden=!0):(i.show(n),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:r,pointStyle:i,textAlign:o,color:a,useBorderRadius:s,borderRadius:l}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const u=t.controller.getStyle(r?0:undefined),c=n.toPadding(u.borderWidth);return{text:e[t.index].label,fillStyle:u.backgroundColor,fontColor:a,hidden:!t.visible,lineCap:u.borderCapStyle,lineDash:u.borderDash,lineDashOffset:u.borderDashOffset,lineJoin:u.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:u.borderColor,pointStyle:i||u.pointStyle,rotation:u.rotation,textAlign:o||u.textAlign,borderRadius:s&&(l||u.borderRadius),datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class mr extends St{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=undefined,this.top=undefined,this.bottom=undefined,this.left=undefined,this.right=undefined,this.width=undefined,this.height=undefined,this.position=undefined,this.weight=undefined,this.fullSize=undefined}update(t,e){const r=this.options;if(this.left=0,this.top=0,!r.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const i=n.isArray(r.text)?r.text.length:1;this._padding=n.toPadding(r.padding);const o=i*n.toFont(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:r,bottom:i,right:o,options:a}=this,s=a.align;let l,u,c,d=0;return this.isHorizontal()?(u=n._alignStartEnd(s,r,o),c=e+t,l=o-r):("left"===a.position?(u=r+t,c=n._alignStartEnd(s,i,e),d=-.5*n.PI):(u=o-t,c=n._alignStartEnd(s,e,i),d=.5*n.PI),l=i-e),{titleX:u,titleY:c,maxWidth:l,rotation:d}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const r=n.toFont(e.font),i=r.lineHeight/2+this._padding.top,{titleX:o,titleY:a,maxWidth:s,rotation:l}=this._drawArgs(i);n.renderText(t,e.text,0,0,r,{color:e.color,maxWidth:s,rotation:l,textAlign:n._toLeftRightCenter(e.align),textBaseline:"middle",translation:[o,a]})}}var yr={id:"title",_element:mr,start(t,e,r){!function(t,e){const r=new mr({ctx:t.ctx,options:e,chart:t});st.configure(t,r,e),st.addBox(t,r),t.titleBlock=r}(t,r)},stop(t){const e=t.titleBlock;st.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,r){const n=t.titleBlock;st.configure(t,n,r),n.options=r},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const br=new WeakMap;var vr={id:"subtitle",start(t,e,r){const n=new mr({ctx:t.ctx,options:r,chart:t});st.configure(t,n,r),st.addBox(t,n),br.set(t,n)},stop(t){st.removeBox(t,br.get(t)),br.delete(t)},beforeUpdate(t,e,r){const n=br.get(t);st.configure(t,n,r),n.options=r},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const wr={average(t){if(!t.length)return!1;let e,r,n=0,i=0,o=0;for(e=0,r=t.length;e<r;++e){const r=t[e].element;if(r&&r.hasValue()){const t=r.tooltipPosition();n+=t.x,i+=t.y,++o}}return{x:n/o,y:i/o}},nearest(t,e){if(!t.length)return!1;let r,i,o,a=e.x,s=e.y,l=Number.POSITIVE_INFINITY;for(r=0,i=t.length;r<i;++r){const i=t[r].element;if(i&&i.hasValue()){const t=i.getCenterPoint(),r=n.distanceBetweenPoints(e,t);r<l&&(l=r,o=i)}}if(o){const t=o.tooltipPosition();a=t.x,s=t.y}return{x:a,y:s}}};function _r(t,e){return e&&(n.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Ar(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function xr(t,e){const{element:r,datasetIndex:n,index:i}=e,o=t.getDatasetMeta(n).controller,{label:a,value:s}=o.getLabelAndValue(i);return{chart:t,label:a,parsed:o.getParsed(i),raw:t.data.datasets[n].data[i],formattedValue:s,dataset:o.getDataset(),dataIndex:i,datasetIndex:n,element:r}}function Cr(t,e){const r=t.chart.ctx,{body:i,footer:o,title:a}=t,{boxWidth:s,boxHeight:l}=e,u=n.toFont(e.bodyFont),c=n.toFont(e.titleFont),d=n.toFont(e.footerFont),h=a.length,f=o.length,p=i.length,g=n.toPadding(e.padding);let m=g.height,y=0,b=i.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(b+=t.beforeBody.length+t.afterBody.length,h&&(m+=h*c.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),b){m+=p*(e.displayColors?Math.max(l,u.lineHeight):u.lineHeight)+(b-p)*u.lineHeight+(b-1)*e.bodySpacing}f&&(m+=e.footerMarginTop+f*d.lineHeight+(f-1)*e.footerSpacing);let v=0;const w=function(t){y=Math.max(y,r.measureText(t).width+v)};return r.save(),r.font=c.string,n.each(t.title,w),r.font=u.string,n.each(t.beforeBody.concat(t.afterBody),w),v=e.displayColors?s+2+e.boxPadding:0,n.each(i,(t=>{n.each(t.before,w),n.each(t.lines,w),n.each(t.after,w)})),v=0,r.font=d.string,n.each(t.footer,w),r.restore(),y+=g.width,{width:y,height:m}}function Er(t,e,r,n){const{x:i,width:o}=r,{width:a,chartArea:{left:s,right:l}}=t;let u="center";return"center"===n?u=i<=(s+l)/2?"left":"right":i<=o/2?u="left":i>=a-o/2&&(u="right"),function(t,e,r,n){const{x:i,width:o}=n,a=r.caretSize+r.caretPadding;return"left"===t&&i+o+a>e.width||"right"===t&&i-o-a<0||void 0}(u,t,e,r)&&(u="center"),u}function Sr(t,e,r){const n=r.yAlign||e.yAlign||function(t,e){const{y:r,height:n}=e;return r<n/2?"top":r>t.height-n/2?"bottom":"center"}(t,r);return{xAlign:r.xAlign||e.xAlign||Er(t,e,r,n),yAlign:n}}function Tr(t,e,r,i){const{caretSize:o,caretPadding:a,cornerRadius:s}=t,{xAlign:l,yAlign:u}=r,c=o+a,{topLeft:d,topRight:h,bottomLeft:f,bottomRight:p}=n.toTRBLCorners(s);let g=function(t,e){let{x:r,width:n}=t;return"right"===e?r-=n:"center"===e&&(r-=n/2),r}(e,l);const m=function(t,e,r){let{y:n,height:i}=t;return"top"===e?n+=r:n-="bottom"===e?i+r:i/2,n}(e,u,c);return"center"===u?"left"===l?g+=c:"right"===l&&(g-=c):"left"===l?g-=Math.max(d,f)+o:"right"===l&&(g+=Math.max(h,p)+o),{x:n._limitValue(g,0,i.width-e.width),y:n._limitValue(m,0,i.height-e.height)}}function Ir(t,e,r){const i=n.toPadding(r.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-i.right:t.x+i.left}function Dr(t){return _r([],Ar(t))}function Or(t,e){const r=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return r?t.override(r):t}const Rr={beforeTitle:n.noop,title(t){if(t.length>0){const e=t[0],r=e.chart.data.labels,n=r?r.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(n>0&&e.dataIndex<n)return r[e.dataIndex]}return""},afterTitle:n.noop,beforeBody:n.noop,beforeLabel:n.noop,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const r=t.formattedValue;return n.isNullOrUndef(r)||(e+=r),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:n.noop,afterBody:n.noop,beforeFooter:n.noop,footer:n.noop,afterFooter:n.noop};function Pr(t,e,r,n){const i=t[e].call(r,n);return void 0===i?Rr[e].call(r,n):i}class Mr extends St{static positioners=wr;constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=undefined,this._size=undefined,this._cachedAnimations=undefined,this._tooltipItems=[],this.$animations=undefined,this.$context=undefined,this.chart=t.chart,this.options=t.options,this.dataPoints=undefined,this.title=undefined,this.beforeBody=undefined,this.body=undefined,this.afterBody=undefined,this.footer=undefined,this.xAlign=undefined,this.yAlign=undefined,this.x=undefined,this.y=undefined,this.height=undefined,this.width=undefined,this.caretX=undefined,this.caretY=undefined,this.labelColors=undefined,this.labelPointStyles=undefined,this.labelTextColors=undefined}initialize(t){this.options=t,this._cachedAnimations=undefined,this.$context=undefined}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,r=this.options.setContext(this.getContext()),n=r.enabled&&e.options.animation&&r.animations,i=new u(this.chart,n);return n._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=(t=this.chart.getContext(),e=this,r=this._tooltipItems,n.createContext(t,{tooltip:e,tooltipItems:r,type:"tooltip"})));var t,e,r}getTitle(t,e){const{callbacks:r}=e,n=Pr(r,"beforeTitle",this,t),i=Pr(r,"title",this,t),o=Pr(r,"afterTitle",this,t);let a=[];return a=_r(a,Ar(n)),a=_r(a,Ar(i)),a=_r(a,Ar(o)),a}getBeforeBody(t,e){return Dr(Pr(e.callbacks,"beforeBody",this,t))}getBody(t,e){const{callbacks:r}=e,i=[];return n.each(t,(t=>{const e={before:[],lines:[],after:[]},n=Or(r,t);_r(e.before,Ar(Pr(n,"beforeLabel",this,t))),_r(e.lines,Pr(n,"label",this,t)),_r(e.after,Ar(Pr(n,"afterLabel",this,t))),i.push(e)})),i}getAfterBody(t,e){return Dr(Pr(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:r}=e,n=Pr(r,"beforeFooter",this,t),i=Pr(r,"footer",this,t),o=Pr(r,"afterFooter",this,t);let a=[];return a=_r(a,Ar(n)),a=_r(a,Ar(i)),a=_r(a,Ar(o)),a}_createItems(t){const e=this._active,r=this.chart.data,i=[],o=[],a=[];let s,l,u=[];for(s=0,l=e.length;s<l;++s)u.push(xr(this.chart,e[s]));return t.filter&&(u=u.filter(((e,n,i)=>t.filter(e,n,i,r)))),t.itemSort&&(u=u.sort(((e,n)=>t.itemSort(e,n,r)))),n.each(u,(e=>{const r=Or(t.callbacks,e);i.push(Pr(r,"labelColor",this,e)),o.push(Pr(r,"labelPointStyle",this,e)),a.push(Pr(r,"labelTextColor",this,e))})),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=a,this.dataPoints=u,u}update(t,e){const r=this.options.setContext(this.getContext()),n=this._active;let i,o=[];if(n.length){const t=wr[r.position].call(this,n,this._eventPosition);o=this._createItems(r),this.title=this.getTitle(o,r),this.beforeBody=this.getBeforeBody(o,r),this.body=this.getBody(o,r),this.afterBody=this.getAfterBody(o,r),this.footer=this.getFooter(o,r);const e=this._size=Cr(this,r),a=Object.assign({},t,e),s=Sr(this.chart,r,a),l=Tr(r,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=o,this.$context=undefined,i&&this._resolveAnimations().update(this,i),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,r,n){const i=this.getCaretPosition(t,r,n);e.lineTo(i.x1,i.y1),e.lineTo(i.x2,i.y2),e.lineTo(i.x3,i.y3)}getCaretPosition(t,e,r){const{xAlign:i,yAlign:o}=this,{caretSize:a,cornerRadius:s}=r,{topLeft:l,topRight:u,bottomLeft:c,bottomRight:d}=n.toTRBLCorners(s),{x:h,y:f}=t,{width:p,height:g}=e;let m,y,b,v,w,_;return"center"===o?(w=f+g/2,"left"===i?(m=h,y=m-a,v=w+a,_=w-a):(m=h+p,y=m+a,v=w-a,_=w+a),b=m):(y="left"===i?h+Math.max(l,c)+a:"right"===i?h+p-Math.max(u,d)-a:this.caretX,"top"===o?(v=f,w=v-a,m=y-a,b=y+a):(v=f+g,w=v+a,m=y+a,b=y-a),_=v),{x1:m,x2:y,x3:b,y1:v,y2:w,y3:_}}drawTitle(t,e,r){const i=this.title,o=i.length;let a,s,l;if(o){const u=n.getRtlAdapter(r.rtl,this.x,this.width);for(t.x=Ir(this,r.titleAlign,r),e.textAlign=u.textAlign(r.titleAlign),e.textBaseline="middle",a=n.toFont(r.titleFont),s=r.titleSpacing,e.fillStyle=r.titleColor,e.font=a.string,l=0;l<o;++l)e.fillText(i[l],u.x(t.x),t.y+a.lineHeight/2),t.y+=a.lineHeight+s,l+1===o&&(t.y+=r.titleMarginBottom-s)}}_drawColorBox(t,e,r,i,o){const a=this.labelColors[r],s=this.labelPointStyles[r],{boxHeight:l,boxWidth:u}=o,c=n.toFont(o.bodyFont),d=Ir(this,"left",o),h=i.x(d),f=l<c.lineHeight?(c.lineHeight-l)/2:0,p=e.y+f;if(o.usePointStyle){const e={radius:Math.min(u,l)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},r=i.leftForLtr(h,u)+u/2,c=p+l/2;t.strokeStyle=o.multiKeyBackground,t.fillStyle=o.multiKeyBackground,n.drawPoint(t,e,r,c),t.strokeStyle=a.borderColor,t.fillStyle=a.backgroundColor,n.drawPoint(t,e,r,c)}else{t.lineWidth=n.isObject(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,t.strokeStyle=a.borderColor,t.setLineDash(a.borderDash||[]),t.lineDashOffset=a.borderDashOffset||0;const e=i.leftForLtr(h,u),r=i.leftForLtr(i.xPlus(h,1),u-2),s=n.toTRBLCorners(a.borderRadius);Object.values(s).some((t=>0!==t))?(t.beginPath(),t.fillStyle=o.multiKeyBackground,n.addRoundedRectPath(t,{x:e,y:p,w:u,h:l,radius:s}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),n.addRoundedRectPath(t,{x:r,y:p+1,w:u-2,h:l-2,radius:s}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(e,p,u,l),t.strokeRect(e,p,u,l),t.fillStyle=a.backgroundColor,t.fillRect(r,p+1,u-2,l-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,e,r){const{body:i}=this,{bodySpacing:o,bodyAlign:a,displayColors:s,boxHeight:l,boxWidth:u,boxPadding:c}=r,d=n.toFont(r.bodyFont);let h=d.lineHeight,f=0;const p=n.getRtlAdapter(r.rtl,this.x,this.width),g=function(r){e.fillText(r,p.x(t.x+f),t.y+h/2),t.y+=h+o},m=p.textAlign(a);let y,b,v,w,_,A,x;for(e.textAlign=a,e.textBaseline="middle",e.font=d.string,t.x=Ir(this,m,r),e.fillStyle=r.bodyColor,n.each(this.beforeBody,g),f=s&&"right"!==m?"center"===a?u/2+c:u+2+c:0,w=0,A=i.length;w<A;++w){for(y=i[w],b=this.labelTextColors[w],e.fillStyle=b,n.each(y.before,g),v=y.lines,s&&v.length&&(this._drawColorBox(e,t,w,p,r),h=Math.max(d.lineHeight,l)),_=0,x=v.length;_<x;++_)g(v[_]),h=d.lineHeight;n.each(y.after,g)}f=0,h=d.lineHeight,n.each(this.afterBody,g),t.y-=o}drawFooter(t,e,r){const i=this.footer,o=i.length;let a,s;if(o){const l=n.getRtlAdapter(r.rtl,this.x,this.width);for(t.x=Ir(this,r.footerAlign,r),t.y+=r.footerMarginTop,e.textAlign=l.textAlign(r.footerAlign),e.textBaseline="middle",a=n.toFont(r.footerFont),e.fillStyle=r.footerColor,e.font=a.string,s=0;s<o;++s)e.fillText(i[s],l.x(t.x),t.y+a.lineHeight/2),t.y+=a.lineHeight+r.footerSpacing}}drawBackground(t,e,r,i){const{xAlign:o,yAlign:a}=this,{x:s,y:l}=t,{width:u,height:c}=r,{topLeft:d,topRight:h,bottomLeft:f,bottomRight:p}=n.toTRBLCorners(i.cornerRadius);e.fillStyle=i.backgroundColor,e.strokeStyle=i.borderColor,e.lineWidth=i.borderWidth,e.beginPath(),e.moveTo(s+d,l),"top"===a&&this.drawCaret(t,e,r,i),e.lineTo(s+u-h,l),e.quadraticCurveTo(s+u,l,s+u,l+h),"center"===a&&"right"===o&&this.drawCaret(t,e,r,i),e.lineTo(s+u,l+c-p),e.quadraticCurveTo(s+u,l+c,s+u-p,l+c),"bottom"===a&&this.drawCaret(t,e,r,i),e.lineTo(s+f,l+c),e.quadraticCurveTo(s,l+c,s,l+c-f),"center"===a&&"left"===o&&this.drawCaret(t,e,r,i),e.lineTo(s,l+d),e.quadraticCurveTo(s,l,s+d,l),e.closePath(),e.fill(),i.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,r=this.$animations,n=r&&r.x,i=r&&r.y;if(n||i){const r=wr[t.position].call(this,this._active,this._eventPosition);if(!r)return;const o=this._size=Cr(this,t),a=Object.assign({},r,this._size),s=Sr(e,t,a),l=Tr(t,a,s,e);n._to===l.x&&i._to===l.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=o.width,this.height=o.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(e);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=n.toPadding(e.padding),s=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&s&&(t.save(),t.globalAlpha=r,this.drawBackground(o,t,i,e),n.overrideTextDirection(t,e.textDirection),o.y+=a.top,this.drawTitle(o,t,e),this.drawBody(o,t,e),this.drawFooter(o,t,e),n.restoreTextDirection(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const r=this._active,i=t.map((({datasetIndex:t,index:e})=>{const r=this.chart.getDatasetMeta(t);if(!r)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:r.data[e],index:e}})),o=!n._elementsEqual(r,i),a=this._positionChanged(i,e);(o||a)&&(this._active=i,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,r=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],a=this._getActiveElements(t,o,e,r),s=this._positionChanged(a,t),l=e||!n._elementsEqual(a,o)||s;return l&&(this._active=a,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,r,n){const i=this.options;if("mouseout"===t.type)return[];if(!n)return e.filter((t=>this.chart.data.datasets[t.datasetIndex]&&this.chart.getDatasetMeta(t.datasetIndex).controller.getParsed(t.index)!==undefined));const o=this.chart.getElementsAtEventForMode(t,i.mode,i,r);return i.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:r,caretY:n,options:i}=this,o=wr[i.position].call(this,t,e);return!1!==o&&(r!==o.x||n!==o.y)}}var Nr={id:"tooltip",_element:Mr,positioners:wr,afterInit(t,e,r){r&&(t.tooltip=new Mr({chart:t,options:r}))},beforeUpdate(t,e,r){t.tooltip&&t.tooltip.initialize(r)},reset(t,e,r){t.tooltip&&t.tooltip.initialize(r)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const r={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",{...r,cancelable:!0}))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",r)}},afterEvent(t,e){if(t.tooltip){const r=e.replay;t.tooltip.handleEvent(e.event,r,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Rr},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},kr=Object.freeze({__proto__:null,Colors:We,Decimation:Ye,Filler:dr,Legend:gr,SubTitle:vr,Title:yr,Tooltip:Nr});function Br(t,e,r,n){const i=t.indexOf(e);if(-1===i)return((t,e,r,n)=>("string"==typeof e?(r=t.push(e)-1,n.unshift({index:r,label:e})):isNaN(e)&&(r=null),r))(t,e,r,n);return i!==t.lastIndexOf(e)?r:i}function Lr(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class Fr extends Bt{static id="category";static defaults={ticks:{callback:Lr}};constructor(t){super(t),this._startValue=undefined,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:r,label:n}of e)t[r]===n&&t.splice(r,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(n.isNullOrUndef(t))return null;const r=this.getLabels();return((t,e)=>null===t?null:n._limitValue(Math.round(t),0,e))(e=isFinite(e)&&r[e]===t?e:Br(r,t,n.valueOrDefault(e,t),this._addedLabels),r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:r,max:n}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(r=0),e||(n=this.getLabels().length-1)),this.min=r,this.max=n}buildTicks(){const t=this.min,e=this.max,r=this.options.offset,n=[];let i=this.getLabels();i=0===t&&e===i.length-1?i:i.slice(t,e+1),this._valueRange=Math.max(i.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let r=t;r<=e;r++)n.push({value:r});return n}getLabelForValue(t){return Lr.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function jr(t,e,{horizontal:r,minRotation:i}){const o=n.toRadians(i),a=(r?Math.sin(o):Math.cos(o))||.001,s=.75*e*(""+t).length;return Math.min(e/a,s)}class zr extends Bt{constructor(t){super(t),this.start=undefined,this.end=undefined,this._startValue=undefined,this._endValue=undefined,this._valueRange=0}parse(t,e){return n.isNullOrUndef(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:r}=this.getUserBounds();let{min:i,max:o}=this;const a=t=>i=e?i:t,s=t=>o=r?o:t;if(t){const t=n.sign(i),e=n.sign(o);t<0&&e<0?s(0):t>0&&e>0&&a(0)}if(i===o){let e=0===o?1:Math.abs(.05*o);s(o+e),t||a(i-e)}this.min=i,this.max=o}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:r,stepSize:n}=t;return n?(e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),r=r||11),r&&(e=Math.min(r,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i=function(t,e){const r=[],{bounds:i,step:o,min:a,max:s,precision:l,count:u,maxTicks:c,maxDigits:d,includeBounds:h}=t,f=o||1,p=c-1,{min:g,max:m}=e,y=!n.isNullOrUndef(a),b=!n.isNullOrUndef(s),v=!n.isNullOrUndef(u),w=(m-g)/(d+1);let _,A,x,C,E=n.niceNum((m-g)/p/f)*f;if(E<1e-14&&!y&&!b)return[{value:g},{value:m}];C=Math.ceil(m/E)-Math.floor(g/E),C>p&&(E=n.niceNum(C*E/p/f)*f),n.isNullOrUndef(l)||(_=Math.pow(10,l),E=Math.ceil(E*_)/_),"ticks"===i?(A=Math.floor(g/E)*E,x=Math.ceil(m/E)*E):(A=g,x=m),y&&b&&o&&n.almostWhole((s-a)/o,E/1e3)?(C=Math.round(Math.min((s-a)/E,c)),E=(s-a)/C,A=a,x=s):v?(A=y?a:A,x=b?s:x,C=u-1,E=(x-A)/C):(C=(x-A)/E,C=n.almostEquals(C,Math.round(C),E/1e3)?Math.round(C):Math.ceil(C));const S=Math.max(n._decimalPlaces(E),n._decimalPlaces(A));_=Math.pow(10,n.isNullOrUndef(l)?S:l),A=Math.round(A*_)/_,x=Math.round(x*_)/_;let T=0;for(y&&(h&&A!==a?(r.push({value:a}),A<a&&T++,n.almostEquals(Math.round((A+T*E)*_)/_,a,jr(a,w,t))&&T++):A<a&&T++);T<C;++T){const t=Math.round((A+T*E)*_)/_;if(b&&t>s)break;r.push({value:t})}return b&&h&&x!==s?r.length&&n.almostEquals(r[r.length-1].value,s,jr(s,w,t))?r[r.length-1].value=s:r.push({value:s}):b&&x!==s||r.push({value:x}),r}({maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&n._setMinAndMaxByKey(i,this,"value"),t.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}configure(){const t=this.ticks;let e=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const n=(r-e)/Math.max(t.length-1,1)/2;e-=n,r+=n}this._startValue=e,this._endValue=r,this._valueRange=r-e}getLabelForValue(t){return n.formatNumber(t,this.chart.options.locale,this.options.ticks.format)}}class Vr extends zr{static id="linear";static defaults={ticks:{callback:n.Ticks.formatters.numeric}};determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=n.isNumberFinite(t)?t:0,this.max=n.isNumberFinite(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,r=n.toRadians(this.options.ticks.minRotation),i=(t?Math.sin(r):Math.cos(r))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,o.lineHeight/i))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}const Hr=t=>Math.floor(n.log10(t)),Ur=(t,e)=>Math.pow(10,Hr(t)+e);function qr(t){return 1===t/Math.pow(10,Hr(t))}function Wr(t,e,r){const n=Math.pow(10,r),i=Math.floor(t/n);return Math.ceil(e/n)-i}function Gr(t,{min:e,max:r}){e=n.finiteOrDefault(t.min,e);const i=[],o=Hr(e);let a=function(t,e){let r=Hr(e-t);for(;Wr(t,e,r)>10;)r++;for(;Wr(t,e,r)<10;)r--;return Math.min(r,Hr(t))}(e,r),s=a<0?Math.pow(10,Math.abs(a)):1;const l=Math.pow(10,a),u=o>a?Math.pow(10,o):0,c=Math.round((e-u)*s)/s,d=Math.floor((e-u)/l/10)*l*10;let h=Math.floor((c-d)/Math.pow(10,a)),f=n.finiteOrDefault(t.min,Math.round((u+d+h*Math.pow(10,a))*s)/s);for(;f<r;)i.push({value:f,major:qr(f),significand:h}),h>=10?h=h<15?15:20:h++,h>=20&&(a++,h=2,s=a>=0?1:s),f=Math.round((u+d+h*Math.pow(10,a))*s)/s;const p=n.finiteOrDefault(t.max,f);return i.push({value:p,major:qr(p),significand:h}),i}class Xr extends Bt{static id="logarithmic";static defaults={ticks:{callback:n.Ticks.formatters.logarithmic,major:{enabled:!0}}};constructor(t){super(t),this.start=undefined,this.end=undefined,this._startValue=undefined,this._valueRange=0}parse(t,e){const r=zr.prototype.parse.apply(this,[t,e]);return 0===r?(this._zero=!0,undefined):n.isNumberFinite(r)&&r>0?r:null}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=n.isNumberFinite(t)?Math.max(0,t):null,this.max=n.isNumberFinite(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!n.isNumberFinite(this._userMin)&&(this.min=t===Ur(this.min,0)?Ur(this.min,-1):Ur(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let r=this.min,n=this.max;const i=e=>r=t?r:e,o=t=>n=e?n:t;r===n&&(r<=0?(i(1),o(10)):(i(Ur(r,-1)),o(Ur(n,1)))),r<=0&&i(Ur(n,-1)),n<=0&&o(Ur(r,1)),this.min=r,this.max=n}buildTicks(){const t=this.options,e=Gr({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&n._setMinAndMaxByKey(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return t===undefined?"0":n.formatNumber(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=n.log10(t),this._valueRange=n.log10(this.max)-n.log10(t)}getPixelForValue(t){return t!==undefined&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(n.log10(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function Yr(t){const e=t.ticks;if(e.display&&t.display){const t=n.toPadding(e.backdropPadding);return n.valueOrDefault(e.font&&e.font.size,n.defaults.font.size)+t.height}return 0}function Kr(t,e,r,n,i){return t===n||t===i?{start:e-r/2,end:e+r/2}:t<n||t>i?{start:e-r,end:e}:{start:e,end:e+r}}function Zr(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},r=Object.assign({},e),i=[],o=[],a=t._pointLabels.length,s=t.options.pointLabels,l=s.centerPointLabels?n.PI/a:0;for(let h=0;h<a;h++){const a=s.setContext(t.getPointLabelContext(h));o[h]=a.padding;const f=t.getPointPosition(h,t.drawingArea+o[h],l),p=n.toFont(a.font),g=(u=t.ctx,c=p,d=t._pointLabels[h],d=n.isArray(d)?d:[d],{w:n._longestText(u,c.string,d),h:d.length*c.lineHeight});i[h]=g;const m=n._normalizeAngle(t.getIndexAngle(h)+l),y=Math.round(n.toDegrees(m));$r(r,e,m,Kr(y,f.x,g.w,0,180),Kr(y,f.y,g.h,90,270))}var u,c,d;t.setCenterPoint(e.l-r.l,r.r-e.r,e.t-r.t,r.b-e.b),t._pointLabelItems=function(t,e,r){const i=[],o=t._pointLabels.length,a=t.options,{centerPointLabels:s,display:l}=a.pointLabels,u={extra:Yr(a)/2,additionalAngle:s?n.PI/o:0};let c;for(let n=0;n<o;n++){u.padding=r[n],u.size=e[n];const o=Qr(t,n,u);i.push(o),"auto"===l&&(o.visible=Jr(o,c),o.visible&&(c=o))}return i}(t,i,o)}function $r(t,e,r,n,i){const o=Math.abs(Math.sin(r)),a=Math.abs(Math.cos(r));let s=0,l=0;n.start<e.l?(s=(e.l-n.start)/o,t.l=Math.min(t.l,e.l-s)):n.end>e.r&&(s=(n.end-e.r)/o,t.r=Math.max(t.r,e.r+s)),i.start<e.t?(l=(e.t-i.start)/a,t.t=Math.min(t.t,e.t-l)):i.end>e.b&&(l=(i.end-e.b)/a,t.b=Math.max(t.b,e.b+l))}function Qr(t,e,r){const i=t.drawingArea,{extra:o,additionalAngle:a,padding:s,size:l}=r,u=t.getPointPosition(e,i+o+s,a),c=Math.round(n.toDegrees(n._normalizeAngle(u.angle+n.HALF_PI))),d=function(t,e,r){90===r||270===r?t-=e/2:(r>270||r<90)&&(t-=e);return t}(u.y,l.h,c),h=function(t){if(0===t||180===t)return"center";if(t<180)return"left";return"right"}(c),f=function(t,e,r){"right"===r?t-=e:"center"===r&&(t-=e/2);return t}(u.x,l.w,h);return{visible:!0,x:u.x,y:d,textAlign:h,left:f,top:d,right:f+l.w,bottom:d+l.h}}function Jr(t,e){if(!e)return!0;const{left:r,top:i,right:o,bottom:a}=t;return!(n._isPointInArea({x:r,y:i},e)||n._isPointInArea({x:r,y:a},e)||n._isPointInArea({x:o,y:i},e)||n._isPointInArea({x:o,y:a},e))}function tn(t,e,r){const{left:i,top:o,right:a,bottom:s}=r,{backdropColor:l}=e;if(!n.isNullOrUndef(l)){const r=n.toTRBLCorners(e.borderRadius),u=n.toPadding(e.backdropPadding);t.fillStyle=l;const c=i-u.left,d=o-u.top,h=a-i+u.width,f=s-o+u.height;Object.values(r).some((t=>0!==t))?(t.beginPath(),n.addRoundedRectPath(t,{x:c,y:d,w:h,h:f,radius:r}),t.fill()):t.fillRect(c,d,h,f)}}function en(t,e,r,i){const{ctx:o}=t;if(r)o.arc(t.xCenter,t.yCenter,e,0,n.TAU);else{let r=t.getPointPosition(0,e);o.moveTo(r.x,r.y);for(let n=1;n<i;n++)r=t.getPointPosition(n,e),o.lineTo(r.x,r.y)}}class rn extends zr{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:n.Ticks.formatters.numeric},pointLabels:{backdropColor:undefined,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(t){super(t),this.xCenter=undefined,this.yCenter=undefined,this.drawingArea=undefined,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=n.toPadding(Yr(this.options)/2),e=this.width=this.maxWidth-t.width,r=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+r/2+t.top),this.drawingArea=Math.floor(Math.min(e,r)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=n.isNumberFinite(t)&&!isNaN(t)?t:0,this.max=n.isNumberFinite(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Yr(this.options))}generateTickLabels(t){zr.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const r=n.callback(this.options.pointLabels.callback,[t,e],this);return r||0===r?r:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?Zr(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,r,n){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((r-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,r,n))}getIndexAngle(t){const e=n.TAU/(this._pointLabels.length||1),r=this.options.startAngle||0;return n._normalizeAngle(t*e+n.toRadians(r))}getDistanceFromCenterForValue(t){if(n.isNullOrUndef(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(n.isNullOrUndef(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const r=e[t];return function(t,e,r){return n.createContext(t,{label:r,index:e,type:"pointLabel"})}(this.getContext(),t,r)}}getPointPosition(t,e,r=0){const i=this.getIndexAngle(t)-n.HALF_PI+r;return{x:Math.cos(i)*e+this.xCenter,y:Math.sin(i)*e+this.yCenter,angle:i}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:r,right:n,bottom:i}=this._pointLabelItems[t];return{left:e,top:r,right:n,bottom:i}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const r=this.ctx;r.save(),r.beginPath(),en(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),r.closePath(),r.fillStyle=t,r.fill(),r.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:r,grid:i,border:o}=e,a=this._pointLabels.length;let s,l,u;if(e.pointLabels.display&&function(t,e){const{ctx:r,options:{pointLabels:i}}=t;for(let o=e-1;o>=0;o--){const e=t._pointLabelItems[o];if(!e.visible)continue;const a=i.setContext(t.getPointLabelContext(o));tn(r,a,e);const s=n.toFont(a.font),{x:l,y:u,textAlign:c}=e;n.renderText(r,t._pointLabels[o],l,u+s.lineHeight/2,s,{color:a.color,textAlign:c,textBaseline:"middle"})}}(this,a),i.display&&this.ticks.forEach(((t,e)=>{if(0!==e){l=this.getDistanceFromCenterForValue(t.value);const r=this.getContext(e),n=i.setContext(r),s=o.setContext(r);!function(t,e,r,n,i){const o=t.ctx,a=e.circular,{color:s,lineWidth:l}=e;!a&&!n||!s||!l||r<0||(o.save(),o.strokeStyle=s,o.lineWidth=l,o.setLineDash(i.dash),o.lineDashOffset=i.dashOffset,o.beginPath(),en(t,r,a,n),o.closePath(),o.stroke(),o.restore())}(this,n,l,a,s)}})),r.display){for(t.save(),s=a-1;s>=0;s--){const n=r.setContext(this.getPointLabelContext(s)),{color:i,lineWidth:o}=n;o&&i&&(t.lineWidth=o,t.strokeStyle=i,t.setLineDash(n.borderDash),t.lineDashOffset=n.borderDashOffset,l=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),u=this.getPointPosition(s,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(u.x,u.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,r=e.ticks;if(!r.display)return;const i=this.getIndexAngle(0);let o,a;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((i,s)=>{if(0===s&&!e.reverse)return;const l=r.setContext(this.getContext(s)),u=n.toFont(l.font);if(o=this.getDistanceFromCenterForValue(this.ticks[s].value),l.showLabelBackdrop){t.font=u.string,a=t.measureText(i.label).width,t.fillStyle=l.backdropColor;const e=n.toPadding(l.backdropPadding);t.fillRect(-a/2-e.left,-o-u.size/2-e.top,a+e.width,u.size+e.height)}n.renderText(t,i.label,0,-o,u,{color:l.color,strokeColor:l.textStrokeColor,strokeWidth:l.textStrokeWidth})})),t.restore()}drawTitle(){}}const nn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},on=Object.keys(nn);function an(t,e){return t-e}function sn(t,e){if(n.isNullOrUndef(e))return null;const r=t._adapter,{parser:i,round:o,isoWeekday:a}=t._parseOpts;let s=e;return"function"==typeof i&&(s=i(s)),n.isNumberFinite(s)||(s="string"==typeof i?r.parse(s,i):r.parse(s)),null===s?null:(o&&(s="week"!==o||!n.isNumber(a)&&!0!==a?r.startOf(s,o):r.startOf(s,"isoWeek",a)),+s)}function ln(t,e,r,n){const i=on.length;for(let o=on.indexOf(t);o<i-1;++o){const t=nn[on[o]],i=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((r-e)/(i*t.size))<=n)return on[o]}return on[i-1]}function un(t,e,r){if(r){if(r.length){const{lo:i,hi:o}=n._lookup(r,e);t[r[i]>=e?r[i]:r[o]]=!0}}else t[e]=!0}function cn(t,e,r){const n=[],i={},o=e.length;let a,s;for(a=0;a<o;++a)s=e[a],i[s]=a,n.push({value:s,major:!1});return 0!==o&&r?function(t,e,r,n){const i=t._adapter,o=+i.startOf(e[0].value,n),a=e[e.length-1].value;let s,l;for(s=o;s<=a;s=+i.add(s,1,n))l=r[s],l>=0&&(e[l].major=!0);return e}(t,n,i,r):n}class dn extends Bt{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=undefined,this._offsets={},this._normalized=!1,this._parseOpts=undefined}init(t,e={}){const r=t.time||(t.time={}),i=this._adapter=new V._date(t.adapters.date);i.init(e),n.mergeIf(r.displayFormats,i.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return t===undefined?null:sn(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,r=t.time.unit||"day";let{min:i,max:o,minDefined:a,maxDefined:s}=this.getUserBounds();function l(t){a||isNaN(t.min)||(i=Math.min(i,t.min)),s||isNaN(t.max)||(o=Math.max(o,t.max))}a&&s||(l(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||l(this.getMinMax(!1))),i=n.isNumberFinite(i)&&!isNaN(i)?i:+e.startOf(Date.now(),r),o=n.isNumberFinite(o)&&!isNaN(o)?o:+e.endOf(Date.now(),r)+1,this.min=Math.min(i,o-1),this.max=Math.max(i+1,o)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],r=t[t.length-1]),{min:e,max:r}}buildTicks(){const t=this.options,e=t.time,r=t.ticks,i="labels"===r.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const o=this.min,a=this.max,s=n._filterBetween(i,o,a);return this._unit=e.unit||(r.autoSkip?ln(e.minUnit,this.min,this.max,this._getLabelCapacity(o)):function(t,e,r,n,i){for(let o=on.length-1;o>=on.indexOf(r);o--){const r=on[o];if(nn[r].common&&t._adapter.diff(i,n,r)>=e-1)return r}return on[r?on.indexOf(r):0]}(this,s.length,e.minUnit,this.min,this.max)),this._majorUnit=r.major.enabled&&"year"!==this._unit?function(t){for(let e=on.indexOf(t)+1,r=on.length;e<r;++e)if(nn[on[e]].common)return on[e]}(this._unit):undefined,this.initOffsets(i),t.reverse&&s.reverse(),cn(this,s,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((t=>+t.value)))}initOffsets(t=[]){let e,r,i=0,o=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),i=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,r=this.getDecimalForValue(t[t.length-1]),o=1===t.length?r:(r-this.getDecimalForValue(t[t.length-2]))/2);const a=t.length<3?.5:.25;i=n._limitValue(i,0,a),o=n._limitValue(o,0,a),this._offsets={start:i,end:o,factor:1/(i+1+o)}}_generate(){const t=this._adapter,e=this.min,r=this.max,i=this.options,o=i.time,a=o.unit||ln(o.minUnit,e,r,this._getLabelCapacity(e)),s=n.valueOrDefault(i.ticks.stepSize,1),l="week"===a&&o.isoWeekday,u=n.isNumber(l)||!0===l,c={};let d,h,f=e;if(u&&(f=+t.startOf(f,"isoWeek",l)),f=+t.startOf(f,u?"day":a),t.diff(r,e,a)>1e5*s)throw new Error(e+" and "+r+" are too far apart with stepSize of "+s+" "+a);const p="data"===i.ticks.source&&this.getDataTimestamps();for(d=f,h=0;d<r;d=+t.add(d,s,a),h++)un(c,d,p);return d!==r&&"ticks"!==i.bounds&&1!==h||un(c,d,p),Object.keys(c).sort(an).map((t=>+t))}getLabelForValue(t){const e=this._adapter,r=this.options.time;return r.tooltipFormat?e.format(t,r.tooltipFormat):e.format(t,r.displayFormats.datetime)}format(t,e){const r=this.options.time.displayFormats,n=this._unit,i=e||r[n];return this._adapter.format(t,i)}_tickFormatFunction(t,e,r,i){const o=this.options,a=o.ticks.callback;if(a)return n.callback(a,[t,e,r],this);const s=o.time.displayFormats,l=this._unit,u=this._majorUnit,c=l&&s[l],d=u&&s[u],h=r[e],f=u&&d&&h&&h.major;return this._adapter.format(t,i||(f?d:c))}generateTickLabels(t){let e,r,n;for(e=0,r=t.length;e<r;++e)n=t[e],n.label=this._tickFormatFunction(n.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,r=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+r)*e.factor)}getValueForPixel(t){const e=this._offsets,r=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+r*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,r=this.ctx.measureText(t).width,i=n.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),o=Math.cos(i),a=Math.sin(i),s=this._resolveTickFontOptions(0).size;return{w:r*o+s*a,h:r*a+s*o}}_getLabelCapacity(t){const e=this.options.time,r=e.displayFormats,n=r[e.unit]||r.millisecond,i=this._tickFormatFunction(t,0,cn(this,[t],this._majorUnit),n),o=this._getLabelSize(i),a=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return a>0?a:1}getDataTimestamps(){let t,e,r=this._cache.data||[];if(r.length)return r;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(t=0,e=n.length;t<e;++t)r=r.concat(n[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(r)}getLabelTimestamps(){const t=this._cache.labels||[];let e,r;if(t.length)return t;const n=this.getLabels();for(e=0,r=n.length;e<r;++e)t.push(sn(this,n[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return n._arrayUnique(t.sort(an))}}function hn(t,e,r){let i,o,a,s,l=0,u=t.length-1;r?(e>=t[l].pos&&e<=t[u].pos&&({lo:l,hi:u}=n._lookupByKey(t,"pos",e)),({pos:i,time:a}=t[l]),({pos:o,time:s}=t[u])):(e>=t[l].time&&e<=t[u].time&&({lo:l,hi:u}=n._lookupByKey(t,"time",e)),({time:i,pos:a}=t[l]),({time:o,pos:s}=t[u]));const c=o-i;return c?a+(s-a)*(e-i)/c:a}class fn extends dn{static id="timeseries";static defaults=dn.defaults;constructor(t){super(t),this._table=[],this._minPos=undefined,this._tableRange=undefined}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=hn(e,this.min),this._tableRange=hn(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:r}=this,n=[],i=[];let o,a,s,l,u;for(o=0,a=t.length;o<a;++o)l=t[o],l>=e&&l<=r&&n.push(l);if(n.length<2)return[{time:e,pos:0},{time:r,pos:1}];for(o=0,a=n.length;o<a;++o)u=n[o+1],s=n[o-1],l=n[o],Math.round((u+s)/2)!==l&&i.push({time:l,pos:o/(a-1)});return i}_generate(){const t=this.min,e=this.max;let r=super.getDataTimestamps();return r.includes(t)&&r.length||r.splice(0,0,t),r.includes(e)&&1!==r.length||r.push(e),r.sort(((t,e)=>t-e))}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),r=this.getLabelTimestamps();return t=e.length&&r.length?this.normalize(e.concat(r)):e.length?e:r,t=this._cache.all=t,t}getDecimalForValue(t){return(hn(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,r=this.getDecimalForPixel(t)/e.factor-e.end;return hn(this._table,r*this._tableRange+this._minPos,!0)}}var pn=Object.freeze({__proto__:null,CategoryScale:Fr,LinearScale:Vr,LogarithmicScale:Xr,RadialLinearScale:rn,TimeScale:dn,TimeSeriesScale:fn});const gn=[F,Fe,kr,pn];r.Ticks=n.Ticks,r.defaults=n.defaults,r.Animation=l,r.Animations=u,r.ArcElement=ve,r.BarController=O,r.BarElement=Le,r.BasePlatform=lt,r.BasicPlatform=ut,r.BubbleController=R,r.CategoryScale=Fr,r.Chart=fe,r.Colors=We,r.DatasetController=_,r.Decimation=Ye,r.DomPlatform=Ct,r.DoughnutController=P,r.Element=St,r.Filler=dr,r.Interaction=Y,r.Legend=gr,r.LineController=M,r.LineElement=Ie,r.LinearScale=Vr,r.LogarithmicScale=Xr,r.PieController=k,r.PointElement=Oe,r.PolarAreaController=N,r.RadarController=B,r.RadialLinearScale=rn,r.Scale=Bt,r.ScatterController=L,r.SubTitle=vr,r.TimeScale=dn,r.TimeSeriesScale=fn,r.Title=yr,r.Tooltip=Nr,r._adapters=V,r._detectPlatform=Et,r.animator=o,r.controllers=F,r.elements=Fe,r.layouts=st,r.plugins=kr,r.registerables=gn,r.registry=jt,r.scales=pn}}},{package:"chart.js",file:"node_modules/chart.js/dist/chart.cjs"}],[4098,{"@kurkle/color":734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("@kurkle/color");const i=(()=>{let t=0;return()=>t++})();function o(t){return null==t}function a(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function s(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function l(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function u(t,e){return void 0===t?e:t}const c=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function d(t){if(a(t))return t.map(d);if(s(t)){const e=Object.create(null),r=Object.keys(t),n=r.length;let i=0;for(;i<n;++i)e[r[i]]=d(t[r[i]]);return e}return t}function h(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function f(t,e,r,n){if(!h(t))return;const i=e[t],o=r[t];s(i)&&s(o)?p(i,o,n):e[t]=d(o)}function p(t,e,r){const n=a(e)?e:[e],i=n.length;if(!s(t))return t;const o=(r=r||{}).merger||f;let l;for(let e=0;e<i;++e){if(l=n[e],!s(l))continue;const i=Object.keys(l);for(let e=0,n=i.length;e<n;++e)o(i[e],t,l,r)}return t}function g(t,e){return p(t,e,{merger:m})}function m(t,e,r){if(!h(t))return;const n=e[t],i=r[t];s(n)&&s(i)?g(n,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=d(i))}const y={"":t=>t,x:t=>t.x,y:t=>t.y};function b(t){const e=t.split("."),r=[];let n="";for(const t of e)n+=t,n.endsWith("\\")?n=n.slice(0,-1)+".":(r.push(n),n="");return r}function v(t,e){const r=y[e]||(y[e]=function(t){const e=b(t);return t=>{for(const r of e){if(""===r)break;t=t&&t[r]}return t}}(e));return r(t)}function w(t){return t.charAt(0).toUpperCase()+t.slice(1)}const _=t=>"function"==typeof t;const A=Math.PI,x=2*A,C=x+A,E=Number.POSITIVE_INFINITY,S=A/180,T=A/2,I=A/4,D=2*A/3,O=Math.log10,R=Math.sign;function P(t,e,r){return Math.abs(t-e)<r}function M(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function N(t,e){return(t-e+C)%x-A}function k(t){return(t%x+x)%x}function B(t,e,r,n){const i=k(t),o=k(e),a=k(r),s=k(o-i),l=k(a-i),u=k(i-o),c=k(i-a);return i===o||i===a||n&&o===a||s>l&&u<c}function L(t,e,r){return Math.max(e,Math.min(r,t))}function F(t,e,r,n=1e-6){return t>=Math.min(e,r)-n&&t<=Math.max(e,r)+n}function j(t,e,r){r=r||(r=>t[r]<e);let n,i=t.length-1,o=0;for(;i-o>1;)n=o+i>>1,r(n)?o=n:i=n;return{lo:o,hi:i}}const z=(t,e,r,n)=>j(t,r,n?n=>{const i=t[n][e];return i<r||i===r&&t[n+1][e]===r}:n=>t[n][e]<r);const V=["push","pop","shift","splice","unshift"];const H="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;const U=t=>0===t||1===t,q=(t,e,r)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*x/r),W=(t,e,r)=>Math.pow(2,-10*t)*Math.sin((t-e)*x/r)+1,G={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*T),easeOutSine:t=>Math.sin(t*T),easeInOutSine:t=>-.5*(Math.cos(A*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>U(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>U(t)?t:q(t,.075,.3),easeOutElastic:t=>U(t)?t:W(t,.075,.3),easeInOutElastic(t){const e=.1125;return U(t)?t:t<.5?.5*q(2*t,e,.45):.5+.5*W(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-G.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,r=2.75;return t<1/r?e*t*t:t<2/r?e*(t-=1.5/r)*t+.75:t<2.5/r?e*(t-=2.25/r)*t+.9375:e*(t-=2.625/r)*t+.984375},easeInOutBounce:t=>t<.5?.5*G.easeInBounce(2*t):.5*G.easeOutBounce(2*t-1)+.5};function X(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function Y(t){return X(t)?t:new n.Color(t).saturate(.5).darken(.1).hexString()}const K=["x","y","borderWidth","radius","tension"],Z=["color","borderColor","backgroundColor"];const $=new Map;function Q(t,e,r){return function(t,e){e=e||{};const r=t+JSON.stringify(e);let n=$.get(r);return n||(n=new Intl.NumberFormat(t,e),$.set(r,n)),n}(e,r).format(t)}const J={values:t=>a(t)?t:""+t,numeric(t,e,r){if(0===t)return"0";const n=this.chart.options.locale;let i,o=t;if(r.length>1){const e=Math.max(Math.abs(r[0].value),Math.abs(r[r.length-1].value));(e<1e-4||e>1e15)&&(i="scientific"),o=function(t,e){let r=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(r)>=1&&t!==Math.floor(t)&&(r=t-Math.floor(t));return r}(t,r)}const a=O(Math.abs(o)),s=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(l,this.options.ticks.format),Q(t,n,l)},logarithmic(t,e,r){if(0===t)return"0";const n=r[e].significand||t/Math.pow(10,Math.floor(O(t)));return[1,2,3,5,10,15].includes(n)||e>.8*r.length?J.numeric.call(this,t,e,r):""}};var tt={formatters:J};const et=Object.create(null),rt=Object.create(null);function nt(t,e){if(!e)return t;const r=e.split(".");for(let e=0,n=r.length;e<n;++e){const n=r[e];t=t[n]||(t[n]=Object.create(null))}return t}function it(t,e,r){return"string"==typeof e?p(nt(t,e),r):p(nt(t,""),e)}class ot{constructor(t,e){this.animation=undefined,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>Y(e.backgroundColor),this.hoverBorderColor=(t,e)=>Y(e.borderColor),this.hoverColor=(t,e)=>Y(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=undefined,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return it(this,t,e)}get(t){return nt(this,t)}describe(t,e){return it(rt,t,e)}override(t,e){return it(et,t,e)}route(t,e,r,n){const i=nt(this,t),o=nt(this,r),a="_"+e;Object.defineProperties(i,{[a]:{value:i[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[n];return s(t)?Object.assign({},e,t):u(t,e)},set(t){this[a]=t}}})}apply(t){t.forEach((t=>t(this)))}}var at=new ot({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(t){t.set("animation",{delay:undefined,duration:1e3,easing:"easeOutQuart",fn:undefined,from:undefined,loop:undefined,to:undefined,type:undefined}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:Z},numbers:{type:"number",properties:K}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})},function(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:tt.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function st(t){return!t||o(t.size)||o(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function lt(t,e,r,n,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,r.push(i)),o>n&&(n=o),n}function ut(t,e,r,n,i){let o,a,s,l,u,c,d,h;const f=e.pointStyle,p=e.rotation,g=e.radius;let m=(p||0)*S;if(f&&"object"==typeof f&&(o=f.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(r,n),t.rotate(m),t.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),void t.restore();if(!(isNaN(g)||g<=0)){switch(t.beginPath(),f){default:i?t.ellipse(r,n,i/2,g,0,0,x):t.arc(r,n,g,0,x),t.closePath();break;case"triangle":c=i?i/2:g,t.moveTo(r+Math.sin(m)*c,n-Math.cos(m)*g),m+=D,t.lineTo(r+Math.sin(m)*c,n-Math.cos(m)*g),m+=D,t.lineTo(r+Math.sin(m)*c,n-Math.cos(m)*g),t.closePath();break;case"rectRounded":u=.516*g,l=g-u,a=Math.cos(m+I)*l,d=Math.cos(m+I)*(i?i/2-u:l),s=Math.sin(m+I)*l,h=Math.sin(m+I)*(i?i/2-u:l),t.arc(r-d,n-s,u,m-A,m-T),t.arc(r+h,n-a,u,m-T,m),t.arc(r+d,n+s,u,m,m+T),t.arc(r-h,n+a,u,m+T,m+A),t.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*g,c=i?i/2:l,t.rect(r-c,n-l,2*c,2*l);break}m+=I;case"rectRot":d=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,h=Math.sin(m)*(i?i/2:g),t.moveTo(r-d,n-s),t.lineTo(r+h,n-a),t.lineTo(r+d,n+s),t.lineTo(r-h,n+a),t.closePath();break;case"crossRot":m+=I;case"cross":d=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,h=Math.sin(m)*(i?i/2:g),t.moveTo(r-d,n-s),t.lineTo(r+d,n+s),t.moveTo(r+h,n-a),t.lineTo(r-h,n+a);break;case"star":d=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,h=Math.sin(m)*(i?i/2:g),t.moveTo(r-d,n-s),t.lineTo(r+d,n+s),t.moveTo(r+h,n-a),t.lineTo(r-h,n+a),m+=I,d=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,h=Math.sin(m)*(i?i/2:g),t.moveTo(r-d,n-s),t.lineTo(r+d,n+s),t.moveTo(r+h,n-a),t.lineTo(r-h,n+a);break;case"line":a=i?i/2:Math.cos(m)*g,s=Math.sin(m)*g,t.moveTo(r-a,n-s),t.lineTo(r+a,n+s);break;case"dash":t.moveTo(r,n),t.lineTo(r+Math.cos(m)*(i?i/2:g),n+Math.sin(m)*g);break;case!1:t.closePath()}t.fill(),e.borderWidth>0&&t.stroke()}}function ct(t,e,r){return r=r||.5,!e||t&&t.x>e.left-r&&t.x<e.right+r&&t.y>e.top-r&&t.y<e.bottom+r}function dt(t,e,r,n,i){if(i.strikethrough||i.underline){const o=t.measureText(n),a=e-o.actualBoundingBoxLeft,s=e+o.actualBoundingBoxRight,l=r-o.actualBoundingBoxAscent,u=r+o.actualBoundingBoxDescent,c=i.strikethrough?(l+u)/2:u;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(a,c),t.lineTo(s,c),t.stroke()}}function ht(t,e){const r=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=r}const ft=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,pt=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function gt(t,e){const r=(""+t).match(ft);if(!r||"normal"===r[1])return 1.2*e;switch(t=+r[2],r[3]){case"px":return t;case"%":t/=100}return e*t}const mt=t=>+t||0;function yt(t,e){const r={},n=s(e),i=n?Object.keys(e):e,o=s(t)?n?r=>u(t[r],t[e[r]]):e=>t[e]:()=>t;for(const t of i)r[t]=mt(o(t));return r}function bt(t){return yt(t,{top:"y",right:"x",bottom:"y",left:"x"})}function vt(t,e){return Object.assign(Object.create(t),e)}function wt(t,e=[""],r,n,i=(()=>t[0])){const o=r||t;void 0===n&&(n=Rt("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:n,_getTarget:i,override:r=>wt([r,...t],e,o,n)};return new Proxy(a,{deleteProperty:(e,r)=>(delete e[r],delete e._keys,delete t[0][r],!0),get:(r,n)=>Et(r,n,(()=>function(t,e,r,n){let i;for(const o of e)if(i=Rt(xt(o,t),r),void 0!==i)return Ct(t,i)?Dt(r,n,t,i):i}(n,e,t,r))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>Pt(t).includes(e),ownKeys:t=>Pt(t),set(t,e,r){const n=t._storage||(t._storage=i());return t[e]=n[e]=r,delete t._keys,!0}})}function _t(t,e,r,n){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:r,_stack:new Set,_descriptors:At(t,n),setContext:e=>_t(t,e,r,n),override:i=>_t(t.override(i),e,r,n)};return new Proxy(i,{deleteProperty:(e,r)=>(delete e[r],delete t[r],!0),get:(t,e,r)=>Et(t,e,(()=>function(t,e,r){const{_proxy:n,_context:i,_subProxy:o,_descriptors:l}=t;let u=n[e];_(u)&&l.isScriptable(e)&&(u=function(t,e,r,n){const{_proxy:i,_context:o,_subProxy:a,_stack:s}=r;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t);let l=e(o,a||n);s.delete(t),Ct(t,l)&&(l=Dt(i._scopes,i,t,l));return l}(e,u,t,r));a(u)&&u.length&&(u=function(t,e,r,n){const{_proxy:i,_context:o,_subProxy:a,_descriptors:l}=r;if(void 0!==o.index&&n(t))return e[o.index%e.length];if(s(e[0])){const r=e,n=i._scopes.filter((t=>t!==r));e=[];for(const s of r){const r=Dt(n,i,t,s);e.push(_t(r,o,a&&a[t],l))}}return e}(e,u,t,l.isIndexable));Ct(e,u)&&(u=_t(u,i,o&&o[e],l));return u}(t,e,r))),getOwnPropertyDescriptor:(e,r)=>e._descriptors.allKeys?Reflect.has(t,r)?{enumerable:!0,configurable:!0}:undefined:Reflect.getOwnPropertyDescriptor(t,r),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,r)=>Reflect.has(t,r),ownKeys:()=>Reflect.ownKeys(t),set:(e,r,n)=>(t[r]=n,delete e[r],!0)})}function At(t,e={scriptable:!0,indexable:!0}){const{_scriptable:r=e.scriptable,_indexable:n=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:r,indexable:n,isScriptable:_(r)?r:()=>r,isIndexable:_(n)?n:()=>n}}const xt=(t,e)=>t?t+w(e):e,Ct=(t,e)=>s(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Et(t,e,r){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const n=r();return t[e]=n,n}function St(t,e,r){return _(t)?t(e,r):t}const Tt=(t,e)=>!0===t?e:"string"==typeof t?v(e,t):undefined;function It(t,e,r,n,i){for(const o of e){const e=Tt(r,o);if(e){t.add(e);const o=St(e._fallback,r,i);if(void 0!==o&&o!==r&&o!==n)return o}else if(!1===e&&void 0!==n&&r!==n)return null}return!1}function Dt(t,e,r,n){const i=e._rootScopes,o=St(e._fallback,r,n),l=[...t,...i],u=new Set;u.add(n);let c=Ot(u,l,r,o||r,n);return null!==c&&((void 0===o||o===r||(c=Ot(u,l,o,c,n),null!==c))&&wt(Array.from(u),[""],i,o,(()=>function(t,e,r){const n=t._getTarget();e in n||(n[e]={});const i=n[e];if(a(i)&&s(r))return r;return i||{}}(e,r,n))))}function Ot(t,e,r,n,i){for(;r;)r=It(t,e,r,n,i);return r}function Rt(t,e){for(const r of e){if(!r)continue;const e=r[t];if(void 0!==e)return e}}function Pt(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const r of t)for(const t of Object.keys(r).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}const Mt=Number.EPSILON||1e-14,Nt=(t,e)=>e<t.length&&!t[e].skip&&t[e],kt=t=>"x"===t?"y":"x";function Bt(t,e,r,n){const i=t.skip?e:t,o=e,a=r.skip?e:r,s=M(o,i),l=M(a,o);let u=s/(s+l),c=l/(s+l);u=isNaN(u)?0:u,c=isNaN(c)?0:c;const d=n*u,h=n*c;return{previous:{x:o.x-d*(a.x-i.x),y:o.y-d*(a.y-i.y)},next:{x:o.x+h*(a.x-i.x),y:o.y+h*(a.y-i.y)}}}function Lt(t,e="x"){const r=kt(e),n=t.length,i=Array(n).fill(0),o=Array(n);let a,s,l,u=Nt(t,0);for(a=0;a<n;++a)if(s=l,l=u,u=Nt(t,a+1),l){if(u){const t=u[e]-l[e];i[a]=0!==t?(u[r]-l[r])/t:0}o[a]=s?u?R(i[a-1])!==R(i[a])?0:(i[a-1]+i[a])/2:i[a-1]:i[a]}!function(t,e,r){const n=t.length;let i,o,a,s,l,u=Nt(t,0);for(let c=0;c<n-1;++c)l=u,u=Nt(t,c+1),l&&u&&(P(e[c],0,Mt)?r[c]=r[c+1]=0:(i=r[c]/e[c],o=r[c+1]/e[c],s=Math.pow(i,2)+Math.pow(o,2),s<=9||(a=3/Math.sqrt(s),r[c]=i*a*e[c],r[c+1]=o*a*e[c])))}(t,i,o),function(t,e,r="x"){const n=kt(r),i=t.length;let o,a,s,l=Nt(t,0);for(let u=0;u<i;++u){if(a=s,s=l,l=Nt(t,u+1),!s)continue;const i=s[r],c=s[n];a&&(o=(i-a[r])/3,s[`cp1${r}`]=i-o,s[`cp1${n}`]=c-o*e[u]),l&&(o=(l[r]-i)/3,s[`cp2${r}`]=i+o,s[`cp2${n}`]=c+o*e[u])}}(t,o,e)}function Ft(t,e,r){return Math.max(Math.min(t,r),e)}function jt(){return"undefined"!=typeof window&&"undefined"!=typeof document}function zt(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function Vt(t,e,r){let n;return"string"==typeof t?(n=parseInt(t,10),-1!==t.indexOf("%")&&(n=n/100*e.parentNode[r])):n=t,n}const Ht=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function Ut(t,e){return Ht(t).getPropertyValue(e)}const qt=["top","right","bottom","left"];function Wt(t,e,r){const n={};r=r?"-"+r:"";for(let i=0;i<4;i++){const o=qt[i];n[o]=parseFloat(t[e+"-"+o+r])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const Gt=(t,e,r)=>(t>0||e>0)&&(!r||!r.shadowRoot);const Xt=t=>Math.round(10*t)/10;const Yt=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};jt()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(t){}return t}();function Kt(t,e,r,n){return{x:t.x+r*(e.x-t.x),y:t.y+r*(e.y-t.y)}}function Zt(t){return"angle"===t?{between:B,compare:N,normalize:k}:{between:F,compare:(t,e)=>t-e,normalize:t=>t}}function $t({start:t,end:e,count:r,loop:n,style:i}){return{start:t%r,end:e%r,loop:n&&(e-t+1)%r==0,style:i}}function Qt(t,e,r){if(!r)return[t];const{property:n,start:i,end:o}=r,a=e.length,{compare:s,between:l,normalize:u}=Zt(n),{start:c,end:d,loop:h,style:f}=function(t,e,r){const{property:n,start:i,end:o}=r,{between:a,normalize:s}=Zt(n),l=e.length;let u,c,{start:d,end:h,loop:f}=t;if(f){for(d+=l,h+=l,u=0,c=l;u<c&&a(s(e[d%l][n]),i,o);++u)d--,h--;d%=l,h%=l}return h<d&&(h+=l),{start:d,end:h,loop:f,style:t.style}}(t,e,r),p=[];let g,m,y,b=!1,v=null;const w=()=>b||l(i,y,g)&&0!==s(i,y),_=()=>!b||0===s(o,g)||l(o,y,g);for(let t=c,r=c;t<=d;++t)m=e[t%a],m.skip||(g=u(m[n]),g!==y&&(b=l(g,i,o),null===v&&w()&&(v=0===s(g,i)?t:r),null!==v&&_()&&(p.push($t({start:v,end:t,loop:h,count:a,style:f})),v=null),r=t,y=g));return null!==v&&p.push($t({start:v,end:d,loop:h,count:a,style:f})),p}function Jt(t,e,r,n){return n&&n.setContext&&r?function(t,e,r,n){const i=t._chart.getContext(),o=te(t.options),{_datasetIndex:a,options:{spanGaps:s}}=t,l=r.length,u=[];let c=o,d=e[0].start,h=d;function f(t,e,n,i){const o=s?-1:1;if(t!==e){for(t+=l;r[t%l].skip;)t-=o;for(;r[e%l].skip;)e+=o;t%l!=e%l&&(u.push({start:t%l,end:e%l,loop:n,style:i}),c=i,d=e%l)}}for(const t of e){d=s?d:t.start;let e,o=r[d%l];for(h=d+1;h<=t.end;h++){const s=r[h%l];e=te(n.setContext(vt(i,{type:"segment",p0:o,p1:s,p0DataIndex:(h-1)%l,p1DataIndex:h%l,datasetIndex:a}))),ee(e,c)&&f(d,h-1,t.loop,c),o=s,c=e}d<h-1&&f(d,h-1,t.loop,c)}return u}(t,e,r,n):e}function te(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function ee(t,e){if(!e)return!1;const r=[],n=function(t,e){return X(e)?(r.includes(e)||r.push(e),r.indexOf(e)):e};return JSON.stringify(t,n)!==JSON.stringify(e,n)}r.HALF_PI=T,r.INFINITY=E,r.PI=A,r.PITAU=C,r.QUARTER_PI=I,r.RAD_PER_DEG=S,r.TAU=x,r.TWO_THIRDS_PI=D,r.Ticks=tt,r._addGrace=function(t,e,r){const{min:n,max:i}=t,o=c(e,(i-n)/2),a=(t,e)=>r&&0===t?0:t+e;return{min:a(n,-Math.abs(o)),max:a(i,o)}},r._alignPixel=function(t,e,r){const n=t.currentDevicePixelRatio,i=0!==r?Math.max(r/2,.5):0;return Math.round((e-i)*n)/n+i},r._alignStartEnd=(t,e,r)=>"start"===t?e:"end"===t?r:(e+r)/2,r._angleBetween=B,r._angleDiff=N,r._arrayUnique=function(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)},r._attachContext=_t,r._bezierCurveTo=function(t,e,r,n){if(!e)return t.lineTo(r.x,r.y);t.bezierCurveTo(n?e.cp1x:e.cp2x,n?e.cp1y:e.cp2y,n?r.cp2x:r.cp1x,n?r.cp2y:r.cp1y,r.x,r.y)},r._bezierInterpolation=function(t,e,r,n){const i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=Kt(t,i,r),s=Kt(i,o,r),l=Kt(o,e,r),u=Kt(a,s,r),c=Kt(s,l,r);return Kt(u,c,r)},r._boundSegment=Qt,r._boundSegments=function(t,e){const r=[],n=t.segments;for(let i=0;i<n.length;i++){const o=Qt(n[i],t.points,e);o.length&&r.push(...o)}return r},r._capitalize=w,r._computeSegments=function(t,e){const r=t.points,n=t.options.spanGaps,i=r.length;if(!i)return[];const o=!!t._loop,{start:a,end:s}=function(t,e,r,n){let i=0,o=e-1;if(r&&!n)for(;i<e&&!t[i].skip;)i++;for(;i<e&&t[i].skip;)i++;for(i%=e,r&&(o+=i);o>i&&t[o%e].skip;)o--;return o%=e,{start:i,end:o}}(r,i,o,n);return Jt(t,!0===n?[{start:a,end:s,loop:o}]:function(t,e,r,n){const i=t.length,o=[];let a,s=e,l=t[e];for(a=e+1;a<=r;++a){const r=t[a%i];r.skip||r.stop?l.skip||(n=!1,o.push({start:e%i,end:(a-1)%i,loop:n}),e=s=r.stop?a:null):(s=a,l.skip&&(e=a)),l=r}return null!==s&&o.push({start:e%i,end:s%i,loop:n}),o}(r,a,s<a?s+i:s,!!t._fullLoop&&0===a&&s===i-1),r,e)},r._createResolver=wt,r._decimalPlaces=function(t){if(!l(t))return;let e=1,r=0;for(;Math.round(t*e)/e!==t;)e*=10,r++;return r},r._deprecated=function(t,e,r,n){e!==undefined&&console.warn(t+': "'+r+'" is deprecated. Please use "'+n+'" instead')},r._descriptors=At,r._elementsEqual=function(t,e){let r,n,i,o;if(!t||!e||t.length!==e.length)return!1;for(r=0,n=t.length;r<n;++r)if(i=t[r],o=e[r],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0},r._factorize=function(t){const e=[],r=Math.sqrt(t);let n;for(n=1;n<r;n++)t%n==0&&(e.push(n),e.push(t/n));return r===(0|r)&&e.push(r),e.sort(((t,e)=>t-e)).pop(),e},r._filterBetween=function(t,e,r){let n=0,i=t.length;for(;n<i&&t[n]<e;)n++;for(;i>n&&t[i-1]>r;)i--;return n>0||i<t.length?t.slice(n,i):t},r._getParentNode=zt,r._getStartAndCountOfVisiblePoints=function(t,e,r){const n=e.length;let i=0,o=n;if(t._sorted){const{iScale:a,_parsed:s}=t,l=a.axis,{min:u,max:c,minDefined:d,maxDefined:h}=a.getUserBounds();d&&(i=L(Math.min(z(s,l,u).lo,r?n:z(e,l,a.getPixelForValue(u)).lo),0,n-1)),o=h?L(Math.max(z(s,a.axis,c,!0).hi+1,r?0:z(e,l,a.getPixelForValue(c),!0).hi+1),i,n)-i:n-i}return{start:i,count:o}},r._int16Range=function(t){return L(t,-32768,32767)},r._isBetween=F,r._isClickEvent=function(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type},r._isDomSupported=jt,r._isPointInArea=ct,r._limitValue=L,r._longestText=function(t,e,r,n){let i=(n=n||{}).data=n.data||{},o=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(i=n.data={},o=n.garbageCollect=[],n.font=e),t.save(),t.font=e;let s=0;const l=r.length;let u,c,d,h,f;for(u=0;u<l;u++)if(h=r[u],h===undefined||null===h||a(h)){if(a(h))for(c=0,d=h.length;c<d;c++)f=h[c],f===undefined||null===f||a(f)||(s=lt(t,i,o,s,f))}else s=lt(t,i,o,s,h);t.restore();const p=o.length/2;if(p>r.length){for(u=0;u<p;u++)delete i[o[u]];o.splice(0,p)}return s},r._lookup=j,r._lookupByKey=z,r._measureText=lt,r._merger=f,r._mergerIf=m,r._normalizeAngle=k,r._parseObjectDataRadialScale=function(t,e,r,n){const{iScale:i}=t,{key:o="r"}=this._parsing,a=new Array(n);let s,l,u,c;for(s=0,l=n;s<l;++s)u=s+r,c=e[u],a[s]={r:i.parse(v(c,o),u)};return a},r._pointInLine=Kt,r._readValueToProps=yt,r._rlookupByKey=(t,e,r)=>j(t,r,(n=>t[n][e]>=r)),r._scaleRangesChanged=function(t){const{xScale:e,yScale:r,_scaleRanges:n}=t,i={xmin:e.min,xmax:e.max,ymin:r.min,ymax:r.max};if(!n)return t._scaleRanges=i,!0;const o=n.xmin!==e.min||n.xmax!==e.max||n.ymin!==r.min||n.ymax!==r.max;return Object.assign(n,i),o},r._setMinAndMaxByKey=function(t,e,r){let n,i,o;for(n=0,i=t.length;n<i;n++)o=t[n][r],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))},r._splitKey=b,r._steppedInterpolation=function(t,e,r,n){return{x:t.x+r*(e.x-t.x),y:"middle"===n?r<.5?t.y:e.y:"after"===n?r<1?t.y:e.y:r>0?e.y:t.y}},r._steppedLineTo=function(t,e,r,n,i){if(!e)return t.lineTo(r.x,r.y);if("middle"===i){const n=(e.x+r.x)/2;t.lineTo(n,e.y),t.lineTo(n,r.y)}else"after"===i!=!!n?t.lineTo(e.x,r.y):t.lineTo(r.x,e.y);t.lineTo(r.x,r.y)},r._textX=(t,e,r,n)=>t===(n?"left":"right")?r:"center"===t?(e+r)/2:e,r._toLeftRightCenter=t=>"start"===t?"left":"end"===t?"right":"center",r._updateBezierControlPoints=function(t,e,r,n,i){let o,a,s,l;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)Lt(t,i);else{let r=n?t[t.length-1]:t[0];for(o=0,a=t.length;o<a;++o)s=t[o],l=Bt(r,s,t[Math.min(o+1,a-(n?0:1))%a],e.tension),s.cp1x=l.previous.x,s.cp1y=l.previous.y,s.cp2x=l.next.x,s.cp2y=l.next.y,r=s}e.capBezierPoints&&function(t,e){let r,n,i,o,a,s=ct(t[0],e);for(r=0,n=t.length;r<n;++r)a=o,o=s,s=r<n-1&&ct(t[r+1],e),o&&(i=t[r],a&&(i.cp1x=Ft(i.cp1x,e.left,e.right),i.cp1y=Ft(i.cp1y,e.top,e.bottom)),s&&(i.cp2x=Ft(i.cp2x,e.left,e.right),i.cp2y=Ft(i.cp2y,e.top,e.bottom)))}(t,r)},r.addRoundedRectPath=function(t,e){const{x:r,y:n,w:i,h:o,radius:a}=e;t.arc(r+a.topLeft,n+a.topLeft,a.topLeft,1.5*A,A,!0),t.lineTo(r,n+o-a.bottomLeft),t.arc(r+a.bottomLeft,n+o-a.bottomLeft,a.bottomLeft,A,T,!0),t.lineTo(r+i-a.bottomRight,n+o),t.arc(r+i-a.bottomRight,n+o-a.bottomRight,a.bottomRight,T,0,!0),t.lineTo(r+i,n+a.topRight),t.arc(r+i-a.topRight,n+a.topRight,a.topRight,0,-T,!0),t.lineTo(r+a.topLeft,n)},r.almostEquals=P,r.almostWhole=function(t,e){const r=Math.round(t);return r-e<=t&&r+e>=t},r.callback=function(t,e,r){if(t&&"function"==typeof t.call)return t.apply(r,e)},r.clearCanvas=function(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()},r.clipArea=function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},r.clone=d,r.color=function(t){return X(t)?t:new n.Color(t)},r.createContext=vt,r.debounce=function(t,e){let r;return function(...n){return e?(clearTimeout(r),r=setTimeout(t,e,n)):t.apply(this,n),e}},r.defaults=at,r.defined=t=>void 0!==t,r.descriptors=rt,r.distanceBetweenPoints=M,r.drawPoint=function(t,e,r,n){ut(t,e,r,n,null)},r.drawPointLegend=ut,r.each=function(t,e,r,n){let i,o,l;if(a(t))if(o=t.length,n)for(i=o-1;i>=0;i--)e.call(r,t[i],i);else for(i=0;i<o;i++)e.call(r,t[i],i);else if(s(t))for(l=Object.keys(t),o=l.length,i=0;i<o;i++)e.call(r,t[l[i]],l[i])},r.effects=G,r.finiteOrDefault=function(t,e){return l(t)?t:e},r.fontString=function(t,e,r){return e+" "+t+"px "+r},r.formatNumber=Q,r.getAngleFromPoint=function(t,e){const r=e.x-t.x,n=e.y-t.y,i=Math.sqrt(r*r+n*n);let o=Math.atan2(n,r);return o<-.5*A&&(o+=x),{angle:o,distance:i}},r.getHoverColor=Y,r.getMaximumSize=function(t,e,r,n){const i=Ht(t),o=Wt(i,"margin"),a=Vt(i.maxWidth,t,"clientWidth")||E,s=Vt(i.maxHeight,t,"clientHeight")||E,l=function(t,e,r){let n,i;if(e===undefined||r===undefined){const o=zt(t);if(o){const t=o.getBoundingClientRect(),a=Ht(o),s=Wt(a,"border","width"),l=Wt(a,"padding");e=t.width-l.width-s.width,r=t.height-l.height-s.height,n=Vt(a.maxWidth,o,"clientWidth"),i=Vt(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,r=t.clientHeight}return{width:e,height:r,maxWidth:n||E,maxHeight:i||E}}(t,e,r);let{width:u,height:c}=l;if("content-box"===i.boxSizing){const t=Wt(i,"border","width"),e=Wt(i,"padding");u-=e.width+t.width,c-=e.height+t.height}return u=Math.max(0,u-o.width),c=Math.max(0,n?u/n:c-o.height),u=Xt(Math.min(u,a,l.maxWidth)),c=Xt(Math.min(c,s,l.maxHeight)),u&&!c&&(c=Xt(u/2)),(e!==undefined||r!==undefined)&&n&&l.height&&c>l.height&&(c=l.height,u=Xt(Math.floor(c*n))),{width:u,height:c}},r.getRelativePosition=function(t,e){if("native"in t)return t;const{canvas:r,currentDevicePixelRatio:n}=e,i=Ht(r),o="border-box"===i.boxSizing,a=Wt(i,"padding"),s=Wt(i,"border","width"),{x:l,y:u,box:c}=function(t,e){const r=t.touches,n=r&&r.length?r[0]:t,{offsetX:i,offsetY:o}=n;let a,s,l=!1;if(Gt(i,o,t.target))a=i,s=o;else{const t=e.getBoundingClientRect();a=n.clientX-t.left,s=n.clientY-t.top,l=!0}return{x:a,y:s,box:l}}(t,r),d=a.left+(c&&s.left),h=a.top+(c&&s.top);let{width:f,height:p}=e;return o&&(f-=a.width+s.width,p-=a.height+s.height),{x:Math.round((l-d)/f*r.width/n),y:Math.round((u-h)/p*r.height/n)}},r.getRtlAdapter=function(t,e,r){return t?function(t,e){return{x:r=>t+t+e-r,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,r):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}},r.getStyle=Ut,r.isArray=a,r.isFunction=_,r.isNullOrUndef=o,r.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},r.isNumberFinite=l,r.isObject=s,r.isPatternOrGradient=X,r.listenArrayEvents=function(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),V.forEach((e=>{const r="_onData"+w(e),n=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const i=n.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"==typeof t[r]&&t[r](...e)})),i}})})))},r.log10=O,r.merge=p,r.mergeIf=g,r.niceNum=function(t){const e=Math.round(t);t=P(t,e,t/1e3)?e:t;const r=Math.pow(10,Math.floor(O(t))),n=t/r;return(n<=1?1:n<=2?2:n<=5?5:10)*r},r.noop=function(){},r.overrideTextDirection=function(t,e){let r,n;"ltr"!==e&&"rtl"!==e||(r=t.canvas.style,n=[r.getPropertyValue("direction"),r.getPropertyPriority("direction")],r.setProperty("direction",e,"important"),t.prevTextDirection=n)},r.overrides=et,r.readUsedSize=function(t,e){const r=Ut(t,e),n=r&&r.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:undefined},r.renderText=function(t,e,r,n,i,s={}){const l=a(e)?e:[e],u=s.strokeWidth>0&&""!==s.strokeColor;let c,d;for(t.save(),t.font=i.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),o(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,s),c=0;c<l.length;++c)d=l[c],s.backdrop&&ht(t,s.backdrop),u&&(s.strokeColor&&(t.strokeStyle=s.strokeColor),o(s.strokeWidth)||(t.lineWidth=s.strokeWidth),t.strokeText(d,r,n,s.maxWidth)),t.fillText(d,r,n,s.maxWidth),dt(t,r,n,d,s),n+=Number(i.lineHeight);t.restore()},r.requestAnimFrame=H,r.resolve=function(t,e,r,n){let i,o,s,l=!0;for(i=0,o=t.length;i<o;++i)if(s=t[i],s!==undefined&&(e!==undefined&&"function"==typeof s&&(s=s(e),l=!1),r!==undefined&&a(s)&&(s=s[r%s.length],l=!1),s!==undefined))return n&&!l&&(n.cacheable=!1),s},r.resolveObjectKey=v,r.restoreTextDirection=function(t,e){e!==undefined&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))},r.retinaScale=function(t,e,r){const n=e||1,i=Math.floor(t.height*n),o=Math.floor(t.width*n);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const a=t.canvas;return a.style&&(r||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==n||a.height!==i||a.width!==o)&&(t.currentDevicePixelRatio=n,a.height=i,a.width=o,t.ctx.setTransform(n,0,0,n,0,0),!0)},r.setsEqual=(t,e)=>{if(t.size!==e.size)return!1;for(const r of t)if(!e.has(r))return!1;return!0},r.sign=R,r.splineCurve=Bt,r.splineCurveMonotone=Lt,r.supportsEventListenerOptions=Yt,r.throttled=function(t,e){let r=[],n=!1;return function(...i){r=i,n||(n=!0,H.call(window,(()=>{n=!1,t.apply(e,r)})))}},r.toDegrees=function(t){return t*(180/A)},r.toDimension=c,r.toFont=function(t,e){t=t||{},e=e||at.font;let r=u(t.size,e.size);"string"==typeof r&&(r=parseInt(r,10));let n=u(t.style,e.style);n&&!(""+n).match(pt)&&(console.warn('Invalid font style specified: "'+n+'"'),n=undefined);const i={family:u(t.family,e.family),lineHeight:gt(u(t.lineHeight,e.lineHeight),r),size:r,style:n,weight:u(t.weight,e.weight),string:""};return i.string=st(i),i},r.toFontString=st,r.toLineHeight=gt,r.toPadding=function(t){const e=bt(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e},r.toPercentage=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/e,r.toRadians=function(t){return t*(A/180)},r.toTRBL=bt,r.toTRBLCorners=function(t){return yt(t,["topLeft","topRight","bottomLeft","bottomRight"])},r.uid=i,r.unclipArea=function(t){t.restore()},r.unlistenArrayEvents=function(t,e){const r=t._chartjs;if(!r)return;const n=r.listeners,i=n.indexOf(e);-1!==i&&n.splice(i,1),n.length>0||(V.forEach((e=>{delete t[e]})),delete t._chartjs)},r.valueOrDefault=u}}},{package:"chart.js",file:"node_modules/chart.js/dist/chunks/helpers.segment.cjs"}],[4104,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){function n(t){var e,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=n(t[e]))&&(i&&(i+=" "),i+=r);else for(e in t)t[e]&&(i&&(i+=" "),i+=e);return i}e.exports=function(){for(var t,e,r=0,i="";r<arguments.length;)(t=arguments[r++])&&(e=n(t))&&(i&&(i+=" "),i+=e);return i}}}},{package:"@material-ui/core>clsx",file:"node_modules/clsx/dist/clsx.js"}],[4141,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){r.parse=function(t){var e,r=[],i=String(t||o),a=i.indexOf(n),s=0,l=!1;for(;!l;)-1===a&&(a=i.length,l=!0),!(e=i.slice(s,a).trim())&&l||r.push(e),s=a+1,a=i.indexOf(n,s);return r},r.stringify=function(t,e){var r=e||{},a=!1===r.padLeft?o:i,s=r.padRight?i:o;t[t.length-1]===o&&(t=t.concat(o));return t.join(s+n+a).trim()};var n=",",i=" ",o=""}}},{package:"react-markdown>comma-separated-tokens",file:"node_modules/comma-separated-tokens/index.js"}],[4143,{"toggle-selection":5606},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("toggle-selection"),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(t,e){var r,o,a,s,l,u,c=!1;e||(e={}),r=e.debug||!1;try{if(a=n(),s=document.createRange(),l=document.getSelection(),(u=document.createElement("span")).textContent=t,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(n){if(n.stopPropagation(),e.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[e.format]||i.default;window.clipboardData.setData(o,t)}else n.clipboardData.clearData(),n.clipboardData.setData(e.format,t);e.onCopy&&(n.preventDefault(),e.onCopy(n.clipboardData))})),document.body.appendChild(u),s.selectNodeContents(u),l.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(e.format||"text",t),e.onCopy&&e.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(t){var e=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}("message"in e?e.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,t)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),u&&document.body.removeChild(u),a()}return c}}}},{package:"copy-to-clipboard",file:"node_modules/copy-to-clipboard/index.js"}],[4217,{"tiny-invariant":5603},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=t("tiny-invariant"))&&"object"==typeof n&&"default"in n?n.default:n,o=function(t){var e=t.top,r=t.right,n=t.bottom,i=t.left;return{top:e,right:r,bottom:n,left:i,width:r-i,height:n-e,x:i,y:e,center:{x:(r+i)/2,y:(n+e)/2}}},a=function(t,e){return{top:t.top-e.top,left:t.left-e.left,bottom:t.bottom+e.bottom,right:t.right+e.right}},s=function(t,e){return{top:t.top+e.top,left:t.left+e.left,bottom:t.bottom-e.bottom,right:t.right-e.right}},l={top:0,right:0,bottom:0,left:0},u=function(t){var e=t.borderBox,r=t.margin,n=void 0===r?l:r,i=t.border,u=void 0===i?l:i,c=t.padding,d=void 0===c?l:c,h=o(a(e,n)),f=o(s(e,u)),p=o(s(f,d));return{marginBox:h,borderBox:o(e),paddingBox:f,contentBox:p,margin:n,border:u,padding:d}},c=function(t){var e=t.slice(0,-2);if("px"!==t.slice(-2))return 0;var r=Number(e);return isNaN(r)&&i(!1),r},d=function(t,e){var r,n,i=t.borderBox,o=t.border,a=t.margin,s=t.padding,l=(n=e,{top:(r=i).top+n.y,left:r.left+n.x,bottom:r.bottom+n.y,right:r.right+n.x});return u({borderBox:l,border:o,margin:a,padding:s})},h=function(t,e){var r={top:c(e.marginTop),right:c(e.marginRight),bottom:c(e.marginBottom),left:c(e.marginLeft)},n={top:c(e.paddingTop),right:c(e.paddingRight),bottom:c(e.paddingBottom),left:c(e.paddingLeft)},i={top:c(e.borderTopWidth),right:c(e.borderRightWidth),bottom:c(e.borderBottomWidth),left:c(e.borderLeftWidth)};return u({borderBox:t,margin:r,padding:n,border:i})};r.calculateBox=h,r.createBox=u,r.expand=a,r.getBox=function(t){var e=t.getBoundingClientRect(),r=window.getComputedStyle(t);return h(e,r)},r.getRect=o,r.offset=d,r.shrink=s,r.withScroll=function(t,e){return void 0===e&&(e={x:window.pageXOffset,y:window.pageYOffset}),d(t,e)}}}},{package:"react-beautiful-dnd>css-box-model",file:"node_modules/css-box-model/dist/css-box-model.cjs.js"}],[4218,{"@babel/runtime/helpers/toConsumableArray":397,"is-in-browser":4663},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){function n(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(r,"__esModule",{value:!0});var i=n(t("is-in-browser")),o=n(t("@babel/runtime/helpers/toConsumableArray")),a="",s="",l="",u="",c=i&&"ontouchstart"in document.documentElement;if(i){var d={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},h=document.createElement("p").style;for(var f in d)if(f+"Transform"in h){a=f,s=d[f];break}"Webkit"===a&&"msHyphens"in h&&(a="ms",s=d.ms,u="edge"),"Webkit"===a&&"-apple-trailing-word"in h&&(l="apple")}var p={js:a,css:s,vendor:l,browser:u,isTouch:c};var g={noPrefill:["appearance"],supportedProperty:function(t){return"appearance"===t&&("ms"===p.js?"-webkit-"+t:p.css+t)}},m={noPrefill:["color-adjust"],supportedProperty:function(t){return"color-adjust"===t&&("Webkit"===p.js?p.css+"print-"+t:t)}},y=/[-\s]+(.)?/g;function b(t,e){return e?e.toUpperCase():""}function v(t){return t.replace(y,b)}function w(t){return v("-"+t)}var _,A={noPrefill:["mask"],supportedProperty:function(t,e){if(!/^mask/.test(t))return!1;if("Webkit"===p.js){var r="mask-image";if(v(r)in e)return t;if(p.js+w(r)in e)return p.css+t}return t}},x={noPrefill:["text-orientation"],supportedProperty:function(t){return"text-orientation"===t&&("apple"!==p.vendor||p.isTouch?t:p.css+t)}},C={noPrefill:["transform"],supportedProperty:function(t,e,r){return"transform"===t&&(r.transform?t:p.css+t)}},E={noPrefill:["transition"],supportedProperty:function(t,e,r){return"transition"===t&&(r.transition?t:p.css+t)}},S={noPrefill:["writing-mode"],supportedProperty:function(t){return"writing-mode"===t&&("Webkit"===p.js||"ms"===p.js&&"edge"!==p.browser?p.css+t:t)}},T={noPrefill:["user-select"],supportedProperty:function(t){return"user-select"===t&&("Moz"===p.js||"ms"===p.js||"apple"===p.vendor?p.css+t:t)}},I={supportedProperty:function(t,e){return!!/^break-/.test(t)&&("Webkit"===p.js?"WebkitColumn"+w(t)in e&&p.css+"column-"+t:"Moz"===p.js&&("page"+w(t)in e&&"page-"+t))}},D={supportedProperty:function(t,e){if(!/^(border|margin|padding)-inline/.test(t))return!1;if("Moz"===p.js)return t;var r=t.replace("-inline","");return p.js+w(r)in e&&p.css+r}},O={supportedProperty:function(t,e){return v(t)in e&&t}},R={supportedProperty:function(t,e){var r=w(t);return"-"===t[0]||"-"===t[0]&&"-"===t[1]?t:p.js+r in e?p.css+t:"Webkit"!==p.js&&"Webkit"+r in e&&"-webkit-"+t}},P={supportedProperty:function(t){return"scroll-snap"===t.substring(0,11)&&("ms"===p.js?""+p.css+t:t)}},M={supportedProperty:function(t){return"overscroll-behavior"===t&&("ms"===p.js?p.css+"scroll-chaining":t)}},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"},k={supportedProperty:function(t,e){var r=N[t];return!!r&&(p.js+w(r)in e&&p.css+r)}},B={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"},L=Object.keys(B),F=function(t){return p.css+t},j={supportedProperty:function(t,e,r){var n=r.multiple;if(L.indexOf(t)>-1){var i=B[t];if(!Array.isArray(i))return p.js+w(i)in e&&p.css+i;if(!n)return!1;for(var o=0;o<i.length;o++)if(!(p.js+w(i[0])in e))return!1;return i.map(F)}return!1}},z=[g,m,A,x,C,E,S,T,I,D,O,R,P,M,k,j],V=z.filter((function(t){return t.supportedProperty})).map((function(t){return t.supportedProperty})),H=z.filter((function(t){return t.noPrefill})).reduce((function(t,e){return t.push.apply(t,o(e.noPrefill)),t}),[]),U={};if(i){_=document.createElement("p");var q=window.getComputedStyle(document.documentElement,"");for(var W in q)isNaN(W)||(U[q[W]]=q[W]);H.forEach((function(t){return delete U[t]}))}function G(t,e){if(void 0===e&&(e={}),!_)return t;if(null!=U[t])return U[t];"transition"!==t&&"transform"!==t||(e[t]=t in _.style);for(var r=0;r<V.length&&(U[t]=V[r](t,_.style,e),!U[t]);r++);try{_.style[t]=""}catch(t){return!1}return U[t]}var X,Y={},K={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Z=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function $(t,e,r){if("var"===e)return"var";if("all"===e)return"all";if("all"===r)return", all";var n=e?G(e):", "+G(r);return n||(e||r)}i&&(X=document.createElement("p")),r.prefix=p,r.supportedKeyframes=function(t){return"-"===t[1]||"ms"===p.js?t:"@"+p.css+"keyframes"+t.substr(10)},r.supportedProperty=G,r.supportedValue=function(t,e){var r=e;if(!X||"content"===t)return e;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=t+r;if(null!=Y[n])return Y[n];try{X.style[t]=r}catch(t){return Y[n]=!1,!1}if(K[t])r=r.replace(Z,$);else if(""===X.style[t]&&("-ms-flex"===(r=p.css+r)&&(X.style[t]="-ms-flexbox"),X.style[t]=r,""===X.style[t]))return Y[n]=!1,!1;return X.style[t]="",Y[n]=r,Y[n]}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-vendor-prefixer>css-vendor",file:"node_modules/css-vendor/dist/css-vendor.cjs.js"}],[4230,{"define-data-property":4229,"has-property-descriptors":4614,"object-keys":4969},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("object-keys"),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=t("define-data-property"),l=t("has-property-descriptors")(),u=function(t,e,r,n){if(e in t)if(!0===n){if(t[e]===r)return}else if("function"!=typeof(i=n)||"[object Function]"!==o.call(i)||!n())return;var i;l?s(t,e,r,!0):s(t,e,r)},c=function(t,e){var r=arguments.length>2?arguments[2]:{},o=n(e);i&&(o=a.call(o,Object.getOwnPropertySymbols(e)));for(var s=0;s<o.length;s+=1)u(t,o[s],e[o[s]],r[o[s]])};c.supportsDescriptors=!!l,e.exports=c}}},{package:"string.prototype.matchall>define-properties",file:"node_modules/define-properties/index.js"}],[4237,{_process:5008},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){(function(t){(function(){var e=this&&this.__spreadArrays||function(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),i=0;for(e=0;e<r;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n};Object.defineProperty(r,"__esModule",{value:!0});var n=function(t,e,r){this.name=t,this.version=e,this.os=r,this.type="browser"};r.BrowserInfo=n;var i=function(e){this.version=e,this.type="node",this.name="node",this.os=t.platform};r.NodeInfo=i;var o=function(t,e,r,n){this.name=t,this.version=e,this.os=r,this.bot=n,this.type="bot-device"};r.SearchBotDeviceInfo=o;var a=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null};r.BotInfo=a;var s=function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null};r.ReactNativeInfo=s;var l=/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,u=3,c=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],d=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function h(t){return""!==t&&c.reduce((function(e,r){var n=r[0],i=r[1];if(e)return e;var o=i.exec(t);return!!o&&[n,o]}),!1)}function f(t){var r=h(t);if(!r)return null;var i=r[0],s=r[1];if("searchbot"===i)return new a;var c=s[1]&&s[1].split(/[._]/).slice(0,3);c?c.length<u&&(c=e(c,function(t){for(var e=[],r=0;r<t;r++)e.push("0");return e}(u-c.length))):c=[];var d=c.join("."),f=p(t),g=l.exec(t);return g&&g[1]?new o(i,d,f,g[1]):new n(i,d,f)}function p(t){for(var e=0,r=d.length;e<r;e++){var n=d[e],i=n[0];if(n[1].exec(t))return i}return null}function g(){return void 0!==t&&t.version?new i(t.version.slice(1)):null}r.detect=function(t){return t?f(t):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new s:"undefined"!=typeof navigator?f(navigator.userAgent):g()},r.browserName=function(t){var e=h(t);return e?e[0]:null},r.parseUserAgent=f,r.detectOS=p,r.getNodeVersion=g}).call(this)}).call(this,t("_process"))}}},{package:"@metamask/providers>detect-browser",file:"node_modules/detect-browser/index.js"}],[4243,{"./hasClass":4244,"@babel/runtime/helpers/interopRequireDefault":383},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("@babel/runtime/helpers/interopRequireDefault");r.__esModule=!0,r.default=function(t,e){t.classList?t.classList.add(e):(0,i.default)(t,e)||("string"==typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))};var i=n(t("./hasClass"));e.exports=r.default}}},{package:"@material-ui/core>react-transition-group>dom-helpers",file:"node_modules/dom-helpers/cjs/addClass.js"}],[4244,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){r.__esModule=!0,r.default=function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")},e.exports=r.default}}},{package:"@material-ui/core>react-transition-group>dom-helpers",file:"node_modules/dom-helpers/cjs/hasClass.js"}],[4245,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){function n(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}r.__esModule=!0,r.default=function(t,e){t.classList?t.classList.remove(e):"string"==typeof t.className?t.className=n(t.className,e):t.setAttribute("class",n(t.className&&t.className.baseVal||"",e))},e.exports=r.default}}},{package:"@material-ui/core>react-transition-group>dom-helpers",file:"node_modules/dom-helpers/cjs/removeClass.js"}],[4272,{_process:5008,"call-bind/callBound":4089,"get-intrinsic":4479,"has-symbols":4615,"has-symbols/shams":4616,"is-arguments":4653,"is-map":4664,"is-set":4669,"is-string":4672,isarray:4678,"stop-iteration-iterator":5590},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){(function(r){(function(){var n=t("is-arguments"),i=t("stop-iteration-iterator");if(t("has-symbols")()||t("has-symbols/shams")()){var o=Symbol.iterator;e.exports=function(t){return null!=t&&void 0!==t[o]?t[o]():n(t)?Array.prototype[o].call(t):void 0}}else{var a=t("isarray"),s=t("is-string"),l=t("get-intrinsic"),u=l("%Map%",!0),c=l("%Set%",!0),d=t("call-bind/callBound"),h=d("Array.prototype.push"),f=d("String.prototype.charCodeAt"),p=d("String.prototype.slice"),g=function(t){var e=0;return{next:function(){var r,n=e>=t.length;return n||(r=t[e],e+=1),{done:n,value:r}}}},m=function(t,e){if(a(t)||n(t))return g(t);if(s(t)){var r=0;return{next:function(){var e=function(t,e){if(e+1>=t.length)return e+1;var r=f(t,e);if(r<55296||r>56319)return e+1;var n=f(t,e+1);return n<56320||n>57343?e+1:e+2}(t,r),n=p(t,r,e);return r=e,{done:e>t.length,value:n}}}}return e&&void 0!==t["_es6-shim iterator_"]?t["_es6-shim iterator_"]():void 0};if(u||c){var y=t("is-map"),b=t("is-set"),v=d("Map.prototype.forEach",!0),w=d("Set.prototype.forEach",!0);if(void 0===r||!r.versions||!r.versions.node)var _=d("Map.prototype.iterator",!0),A=d("Set.prototype.iterator",!0);var x=d("Map.prototype.@@iterator",!0)||d("Map.prototype._es6-shim iterator_",!0),C=d("Set.prototype.@@iterator",!0)||d("Set.prototype._es6-shim iterator_",!0);e.exports=function(t){return function(t){if(y(t)){if(_)return i(_(t));if(x)return x(t);if(v){var e=[];return v(t,(function(t,r){h(e,[r,t])})),g(e)}}if(b(t)){if(A)return i(A(t));if(C)return C(t);if(w){var r=[];return w(t,(function(t){h(r,t)})),g(r)}}}(t)||m(t)}}else e.exports=function(t){if(null!=t)return m(t,!0)}}}).call(this)}).call(this,t("_process"))}}},{package:"@metamask/eth-token-tracker>deep-equal>es-get-iterator",file:"node_modules/es-get-iterator/index.js"}],[4401,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===i.call(t)},l=function(t){if(!t||"[object Object]"!==i.call(t))return!1;var e,r=n.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!o)return!1;for(e in t);return void 0===e||n.call(t,e)},u=function(t,e){o&&"__proto__"===e.name?o(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},c=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(a)return a(t,e).value}return t[e]};e.exports=function t(){var e,r,n,i,o,a,d=arguments[0],h=1,f=arguments.length,p=!1;for("boolean"==typeof d&&(p=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});h<f;++h)if(null!=(e=arguments[h]))for(r in e)n=c(d,r),d!==(i=c(e,r))&&(p&&i&&(l(i)||(o=s(i)))?(o?(o=!1,a=n&&s(n)?n:[]):a=n&&l(n)?n:{},u(d,{name:r,newValue:t(p,a,i)})):void 0!==i&&u(d,{name:r,newValue:i}));return d}}}},{package:"react-markdown>unified>extend",file:"node_modules/extend/index.js"}],[4477,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=function(){return"string"==typeof function(){}.name},i=Object.getOwnPropertyDescriptor;if(i)try{i([],"length")}catch(t){i=null}n.functionsHaveConfigurableNames=function(){if(!n()||!i)return!1;var t=i((function(){}),"name");return!!t&&!!t.configurable};var o=Function.prototype.bind;n.boundFunctionsHaveNames=function(){return n()&&"function"==typeof o&&""!==function(){}.bind().name},e.exports=n}}},{package:"string.prototype.matchall>es-abstract>function.prototype.name>functions-have-names",file:"node_modules/functions-have-names/index.js"}],[4478,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i;n=this,i=function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}([function(t,e,r){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var o=r(1),a=r(7),s=a.get,l=(a.deepValue,a.isArray),u=function(){function t(e,r){var n=r.location,i=void 0===n?0:n,o=r.distance,a=void 0===o?100:o,l=r.threshold,u=void 0===l?.6:l,c=r.maxPatternLength,d=void 0===c?32:c,h=r.caseSensitive,f=void 0!==h&&h,p=r.tokenSeparator,g=void 0===p?/ +/g:p,m=r.findAllMatches,y=void 0!==m&&m,b=r.minMatchCharLength,v=void 0===b?1:b,w=r.id,_=void 0===w?null:w,A=r.keys,x=void 0===A?[]:A,C=r.shouldSort,E=void 0===C||C,S=r.getFn,T=void 0===S?s:S,I=r.sortFn,D=void 0===I?function(t,e){return t.score-e.score}:I,O=r.tokenize,R=void 0!==O&&O,P=r.matchAllTokens,M=void 0!==P&&P,N=r.includeMatches,k=void 0!==N&&N,B=r.includeScore,L=void 0!==B&&B,F=r.verbose,j=void 0!==F&&F;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.options={location:i,distance:a,threshold:u,maxPatternLength:d,isCaseSensitive:f,tokenSeparator:g,findAllMatches:y,minMatchCharLength:v,id:_,keys:x,includeMatches:k,includeScore:L,shouldSort:E,getFn:T,sortFn:D,verbose:j,tokenize:R,matchAllTokens:M},this.setCollection(e),this._processKeys(x)}var e,r;return e=t,(r=[{key:"setCollection",value:function(t){return this.list=t,t}},{key:"_processKeys",value:function(t){if(this._keyWeights={},this._keyNames=[],t.length&&"string"==typeof t[0])for(var e=0,r=t.length;e<r;e+=1){var n=t[e];this._keyWeights[n]=1,this._keyNames.push(n)}else{for(var i=null,o=null,a=0,s=0,l=t.length;s<l;s+=1){var u=t[s];if(!u.hasOwnProperty("name"))throw new Error('Missing "name" property in key object');var c=u.name;if(this._keyNames.push(c),!u.hasOwnProperty("weight"))throw new Error('Missing "weight" property in key object');var d=u.weight;if(d<0||d>1)throw new Error('"weight" property in key must bein the range of [0, 1)');o=null==o?d:Math.max(o,d),i=null==i?d:Math.min(i,d),this._keyWeights[c]=d,a+=d}if(a>1)throw new Error("Total of weights cannot exceed 1")}}},{key:"search",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(t,'"'));var r=this._prepareSearchers(t),n=r.tokenSearchers,i=r.fullSearcher,o=this._search(n,i);return this._computeScore(o),this.options.shouldSort&&this._sort(o),e.limit&&"number"==typeof e.limit&&(o=o.slice(0,e.limit)),this._format(o)}},{key:"_prepareSearchers",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=[];if(this.options.tokenize)for(var r=t.split(this.options.tokenSeparator),n=0,i=r.length;n<i;n+=1)e.push(new o(r[n],this.options));return{tokenSearchers:e,fullSearcher:new o(t,this.options)}}},{key:"_search",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=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:t,fullSearcher:e});return i}for(var s=0,l=r.length;s<l;s+=1)for(var u=r[s],c=0,d=this._keyNames.length;c<d;c+=1){var h=this._keyNames[c];this._analyze({key:h,value:this.options.getFn(u,h),record:u,index:s},{resultMap:n,results:i,tokenSearchers:t,fullSearcher:e})}return i}},{key:"_analyze",value:function(t,e){var r=this,n=t.key,i=t.arrayIndex,o=void 0===i?-1:i,a=t.value,s=t.record,u=t.index,c=e.tokenSearchers,d=void 0===c?[]:c,h=e.fullSearcher,f=e.resultMap,p=void 0===f?{}:f,g=e.results,m=void 0===g?[]:g;!function t(e,i,o,a){if(null!=i)if("string"==typeof i){var s=!1,u=-1,c=0;r._log("\nKey: ".concat(""===n?"--":n));var f=h.search(i);if(r._log('Full text: "'.concat(i,'", score: ').concat(f.score)),r.options.tokenize){for(var g=i.split(r.options.tokenSeparator),y=g.length,b=[],v=0,w=d.length;v<w;v+=1){var _=d[v];r._log('\nPattern: "'.concat(_.pattern,'"'));for(var A=!1,x=0;x<y;x+=1){var C=g[x],E=_.search(C),S={};E.isMatch?(S[C]=E.score,s=!0,A=!0,b.push(E.score)):(S[C]=1,r.options.matchAllTokens||b.push(1)),r._log('Token: "'.concat(C,'", score: ').concat(S[C]))}A&&(c+=1)}u=b[0];for(var T=b.length,I=1;I<T;I+=1)u+=b[I];u/=T,r._log("Token score average:",u)}var D=f.score;u>-1&&(D=(D+u)/2),r._log("Score average:",D);var O=!r.options.tokenize||!r.options.matchAllTokens||c>=d.length;if(r._log("\nCheck Matches: ".concat(O)),(s||f.isMatch)&&O){var R={key:n,arrayIndex:e,value:i,score:D};r.options.includeMatches&&(R.matchedIndices=f.matchedIndices);var P=p[a];P?P.output.push(R):(p[a]={item:o,output:[R]},m.push(p[a]))}}else if(l(i))for(var M=0,N=i.length;M<N;M+=1)t(M,i[M],o,a)}(o,a,s,u)}},{key:"_computeScore",value:function(t){this._log("\n\nComputing score:\n");for(var e=this._keyWeights,r=!!Object.keys(e).length,n=0,i=t.length;n<i;n+=1){for(var o=t[n],a=o.output,s=a.length,l=1,u=0;u<s;u+=1){var c=a[u],d=c.key,h=r?e[d]:1,f=0===c.score&&e&&e[d]>0?Number.EPSILON:c.score;l*=Math.pow(f,h)}o.score=l,this._log(o)}}},{key:"_sort",value:function(t){this._log("\n\nSorting...."),t.sort(this.options.sortFn)}},{key:"_format",value:function(t){var e=[];if(this.options.verbose){var r=[];this._log("\n\nOutput:\n\n",JSON.stringify(t,(function(t,e){if("object"===n(e)&&null!==e){if(-1!==r.indexOf(e))return;r.push(e)}return e}),2)),r=null}var i=[];this.options.includeMatches&&i.push((function(t,e){var r=t.output;e.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),e.matches.push(a)}}})),this.options.includeScore&&i.push((function(t,e){e.score=t.score}));for(var o=0,a=t.length;o<a;o+=1){var s=t[o];if(this.options.id&&(s.item=this.options.getFn(s.item,this.options.id)[0]),i.length){for(var l={item:s.item},u=0,c=i.length;u<c;u+=1)i[u](s,l);e.push(l)}else e.push(s.item)}return e}},{key:"_log",value:function(){var t;this.options.verbose&&(t=console).log.apply(t,arguments)}}])&&i(e.prototype,r),t}();t.exports=u},function(t,e,r){function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=r(2),o=r(3),a=r(6),s=function(){function t(e,r){var n=r.location,i=void 0===n?0:n,o=r.distance,s=void 0===o?100:o,l=r.threshold,u=void 0===l?.6:l,c=r.maxPatternLength,d=void 0===c?32:c,h=r.isCaseSensitive,f=void 0!==h&&h,p=r.tokenSeparator,g=void 0===p?/ +/g:p,m=r.findAllMatches,y=void 0!==m&&m,b=r.minMatchCharLength,v=void 0===b?1:b,w=r.includeMatches,_=void 0!==w&&w;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.options={location:i,distance:s,threshold:u,maxPatternLength:d,isCaseSensitive:f,tokenSeparator:g,findAllMatches:y,includeMatches:_,minMatchCharLength:v},this.pattern=f?e:e.toLowerCase(),this.pattern.length<=d&&(this.patternAlphabet=a(this.pattern))}var e,r;return e=t,(r=[{key:"search",value:function(t){var e=this.options,r=e.isCaseSensitive,n=e.includeMatches;if(r||(t=t.toLowerCase()),this.pattern===t){var a={isMatch:!0,score:0};return n&&(a.matchedIndices=[[0,t.length-1]]),a}var s=this.options,l=s.maxPatternLength,u=s.tokenSeparator;if(this.pattern.length>l)return i(t,this.pattern,u);var c=this.options,d=c.location,h=c.distance,f=c.threshold,p=c.findAllMatches,g=c.minMatchCharLength;return o(t,this.pattern,this.patternAlphabet,{location:d,distance:h,threshold:f,findAllMatches:p,minMatchCharLength:g,includeMatches:n})}}])&&n(e.prototype,r),t}();t.exports=s},function(t,e){var r=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;t.exports=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(e.replace(r,"\\$&").replace(n,"|")),o=t.match(i),a=!!o,s=[];if(a)for(var l=0,u=o.length;l<u;l+=1){var c=o[l];s.push([t.indexOf(c),c.length-1])}return{score:a?.5:1,isMatch:a,matchedIndices:s}}},function(t,e,r){var n=r(4),i=r(5);t.exports=function(t,e,r,o){for(var a=o.location,s=void 0===a?0:a,l=o.distance,u=void 0===l?100:l,c=o.threshold,d=void 0===c?.6:c,h=o.findAllMatches,f=void 0!==h&&h,p=o.minMatchCharLength,g=void 0===p?1:p,m=o.includeMatches,y=void 0!==m&&m,b=s,v=t.length,w=d,_=t.indexOf(e,b),A=e.length,x=[],C=0;C<v;C+=1)x[C]=0;if(-1!==_){var E=n(e,{errors:0,currentLocation:_,expectedLocation:b,distance:u});if(w=Math.min(E,w),-1!==(_=t.lastIndexOf(e,b+A))){var S=n(e,{errors:0,currentLocation:_,expectedLocation:b,distance:u});w=Math.min(S,w)}}_=-1;for(var T=[],I=1,D=A+v,O=1<<(A<=31?A-1:30),R=0;R<A;R+=1){for(var P=0,M=D;P<M;)n(e,{errors:R,currentLocation:b+M,expectedLocation:b,distance:u})<=w?P=M:D=M,M=Math.floor((D-P)/2+P);D=M;var N=Math.max(1,b-M+1),k=f?v:Math.min(b+M,v)+A,B=Array(k+2);B[k+1]=(1<<R)-1;for(var L=k;L>=N;L-=1){var F=L-1,j=r[t.charAt(F)];if(j&&(x[F]=1),B[L]=(B[L+1]<<1|1)&j,0!==R&&(B[L]|=(T[L+1]|T[L])<<1|1|T[L+1]),B[L]&O&&(I=n(e,{errors:R,currentLocation:F,expectedLocation:b,distance:u}))<=w){if(w=I,(_=F)<=b)break;N=Math.max(1,2*b-_)}}if(n(e,{errors:R+1,currentLocation:b,expectedLocation:b,distance:u})>w)break;T=B}var z={isMatch:_>=0,score:0===I?.001:I};return y&&(z.matchedIndices=i(x,g)),z}},function(t,e){t.exports=function(t,e){var r=e.errors,n=void 0===r?0:r,i=e.currentLocation,o=void 0===i?0:i,a=e.expectedLocation,s=void 0===a?0:a,l=e.distance,u=void 0===l?100:l,c=n/t.length,d=Math.abs(s-o);return u?c+d/u:d?1:c}},function(t,e){t.exports=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=[],n=-1,i=-1,o=0,a=t.length;o<a;o+=1){var s=t[o];s&&-1===n?n=o:s||-1===n||((i=o-1)-n+1>=e&&r.push([n,i]),n=-1)}return t[o-1]&&o-n>=e&&r.push([n,o-1]),r}},function(t,e){t.exports=function(t){for(var e={},r=t.length,n=0;n<r;n+=1)e[t.charAt(n)]=0;for(var i=0;i<r;i+=1)e[t.charAt(i)]|=1<<r-i-1;return e}},function(t,e){var r=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},n=function(t){return null==t?"":function(t){if("string"==typeof t)return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(t)},i=function(t){return"string"==typeof t},o=function(t){return"number"==typeof t};t.exports={get:function(t,e){var a=[];return function t(e,s){if(s){var l=s.indexOf("."),u=s,c=null;-1!==l&&(u=s.slice(0,l),c=s.slice(l+1));var d=e[u];if(null!=d)if(c||!i(d)&&!o(d))if(r(d))for(var h=0,f=d.length;h<f;h+=1)t(d[h],c);else c&&t(d,c);else a.push(n(d))}else a.push(e)}(t,e),a},isArray:r,isString:i,isNum:o,toString:n}}])},"object"==typeof r&&"object"==typeof e?e.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"}],[4484,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/identity.js"}],[4485,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t,e){var r=e[0],n=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],d=e[9],h=e[10],f=e[11],p=e[12],g=e[13],m=e[14],y=e[15],b=r*s-n*a,v=r*l-i*a,w=r*u-o*a,_=n*l-i*s,A=n*u-o*s,x=i*u-o*l,C=c*g-d*p,E=c*m-h*p,S=c*y-f*p,T=d*m-h*g,I=d*y-f*g,D=h*y-f*m,O=b*D-v*I+w*T+_*S-A*E+x*C;if(!O)return null;return O=1/O,t[0]=(s*D-l*I+u*T)*O,t[1]=(i*I-n*D-o*T)*O,t[2]=(g*x-m*A+y*_)*O,t[3]=(h*A-d*x-f*_)*O,t[4]=(l*S-a*D-u*E)*O,t[5]=(r*D-i*S+o*E)*O,t[6]=(m*w-p*x-y*v)*O,t[7]=(c*x-h*w+f*v)*O,t[8]=(a*I-s*S+u*C)*O,t[9]=(n*S-r*I-o*C)*O,t[10]=(p*A-g*w+y*b)*O,t[11]=(d*w-c*A-f*b)*O,t[12]=(s*E-a*T-l*C)*O,t[13]=(r*T-n*E+i*C)*O,t[14]=(g*v-p*_-m*b)*O,t[15]=(c*_-d*v+h*b)*O,t}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/invert.js"}],[4486,{"./identity":4484},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./identity");e.exports=function(t,e,r,i){var o,a,s,l,u,c,d,h,f,p,g=e[0],m=e[1],y=e[2],b=i[0],v=i[1],w=i[2],_=r[0],A=r[1],x=r[2];if(Math.abs(g-_)<1e-6&&Math.abs(m-A)<1e-6&&Math.abs(y-x)<1e-6)return n(t);d=g-_,h=m-A,f=y-x,p=1/Math.sqrt(d*d+h*h+f*f),o=v*(f*=p)-w*(h*=p),a=w*(d*=p)-b*f,s=b*h-v*d,(p=Math.sqrt(o*o+a*a+s*s))?(o*=p=1/p,a*=p,s*=p):(o=0,a=0,s=0);l=h*s-f*a,u=f*o-d*s,c=d*a-h*o,(p=Math.sqrt(l*l+u*u+c*c))?(l*=p=1/p,u*=p,c*=p):(l=0,u=0,c=0);return t[0]=o,t[1]=l,t[2]=d,t[3]=0,t[4]=a,t[5]=u,t[6]=h,t[7]=0,t[8]=s,t[9]=c,t[10]=f,t[11]=0,t[12]=-(o*g+a*m+s*y),t[13]=-(l*g+u*m+c*y),t[14]=-(d*g+h*m+f*y),t[15]=1,t}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/lookAt.js"}],[4487,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],d=e[8],h=e[9],f=e[10],p=e[11],g=e[12],m=e[13],y=e[14],b=e[15],v=r[0],w=r[1],_=r[2],A=r[3];return t[0]=v*n+w*s+_*d+A*g,t[1]=v*i+w*l+_*h+A*m,t[2]=v*o+w*u+_*f+A*y,t[3]=v*a+w*c+_*p+A*b,v=r[4],w=r[5],_=r[6],A=r[7],t[4]=v*n+w*s+_*d+A*g,t[5]=v*i+w*l+_*h+A*m,t[6]=v*o+w*u+_*f+A*y,t[7]=v*a+w*c+_*p+A*b,v=r[8],w=r[9],_=r[10],A=r[11],t[8]=v*n+w*s+_*d+A*g,t[9]=v*i+w*l+_*h+A*m,t[10]=v*o+w*u+_*f+A*y,t[11]=v*a+w*c+_*p+A*b,v=r[12],w=r[13],_=r[14],A=r[15],t[12]=v*n+w*s+_*d+A*g,t[13]=v*i+w*l+_*h+A*m,t[14]=v*o+w*u+_*f+A*y,t[15]=v*a+w*c+_*p+A*b,t}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/multiply.js"}],[4488,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t,e,r,n,i){var o=1/Math.tan(e/2),a=1/(n-i);return t[0]=o/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=(i+n)*a,t[11]=-1,t[12]=0,t[13]=0,t[14]=2*i*n*a,t[15]=0,t}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/perspective.js"}],[4489,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t,e,r,n){var i,o,a,s,l,u,c,d,h,f,p,g,m,y,b,v,w,_,A,x,C,E,S,T,I=n[0],D=n[1],O=n[2],R=Math.sqrt(I*I+D*D+O*O);if(Math.abs(R)<1e-6)return null;I*=R=1/R,D*=R,O*=R,i=Math.sin(r),o=Math.cos(r),a=1-o,s=e[0],l=e[1],u=e[2],c=e[3],d=e[4],h=e[5],f=e[6],p=e[7],g=e[8],m=e[9],y=e[10],b=e[11],v=I*I*a+o,w=D*I*a+O*i,_=O*I*a-D*i,A=I*D*a-O*i,x=D*D*a+o,C=O*D*a+I*i,E=I*O*a+D*i,S=D*O*a-I*i,T=O*O*a+o,t[0]=s*v+d*w+g*_,t[1]=l*v+h*w+m*_,t[2]=u*v+f*w+y*_,t[3]=c*v+p*w+b*_,t[4]=s*A+d*x+g*C,t[5]=l*A+h*x+m*C,t[6]=u*A+f*x+y*C,t[7]=c*A+p*x+b*C,t[8]=s*E+d*S+g*T,t[9]=l*E+h*S+m*T,t[10]=u*E+f*S+y*T,t[11]=c*E+p*S+b*T,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/rotate.js"}],[4490,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],o=e[2],a=r[3]*n+r[7]*i+r[11]*o+r[15];return a=a||1,t[0]=(r[0]*n+r[4]*i+r[8]*o+r[12])/a,t[1]=(r[1]*n+r[5]*i+r[9]*o+r[13])/a,t[2]=(r[2]*n+r[6]*i+r[10]*o+r[14])/a,t}}}},{package:"@metamask/logo>gl-vec3",file:"node_modules/gl-vec3/transformMat4.js"}],[4613,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n="undefined"!=typeof BigInt&&BigInt;e.exports=function(){return"function"==typeof n&&"function"==typeof BigInt&&"bigint"==typeof n(42)&&"bigint"==typeof BigInt(42)}}}},{package:"string.prototype.matchall>es-abstract>unbox-primitive>has-bigints",file:"node_modules/has-bigints/index.js"}],[4633,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){!function(t){var n="object"==typeof r&&r,i="object"==typeof e&&e&&e.exports==n&&e,o="object"==typeof global&&global;o.global!==o&&o.window!==o||(t=o);var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,u=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,c={"­":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine","":"puncsp","":"MediumSpace","":"thinsp","":"hairsp","":"emsp13","":"ensp","":"emsp14","":"emsp","":"numsp"," ":"nbsp","":"ThickSpace","‾":"oline",_:"lowbar","":"dash","":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","":"lsquo","":"rsquo","":"sbquo","":"lsaquo","":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","":"lbbrk","":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","":"hybull","":"prime","″":"Prime","‴":"tprime","⁗":"qprime","":"bprime","":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","":"minus","∓":"mp","∔":"plusdo","":"frasl","":"setmn","":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","":"or","∩":"cap","∩︀":"caps","":"cup","":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","":"Vee","⋂":"xcap","":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","":"Cfr","𝒞":"Cscr","":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","":"ee","":"escr","𝔢":"efr","𝕖":"eopf","":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","":"planckh","𝒽":"hscr","𝕙":"hopf","":"Hscr","":"Hfr","":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","":"ii","𝕀":"Iopf","":"Iscr","":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","":"ell","𝕝":"lopf","":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","":"Rscr","":"Re","":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","":"Zfr","":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},d=/["&'<>`]/g,h={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},f=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,p=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,m={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",Backslash:"",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",Bernoullis:"",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"",caps:"∩︀",caret:"",caron:"ˇ",Cayleys:"",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"",DD:"",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:"",emsp13:"",emsp14:"",eng:"ŋ",ENG:"Ŋ",ensp:"",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"",Escr:"",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"",exponentiale:"",ExponentialE:"",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",fscr:"𝒻",Fscr:"",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:"",half:"½",hamilt:"",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"",HilbertSpace:"",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"",hyphen:"",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"",igrave:"ì",Igrave:"Ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"",imacr:"ī",Imacr:"Ī",image:"",ImaginaryI:"",imagline:"",imagpart:"",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",lscr:"𝓁",Lscr:"",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"",Mellintrf:"",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"",midast:"*",midcir:"⫰",middot:"·",minus:"",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",or:"",Or:"⩔",orarr:"↻",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"",pointint:"⨕",popf:"𝕡",Popf:"",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"",Prime:"″",primes:"",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:"",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"",rationals:"",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"",real:"",realine:"",realpart:"",reals:"",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"",rscr:"𝓇",Rscr:"",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",ThickSpace:"",thinsp:"",ThinSpace:"",thkap:"≈",thksim:"",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"",Vee:"",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""},y={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},b={0:"<22>",128:"€",130:"",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"",140:"Œ",142:"Ž",145:"",146:"",147:"“",148:"”",149:"•",150:"",151:"—",152:"˜",153:"™",154:"š",155:"",156:"œ",158:"ž",159:"Ÿ"},v=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],w=String.fromCharCode,_={}.hasOwnProperty,A=function(t,e){return _.call(t,e)},x=function(t,e){if(!t)return e;var r,n={};for(r in e)n[r]=A(t,r)?t[r]:e[r];return n},C=function(t,e){var r="";return t>=55296&&t<=57343||t>1114111?(e&&T("character reference outside the permissible Unicode range"),"<22>"):A(b,t)?(e&&T("disallowed character reference"),b[t]):(e&&function(t,e){for(var r=-1,n=t.length;++r<n;)if(t[r]==e)return!0;return!1}(v,t)&&T("disallowed character reference"),t>65535&&(r+=w((t-=65536)>>>10&1023|55296),t=56320|1023&t),r+=w(t))},E=function(t){return"&#x"+t.toString(16).toUpperCase()+";"},S=function(t){return"&#"+t+";"},T=function(t){throw Error("Parse error: "+t)},I=function(t,e){(e=x(e,I.options)).strict&&p.test(t)&&T("forbidden code point");var r=e.encodeEverything,n=e.useNamedReferences,i=e.allowUnsafeSymbols,o=e.decimal?S:E,h=function(t){return o(t.charCodeAt(0))};return r?(t=t.replace(s,(function(t){return n&&A(c,t)?"&"+c[t]+";":h(t)})),n&&(t=t.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),n&&(t=t.replace(u,(function(t){return"&"+c[t]+";"})))):n?(i||(t=t.replace(d,(function(t){return"&"+c[t]+";"}))),t=(t=t.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(u,(function(t){return"&"+c[t]+";"}))):i||(t=t.replace(d,h)),t.replace(a,(function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1);return o(1024*(e-55296)+r-56320+65536)})).replace(l,h)};I.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var D=function(t,e){var r=(e=x(e,D.options)).strict;return r&&f.test(t)&&T("malformed character reference"),t.replace(g,(function(t,n,i,o,a,s,l,u,c){var d,h,f,p,g,b;return n?m[g=n]:i?(g=i,(b=o)&&e.isAttributeValue?(r&&"="==b&&T("`&` did not start a character reference"),t):(r&&T("named character reference was not terminated by a semicolon"),y[g]+(b||""))):a?(f=a,h=s,r&&!h&&T("character reference was not terminated by a semicolon"),d=parseInt(f,10),C(d,r)):l?(p=l,h=u,r&&!h&&T("character reference was not terminated by a semicolon"),d=parseInt(p,16),C(d,r)):(r&&T("named character reference was not terminated by a semicolon"),t)}))};D.options={isAttributeValue:!1,strict:!1};var O={version:"1.2.0",encode:I,decode:D,escape:function(t){return t.replace(d,(function(t){return h[t]}))},unescape:D};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define((function(){return O}));else if(n&&!n.nodeType)if(i)i.exports=O;else for(var R in O)A(O,R)&&(n[R]=O[R]);else t.he=O}(this)}}},{package:"he",file:"node_modules/he/he.js"}],[4634,{"./umd/history.development.js":4635,"./umd/history.production.min.js":4636},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=t("./umd/history.production.min.js")}}},{package:"history",file:"node_modules/history/main.js"}],[4635,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){!function(t,n){"object"==typeof r&&void 0!==e?n(r):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).HistoryLibrary={})}(this,(function(t){function e(){return e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},e.apply(this,arguments)}var r;t.Action=void 0,(r=t.Action||(t.Action={})).Pop="POP",r.Push="PUSH",r.Replace="REPLACE";var n=function(t){return Object.freeze(t)};function i(t,e){if(!t){"undefined"!=typeof console&&console.warn(e);try{throw new Error(e)}catch(t){}}}var o="beforeunload",a="popstate";function s(t,e,r){return Math.min(Math.max(t,e),r)}function l(t){t.preventDefault(),t.returnValue=""}function u(){var t=[];return{get length(){return t.length},push:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},call:function(e){t.forEach((function(t){return t&&t(e)}))}}}function c(){return Math.random().toString(36).substr(2,8)}function d(t){var e=t.pathname,r=void 0===e?"/":e,n=t.search,i=void 0===n?"":n,o=t.hash,a=void 0===o?"":o;return i&&"?"!==i&&(r+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(r+="#"===a.charAt(0)?a:"#"+a),r}function h(t){var e={};if(t){var r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));var n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}t.createBrowserHistory=function(r){void 0===r&&(r={});var s=r.window,f=void 0===s?document.defaultView:s,p=f.history;function g(){var t=f.location,e=t.pathname,r=t.search,i=t.hash,o=p.state||{};return[o.idx,n({pathname:e,search:r,hash:i,state:o.usr||null,key:o.key||"default"})]}var m=null;f.addEventListener(a,(function(){if(m)A.call(m),m=null;else{var e=t.Action.Pop,r=g(),n=r[0],o=r[1];if(A.length)if(null!=n){var a=v-n;a&&(m={action:e,location:o,retry:function(){I(-1*a)}},I(a))}else i(!1,"You are trying to block a POP navigation to a location that was not created by the history library. The block will fail silently in production, but in general you should do all navigation with the history library (instead of using window.history.pushState directly) to avoid this situation.");else T(e)}}));var y=t.Action.Pop,b=g(),v=b[0],w=b[1],_=u(),A=u();function x(t){return"string"==typeof t?t:d(t)}function C(t,r){return void 0===r&&(r=null),n(e({pathname:w.pathname,hash:"",search:""},"string"==typeof t?h(t):t,{state:r,key:c()}))}function E(t,e){return[{usr:t.state,key:t.key,idx:e},x(t)]}function S(t,e,r){return!A.length||(A.call({action:t,location:e,retry:r}),!1)}function T(t){y=t;var e=g();v=e[0],w=e[1],_.call({action:y,location:w})}function I(t){p.go(t)}return null==v&&(v=0,p.replaceState(e({},p.state,{idx:v}),"")),{get action(){return y},get location(){return w},createHref:x,push:function e(r,n){var i=t.Action.Push,o=C(r,n);if(S(i,o,(function(){e(r,n)}))){var a=E(o,v+1),s=a[0],l=a[1];try{p.pushState(s,"",l)}catch(t){f.location.assign(l)}T(i)}},replace:function e(r,n){var i=t.Action.Replace,o=C(r,n);if(S(i,o,(function(){e(r,n)}))){var a=E(o,v),s=a[0],l=a[1];p.replaceState(s,"",l),T(i)}},go:I,back:function(){I(-1)},forward:function(){I(1)},listen:function(t){return _.push(t)},block:function(t){var e=A.push(t);return 1===A.length&&f.addEventListener(o,l),function(){e(),A.length||f.removeEventListener(o,l)}}}},t.createHashHistory=function(r){void 0===r&&(r={});var s=r.window,f=void 0===s?document.defaultView:s,p=f.history;function g(){var t=h(f.location.hash.substr(1)),e=t.pathname,r=void 0===e?"/":e,i=t.search,o=void 0===i?"":i,a=t.hash,s=void 0===a?"":a,l=p.state||{};return[l.idx,n({pathname:r,search:o,hash:s,state:l.usr||null,key:l.key||"default"})]}var m=null;function y(){if(m)x.call(m),m=null;else{var e=t.Action.Pop,r=g(),n=r[0],o=r[1];if(x.length)if(null!=n){var a=w-n;a&&(m={action:e,location:o,retry:function(){D(-1*a)}},D(a))}else i(!1,"You are trying to block a POP navigation to a location that was not created by the history library. The block will fail silently in production, but in general you should do all navigation with the history library (instead of using window.history.pushState directly) to avoid this situation.");else I(e)}}f.addEventListener(a,y),f.addEventListener("hashchange",(function(){d(g()[1])!==d(_)&&y()}));var b=t.Action.Pop,v=g(),w=v[0],_=v[1],A=u(),x=u();function C(t){return function(){var t=document.querySelector("base"),e="";if(t&&t.getAttribute("href")){var r=f.location.href,n=r.indexOf("#");e=-1===n?r:r.slice(0,n)}return e}()+"#"+("string"==typeof t?t:d(t))}function E(t,r){return void 0===r&&(r=null),n(e({pathname:_.pathname,hash:"",search:""},"string"==typeof t?h(t):t,{state:r,key:c()}))}function S(t,e){return[{usr:t.state,key:t.key,idx:e},C(t)]}function T(t,e,r){return!x.length||(x.call({action:t,location:e,retry:r}),!1)}function I(t){b=t;var e=g();w=e[0],_=e[1],A.call({action:b,location:_})}function D(t){p.go(t)}return null==w&&(w=0,p.replaceState(e({},p.state,{idx:w}),"")),{get action(){return b},get location(){return _},createHref:C,push:function e(r,n){var o=t.Action.Push,a=E(r,n);if(i("/"===a.pathname.charAt(0),"Relative pathnames are not supported in hash history.push("+JSON.stringify(r)+")"),T(o,a,(function(){e(r,n)}))){var s=S(a,w+1),l=s[0],u=s[1];try{p.pushState(l,"",u)}catch(t){f.location.assign(u)}I(o)}},replace:function e(r,n){var o=t.Action.Replace,a=E(r,n);if(i("/"===a.pathname.charAt(0),"Relative pathnames are not supported in hash history.replace("+JSON.stringify(r)+")"),T(o,a,(function(){e(r,n)}))){var s=S(a,w),l=s[0],u=s[1];p.replaceState(l,"",u),I(o)}},go:D,back:function(){D(-1)},forward:function(){D(1)},listen:function(t){return A.push(t)},block:function(t){var e=x.push(t);return 1===x.length&&f.addEventListener(o,l),function(){e(),x.length||f.removeEventListener(o,l)}}}},t.createMemoryHistory=function(r){void 0===r&&(r={});var o=r,a=o.initialEntries,l=void 0===a?["/"]:a,f=o.initialIndex,p=l.map((function(t){var r=n(e({pathname:"/",search:"",hash:"",state:null,key:c()},"string"==typeof t?h(t):t));return i("/"===r.pathname.charAt(0),"Relative pathnames are not supported in createMemoryHistory({ initialEntries }) (invalid entry: "+JSON.stringify(t)+")"),r})),g=s(null==f?p.length-1:f,0,p.length-1),m=t.Action.Pop,y=p[g],b=u(),v=u();function w(t,r){return void 0===r&&(r=null),n(e({pathname:y.pathname,search:"",hash:""},"string"==typeof t?h(t):t,{state:r,key:c()}))}function _(t,e,r){return!v.length||(v.call({action:t,location:e,retry:r}),!1)}function A(t,e){m=t,y=e,b.call({action:m,location:y})}function x(e){var r=s(g+e,0,p.length-1),n=t.Action.Pop,i=p[r];_(n,i,(function(){x(e)}))&&(g=r,A(n,i))}return{get index(){return g},get action(){return m},get location(){return y},createHref:function(t){return"string"==typeof t?t:d(t)},push:function e(r,n){var o=t.Action.Push,a=w(r,n);i("/"===y.pathname.charAt(0),"Relative pathnames are not supported in memory history.push("+JSON.stringify(r)+")"),_(o,a,(function(){e(r,n)}))&&(g+=1,p.splice(g,p.length,a),A(o,a))},replace:function e(r,n){var o=t.Action.Replace,a=w(r,n);i("/"===y.pathname.charAt(0),"Relative pathnames are not supported in memory history.replace("+JSON.stringify(r)+")"),_(o,a,(function(){e(r,n)}))&&(p[g]=a,A(o,a))},go:x,back:function(){x(-1)},forward:function(){x(1)},listen:function(t){return b.push(t)},block:function(t){return v.push(t)}}},t.createPath=d,t.parsePath=h,Object.defineProperty(t,"__esModule",{value:!0})}))}}},{package:"history",file:"node_modules/history/umd/history.development.js"}],[4636,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i;n=this,i=function(t){function e(){return(e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var r;t.Action=void 0,(r=t.Action||(t.Action={})).Pop="POP",r.Push="PUSH",r.Replace="REPLACE";var n="beforeunload",i="popstate";function o(t,e,r){return Math.min(Math.max(t,e),r)}function a(t){t.preventDefault(),t.returnValue=""}function s(){var t=[];return{get length(){return t.length},push:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},call:function(e){t.forEach((function(t){return t&&t(e)}))}}}function l(){return Math.random().toString(36).substr(2,8)}function u(t){var e=t.pathname,r=void 0===e?"/":e,n=t.search,i=void 0===n?"":n,o=t.hash,a=void 0===o?"":o;return i&&"?"!==i&&(r+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(r+="#"===a.charAt(0)?a:"#"+a),r}function c(t){var e={};if(t){var r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));var n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}t.createBrowserHistory=function(r){void 0===r&&(r={});var o=r.window,d=void 0===o?document.defaultView:o,h=d.history;function f(){var t=d.location,e=t.pathname,r=t.search,n=t.hash,i=h.state||{};return[i.idx,{pathname:e,search:r,hash:n,state:i.usr||null,key:i.key||"default"}]}var p=null;d.addEventListener(i,(function(){if(p)w.call(p),p=null;else{var e=t.Action.Pop,r=f(),n=r[0],i=r[1];if(w.length){if(null!=n){var o=y-n;o&&(p={action:e,location:i,retry:function(){S(-1*o)}},S(o))}}else E(e)}}));var g=t.Action.Pop,m=f(),y=m[0],b=m[1],v=s(),w=s();function _(t){return"string"==typeof t?t:u(t)}function A(t,r){return void 0===r&&(r=null),e({pathname:b.pathname,hash:"",search:""},"string"==typeof t?c(t):t,{state:r,key:l()})}function x(t,e){return[{usr:t.state,key:t.key,idx:e},_(t)]}function C(t,e,r){return!w.length||(w.call({action:t,location:e,retry:r}),!1)}function E(t){g=t;var e=f();y=e[0],b=e[1],v.call({action:g,location:b})}function S(t){h.go(t)}return null==y&&(y=0,h.replaceState(e({},h.state,{idx:y}),"")),{get action(){return g},get location(){return b},createHref:_,push:function e(r,n){var i=t.Action.Push,o=A(r,n);if(C(i,o,(function(){e(r,n)}))){var a=x(o,y+1),s=a[0],l=a[1];try{h.pushState(s,"",l)}catch(t){d.location.assign(l)}E(i)}},replace:function e(r,n){var i=t.Action.Replace,o=A(r,n);if(C(i,o,(function(){e(r,n)}))){var a=x(o,y),s=a[0],l=a[1];h.replaceState(s,"",l),E(i)}},go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(t){return v.push(t)},block:function(t){var e=w.push(t);return 1===w.length&&d.addEventListener(n,a),function(){e(),w.length||d.removeEventListener(n,a)}}}},t.createHashHistory=function(r){void 0===r&&(r={});var o=r.window,d=void 0===o?document.defaultView:o,h=d.history;function f(){var t=c(d.location.hash.substr(1)),e=t.pathname,r=void 0===e?"/":e,n=t.search,i=void 0===n?"":n,o=t.hash,a=void 0===o?"":o,s=h.state||{};return[s.idx,{pathname:r,search:i,hash:a,state:s.usr||null,key:s.key||"default"}]}var p=null;function g(){if(p)_.call(p),p=null;else{var e=t.Action.Pop,r=f(),n=r[0],i=r[1];if(_.length){if(null!=n){var o=b-n;o&&(p={action:e,location:i,retry:function(){T(-1*o)}},T(o))}}else S(e)}}d.addEventListener(i,g),d.addEventListener("hashchange",(function(){u(f()[1])!==u(v)&&g()}));var m=t.Action.Pop,y=f(),b=y[0],v=y[1],w=s(),_=s();function A(t){return function(){var t=document.querySelector("base"),e="";if(t&&t.getAttribute("href")){var r=d.location.href,n=r.indexOf("#");e=-1===n?r:r.slice(0,n)}return e}()+"#"+("string"==typeof t?t:u(t))}function x(t,r){return void 0===r&&(r=null),e({pathname:v.pathname,hash:"",search:""},"string"==typeof t?c(t):t,{state:r,key:l()})}function C(t,e){return[{usr:t.state,key:t.key,idx:e},A(t)]}function E(t,e,r){return!_.length||(_.call({action:t,location:e,retry:r}),!1)}function S(t){m=t;var e=f();b=e[0],v=e[1],w.call({action:m,location:v})}function T(t){h.go(t)}return null==b&&(b=0,h.replaceState(e({},h.state,{idx:b}),"")),{get action(){return m},get location(){return v},createHref:A,push:function e(r,n){var i=t.Action.Push,o=x(r,n);if(E(i,o,(function(){e(r,n)}))){var a=C(o,b+1),s=a[0],l=a[1];try{h.pushState(s,"",l)}catch(t){d.location.assign(l)}S(i)}},replace:function e(r,n){var i=t.Action.Replace,o=x(r,n);if(E(i,o,(function(){e(r,n)}))){var a=C(o,b),s=a[0],l=a[1];h.replaceState(s,"",l),S(i)}},go:T,back:function(){T(-1)},forward:function(){T(1)},listen:function(t){return w.push(t)},block:function(t){var e=_.push(t);return 1===_.length&&d.addEventListener(n,a),function(){e(),_.length||d.removeEventListener(n,a)}}}},t.createMemoryHistory=function(r){void 0===r&&(r={});var n=r,i=n.initialEntries,a=void 0===i?["/"]:i,d=n.initialIndex,h=a.map((function(t){return e({pathname:"/",search:"",hash:"",state:null,key:l()},"string"==typeof t?c(t):t)})),f=o(null==d?h.length-1:d,0,h.length-1),p=t.Action.Pop,g=h[f],m=s(),y=s();function b(t,r){return void 0===r&&(r=null),e({pathname:g.pathname,search:"",hash:""},"string"==typeof t?c(t):t,{state:r,key:l()})}function v(t,e,r){return!y.length||(y.call({action:t,location:e,retry:r}),!1)}function w(t,e){p=t,g=e,m.call({action:p,location:g})}function _(e){var r=o(f+e,0,h.length-1),n=t.Action.Pop,i=h[r];v(n,i,(function(){_(e)}))&&(f=r,w(n,i))}return{get index(){return f},get action(){return p},get location(){return g},createHref:function(t){return"string"==typeof t?t:u(t)},push:function e(r,n){var i=t.Action.Push,o=b(r,n);v(i,o,(function(){e(r,n)}))&&(f+=1,h.splice(f,h.length,o),w(i,o))},replace:function e(r,n){var i=t.Action.Replace,o=b(r,n);v(i,o,(function(){e(r,n)}))&&(h[f]=o,w(i,o))},go:_,back:function(){_(-1)},forward:function(){_(1)},listen:function(t){return m.push(t)},block:function(t){return y.push(t)}}},t.createPath=u,t.parsePath=c,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof r&&void 0!==e?i(r):"function"==typeof define&&define.amd?define(["exports"],i):i((n="undefined"!=typeof globalThis?globalThis:n||self).HistoryLibrary={})}}},{package:"history",file:"node_modules/history/umd/history.production.min.js"}],[4641,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=/[A-Z]/g,i=/^ms-/,o={};function a(t){return"-"+t.toLowerCase()}e.exports=function(t){if(o.hasOwnProperty(t))return o[t];var e=t.replace(n,a);return o[t]=i.test(e)?"-"+e:e}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-camel-case>hyphenate-style-name",file:"node_modules/hyphenate-style-name/index.cjs.js"}],[4651,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,o=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g,d="";function h(t){return t?t.replace(c,d):d}e.exports=function(t,e){if("string"!=typeof t)throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var r=1,c=1;function f(t){var e=t.match(i);e&&(r+=e.length);var n=t.lastIndexOf("\n");c=~n?t.length-n:c+t.length}function p(){var t={line:r,column:c};return function(e){return e.position=new g(t),v(),e}}function g(t){this.start=t,this.end={line:r,column:c},this.source=e.source}g.prototype.content=t;var m=[];function y(n){var i=new Error(e.source+":"+r+":"+c+": "+n);if(i.reason=n,i.filename=e.source,i.line=r,i.column=c,i.source=t,!e.silent)throw i;m.push(i)}function b(e){var r=e.exec(t);if(r){var n=r[0];return f(n),t=t.slice(n.length),r}}function v(){b(o)}function w(t){var e;for(t=t||[];e=_();)!1!==e&&t.push(e);return t}function _(){var e=p();if("/"==t.charAt(0)&&"*"==t.charAt(1)){for(var r=2;d!=t.charAt(r)&&("*"!=t.charAt(r)||"/"!=t.charAt(r+1));)++r;if(r+=2,d===t.charAt(r-1))return y("End of comment missing");var n=t.slice(2,r-2);return c+=2,f(n),t=t.slice(r),c+=2,e({type:"comment",comment:n})}}function A(){var t=p(),e=b(a);if(e){if(_(),!b(s))return y("property missing ':'");var r=b(l),i=t({type:"declaration",property:h(e[0].replace(n,d)),value:r?h(r[0].replace(n,d)):d});return b(u),i}}return v(),function(){var t,e=[];for(w(e);t=A();)!1!==t&&(e.push(t),w(e));return e}()}}}},{package:"react-markdown>style-to-object>inline-style-parser",file:"node_modules/inline-style-parser/index.js"}],[4652,{"es-errors/type":4270,hasown:4631,"side-channel":5579},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("hasown"),i=t("side-channel")(),o=t("es-errors/type"),a={assert:function(t,e){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new o("`O` is not an object");if("string"!=typeof e)throw new o("`slot` must be a string");if(i.assert(t),!a.has(t,e))throw new o("`"+e+"` is not present on `O`")},get:function(t,e){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new o("`O` is not an object");if("string"!=typeof e)throw new o("`slot` must be a string");var r=i.get(t);return r&&r["$"+e]},has:function(t,e){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new o("`O` is not an object");if("string"!=typeof e)throw new o("`slot` must be a string");var r=i.get(t);return!!r&&n(r,"$"+e)},set:function(t,e,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new o("`O` is not an object");if("string"!=typeof e)throw new o("`slot` must be a string");var n=i.get(t);n||(n={},i.set(t,n)),n["$"+e]=r}};Object.freeze&&Object.freeze(a),e.exports=a}}},{package:"string.prototype.matchall>internal-slot",file:"node_modules/internal-slot/index.js"}],[4654,{"call-bind":4090,"call-bind/callBound":4089,"get-intrinsic":4479},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("call-bind"),i=t("call-bind/callBound"),o=t("get-intrinsic")("%ArrayBuffer%",!0),a=i("ArrayBuffer.prototype.byteLength",!0),s=i("Object.prototype.toString"),l=!!o&&!a&&new o(0).slice,u=!!l&&n(l);e.exports=a||u?function(t){if(!t||"object"!=typeof t)return!1;try{return a?a(t):u(t,0),!0}catch(t){return!1}}:o?function(t){return"[object ArrayBuffer]"===s(t)}:function(t){return!1}}}},{package:"string.prototype.matchall>es-abstract>is-array-buffer",file:"node_modules/is-array-buffer/index.js"}],[4655,{"has-bigints":4613},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){if(t("has-bigints")()){var n=BigInt.prototype.valueOf;e.exports=function(t){return null!=t&&"boolean"!=typeof t&&"string"!=typeof t&&"number"!=typeof t&&"symbol"!=typeof t&&"function"!=typeof t&&("bigint"==typeof t||function(t){try{return n.call(t),!0}catch(t){}return!1}(t))}}else e.exports=function(t){return!1}}}},{package:"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-bigint",file:"node_modules/is-bigint/index.js"}],[4656,{"call-bind/callBound":4089,"has-tostringtag/shams":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("call-bind/callBound"),i=n("Boolean.prototype.toString"),o=n("Object.prototype.toString"),a=t("has-tostringtag/shams")();e.exports=function(t){return"boolean"==typeof t||null!==t&&"object"==typeof t&&(a&&Symbol.toStringTag in t?function(t){try{return i(t),!0}catch(t){return!1}}(t):"[object Boolean]"===o(t))}}}},{package:"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-boolean-object",file:"node_modules/is-boolean-object/index.js"}],[4659,{"has-tostringtag/shams":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=Date.prototype.getDay,i=Object.prototype.toString,o=t("has-tostringtag/shams")();e.exports=function(t){return"object"==typeof t&&null!==t&&(o?function(t){try{return n.call(t),!0}catch(t){return!1}}(t):"[object Date]"===i.call(t))}}}},{package:"@metamask/eth-token-tracker>deep-equal>is-date-object",file:"node_modules/is-date-object/index.js"}],[4663,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},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"}],[4664,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i="function"==typeof Map&&Map.prototype?Map:null,o="function"==typeof Set&&Set.prototype?Set:null;i||(n=function(t){return!1});var a=i?Map.prototype.has:null,s=o?Set.prototype.has:null;n||a||(n=function(t){return!1}),e.exports=n||function(t){if(!t||"object"!=typeof t)return!1;try{if(a.call(t),s)try{s.call(t)}catch(t){return!0}return t instanceof i}catch(t){}return!1}}}},{package:"@metamask/eth-token-tracker>deep-equal>es-get-iterator>is-map",file:"node_modules/is-map/index.js"}],[4665,{"has-tostringtag/shams":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=Number.prototype.toString,i=Object.prototype.toString,o=t("has-tostringtag/shams")();e.exports=function(t){return"number"==typeof t||"object"==typeof t&&(o?function(t){try{return n.call(t),!0}catch(t){return!1}}(t):"[object Number]"===i.call(t))}}}},{package:"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-number-object",file:"node_modules/is-number-object/index.js"}],[4666,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=t=>{if("[object Object]"!==Object.prototype.toString.call(t))return!1;const e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}}}},{package:"mocha>yargs-unparser>is-plain-obj",file:"node_modules/is-plain-obj/index.js"}],[4667,{"call-bind/callBound":4089,"has-tostringtag/shams":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i,o,a,s=t("call-bind/callBound"),l=t("has-tostringtag/shams")();if(l){n=s("Object.prototype.hasOwnProperty"),i=s("RegExp.prototype.exec"),o={};var u=function(){throw o};a={toString:u,valueOf:u},"symbol"==typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=u)}var c=s("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor;e.exports=l?function(t){if(!t||"object"!=typeof t)return!1;var e=d(t,"lastIndex");if(!(e&&n(e,"value")))return!1;try{i(t,a)}catch(t){return t===o}}:function(t){return!(!t||"object"!=typeof t&&"function"!=typeof t)&&"[object RegExp]"===c(t)}}}},{package:"string.prototype.matchall>es-abstract>is-regex",file:"node_modules/is-regex/index.js"}],[4669,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i="function"==typeof Map&&Map.prototype?Map:null,o="function"==typeof Set&&Set.prototype?Set:null;o||(n=function(t){return!1});var a=i?Map.prototype.has:null,s=o?Set.prototype.has:null;n||s||(n=function(t){return!1}),e.exports=n||function(t){if(!t||"object"!=typeof t)return!1;try{if(s.call(t),a)try{a.call(t)}catch(t){return!0}return t instanceof o}catch(t){}return!1}}}},{package:"@metamask/eth-token-tracker>deep-equal>es-get-iterator>is-set",file:"node_modules/is-set/index.js"}],[4670,{"call-bind/callBound":4089},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("call-bind/callBound")("SharedArrayBuffer.prototype.byteLength",!0);e.exports=n?function(t){if(!t||"object"!=typeof t)return!1;try{return n(t),!0}catch(t){return!1}}:function(t){return!1}}}},{package:"string.prototype.matchall>es-abstract>is-shared-array-buffer",file:"node_modules/is-shared-array-buffer/index.js"}],[4671,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){const n=t=>null!==t&&"object"==typeof t&&"function"==typeof t.pipe;n.writable=t=>n(t)&&!1!==t.writable&&"function"==typeof t._write&&"object"==typeof t._writableState,n.readable=t=>n(t)&&!1!==t.readable&&"function"==typeof t._read&&"object"==typeof t._readableState,n.duplex=t=>n.writable(t)&&n.readable(t),n.transform=t=>n.duplex(t)&&"function"==typeof t._transform&&"object"==typeof t._transformState,e.exports=n}}},{package:"@metamask/providers>is-stream",file:"node_modules/is-stream/index.js"}],[4672,{"has-tostringtag/shams":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=String.prototype.valueOf,i=Object.prototype.toString,o=t("has-tostringtag/shams")();e.exports=function(t){return"string"==typeof t||"object"==typeof t&&(o?function(t){try{return n.call(t),!0}catch(t){return!1}}(t):"[object String]"===i.call(t))}}}},{package:"eslint-plugin-react>array-includes>is-string",file:"node_modules/is-string/index.js"}],[4673,{"has-symbols":4615},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=Object.prototype.toString;if(t("has-symbols")()){var i=Symbol.prototype.toString,o=/^Symbol\(.*\)$/;e.exports=function(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==n.call(t))return!1;try{return function(t){return"symbol"==typeof t.valueOf()&&o.test(i.call(t))}(t)}catch(t){return!1}}}else e.exports=function(t){return!1}}}},{package:"string.prototype.matchall>es-abstract>es-to-primitive>is-symbol",file:"node_modules/is-symbol/index.js"}],[4676,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,o="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;i||(n=function(t){return!1});var a=i?i.prototype.has:null,s=o?o.prototype.has:null;n||a||(n=function(t){return!1}),e.exports=n||function(t){if(!t||"object"!=typeof t)return!1;try{if(a.call(t,a),s)try{s.call(t,s)}catch(t){return!0}return t instanceof i}catch(t){}return!1}}}},{package:"@metamask/eth-token-tracker>deep-equal>which-collection>is-weakmap",file:"node_modules/is-weakmap/index.js"}],[4677,{"call-bind/callBound":4089,"get-intrinsic":4479},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("get-intrinsic"),i=t("call-bind/callBound"),o=n("%WeakSet%",!0),a=i("WeakSet.prototype.has",!0);if(a){var s=i("WeakMap.prototype.has",!0);e.exports=function(t){if(!t||"object"!=typeof t)return!1;try{if(a(t,a),s)try{s(t,s)}catch(t){return!0}return t instanceof o}catch(t){}return!1}}else e.exports=function(t){return!1}}}},{package:"@metamask/eth-token-tracker>deep-equal>which-collection>is-weakset",file:"node_modules/is-weakset/index.js"}],[4678,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}}}},{package:"@lavamoat/lavapack>json-stable-stringify>isarray",file:"node_modules/isarray/index.js"}],[4693,{"hyphenate-style-name":4641},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=t("hyphenate-style-name"))&&"object"==typeof n&&"default"in n?n.default:n;function o(t){var e={};for(var r in t){e[0===r.indexOf("--")?r:i(r)]=t[r]}return t.fallbacks&&(Array.isArray(t.fallbacks)?e.fallbacks=t.fallbacks.map(o):e.fallbacks=o(t.fallbacks)),e}r.default=function(){return{onProcessStyle:function(t){if(Array.isArray(t)){for(var e=0;e<t.length;e++)t[e]=o(t[e]);return t}return o(t)},onChangeValue:function(t,e,r){if(0===e.indexOf("--"))return t;var n=i(e);return e===n?t:(r.prop(n,t),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"}],[4694,{jss:4700},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("jss"),i=n.hasCSSTOMSupport&&CSS?CSS.px:"px",o=n.hasCSSTOMSupport&&CSS?CSS.ms:"ms",a=n.hasCSSTOMSupport&&CSS?CSS.percent:"%";function s(t){var e=/(-[a-z])/g,r=function(t){return t[1].toUpperCase()},n={};for(var i in t)n[i]=t[i],n[i.replace(e,r)]=t[i];return n}var l=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 u(t,e,r){if(!e)return e;if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]=u(t,e[n],r);else if("object"==typeof e)if("fallbacks"===t)for(var i in e)e[i]=u(i,e[i],r);else for(var o in e)e[o]=u(t+"-"+o,e[o],r);else if("number"==typeof e){var a=r[t]||l[t];return a?"function"==typeof a?a(e).toString():""+e+a:e.toString()}return e}r.default=function(t){void 0===t&&(t={});var e=s(t);return{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n in t)t[n]=u(n,t[n],e);return t},onChangeValue:function(t,r){return u(r,t,e)}}}}}},{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"}],[4695,{"@babel/runtime/helpers/extends":379,jss:4700},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=t("@babel/runtime/helpers/extends"))&&"object"==typeof n&&"default"in n?n.default:n,o=t("jss"),a="@global",s="@global ",l=function(){function t(t,e,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=t,this.options=r,this.rules=new o.RuleList(i({},r,{parent:this})),e)this.rules.add(n,e[n]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.addRule=function(t,e,r){var n=this.rules.add(t,e,r);return this.options.jss.plugins.onProcessRule(n),n},e.indexOf=function(t){return this.rules.indexOf(t)},e.toString=function(){return this.rules.toString()},t}(),u=function(){function t(t,e,r){this.type="global",this.at=a,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=t,this.options=r;var n=t.substr(8);this.rule=r.jss.createRule(n,e,i({},r,{parent:this}))}return t.prototype.toString=function(t){return this.rule?this.rule.toString(t):""},t}(),c=/\s*,\s*/g;function d(t,e){for(var r=t.split(c),n="",i=0;i<r.length;i++)n+=e+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}r.default=function(){return{onCreateRule:function(t,e,r){if(!t)return null;if(t===a)return new l(t,e,r);if("@"===t[0]&&t.substr(0,8)===s)return new u(t,e,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=t),null},onProcessRule:function(t){"style"===t.type&&(function(t){var e=t.options,r=t.style,n=r?r[a]:null;if(n){for(var o in n)e.sheet.addRule(o,n[o],i({},e,{selector:d(o,t.selector)}));delete r[a]}}(t),function(t){var e=t.options,r=t.style;for(var n in r)if("@"===n[0]&&n.substr(0,a.length)===a){var o=d(n.substr(a.length),t.selector);e.sheet.addRule(o,r[n],i({},e,{selector:o})),delete r[n]}}(t))}}}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-global",file:"node_modules/jss-plugin-global/dist/jss-plugin-global.cjs.js"}],[4696,{"@babel/runtime/helpers/extends":379,"tiny-warning":5604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){function n(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(r,"__esModule",{value:!0});var i=n(t("@babel/runtime/helpers/extends")),o=(n(t("tiny-warning")),/\s*,\s*/g),a=/&/g,s=/\$([\w-]+)/g;r.default=function(){function t(t,e){return function(r,n){var i=t.getRule(n)||e&&e.getRule(n);return i?i.selector:n}}function e(t,e){for(var r=e.split(o),n=t.split(o),i="",s=0;s<r.length;s++)for(var l=r[s],u=0;u<n.length;u++){var c=n[u];i&&(i+=", "),i+=-1!==c.indexOf("&")?c.replace(a,l):l+" "+c}return i}function r(t,e,r){if(r)return i({},r,{index:r.index+1});var n=t.options.nestingLevel;n=n===undefined?1:n+1;var o=i({},t.options,{nestingLevel:n,index:e.indexOf(t)+1});return delete o.name,o}return{onProcessStyle:function(n,o,a){if("style"!==o.type)return n;var l,u,c=o,d=c.options.parent;for(var h in n){var f=-1!==h.indexOf("&"),p="@"===h[0];if(f||p){if(l=r(c,d,l),f){var g=e(h,c.selector);u||(u=t(d,a)),g=g.replace(s,u),d.addRule(g,n[h],i({},l,{selector:g}))}else p&&d.addRule(h,{},l).addRule(c.key,n[h],{selector:c.selector});delete n[h]}}return n}}}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-nested",file:"node_modules/jss-plugin-nested/dist/jss-plugin-nested.cjs.js"}],[4697,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){var t=function(t,e){return t.length===e.length?t>e?1:-1:t.length-e.length};return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n={},i=Object.keys(e).sort(t),o=0;o<i.length;o++)n[i[o]]=e[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"}],[4698,{jss:4700,"tiny-warning":5604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});(n=t("tiny-warning"))&&"object"==typeof n&&"default"in n&&n.default;var n,i=t("jss"),o=Date.now(),a="fnValues"+o,s="fnStyle"+ ++o;r.default=function(){return{onCreateRule:function(t,e,r){if("function"!=typeof e)return null;var n=i.createRule(t,{},r);return n[s]=e,n},onProcessStyle:function(t,e){if(a in e||s in e)return t;var r={};for(var n in t){var i=t[n];"function"==typeof i&&(delete t[n],r[n]=i)}return e[a]=r,t},onUpdate:function(t,e,r,n){var i=e,o=i[s];o&&(i.style=o(t)||{});var l=i[a];if(l)for(var u in l)i.prop(u,l[u](t),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"}],[4699,{"css-vendor":4218,jss:4700},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("css-vendor"),i=t("jss");r.default=function(){function t(e){for(var r in e){var o=e[r];if("fallbacks"===r&&Array.isArray(o))e[r]=o.map(t);else{var a=!1,s=n.supportedProperty(r);s&&s!==r&&(a=!0);var l=!1,u=n.supportedValue(s,i.toCssValue(o));u&&u!==o&&(l=!0),(a||l)&&(a&&delete e[r],e[s||r]=u||o)}}return e}return{onProcessRule:function(t){if("keyframes"===t.type){var e=t;e.at=n.supportedKeyframes(e.at)}},onProcessStyle:function(e,r){return"style"!==r.type?e:t(e)},onChangeValue:function(t,e){return n.supportedValue(e,i.toCssValue(t))||t}}}}}},{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"}],[4700,{"@babel/runtime/helpers/assertThisInitialized":374,"@babel/runtime/helpers/createClass":377,"@babel/runtime/helpers/extends":379,"@babel/runtime/helpers/inheritsLoose":382,"@babel/runtime/helpers/objectWithoutPropertiesLoose":391,"is-in-browser":4663,"tiny-warning":5604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){function n(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(r,"__esModule",{value:!0});var i=n(t("@babel/runtime/helpers/extends")),o=n(t("is-in-browser")),a=n(t("tiny-warning")),s=n(t("@babel/runtime/helpers/createClass")),l=n(t("@babel/runtime/helpers/inheritsLoose")),u=n(t("@babel/runtime/helpers/assertThisInitialized")),c=n(t("@babel/runtime/helpers/objectWithoutPropertiesLoose")),d={}.constructor;function h(t){if(null==t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map(h);if(t.constructor!==d)return t;var e={};for(var r in t)e[r]=h(t[r]);return e}function f(t,e,r){void 0===t&&(t="unnamed");var n=r.jss,i=h(e),o=n.plugins.onCreateRule(t,i,r);return o||(t[0],null)}var p=function(t,e){for(var r="",n=0;n<t.length&&"!important"!==t[n];n++)r&&(r+=e),r+=t[n];return r};function g(t,e){if(void 0===e&&(e=!1),!Array.isArray(t))return t;var r="";if(Array.isArray(t[0]))for(var n=0;n<t.length&&"!important"!==t[n];n++)r&&(r+=", "),r+=p(t[n]," ");else r=p(t,", ");return e||"!important"!==t[t.length-1]||(r+=" !important"),r}function m(t,e){for(var r="",n=0;n<e;n++)r+=" ";return r+t}function y(t,e,r){void 0===r&&(r={});var n="";if(!e)return n;var i=r.indent,o=void 0===i?0:i,a=e.fallbacks;if(t&&o++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var l=a[s];for(var u in l){var c=l[u];null!=c&&(n&&(n+="\n"),n+=""+m(u+": "+g(c)+";",o))}}else for(var d in a){var h=a[d];null!=h&&(n&&(n+="\n"),n+=""+m(d+": "+g(h)+";",o))}for(var f in e){var p=e[f];null!=p&&"fallbacks"!==f&&(n&&(n+="\n"),n+=""+m(f+": "+g(p)+";",o))}return(n||r.allowEmpty)&&t?(n&&(n="\n"+n+"\n"),m(t+" {"+n,--o)+m("}",o)):n}var b=/([[\].#*$><+~=|^:(),"'`\s])/g,v="undefined"!=typeof CSS&&CSS.escape,w=function(t){return v?v(t):t.replace(b,"\\$1")},_=function(){function t(t,e,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=t,this.options=r,this.style=e,n?this.renderer=n.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,r){if(e===undefined)return this.style[t];var n=!!r&&r.force;if(!n&&this.style[t]===e)return this;var i=e;r&&!1===r.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!n)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var l=this.options.sheet;return l&&l.attached,this},t}(),A=function(t){function e(e,r,n){var i;(i=t.call(this,e,r,n)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=n.selector,a=n.scoped,s=n.sheet,l=n.generateId;return o?i.selectorText=o:!1!==a&&(i.id=l(u(u(i)),s),i.selectorText="."+w(i.id)),i}l(e,t);var r=e.prototype;return r.applyTo=function(t){var e=this.renderer;if(e){var r=this.toJSON();for(var n in r)e.setProperty(t,n,r[n])}return this},r.toJSON=function(){var t={};for(var e in this.style){var r=this.style[e];"object"!=typeof r?t[e]=r:Array.isArray(r)&&(t[e]=g(r))}return t},r.toString=function(t){var e=this.options.sheet,r=!!e&&e.options.link?i({},t,{allowEmpty:!0}):t;return y(this.selectorText,this.style,r)},s(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,r=this.renderable;if(r&&e)e.setSelector(r,t)||e.replaceRule(r,this)}},get:function(){return this.selectorText}}]),e}(_),x={onCreateRule:function(t,e,r){return"@"===t[0]||r.parent&&"keyframes"===r.parent.type?null:new A(t,e,r)}},C={indent:1,children:!0},E=/@([\w-]+)/,S=function(){function t(t,e,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=t,this.query=r.name;var n=t.match(E);for(var o in this.at=n?n[1]:"unknown",this.options=r,this.rules=new K(i({},r,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,r){var n=this.rules.add(t,e,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},e.toString=function(t){if(void 0===t&&(t=C),null==t.indent&&(t.indent=C.indent),null==t.children&&(t.children=C.children),!1===t.children)return this.query+" {}";var e=this.rules.toString(t);return e?this.query+" {\n"+e+"\n}":""},t}(),T=/@media|@supports\s+/,I={onCreateRule:function(t,e,r){return T.test(t)?new S(t,e,r):null}},D={indent:1,children:!0},O=/@keyframes\s+([\w-]+)/,R=function(){function t(t,e,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=t.match(O);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 l in this.id=!1===o?this.name:w(s(this,a)),this.rules=new K(i({},r,{parent:this})),e)this.rules.add(l,e[l],i({},r,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){if(void 0===t&&(t=D),null==t.indent&&(t.indent=D.indent),null==t.children&&(t.children=D.children),!1===t.children)return this.at+" "+this.id+" {}";var e=this.rules.toString(t);return e&&(e="\n"+e+"\n"),this.at+" "+this.id+" {"+e+"}"},t}(),P=/@keyframes\s+/,M=/\$([\w-]+)/g,N=function(t,e){return"string"==typeof t?t.replace(M,(function(t,r){return r in e?e[r]:t})):t},k=function(t,e,r){var n=t[e],i=N(n,r);i!==n&&(t[e]=i)},B={onCreateRule:function(t,e,r){return"string"==typeof t&&P.test(t)?new R(t,e,r):null},onProcessStyle:function(t,e,r){return"style"===e.type&&r?("animation-name"in t&&k(t,"animation-name",r.keyframes),"animation"in t&&k(t,"animation",r.keyframes),t):t},onChangeValue:function(t,e,r){var n=r.options.sheet;if(!n)return t;switch(e){case"animation":case"animation-name":return N(t,n.keyframes);default:return t}}},L=function(t){function e(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).renderable=void 0,e}return l(e,t),e.prototype.toString=function(t){var e=this.options.sheet,r=!!e&&e.options.link?i({},t,{allowEmpty:!0}):t;return y(this.key,this.style,r)},e}(_),F={onCreateRule:function(t,e,r){return r.parent&&"keyframes"===r.parent.type?new L(t,e,r):null}},j=function(){function t(t,e,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=t,this.style=e,this.options=r}return t.prototype.toString=function(t){if(Array.isArray(this.style)){for(var e="",r=0;r<this.style.length;r++)e+=y(this.at,this.style[r]),this.style[r+1]&&(e+="\n");return e}return y(this.at,this.style,t)},t}(),z=/@font-face/,V={onCreateRule:function(t,e,r){return z.test(t)?new j(t,e,r):null}},H=function(){function t(t,e,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=t,this.style=e,this.options=r}return t.prototype.toString=function(t){return y(this.key,this.style,t)},t}(),U={onCreateRule:function(t,e,r){return"@viewport"===t||"@-ms-viewport"===t?new H(t,e,r):null}},q=function(){function t(t,e,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=t,this.value=e,this.options=r}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",r=0;r<this.value.length;r++)e+=this.key+" "+this.value[r]+";",this.value[r+1]&&(e+="\n");return e}return this.key+" "+this.value+";"},t}(),W={"@charset":!0,"@import":!0,"@namespace":!0},G=[x,I,B,F,V,U,{onCreateRule:function(t,e,r){return t in W?new q(t,e,r):null}}],X={process:!0},Y={force:!0,process:!0},K=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,r){var n=this.options,o=n.parent,a=n.sheet,s=n.jss,l=n.Renderer,u=n.generateId,c=n.scoped,d=i({classes:this.classes,parent:o,sheet:a,jss:s,Renderer:l,generateId:u,scoped:c,name:t},r),h=t;t in this.raw&&(h=t+"-d"+this.counter++),this.raw[h]=e,h in this.classes&&(d.selector="."+w(this.classes[h]));var p=f(h,e,d);if(!p)return null;this.register(p);var g=d.index===undefined?this.index.length:d.index;return this.index.splice(g,0,p),p},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof A?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof R&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof A?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof R&&delete this.keyframes[t.name]},e.update=function(){var t,e,r;if("string"==typeof(arguments.length<=0?undefined:arguments[0])?(t=arguments.length<=0?undefined:arguments[0],e=arguments.length<=1?undefined:arguments[1],r=arguments.length<=2?undefined:arguments[2]):(e=arguments.length<=0?undefined:arguments[0],r=arguments.length<=1?undefined:arguments[1],t=null),t)this.updateOne(this.map[t],e,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],e,r)},e.updateOne=function(e,r,n){void 0===n&&(n=X);var i=this.options,o=i.jss.plugins,a=i.sheet;if(e.rules instanceof t)e.rules.update(r,n);else{var s=e,l=s.style;if(o.onUpdate(r,e,a,n),n.process&&l&&l!==s.style){for(var u in o.onProcessStyle(s.style,s,a),s.style){var c=s.style[u];c!==l[u]&&s.prop(u,c,Y)}for(var d in l){var h=s.style[d],f=l[d];null==h&&h!==f&&s.prop(d,null,Y)}}}},e.toString=function(t){for(var e="",r=this.options.sheet,n=!!r&&r.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(t);(o||n)&&(e&&(e+="\n"),e+=o)}return e},t}(),Z=function(){function t(t,e){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({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new K(this.options),t)this.rules.add(r,t[r]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(t,e,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var i=this.rules.add(t,e,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},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var r=[];for(var n in t){var i=this.addRule(n,t[n],e);i&&r.push(i)}return r},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"==typeof t?t:this.rules.get(t);return!!e&&(this.rules.remove(e),!(this.attached&&e.renderable&&this.renderer)||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,r){return this.rules.updateOne(t,e,r),this},e.toString=function(t){return this.rules.toString(t)},t}(),$=function(){function t(){this.plugins={internal:[],external:[]},this.registry=void 0}var e=t.prototype;return e.onCreateRule=function(t,e,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var i=this.registry.onCreateRule[n](t,e,r);if(i)return i}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)e.style=this.registry.onProcessStyle[n](e.style,e,r)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,r,n){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](t,e,r,n)},e.onChangeValue=function(t,e,r){for(var n=t,i=0;i<this.registry.onChangeValue.length;i++)n=this.registry.onChangeValue[i](n,e,r);return n},e.use=function(t,e){void 0===e&&(e={queue:"external"});var r=this.plugins[e.queue];-1===r.indexOf(t)&&(r.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,e){for(var r in e)r in t&&t[r].push(e[r]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),Q=function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,r=t.options.index;if(-1===e.indexOf(t))if(0===e.length||r>=this.index)e.push(t);else for(var n=0;n<e.length;n++)if(e[n].options.index>r)return void e.splice(n,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,r=e.attached,n=c(e,["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(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}(),J=new Q,tt="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),et="2f1acc6c3a606b082e5eef5e54414ffb";null==tt[et]&&(tt[et]=0);var rt=tt[et]++,nt=function(t){void 0===t&&(t={});var e=0;return function(r,n){e+=1;var i="",o="";return n&&(n.options.classNamePrefix&&(o=n.options.classNamePrefix),null!=n.options.jss.id&&(i=String(n.options.jss.id))),t.minify?""+(o||"c")+rt+i+e:o+r.key+"-"+rt+(i?"-"+i:"")+"-"+e}},it=function(t){var e;return function(){return e||(e=t()),e}};function ot(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch(t){return""}}function at(t,e,r){try{var n=r;if(Array.isArray(r)&&(n=g(r,!0),"!important"===r[r.length-1]))return t.style.setProperty(e,n,"important"),!0;t.attributeStyleMap?t.attributeStyleMap.set(e,n):t.style.setProperty(e,n)}catch(t){return!1}return!0}function st(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(t){}}function lt(t,e){return t.selectorText=e,t.selectorText===e}var ut=it((function(){return document.querySelector("head")}));function ct(t){var e=J.registry;if(e.length>0){var r=function(t,e){for(var r=0;r<t.length;r++){var n=t[r];if(n.attached&&n.options.index>e.index&&n.options.insertionPoint===e.insertionPoint)return n}return null}(e,t);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=function(t,e){for(var r=t.length-1;r>=0;r--){var n=t[r];if(n.attached&&n.options.insertionPoint===e.insertionPoint)return n}return null}(e,t),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=t.insertionPoint;if(n&&"string"==typeof n){var i=function(t){for(var e=ut(),r=0;r<e.childNodes.length;r++){var n=e.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===t)return n}return null}(n);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var dt=it((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),ht=function(t,e,r){var n=t.cssRules.length;(r===undefined||r>n)&&(r=n);try{if("insertRule"in t)t.insertRule(e,r);else if("appendRule"in t){t.appendRule(e)}}catch(t){return!1}return t.cssRules[r]},ft=function(){function t(t){this.getPropertyValue=ot,this.setProperty=at,this.removeProperty=st,this.setSelector=lt,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,t&&J.add(t),this.sheet=t;var e,r=this.sheet?this.sheet.options:{},n=r.media,i=r.meta,o=r.element;this.element=o||((e=document.createElement("style")).textContent="\n",e),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),i&&this.element.setAttribute("data-meta",i);var a=dt();a&&this.element.setAttribute("nonce",a)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var r=e.insertionPoint,n=ct(e);if(!1!==n&&n.parent)n.parent.insertBefore(t,n.node);else if(r&&"number"==typeof r.nodeType){var i=r,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else ut().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){var t=this.element.parentNode;t&&t.removeChild(this.element)},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var r=0;r<t.index.length;r++)this.insertRule(t.index[r],r,e)},e.insertRule=function(t,e,r){if(void 0===r&&(r=this.element.sheet),t.rules){var n=t,i=r;return("conditional"!==t.type&&"keyframes"!==t.type||!1!==(i=ht(r,n.toString({children:!1}),e)))&&(this.insertRules(n.rules,i),i)}if(t.renderable&&t.renderable.parentStyleSheet===this.element.sheet)return t.renderable;var o=t.toString();if(!o)return!1;var a=ht(r,o,e);return!1!==a&&(this.hasInsertedRules=!0,t.renderable=a,a)},e.deleteRule=function(t){var e=this.element.sheet,r=this.indexOf(t);return-1!==r&&(e.deleteRule(r),!0)},e.indexOf=function(t){for(var e=this.element.sheet.cssRules,r=0;r<e.length;r++)if(t===e[r])return r;return-1},e.replaceRule=function(t,e){var r=this.indexOf(t);return-1!==r&&(this.element.sheet.deleteRule(r),this.insertRule(e,r))},e.getRules=function(){return this.element.sheet.cssRules},t}(),pt=0,gt=function(){function t(t){this.id=pt++,this.version="10.3.0",this.plugins=new $,this.options={id:{minify:!1},createGenerateId:nt,Renderer:o?ft:null,plugins:[]},this.generateId=nt({minify:!1});for(var e=0;e<G.length;e++)this.plugins.use(G[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=i({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var r=e.index;"number"!=typeof r&&(r=0===J.index?0:J.index+1);var n=new Z(t,i({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(n),n},e.removeStyleSheet=function(t){return t.detach(),J.remove(t),this},e.createRule=function(t,e,r){if(void 0===e&&(e={}),void 0===r&&(r={}),"object"==typeof t)return this.createRule(undefined,t,e);var n=i({},r,{name:t,jss:this,Renderer:this.options.Renderer});n.generateId||(n.generateId=this.generateId),n.classes||(n.classes={}),n.keyframes||(n.keyframes={});var o=f(t,e,n);return o&&this.plugins.onProcessRule(o),o},e.use=function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.forEach((function(e){t.plugins.use(e)})),this},t}();var mt=function(){function t(){this.length=0,this.sheets=new WeakMap}var e=t.prototype;return e.get=function(t){var e=this.sheets.get(t);return e&&e.sheet},e.add=function(t,e){this.sheets.has(t)||(this.length++,this.sheets.set(t,{sheet:e,refs:0}))},e.manage=function(t){var e=this.sheets.get(t);return e?(0===e.refs&&e.sheet.attach(),e.refs++,e.sheet):(a(!1,"[JSS] SheetsManager: can't find sheet to manage"),undefined)},e.unmanage=function(t){var e=this.sheets.get(t);e?e.refs>0&&(e.refs--,0===e.refs&&e.sheet.detach()):a(!1,"SheetsManager: can't find sheet to unmanage")},s(t,[{key:"size",get:function(){return this.length}}]),t}(),yt="undefined"!=typeof CSS&&CSS&&"number"in CSS,bt=function(t){return new gt(t)},vt=bt();
/**
* A better abstraction over CSS.
*
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
* @website https://github.com/cssinjs/jss
* @license MIT
*/r.RuleList=K,r.SheetsManager=mt,r.SheetsRegistry=Q,r.create=bt,r.createGenerateId=nt,r.createRule=f,r.default=vt,r.getDynamicStyles=function t(e){var r=null;for(var n in e){var i=e[n],o=typeof i;if("function"===o)r||(r={}),r[n]=i;else if("object"===o&&null!==i&&!Array.isArray(i)){var a=t(i);a&&(r||(r={}),r[n]=a)}}return r},r.hasCSSTOMSupport=yt,r.sheets=J,r.toCssValue=g}}},{package:"@material-ui/core>@material-ui/styles>jss",file:"node_modules/jss/dist/jss.cjs.js"}],[4718,{"./_MapCache":4715,"./_setCacheAdd":4819,"./_setCacheHas":4820},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./_MapCache"),i=t("./_setCacheAdd"),o=t("./_setCacheHas");function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a}}},{package:"lodash",file:"node_modules/lodash/_SetCache.js"}],[4728,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}}}},{package:"lodash",file:"node_modules/lodash/_arraySome.js"}],[4742,{"./_baseIsEqualDeep":4743,"./isObjectLike":4848},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./_baseIsEqualDeep"),i=t("./isObjectLike");e.exports=function t(e,r,o,a,s){return e===r||(null==e||null==r||!i(e)&&!i(r)?e!=e&&r!=r:n(e,r,o,a,t,s))}}}},{package:"lodash",file:"node_modules/lodash/_baseIsEqual.js"}],[4743,{"./_Stack":4719,"./_equalArrays":4772,"./_equalByTag":4773,"./_equalObjects":4774,"./_getTag":4784,"./isArray":4837,"./isBuffer":4840,"./isTypedArray":4852},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./_Stack"),i=t("./_equalArrays"),o=t("./_equalByTag"),a=t("./_equalObjects"),s=t("./_getTag"),l=t("./isArray"),u=t("./isBuffer"),c=t("./isTypedArray"),d="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(t,e,r,g,m,y){var b=l(t),v=l(e),w=b?h:s(t),_=v?h:s(e),A=(w=w==d?f:w)==f,x=(_=_==d?f:_)==f,C=w==_;if(C&&u(t)){if(!u(e))return!1;b=!0,A=!1}if(C&&!A)return y||(y=new n),b||c(t)?i(t,e,r,g,m,y):o(t,e,w,r,g,m,y);if(!(1&r)){var E=A&&p.call(t,"__wrapped__"),S=x&&p.call(e,"__wrapped__");if(E||S){var T=E?t.value():t,I=S?e.value():e;return y||(y=new n),m(T,I,r,g,y)}}return!!C&&(y||(y=new n),a(t,e,r,g,m,y))}}}},{package:"lodash",file:"node_modules/lodash/_baseIsEqualDeep.js"}],[4757,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t,e){return t.has(e)}}}},{package:"lodash",file:"node_modules/lodash/_cacheHas.js"}],[4772,{"./_SetCache":4718,"./_arraySome":4728,"./_cacheHas":4757},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./_SetCache"),i=t("./_arraySome"),o=t("./_cacheHas");e.exports=function(t,e,r,a,s,l){var u=1&r,c=t.length,d=e.length;if(c!=d&&!(u&&d>c))return!1;var h=l.get(t),f=l.get(e);if(h&&f)return h==e&&f==t;var p=-1,g=!0,m=2&r?new n:undefined;for(l.set(t,e),l.set(e,t);++p<c;){var y=t[p],b=e[p];if(a)var v=u?a(b,y,p,e,t,l):a(y,b,p,t,e,l);if(v!==undefined){if(v)continue;g=!1;break}if(m){if(!i(e,(function(t,e){if(!o(m,e)&&(y===t||s(y,t,r,a,l)))return m.push(e)}))){g=!1;break}}else if(y!==b&&!s(y,b,r,a,l)){g=!1;break}}return l.delete(t),l.delete(e),g}}}},{package:"lodash",file:"node_modules/lodash/_equalArrays.js"}],[4773,{"./_Symbol":4720,"./_Uint8Array":4721,"./_equalArrays":4772,"./_mapToArray":4809,"./_setToArray":4821,"./eq":4833},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./_Symbol"),i=t("./_Uint8Array"),o=t("./eq"),a=t("./_equalArrays"),s=t("./_mapToArray"),l=t("./_setToArray"),u=n?n.prototype:undefined,c=u?u.valueOf:undefined;e.exports=function(t,e,r,n,u,d,h){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!d(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var f=s;case"[object Set]":var p=1&n;if(f||(f=l),t.size!=e.size&&!p)return!1;var g=h.get(t);if(g)return g==e;n|=2,h.set(t,e);var m=a(f(t),f(e),n,u,d,h);return h.delete(t),m;case"[object Symbol]":if(c)return c.call(t)==c.call(e)}return!1}}}},{package:"lodash",file:"node_modules/lodash/_equalByTag.js"}],[4774,{"./_getAllKeys":4776},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./_getAllKeys"),i=Object.prototype.hasOwnProperty;e.exports=function(t,e,r,o,a,s){var l=1&r,u=n(t),c=u.length;if(c!=n(e).length&&!l)return!1;for(var d=c;d--;){var h=u[d];if(!(l?h in e:i.call(e,h)))return!1}var f=s.get(t),p=s.get(e);if(f&&p)return f==e&&p==t;var g=!0;s.set(t,e),s.set(e,t);for(var m=l;++d<c;){var y=t[h=u[d]],b=e[h];if(o)var v=l?o(b,y,h,e,t,s):o(y,b,h,t,e,s);if(!(v===undefined?y===b||a(y,b,r,o,s):v)){g=!1;break}m||(m="constructor"==h)}if(g&&!m){var w=t.constructor,_=e.constructor;w==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _||(g=!1)}return s.delete(t),s.delete(e),g}}}},{package:"lodash",file:"node_modules/lodash/_equalObjects.js"}],[4809,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}}}},{package:"lodash",file:"node_modules/lodash/_mapToArray.js"}],[4819,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}}}},{package:"lodash",file:"node_modules/lodash/_setCacheAdd.js"}],[4820,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t){return this.__data__.has(t)}}}},{package:"lodash",file:"node_modules/lodash/_setCacheHas.js"}],[4821,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}}}},{package:"lodash",file:"node_modules/lodash/_setToArray.js"}],[4842,{"./_baseIsEqual":4742},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./_baseIsEqual");e.exports=function(t,e){return n(t,e)}}}},{package:"lodash",file:"node_modules/lodash/isEqual.js"}]],[],{});