PageSourceSearch

https://casamirandas.com.br/_expo/static/js/web/index-daf80c5bef6d9c4af0b9806ddbeece85.js

js casamirandas.com.br collected 2026-09-24 14:34:19 UTC 491,028 bytes, 210 lines download raw bytes

1__d(function(g,_r,_i,a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0});var t={ArgumentException:!0,ArithmeticException:!0,ChecksumException:!0,Exception:!0,FormatException:!0,IllegalArgumentException:!0,IllegalStateException:!0,NotFoundException:!0,ReaderException:!0,ReedSolomonException:!0,UnsupportedOperationException:!0,WriterException:!0,BarcodeFormat:!0,Binarizer:!0,BinaryBitmap:!0,DecodeHintType:!0,InvertedLuminanceSource:!0,LuminanceSource:!0,MultiFormatReader:!0,MultiFormatWriter:!0,PlanarYUVLuminanceSource:!0,Result:!0,ResultMetadataType:!0,RGBLuminanceSource:!0,ResultPoint:!0,ZXingSystem:!0,ZXingStringBuilder:!0,ZXingStringEncoding:!0,ZXingCharset:!0,ZXingArrays:!0,ZXingStandardCharsets:!0,ZXingInteger:!0,BitArray:!0,BitMatrix:!0,BitSource:!0,CharacterSetECI:!0,DecoderResult:!0,DefaultGridSampler:!0,DetectorResult:!0,EncodeHintType:!0,GlobalHistogramBinarizer:!0,GridSampler:!0,GridSamplerInstance:!0,HybridBinarizer:!0,PerspectiveTransform:!0,StringUtils:!0,MathUtils:!0,WhiteRectangleDetector:!0,GenericGF:!0,GenericGFPoly:!0,ReedSolomonDecoder:!0,ReedSolomonEncoder:!0,DataMatrixReader:!0,DataMatrixDecodedBitStreamParser:!0,DataMatrixDefaultPlacement:!0,DataMatrixErrorCorrection:!0,DataMatrixHighLevelEncoder:!0,DataMatrixSymbolInfo:!0,DataMatrixSymbolShapeHint:!0,DataMatrixWriter:!0,PDF417Reader:!0,PDF417ResultMetadata:!0,PDF417DecodedBitStreamParser:!0,PDF417DecoderErrorCorrection:!0,QRCodeReader:!0,QRCodeWriter:!0,QRCodeDecoderErrorCorrectionLevel:!0,QRCodeDecoderFormatInformation:!0,QRCodeVersion:!0,QRCodeMode:!0,QRCodeDecodedBitStreamParser:!0,QRCodeDataMask:!0,QRCodeEncoder:!0,QRCodeEncoderQRCode:!0,QRCodeMatrixUtil:!0,QRCodeByteMatrix:!0,QRCodeMaskUtil:!0,AztecCodeReader:!0,AztecCodeWriter:!0,AztecDetectorResult:!0,AztecEncoder:!0,AztecHighLevelEncoder:!0,AztecCode:!0,AztecDecoder:!0,AztecDetector:!0,AztecPoint:!0,OneDReader:!0,EAN13Reader:!0,Code128Reader:!0,ITFReader:!0,Code39Reader:!0,Code93Reader:!0,RSS14Reader:!0,RSSExpandedReader:!0,AbstractExpandedDecoder:!0,createAbstractExpandedDecoder:!0,MultiFormatOneDReader:!0,CodaBarReader:!0};Object.defineProperty(_e,"AbstractExpandedDecoder",{enumerable:!0,get:function(){return Ne.default}}),Object.defineProperty(_e,"ArgumentException",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(_e,"ArithmeticException",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(_e,"AztecCode",{enumerable:!0,get:function(){return Ie.default}}),Object.defineProperty(_e,"AztecCodeReader",{enumerable:!0,get:function(){return Fe.default}}),Object.defineProperty(_e,"AztecCodeWriter",{enumerable:!0,get:function(){return Qe.default}}),Object.defineProperty(_e,"AztecDecoder",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(_e,"AztecDetector",{enumerable:!0,get:function(){return He.default}}),Object.defineProperty(_e,"AztecDetectorResult",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(_e,"AztecEncoder",{enumerable:!0,get:function(){return ze.default}}),Object.defineProperty(_e,"AztecHighLevelEncoder",{enumerable:!0,get:function(){return Ge.default}}),Object.defineProperty(_e,"AztecPoint",{enumerable:!0,get:function(){return He.Point}}),Object.defineProperty(_e,"BarcodeFormat",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(_e,"Binarizer",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(_e,"BinaryBitmap",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(_e,"BitArray",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(_e,"BitMatrix",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(_e,"BitSource",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(_e,"CharacterSetECI",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(_e,"ChecksumException",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(_e,"CodaBarReader",{enumerable:!0,get:function(){return qe.default}}),Object.defineProperty(_e,"Code128Reader",{enumerable:!0,get:function(){return Xe.default}}),Object.defineProperty(_e,"Code39Reader",{enumerable:!0,get:function(){return Ue.default}}),Object.defineProperty(_e,"Code93Reader",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(_e,"DataMatrixDecodedBitStreamParser",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(_e,"DataMatrixDefaultPlacement",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(_e,"DataMatrixErrorCorrection",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(_e,"DataMatrixHighLevelEncoder",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(_e,"DataMatrixReader",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(_e,"DataMatrixSymbolInfo",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(_e,"DataMatrixSymbolShapeHint",{enumerable:!0,get:function(){return le.SymbolShapeHint}}),Object.defineProperty(_e,"DataMatrixWriter",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(_e,"DecodeHintType",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(_e,"DecoderResult",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(_e,"DefaultGridSampler",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(_e,"DetectorResult",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(_e,"EAN13Reader",{enumerable:!0,get:function(){return Le.default}}),Object.defineProperty(_e,"EncodeHintType",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(_e,"Exception",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(_e,"FormatException",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(_e,"GenericGF",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(_e,"GenericGFPoly",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(_e,"GlobalHistogramBinarizer",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(_e,"GridSampler",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(_e,"GridSamplerInstance",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(_e,"HybridBinarizer",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(_e,"ITFReader",{enumerable:!0,get:function(){return Ze.default}}),Object.defineProperty(_e,"IllegalArgumentException",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(_e,"IllegalStateException",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(_e,"InvertedLuminanceSource",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(_e,"LuminanceSource",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(_e,"MathUtils",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(_e,"MultiFormatOneDReader",{enumerable:!0,get:function(){return Ye.default}}),Object.defineProperty(_e,"MultiFormatReader",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(_e,"MultiFormatWriter",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(_e,"NotFoundException",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(_e,"OneDReader",{enumerable:!0,get:function(){return We.default}}),Object.defineProperty(_e,"PDF417DecodedBitStreamParser",{enumerable:!0,get:function(){return ge.default}}),Object.defineProperty(_e,"PDF417DecoderErrorCorrection",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(_e,"PDF417Reader",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(_e,"PDF417ResultMetadata",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(_e,"PerspectiveTransform",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(_e,"PlanarYUVLuminanceSource",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(_e,"QRCodeByteMatrix",{enumerable:!0,get:function(){return Ae.default}}),Object.defineProperty(_e,"QRCodeDataMask",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(_e,"QRCodeDecodedBitStreamParser",{enumerable:!0,get:function(){return Ce.default}}),Object.defineProperty(_e,"QRCodeDecoderErrorCorrectionLevel",{enumerable:!0,get:function(){return je.default}}),Object.defineProperty(_e,"QRCodeDecoderFormatInformation",{enumerable:!0,get:function(){return Re.default}}),Object.defineProperty(_e,"QRCodeEncoder",{enumerable:!0,get:function(){return Ee.default}}),Object.defineProperty(_e,"QRCodeEncoderQRCode",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(_e,"QRCodeMaskUtil",{enumerable:!0,get:function(){return Be.default}}),Object.defineProperty(_e,"QRCodeMatrixUtil",{enumerable:!0,get:function(){return Me.default}}),Object.defineProperty(_e,"QRCodeMode",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(_e,"QRCodeReader",{enumerable:!0,get:function(){return Pe.default}}),Object.defineProperty(_e,"QRCodeVersion",{enumerable:!0,get:function(){return De.default}}),Object.defineProperty(_e,"QRCodeWriter",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(_e,"RGBLuminanceSource",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(_e,"RSS14Reader",{enumerable:!0,get:function(){return Te.default}}),Object.defineProperty(_e,"RSSExpandedReader",{enumerable:!0,get:function(){return we.default}}),Object.defineProperty(_e,"ReaderException",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(_e,"ReedSolomonDecoder",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(_e,"ReedSolomonEncoder",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(_e,"ReedSolomonException",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(_e,"Result",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(_e,"ResultMetadataType",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(_e,"ResultPoint",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(_e,"StringUtils",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(_e,"UnsupportedOperationException",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(_e,"WhiteRectangleDetector",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(_e,"WriterException",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(_e,"ZXingArrays",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(_e,"ZXingCharset",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(_e,"ZXingInteger",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(_e,"ZXingStandardCharsets",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(_e,"ZXingStringBuilder",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(_e,"ZXingStringEncoding",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(_e,"ZXingSystem",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(_e,"createAbstractExpandedDecoder",{enumerable:!0,get:function(){return Ve.createDecoder}});var r=_r(d[1]);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(t,e)||e in _e&&_e[e]===r[e]||Object.defineProperty(_e,e,{enumerable:!0,get:function(){return r[e]}}))});var n=e(_r(d[2])),u=e(_r(d[3])),o=e(_r(d[4])),i=e(_r(d[5])),c=e(_r(d[6])),f=e(_r(d[7])),l=e(_r(d[8])),b=e(_r(d[9])),p=e(_r(d[10])),y=e(_r(d[11])),P=e(_r(d[12])),O=e(_r(d[13])),j=e(_r(d[14])),R=e(_r(d[15])),D=e(_r(d[16])),s=e(_r(d[17])),C=e(_r(d[18])),S=e(_r(d[19])),E=e(_r(d[20])
1),x=e(_r(d[21])),M=e(_r(d[22])),A=e(_r(d[23])),B=e(_r(d[24])),F=e(_r(d[25])),Q=e(_r(d[26])),h=e(_r(d[27])),z=e(_r(d[28])),G=e(_r(d[29])),I=e(_r(d[30])),v=e(_r(d[31])),H=e(_r(d[32])),W=e(_r(d[33])),L=e(_r(d[34])),X=e(_r(d[35])),Z=e(_r(d[36])),U=e(_r(d[37])),_=e(_r(d[38])),k=e(_r(d[39])),T=e(_r(d[40])),w=e(_r(d[41])),N=e(_r(d[42])),V=e(_r(d[43])),Y=e(_r(d[44])),q=e(_r(d[45])),J=e(_r(d[46])),K=e(_r(d[47])),$=e(_r(d[48])),ee=e(_r(d[49])),te=e(_r(d[50])),re=e(_r(d[51])),ne=e(_r(d[52])),ue=e(_r(d[53])),ae=e(_r(d[54])),oe=e(_r(d[55])),ie=e(_r(d[56])),de=e(_r(d[57])),ce=e(_r(d[58])),fe=e(_r(d[59])),le=_r(d[60]),be=e(_r(d[61])),pe=e(_r(d[62])),me=e(_r(d[63])),ge=e(_r(d[64])),ye=e(_r(d[65])),Pe=e(_r(d[66])),Oe=e(_r(d[67])),je=e(_r(d[68])),Re=e(_r(d[69])),De=e(_r(d[70])),se=e(_r(d[71])),Ce=e(_r(d[72])),Se=e(_r(d[73])),Ee=e(_r(d[74])),xe=e(_r(d[75])),Me=e(_r(d[76])),Ae=e(_r(d[77])),Be=e(_r(d[78])),Fe=e(_r(d[79])),Qe=e(_r(d[80])),he=e(_r(d[81])),ze=e(_r(d[82])),Ge=e(_r(d[83])),Ie=e(_r(d[84])),ve=e(_r(d[85])),He=(function(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(function(e,t){if(!t&&e&&e.__esModule)return e;var u,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(u=t?n:r){if(u.has(e))return u.get(e);u.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(u=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?u(i,t,o):i[t]=e[t]);return i})(e,t)})(_r(d[86])),We=e(_r(d[87])),Le=e(_r(d[88])),Xe=e(_r(d[89])),Ze=e(_r(d[90])),Ue=e(_r(d[91])),ke=e(_r(d[92])),Te=e(_r(d[93])),we=e(_r(d[94])),Ne=e(_r(d[95])),Ve=_r(d[96]),Ye=e(_r(d[97])),qe=e(_r(d[98]))},950,[17,1085,1088,1125,1093,1089,1108,1092,1128,1111,1242,1127,1110,1253,1118,1096,1091,1106,1113,1114,1197,1257,1259,1117,1119,1260,1130,1099,1104,1109,1261,1098,1262,1102,1097,1103,1194,1107,1121,1137,1134,1246,1095,1138,1136,1094,1139,1105,1131,1135,1122,1123,1126,1248,1188,1193,1263,1264,1266,1272,1265,1275,1217,1236,1235,1222,1198,1258,1203,1202,1201,1209,1208,1206,1247,1251,1252,1250,1249,1116,1280,1133,1281,1283,1282,1120,1129,1143,1148,1142,1146,1144,1145,1185,1158,1174,1164,1141,1157]);
2__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var n=r(d[0]);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===n[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}}))});var t=r(d[1]);Object.keys(t).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))});var u=r(d[2]);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===u[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return u[n]}}))});var o=r(d[3]);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===o[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return o[n]}}))});var c=r(d[4]);Object.keys(c).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===c[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return c[n]}}))});var f=r(d[5]);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===f[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return f[n]}}))});var l=r(d[6]);Object.keys(l).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===l[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return l[n]}}))});var b=r(d[7]);Object.keys(b).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===b[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return b[n]}}))});var _=r(d[8]);Object.keys(_).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===_[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return _[n]}}))});var j=r(d[9]);Object.keys(j).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===j[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return j[n]}}))});var s=r(d[10]);Object.keys(s).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===s[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return s[n]}}))});var y=r(d[11]);
2Object.keys(y).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===y[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return y[n]}}))})},1085,[1086,1140,1087,1187,1196,1243,1244,1245,1255,1112,1256,1115]);
3__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserAztecCodeReader=void 0;var o,n=r(_d[1]),c=t(r(_d[2])),u=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function c(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(c.prototype=n.prototype,new c)});e.BrowserAztecCodeReader=(function(t){function o(o){return void 0===o&&(o=500),t.call(this,new c.default,o)||this}return u(o,t),o})(n.BrowserCodeReader)},1086,[17,1087,1116]);
4__d(function(_g,r,_i,a,_m,_e,_d){var e=r(_d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.BrowserCodeReader=void 0;var t=e(r(_d[1])),n=e(r(_d[2])),i=e(r(_d[3])),o=e(r(_d[4])),s=e(r(_d[5])),d=e(r(_d[6])),u=r(_d[7]),c=r(_d[8]),h=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(o,s){function d(e){try{c(i.next(e))}catch(e){s(e)}}function u(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(d,u)}c((i=i.apply(e,t||[])).next())})},l=this&&this.__generator||function(e,t){var n,i,o,s,d={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function u(e){return function(t){return c([e,t])}}function c(s){if(n)throw new TypeError("Generator is already executing.");for(;d;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return d.label++,{value:s[1],done:!1};case 5:d.label++,i=s[1],s=[0];continue;case 7:s=d.ops.pop(),d.trys.pop();continue;default:if(!(o=d.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){d=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){d.label=s[1];break}if(6===s[0]&&d.label<o[1]){d.label=o[1],o=s;break}if(o&&d.label<o[2]){d.label=o[2],d.ops.push(s);break}o[2]&&d.ops.pop(),d.trys.pop();continue}s=t.call(e,d)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},p=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};_e.BrowserCodeReader=(function(){function e(e,t,n){void 0===t&&(t=500),this.reader=e,this.timeBetweenScansMillis=t,this._hints=n,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}return Object.defineProperty(e.prototype,"hasNavigator",{get:function(){return'undefined'!=typeof navigator},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMediaDevicesSuported",{get:function(){return this.hasNavigator&&!!navigator.mediaDevices},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canEnumerateDevices",{get:function(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timeBetweenDecodingAttempts",{get:function(){return this._timeBetweenDecodingAttempts},set:function(e){this._timeBetweenDecodingAttempts=e<0?0:e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hints",{get:function(){return this._hints},set:function(e){this._hints=e||null},enumerable:!1,configurable:!0}),e.prototype.listVideoInputDevices=function(){return h(this,void 0,void 0,function(){var e,t,n,i,o,s,d,u,c,h,v,m;return l(this,function(l){switch(l.label){case 0:if(!this.hasNavigator)throw new Error("Can't enumerate devices, navigator is not present.");if(!this.canEnumerateDevices)throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:e=l.sent(),t=[];try{for(n=p(e),i=n.next();!i.done;i=n.next())o=i.value,'videoinput'===(s='video'===o.kind?'videoinput':o.kind)&&(d=o.deviceId||o.id,u=o.label||"Video device "+(t.length+1),c=o.groupId,h={deviceId:d,label:u,kind:s,groupId:c},t.push(h))}catch(e){v={error:e}}finally{try{i&&!i.done&&(m=n.return)&&m.call(n)}finally{if(v)throw v.error}}return[2,t]}})})},e.prototype.getVideoInputDevices=function(){return h(this,void 0,void 0,function(){return l(this,function(e){switch(e.label){case 0:return[4,this.listVideoInputDevices()];case 1:return[2,e.sent().map(function(e){return new c.VideoInputDevice(e.deviceId,e.label)})]}})})},e.prototype.findDeviceById=function(e){return h(this,void 0,void 0,function(){var t;return l(this,function(n){switch(n.label){case 0:return[4,this.listVideoInputDevices()];case 1:return(t=n.sent())?[2,t.find(function(t){return t.deviceId===e})]:[2,null]}})})},e.prototype.decodeFromInputVideoDevice=function(e,t){return h(this,void 0,void 0,function(){return l(this,function(n){switch(n.label){case 0:return[4,this.decodeOnceFromVideoDevice(e,t)];case 1:return[2,n.sent()]}})})},e.prototype.decodeOnceFromVideoDevice=function(e,t){return h(this,void 0,void 0,function(){var n;return l(this,function(i){switch(i.label){case 0:return this.reset(),n={video:e?{deviceId:{exact:e}}:{facingMode:'environment'}},[4,this.decodeOnceFromConstraints(n,t)];case 1:return[2,i.sent()]}})})},e.prototype.decodeOnceFromConstraints=function(e,t){return h(this,void 0,void 0,function(){var n;return l(this,function(i){switch(i.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return n=i.sent(),[4,this.decodeOnceFromStream(n,t)];case 2:return[2,i.sent()]}})})},e.prototype.decodeOnceFromStream=function(e,t){return h(this,void 0,void 0,function(){var n;return l(this,function(i){switch(i.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,t)];case 1:return n=i.sent(),[4,this.decodeOnce(n)];case 2:return[2,i.sent()]}})})},e.prototype.decodeFromInputVideoDeviceContinuously=function(e,t,n){return h(this,void 0,void 0,function(){return l(this,function(i){switch(i.label){case 0:return[4,this.decodeFromVideoDevice(e,t,n)];case 1:return[2,i.sent()]}})})},e.prototype.decodeFromVideoDevice=function(e,t,n){return h(this,void 0,void 0,function(){var i;return l(this,function(o){switch(o.label){case 0:return i={video:e?{deviceId:{exact:e}}:{facingMode:'environment'}},[4,this.decodeFromConstraints(i,t,n)];case 1:return[2,o.sent()]}})})},e.prototype.decodeFromConstraints=function(e,t,n){return h(this,void 0,void 0,function(){var i;return l(this,function(o){switch(o.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return i=o.sent(),[4,this.decodeFromStream(i,t,n)];case 2:return[2,o.sent()]}})})},e.prototype.decodeFromStream=function(e,t,n){return h(this,void 0,void 0,function(){var i;return l(this,function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,t)];case 1:return i=o.sent(),[4,this.decodeContinuously(i,n)];case 2:return[2,o.sent()]}})})},e.prototype.stopAsyncDecode=function(){this._stopAsyncDecode=!0},e.prototype.stopContinuousDecode=function(){this._stopContinuousDecode=!0},e.prototype.attachStreamToVideo=function(e,t){return h(this,void 0,void 0,function(){var n;return l(this,function(i){switch(i.label){case 0:return n=this.prepareVideoElement(t),this.addVideoSource(n,e),this.videoElement=n,this.stream=e,[4,this.playVideoOnLoadAsync(n)];case 1:return i.sent(),[2,n]}})})},e.prototype.playVideoOnLoadAsync=function(e){var t=this;return new Promise(function(n,i){return t.playVideoOnLoad(e,function(){return n()})})},e.prototype.playVideoOnLoad=function(e,t){var n=this;this.videoEndedListener=function(){return n.stopStreams()},this.videoCanPlayListener=function(){return n.tryPlayVideo(e)},e.addEventListener('ended',this.videoEndedListener),e.addEventListener('canplay',this.videoCanPlayListener),e.addEventListener('playing',t),this.tryPlayVideo(e)},e.prototype.isVideoPlaying=function(e){return e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2},e.prototype.tryPlayVideo=function(e){return h(this,void 0,void 0,function(){return l(this,function(t){switch(t.label){case 0:if(this.isVideoPlaying(e))return console.warn('Trying to play video that is already playing.'),[2];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,e.play()];case 2:return t.sent(),[3,4];case 3:return t.sent(),console.warn('It was not possible to play the video.'),[3,4];case 4:return[2]}})})},e.prototype.getMediaElement=function(e,n){var i=document.getElementById(e);if(!i)throw new t.default("element with id '"+e+"' not found");if(i.nodeName.toLowerCase()!==n.toLowerCase())throw new t.default("element with id '"+e+"' must be an "+n+" element");return i},e.prototype.decodeFromImage=function(e,n){if(!e&&!n)throw new t.default('either imageElement with a src set or an url must be provided');return n&&!e?this.decodeFromImageUrl(n):this.decodeFromImageElement(e)},e.prototype.decodeFromVideo=function(e,n){if(!e&&!n)throw new t.default('Either an element with a src set or an URL must be provided');return n&&!e?this.decodeFromVideoUrl(n):this.decodeFromVideoElement(e)},e.prototype.decodeFromVideoContinuously=function(e,n,i){if(void 0===e&&void 0===n)throw new t.default('Either an element with a src set or an URL must be provided');return n&&!e?this.decodeFromVideoUrlContinuously(n,i):this.decodeFromVideoElementContinuously(e,i)},e.prototype.decodeFromImageElement=function(e){if(!e)throw new t.default('An image element must be provided.');this.reset();var n=this.prepareImageElement(e);return this.imageElement=n,this.isImageLoaded(n)?this.decodeOnce(n,!1,!0):this._decodeOnLoadImage(n)},e.prototype.decodeFromVideoElement=function(e){var t=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideo(t)},e.prototype.decodeFromVideoElementContinuously=function(e,t){var n=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideoContinuously(n,t)},e.prototype._decodeFromVideoElementSetup=function(e){if(!e)throw new t.default('A video element must be provided.');this.reset();var n=this.prepareVideoElement(e);return this.videoElement=n,n},e.prototype.decodeFromImageUrl=function(e){if(!e)throw new t.default('An URL must be provided.');this.reset();var n=this.prepareImageElement();this.imageElement=n;var i=this._decodeOnLoadImage(n);return n.src=e,i},e.prototype.decodeFromVideoUrl=function(e){if(!e)throw new t.default('An URL must be provided.');this.reset();var n=this.prepareVideoElement(),i=this.decodeFromVideoElement(n);return n.src=e,i},e.prototype.decodeFromVideoUrlContinuously=function(e,n){if(!e)throw new t.default('An URL must be provided.');this.reset();var i=this.prepareVideoElement(),o=this.decodeFromVideoElementContinuously(i,n);return i.src=e,o},e.prototype._decodeOnLoadImage=function(e){var t=this;return new Promise(function(n,i){t.imageLoadedListener=function(){return t.decodeOnce(e,!1,!0).then(n,i)},e.addEventListener('load',t.imageLoadedListener)})},e.prototype._decodeOnLoadVideo=function(e){return h(this,void 0,void 0,function(){return l(this,function(t){switch(t.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return t.sent(),[4,this.decodeOnce(e)];case 2:return[2,t.sent()]}})})},e.prototype._decodeOnLoadVideoContinuously=function(e,t){return h(this,void 0,void 0,function(){return l(this,function(n){switch(n.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return n.sent(),this.decodeContinuously(e,t),[2]}})})},e.prototype.isImageLoaded=function(e){return!!e.complete&&0!==e.naturalWi
4dth},e.prototype.prepareImageElement=function(e){var t;return void 0===e&&((t=document.createElement('img')).width=200,t.height=200),'string'==typeof e&&(t=this.getMediaElement(e,'img')),e instanceof HTMLImageElement&&(t=e),t},e.prototype.prepareVideoElement=function(e){var t;return e||'undefined'==typeof document||((t=document.createElement('video')).width=200,t.height=200),'string'==typeof e&&(t=this.getMediaElement(e,'video')),e instanceof HTMLVideoElement&&(t=e),t.setAttribute('autoplay','true'),t.setAttribute('muted','true'),t.setAttribute('playsinline','true'),t},e.prototype.decodeOnce=function(e,t,n){var o=this;void 0===t&&(t=!0),void 0===n&&(n=!0),this._stopAsyncDecode=!1;var u=function(c,h){if(o._stopAsyncDecode)return h(new d.default('Video stream has ended before any code could be detected.')),void(o._stopAsyncDecode=void 0);try{c(o.decode(e))}catch(e){var l=t&&e instanceof d.default,p=e instanceof i.default||e instanceof s.default;if(l||p&&n)return setTimeout(u,o._timeBetweenDecodingAttempts,c,h);h(e)}};return new Promise(function(e,t){return u(e,t)})},e.prototype.decodeContinuously=function(e,t){var n=this;this._stopContinuousDecode=!1;var o=function(){if(n._stopContinuousDecode)n._stopContinuousDecode=void 0;else try{var u=n.decode(e);t(u,null),setTimeout(o,n.timeBetweenScansMillis)}catch(e){t(null,e);var c=e instanceof i.default||e instanceof s.default,h=e instanceof d.default;(c||h)&&setTimeout(o,n._timeBetweenDecodingAttempts)}};o()},e.prototype.decode=function(e){var t=this.createBinaryBitmap(e);return this.decodeBitmap(t)},e.prototype.createBinaryBitmap=function(e){this.getCaptureCanvasContext(e);var t=!1;e instanceof HTMLVideoElement?(this.drawFrameOnCanvas(e),t=!0):this.drawImageOnCanvas(e);var i=this.getCaptureCanvas(e),s=new u.HTMLCanvasElementLuminanceSource(i,t),d=new o.default(s);return new n.default(d)},e.prototype.getCaptureCanvasContext=function(e){if(!this.captureCanvasContext){var t=this.getCaptureCanvas(e),n=void 0;try{n=t.getContext('2d',{willReadFrequently:!0})}catch(e){n=t.getContext('2d')}this.captureCanvasContext=n}return this.captureCanvasContext},e.prototype.getCaptureCanvas=function(e){if(!this.captureCanvas){var t=this.createCaptureCanvas(e);this.captureCanvas=t}return this.captureCanvas},e.prototype.drawFrameOnCanvas=function(e,t,n){void 0===t&&(t={sx:0,sy:0,sWidth:e.videoWidth,sHeight:e.videoHeight,dx:0,dy:0,dWidth:e.videoWidth,dHeight:e.videoHeight}),void 0===n&&(n=this.captureCanvasContext),n.drawImage(e,t.sx,t.sy,t.sWidth,t.sHeight,t.dx,t.dy,t.dWidth,t.dHeight)},e.prototype.drawImageOnCanvas=function(e,t,n){void 0===t&&(t={sx:0,sy:0,sWidth:e.naturalWidth,sHeight:e.naturalHeight,dx:0,dy:0,dWidth:e.naturalWidth,dHeight:e.naturalHeight}),void 0===n&&(n=this.captureCanvasContext),n.drawImage(e,t.sx,t.sy,t.sWidth,t.sHeight,t.dx,t.dy,t.dWidth,t.dHeight)},e.prototype.decodeBitmap=function(e){return this.reader.decode(e,this._hints)},e.prototype.createCaptureCanvas=function(e){if('undefined'==typeof document)return this._destroyCaptureCanvas(),null;var t,n,i=document.createElement('canvas');return void 0!==e&&(e instanceof HTMLVideoElement?(t=e.videoWidth,n=e.videoHeight):e instanceof HTMLImageElement&&(t=e.naturalWidth||e.width,n=e.naturalHeight||e.height)),i.style.width=t+'px',i.style.height=n+'px',i.width=t,i.height=n,i},e.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach(function(e){return e.stop()}),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()},e.prototype.reset=function(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()},e.prototype._destroyVideoElement=function(){this.videoElement&&(void 0!==this.videoEndedListener&&this.videoElement.removeEventListener('ended',this.videoEndedListener),void 0!==this.videoPlayingEventListener&&this.videoElement.removeEventListener('playing',this.videoPlayingEventListener),void 0!==this.videoCanPlayListener&&this.videoElement.removeEventListener('loadedmetadata',this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)},e.prototype._destroyImageElement=function(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener('load',this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute('src'),this.imageElement=void 0)},e.prototype._destroyCaptureCanvas=function(){this.captureCanvasContext=void 0,this.captureCanvas=void 0},e.prototype.addVideoSource=function(e,t){try{e.srcObject=t}catch(n){e.src=URL.createObjectURL(t)}},e.prototype.cleanVideoSource=function(e){try{e.srcObject=null}catch(t){e.src=''}this.videoElement.removeAttribute('src')},e})()},1087,[17,1088,1091,1093,1094,1108,1111,1112,1115]);
5__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);
5Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.kind='ArgumentException',n})(o.default);e.default=c},1088,[17,1089]);
6__d(function(g,r,i,a,m,e,_d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,o=r(_d[0]),n=this&&this.__extends||(t=function(o,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},t(o,n)},function(o,n){function u(){this.constructor=o}t(o,n),o.prototype=null===n?Object.create(n):(u.prototype=n.prototype,new u)}),u=(function(t){function o(o){void 0===o&&(o=void 0);var n=t.call(this,o)||this;return n.message=o,n}return n(o,t),o.prototype.getKind=function(){return this.constructor.kind},o.kind='Exception',o})(o.CustomError);e.default=u},1089,[1090]);
7__d(function(g,r,_i2,a,m,e,_d){function t(t,o){void 0===o&&(o=t.constructor);var n=Error.captureStackTrace;n&&n(t,o)}Object.defineProperty(e,"__esModule",{value:!0}),e.CustomError=void 0,e.customErrorFactory=function(o,n){void 0===n&&(n=Error);function i(){for(var u=[],p=0;p<arguments.length;p++)u[p]=arguments[p];if(!(this instanceof i))return new(i.bind.apply(i,c([void 0],u,!1)));n.apply(this,u),Object.defineProperty(this,'name',{value:o.name||n.name,enumerable:!1,configurable:!0}),o.apply(this,u),t(this,i)}return Object.defineProperties(i,{prototype:{value:Object.create(n.prototype,{constructor:{value:i,writable:!0,configurable:!0}})}})};var o,n=(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])},o(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function c(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(c.prototype=n.prototype,new c)}),c=(e.CustomError=(function(o){function c(n,c){var i,u,p,l=this.constructor,f=o.call(this,n,c)||this;return Object.defineProperty(f,'name',{value:l.name,enumerable:!1,configurable:!0}),i=f,u=l.prototype,(p=Object.setPrototypeOf)?p(i,u):i.__proto__=u,t(f),f}return n(c,o),c})(Error),function(t,o,n){if(n||2===arguments.length)for(var c,i=0,u=o.length;i<u;i++)!c&&i in o||(c||(c=Array.prototype.slice.call(o,0,i)),c[i]=o[i]);return t.concat(c||Array.prototype.slice.call(o))})},1090,[]);
8__d(function(g,r,i,a,m,_e,d){var t=r(d[0]);
8Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=t(r(d[1])),n=(function(){function t(t){if(this.binarizer=t,null===t)throw new e.default('Binarizer must be non-null.')}return t.prototype.getWidth=function(){return this.binarizer.getWidth()},t.prototype.getHeight=function(){return this.binarizer.getHeight()},t.prototype.getBlackRow=function(t,e){return this.binarizer.getBlackRow(t,e)},t.prototype.getBlackMatrix=function(){return null!==this.matrix&&void 0!==this.matrix||(this.matrix=this.binarizer.getBlackMatrix()),this.matrix},t.prototype.isCropSupported=function(){return this.binarizer.getLuminanceSource().isCropSupported()},t.prototype.crop=function(e,n,o,u){var c=this.binarizer.getLuminanceSource().crop(e,n,o,u);return new t(this.binarizer.createBinarizer(c))},t.prototype.isRotateSupported=function(){return this.binarizer.getLuminanceSource().isRotateSupported()},t.prototype.rotateCounterClockwise=function(){var e=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new t(this.binarizer.createBinarizer(e))},t.prototype.rotateCounterClockwise45=function(){var e=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new t(this.binarizer.createBinarizer(e))},t.prototype.toString=function(){try{return this.getBlackMatrix().toString()}catch(t){return''}},t})();_e.default=n},1091,[17,1092]);
9__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.
9setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.kind='IllegalArgumentException',n})(o.default);e.default=c},1092,[17,1089]);
10__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.getChecksumInstance=function(){return new n},n.kind='ChecksumException',n})(o.default);e.default=c},1093,[17,1089]);
11__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,_=t(r(_d[1])),n=t(r(_d[2])),c=this&&this.__extends||(o=function(t,_){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var _ in o)o.hasOwnProperty(_)&&(t[_]=o[_])},o(t,_)},function(t,_){function n(){this.constructor=t}o(t,_),t.prototype=null===_?Object.create(_):(n.prototype=_.prototype,new n)}),I=(function(t){function o(o){var _=t.call(this,o)||this;return _.matrix=null,_}return c(o,t),o.prototype.getBlackMatrix=function(){if(null!==this.matrix)return this.matrix;var _=this.getLuminanceSource(),c=_.getWidth(),I=_.getHeight();if(c>=o.MINIMUM_DIMENSION&&I>=o.MINIMUM_DIMENSION){var O=_.getMatrix(),E=c>>o.BLOCK_SIZE_POWER;0!==(c&o.BLOCK_SIZE_MASK)&&E++;var u=I>>o.BLOCK_SIZE_POWER;0!==(I&o.BLOCK_SIZE_MASK)&&u++;var f=o.calculateBlackPoints(O,E,u,c,I),l=new n.default(c,I);o.calculateThresholdForBlock(O,E,u,c,I,f,l),this.matrix=l}else this.matrix=t.prototype.getBlackMatrix.call(this);return this.matrix},o.prototype.createBinarizer=function(t){return new o(t)},o.calculateThresholdForBlock=function(t,_,n,c,I,O,E){for(var u=I-o.BLOCK_SIZE,f=c-o.BLOCK_SIZE,l=0;l<n;l++){var B=l<<o.BLOCK_SIZE_POWER;B>u&&(B=u);for(var S=o.cap(l,2,n-3),v=0;v<_;v++){var C=v<<o.BLOCK_SIZE_POWER;C>f&&(C=f);for(var K=o.cap(v,2,_-3),s=0,L=-2;L<=2;L++){var M=O[S+L];s+=M[K-2]+M[K-1]+M[K]+M[K+1]+M[K+2]}var Z=s/25;o.thresholdBlock(t,C,B,Z,c,E)}}},o.cap=function(t,o,_){return t<o?o:t>_?_:t},o.thresholdBlock=function(t,_,n,c,I,O){for(var E=0,u=n*I+_;E<o.BLOCK_SIZE;E++,u+=I)for(var f=0;f<o.BLOCK_SIZE;f++)(255&t[u+f])<=c&&O.set(_+f,n+E)},o.calculateBlackPoints=function(t,_,n,c,I){for(var O=I-o.BLOCK_SIZE,E=c-o.BLOCK_SIZE,u=new Array(n),f=0;f<n;f++){u[f]=new Int32Array(_);var l=f<<o.BLOCK_SIZE_POWER;l>O&&(l=O);for(var B=0;B<_;B++){var S=B<<o.BLOCK_SIZE_POWER;S>E&&(S=E);for(var v=0,C=255,K=0,s=0,L=l*c+S;s<o.BLOCK_SIZE;s++,L+=c){for(var M=0;M<o.BLOCK_SIZE;M++){var Z=255&t[L+M];v+=Z,Z<C&&(C=Z),Z>K&&(K=Z)}if(K-C>o.MIN_DYNAMIC_RANGE)for(s++,L+=c;s<o.BLOCK_SIZE;s++,L+=c)for(M=0;M<o.BLOCK_SIZE;M++)v+=255&t[L+M]}var h=v>>2*o.BLOCK_SIZE_POWER;if(K-C<=o.MIN_DYNAMIC_RANGE&&(h=C/2,f>0&&B>0)){var p=(u[f-1][B]+2*u[f][B-1]+u[f-1][B-1])/4;C<p&&(h=p)}u[f][B]=h}}return u},o.BLOCK_SIZE_POWER=3,o.BLOCK_SIZE=1<<o.BLOCK_SIZE_POWER,o.BLOCK_SIZE_MASK=o.BLOCK_SIZE-1,o.MINIMUM_DIMENSION=5*o.BLOCK_SIZE,o.MIN_DYNAMIC_RANGE=24,o})(_.default);e.default=I},1094,[17,1095,1103]);
12__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=t(r(_d[2])),c=t(r(_d[3])),f=t(r(_d[4])),s=this&&this.__extends||(n=function(t,o){return n=Object.
12setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),l=(function(t){function n(o){var u=t.call(this,o)||this;return u.luminances=n.EMPTY,u.buckets=new Int32Array(n.LUMINANCE_BUCKETS),u}return s(n,t),n.prototype.getBlackRow=function(t,o){var c=this.getLuminanceSource(),f=c.getWidth();null==o||o.getSize()<f?o=new u.default(f):o.clear(),this.initArrays(f);for(var s=c.getRow(t,this.luminances),l=this.buckets,h=0;h<f;h++)l[(255&s[h])>>n.LUMINANCE_SHIFT]++;var _=n.estimateBlackPoint(l);if(f<3)for(h=0;h<f;h++)(255&s[h])<_&&o.set(h);else{var v=255&s[0],p=255&s[1];for(h=1;h<f-1;h++){var N=255&s[h+1];(4*p-v-N)/2<_&&o.set(h),v=p,p=N}}return o},n.prototype.getBlackMatrix=function(){var t=this.getLuminanceSource(),o=t.getWidth(),u=t.getHeight(),f=new c.default(o,u);this.initArrays(o);for(var s=this.buckets,l=1;l<5;l++)for(var h=Math.floor(u*l/5),_=t.getRow(h,this.luminances),v=Math.floor(4*o/5),p=Math.floor(o/5);p<v;p++){s[(255&_[p])>>n.LUMINANCE_SHIFT]++}var N=n.estimateBlackPoint(s),I=t.getMatrix();for(l=0;l<u;l++){var M=l*o;for(p=0;p<o;p++){(255&I[M+p])<N&&f.set(p,l)}}return f},n.prototype.createBinarizer=function(t){return new n(t)},n.prototype.initArrays=function(t){this.luminances.length<t&&(this.luminances=new Uint8ClampedArray(t));for(var o=this.buckets,u=0;
12u<n.LUMINANCE_BUCKETS;u++)o[u]=0},n.estimateBlackPoint=function(t){for(var o=t.length,u=0,c=0,s=0,l=0;l<o;l++)t[l]>s&&(c=l,s=t[l]),t[l]>u&&(u=t[l]);var h=0,_=0;for(l=0;l<o;l++){var v=l-c;(M=t[l]*v*v)>_&&(h=l,_=M)}if(c>h){var p=c;c=h,h=p}if(h-c<=o/16)throw new f.default;var N=h-1,I=-1;for(l=h-1;l>c;l--){var M,y=l-c;(M=y*y*(h-l)*(u-t[l]))>I&&(N=l,I=M)}return N<<n.LUMINANCE_SHIFT},n.LUMINANCE_BITS=5,n.LUMINANCE_SHIFT=8-n.LUMINANCE_BITS,n.LUMINANCE_BUCKETS=1<<n.LUMINANCE_BITS,n.EMPTY=Uint8ClampedArray.from([0]),n})(o.default);e.default=l},1095,[17,1096,1097,1103,1111]);
13__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(t){this.source=t}return t.prototype.getLuminanceSource=function(){return this.source},t.prototype.getWidth=function(){return this.source.getWidth()},t.prototype.getHeight=function(){return this.source.getHeight()},t})();e.default=t},1096,[]);
14__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=t(r(d[1])),o=t(r(d[2])),s=t(r(d[3])),n=t(r(d[4])),h=(function(){function t(i,o){void 0===i?(this.size=0,this.bits=new Int32Array(1)):(this.size=i,this.bits=null==o?t.makeArray(i):o)}return t.prototype.getSize=function(){return this.size},t.prototype.getSizeInBytes=function(){return Math.floor((this.size+7)/8)},t.prototype.ensureCapacity=function(i){if(i>32*this.bits.length){var o=t.makeArray(i);n.default.arraycopy(this.bits,0,o,0,this.bits.length),this.bits=o}},t.prototype.get=function(t){return!!(this.bits[Math.floor(t/32)]&1<<(31&t))},t.prototype.set=function(t){this.bits[Math.floor(t/32)]|=1<<(31&t)},t.prototype.flip=function(t){this.bits[Math.floor(t/32)]^=1<<(31&t)},t.prototype.getNextSet=function(t){var i=this.size;if(t>=i)return i;var o=this.bits,n=Math.floor(t/32),h=o[n];h&=~((1<<(31&t))-1);for(var f=o.length;0===h;){if(++n===f)return i;h=o[n]}var u=32*n+s.default.numberOfTrailingZeros(h);return u>i?i:u},t.prototype.getNextUnset=function(t){var i=this.size;if(t>=i)return i;var o=this.bits,n=Math.floor(t/32),h=~o[n];h&=~((1<<(31&t))-1);for(var f=o.length;0===h;){if(++n===f)return i;h=~o[n]}var u=32*n+s.default.numberOfTrailingZeros(h);return u>i?i:u},t.prototype.setBulk=function(t,i){this.bits[Math.floor(t/32)]=i},t.prototype.setRange=function(t,o){if(o<t||t<0||o>this.size)throw new i.default;if(o!==t){o--;for(var s=Math.floor(t/32),n=Math.floor(o/32),h=this.bits,f=s;f<=n;f++){var u=(2<<(f<n?31:31&o))-(1<<(f>s?0:31&t));h[f]|=u}}},t.prototype.clear=function(){for(var t=this.bits.length,i=this.bits,o=0;o<t;o++)i[o]=0},t.prototype.isRange=function(t,o,s){if(o<t||t<0||o>this.size)throw new i.default;if(o===t)return!0;o--;for(var n=Math.floor(t/32),h=Math.floor(o/32),f=this.bits,u=n;u<=h;u++){var p=(2<<(u<h?31:31&o))-(1<<(u>n?0:31&t))&4294967295;if((f[u]&p)!==(s?p:0))return!1}return!0},t.prototype.appendBit=function(t){this.ensureCapacity(this.size+1),t&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++},t.prototype.appendBits=function(t,o){if(o<0||o>32)throw new i.default('Num bits must be between 0 and 32');this.ensureCapacity(this.size+o);for(var s=o;s>0;s--)this.appendBit(1==(t>>s-1&1))},t.prototype.appendBitArray=function(t){var i=t.size;this.ensureCapacity(this.size+i);for(var o=0;o<i;o++)this.appendBit(t.get(o))},t.prototype.xor=function(t){if(this.size!==t.size)throw new i.default('Sizes don\'t match');for(var o=this.bits,s=0,n=o.length;s<n;s++)o[s]^=t.bits[s]},t.prototype.toBytes=function(t,i,o,s){for(var n=0;n<s;n++){for(var h=0,f=0;f<8;f++)this.get(t)&&(h|=1<<7-f),t++;i[o+n]=h}},t.prototype.getBitArray=function(){return this.bits},t.prototype.reverse=function(){for(var t=new Int32Array(this.bits.length),i=Math.floor((this.size-1)/32),o=i+1,s=this.bits,n=0;n<o;n++){var h=s[n];h=(h=(h=(h=(h=h>>1&1431655765|(1431655765&h)<<1)>>2&858993459|(858993459&h)<<2)>>4&252645135|(252645135&h)<<4)>>8&16711935|(16711935&h)<<8)>>16&65535|(65535&h)<<16,t[i-n]=h}if(this.size!==32*o){var f=32*o-this.size,u=t[0]>>>f;for(n=1;n<o;n++){var p=t[n];u|=p<<32-f,t[n-1]=u,u=p>>>f}t[o-1]=u}this.bits=t},t.makeArray=function(t){return new Int32Array(Math.floor((t+31)/32))},t.prototype.equals=function(i){if(!(i instanceof t))return!1;var s=i;return this.size===s.size&&o.default.equals(this.bits,s.bits)}
14,t.prototype.hashCode=function(){return 31*this.size+o.default.hashCode(this.bits)},t.prototype.toString=function(){for(var t='',i=0,o=this.size;i<o;i++)7&i||(t+=' '),t+=this.get(i)?'X':'.';return t},t.prototype.clone=function(){return new t(this.size,this.bits.slice())},t.prototype.toArray=function(){for(var t=[],i=0,o=this.size;i<o;i++)t.push(this.get(i));return t},t})();e.default=h},1097,[17,1092,1098,1102,1099]);
15__d(function(g,r,_i2,_a2,_m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),f=n(r(d[2])),o=n(r(d[3])),i=this&&this.__values||function(n){var t="function"==typeof Symbol&&Symbol.iterator,f=t&&n[t],o=0;if(f)return f.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&o>=n.length&&(n=void 0),{value:n&&n[o++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},u=(function(){function n(){}return n.fill=function(n,t){for(var f=0,o=n.length;f<o;f++)n[f]=t},n.fillWithin=function(t,f,o,i){n.rangeCheck(t.length,f,o);for(var u=f;u<o;u++)t[u]=i},n.rangeCheck=function(n,t,i){if(t>i)throw new f.default('fromIndex('+t+') > toIndex('+i+')');if(t<0)throw new o.default(t);if(i>n)throw new o.default(i)},n.asList=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return n},n.create=function(n,t,f){return Array.from({length:n}).map(function(n){return Array.from({length:t}).fill(f)})},n.createInt32Array=function(n,t,f){return Array.from({length:n}).map(function(n){return Int32Array.from({length:t}).fill(f)})},n.equals=function(n,t){if(!n)return!1;if(!t)return!1;if(!n.length)return!1;if(!t.length)return!1;if(n.length!==t.length)return!1;for(var f=0,o=n.length;f<o;f++)if(n[f]!==t[f])return!1;return!0},n.hashCode=function(n){var t,f;if(null===n)return 0;var o=1;try{for(var u=i(n),a=u.next();!a.done;a=u.next()){o=31*o+a.value}}catch(n){t={error:n}}finally{try{a&&!a.done&&(f=u.return)&&f.call(u)}finally{if(t)throw t.error}}return o},n.fillUint8Array=function(n,t){for(var f=0;f!==n.length;f++)n[f]=t},n.copyOf=function(n,t){return n.slice(0,t)},n.copyOfUint8Array=function(n,t){if(n.length<=t){var f=new Uint8Array(t);return f.set(n),f}return n.slice(0,t)},n.copyOfRange=function(n,f,o){var i=o-f,u=new Int32Array(i);return t.default.arraycopy(n,f,u,0,i),u},n.binarySearch=function(t,f,o){void 0===o&&(o=n.numberComparator);for(var i=0,u=t.length-1;i<=u;){var a=u+i>>1,l=o(f,t[a]);if(l>0)i=a+1;else{if(!(l<0))return a;u=a-1}}return-i-1},n.numberComparator=function(n,t){return n-t},n})();e.default=u},1098,[17,1099,1092,1100]);
16__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(){function n(){}return n.arraycopy=function(n,t,u,o,f){for(;f--;)u[o++]=n[t++]},n.currentTimeMillis=function(){return Date.now()},n})();e.default=n},1099,[]);
17__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),u=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function u(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(u.prototype=n.prototype,new u)}),c=(function(t){function o(o,n){void 0===o&&(o=void 0),void 0===n&&(n=void 0);var u=t.call(this,n)||this;return u.index=o,u.message=n,u}return u(o,t),o.kind='ArrayIndexOutOfBoundsException',o})(n.default);e.default=c},1100,[17,1101]);
18__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.
18setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.kind='IndexOutOfBoundsException',n})(o.default);e.default=c},1101,[17,1089]);
19__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(){function n(){}return n.numberOfTrailingZeros=function(n){var t;if(0===n)return 32;var u=31;return 0!==(t=n<<16)&&(u-=16,n=t),0!==(t=n<<8)&&(u-=8,n=t),0!==(t=n<<4)&&(u-=4,n=t),0!==(t=n<<2)&&(u-=2,n=t),u-(n<<1>>>31)},n.numberOfLeadingZeros=function(n){if(0===n)return 32;var t=1;return n>>>16==0&&(t+=16,n<<=16),n>>>24==0&&(t+=8,n<<=8),n>>>28==0&&(t+=4,n<<=4),n>>>30==0&&(t+=2,n<<=2),t-=n>>>31},n.toHexString=function(n){return n.toString(16)},n.toBinaryString=function(n){return String(parseInt(String(n),2))},n.bitCount=function(n){return n=(n=(858993459&(n-=n>>>1&1431655765))+(n>>>2&858993459))+(n>>>4)&252645135,n+=n>>>8,63&(n+=n>>>16)},n.truncDivision=function(n,t){return Math.trunc(n/t)},n.parseInt=function(n,t){return void 0===t&&(t=void 0),parseInt(n,t)},n.MIN_VALUE_32_BITS=-2147483648,n.MAX_VALUE=Number.MAX_SAFE_INTEGER,n})();e.default=n},1102,[]);
20__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=t(r(d[1])),o=t(r(d[2])),h=t(r(d[3])),n=t(r(d[4])),s=t(r(d[5])),f=(function(){function t(t,i,o,h){if(this.width=t,this.height=i,this.rowSize=o,this.bits=h,null==i&&(i=t),this.height=i,t<1||i<1)throw new s.default('Both dimensions must be greater than 0');null==o&&(o=Math.floor((t+31)/32)),this.rowSize=o,null==h&&(this.bits=new Int32Array(this.rowSize*this.height))}return t.parseFromBooleanArray=function(i){for(var o=i.length,h=i[0].length,n=new t(h,o),s=0;s<o;s++)for(var f=i[s],u=0;u<h;u++)f[u]&&n.set(u,s);return n},t.parseFromString=function(i,o,h){if(null===i)throw new s.default('stringRepresentation cannot be null');for(var n=new Array(i.length),f=0,u=0,l=-1,w=0,p=0;p<i.length;)if('\n'===i.charAt(p)||'\r'===i.charAt(p)){if(f>u){if(-1===l)l=f-u;else if(f-u!==l)throw new s.default('row lengths do not match');u=f,w++}p++}else if(i.substring(p,p+o.length)===o)p+=o.length,n[f]=!0,f++;else{if(i.substring(p,p+h.length)!==h)throw new s.default('illegal character encountered: '+i.substring(p));p+=h.length,n[f]=!1,f++}if(f>u){if(-1===l)l=f-u;else if(f-u!==l)throw new s.default('row lengths do not match');w++}for(var c=new t(l,w),v=0;v<f;v++)n[v]&&c.set(Math.floor(v%l),Math.floor(v/l));return c},t.prototype.get=function(t,i){var o=i*this.rowSize+Math.floor(t/32);return!!(this.bits[o]>>>(31&t)&1)},t.prototype.set=function(t,i){var o=i*this.rowSize+Math.floor(t/32);this.bits[o]|=1<<(31&t)&4294967295},t.prototype.unset=function(t,i){var o=i*this.rowSize+Math.floor(t/32);this.bits[o]&=~(1<<(31&t)&4294967295)},t.prototype.flip=function(t,i){var o=i*this.rowSize+Math.floor(t/32);this.bits[o]^=1<<(31&t)&4294967295},t.prototype.xor=function(t){if(this.width!==t.getWidth()||this.height!==t.getHeight()||this.rowSize!==t.getRowSize())throw new s.default('input matrix dimensions do not match');for(var o=new i.default(Math.floor(this.width/32)+1),h=this.rowSize,n=this.bits,f=0,u=this.height;f<u;f++)for(var l=f*h,w=t.getRow(f,o).getBitArray(),p=0;p<h;p++)n[l+p]^=w[p]},t.prototype.clear=function(){for(var t=this.bits,i=t.length,o=0;o<i;o++)t[o]=0},t.prototype.setRegion=function(t,i,o,h){if(i<0||t<0)throw new s.default('Left and top must be nonnegative');if(h<1||o<1)throw new s.default('Height and width must be at least 1');var n=t+o,f=i+h;if(f>this.height||n>this.width)throw new s.default('The region must fit inside the matrix');for(var u=this.rowSize,l=this.bits,w=i;w<f;w++)for(var p=w*u,c=t;c<n;c++)l[p+Math.floor(c/32)]|=1<<(31&c)&4294967295},t.prototype.getRow=function(t,o){null==o||o.getSize()<this.width?o=new i.default(this.width):o.clear();for(var h=this.rowSize,n=this.bits,s=t*h,f=0;f<h;f++)o.setBulk(32*f,n[s+f]);return o},t.prototype.setRow=function(t,i){o.default.arraycopy(i.getBitArray(),0,this.bits,t*this.rowSize,this.rowSize)},t.prototype.rotate180=function(){for(var t=this.getWidth(),o=this.getHeight(),h=new i.default(t),n=new i.default(t),s=0,f=Math.floor((o+1)/2);s<f;s++)h=this.getRow(s,h),n=this.getRow(o-1-s,n),h.reverse(),n.reverse(),this.setRow(s,n),this.setRow(o-1-s,h)},t.prototype.getEnclosingRectangle=function(){for(var t=this.width,i=this.height,o=this.rowSize,h=this.bits,n=t,s=i,f=-1,u=-1,l=0;l<i;l++)for(var w=0;w<o;w++){var p=h[l*o+w];if(0!==p){if(l<s&&(s=l),l>u&&(u=l),32*w<n){for(var c=0;!(p<<31-c&4294967295);)c++;32*w+c<n&&(n=32*w+c)}if(32*w+31>f){for(c=31;p>>>c===0;)c--;32*w+c>f&&(f=32*w+c)}}}return f<n||u<s?null:Int32Array.from([n,s,f-n+1,u-s+1])},t.prototype.getTopLeftOnBit=function(){for(var t=this.rowSize,i=this.bits,o=0;o<i.length&&0===i[o];)o++;if(o===i.length)return null;for(var h=o/t,n=o%t*32,s=i[o],f=0;!(s<<31-f&4294967295);)f++;return n+=f,Int32Array.from([n,h])},t.prototype.getBottomRightOnBit=function(){for(var t=this.rowSize,i=this.bits,o=i.length-1;o>=0&&0===i[o];)o--;if(o<0)return null;for(var h=Math.floor(o/t),n=32*Math.floor(o%t),s=i[o],f=31;s>>>f===0;)f--;return n+=f,Int32Array.from([n,h])},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRowSize=function(){return this.rowSize},t.prototype.equals=function(i){if(!(i instanceof t))return!1;var o=i;return this.width===o.width&&this.height===o.height&&this.rowSize===o.rowSize&&h.default.equals(this.bits,o.bits)},t.prototype.hashCode=function(){var t=this.width;return t=31*(t=31*(t=31*(t=31*t+this.width)+this.height)+this.rowSize)+h.default.hashCode(this.bits)},t.prototype.toString=function(t,i,o){return void 0===t&&(t='X '),void 0===i&&(i='  '),void 0===o&&(o='\n'),this.buildToString(t,i,o)},t.prototype.buildToString=function(t,i,o){for(var h=new n.default,s=0,f=this.height;s<f;s++){for(var u=0,l=this.width;u<l;u++)h.append(this.get(u,s)?t:i);h.append(o)}return h.toString()},t.prototype.clone=function(){return new t(this.width,this.height,this.rowSize,this.bits.slice())},t})();e.default=f},1103,[17,1097,1099,1098,1104,1092]);
21__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);
21Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),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,n,i){for(var o=n;n<n+i;o++)this.append(t[o]);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,n){this.value=this.value.substr(0,t)+n+this.value.substr(t+1)},t.prototype.substring=function(t,n){return this.value.substring(t,n)},t.prototype.setLengthToZero=function(){this.value=''},t.prototype.toString=function(){return this.value},t.prototype.insert=function(t,n){this.value=this.value.substring(0,t)+n+this.value.substring(t)},t})();e.default=i},1104,[17,1105]);
22__d(function(g,r,_i2,a,m,_e,d){var e=r(d[0]);
22Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(r(d[1])),n=e(r(d[2])),o=e(r(d[3])),i=(function(){function e(){}return e.castAsNonUtf8Char=function(e,t){void 0===t&&(t=null);var n=t?t.getName():this.ISO88591;return o.default.decode(new Uint8Array([e]),n)},e.guessEncoding=function(n,o){if(null!=o&&void 0!==o.get(t.default.CHARACTER_SET))return o.get(t.default.CHARACTER_SET).toString();for(var i=n.length,u=!0,f=!0,s=!0,c=0,S=0,l=0,I=0,F=0,_=0,T=0,v=0,p=0,C=0,A=0,E=n.length>3&&239===n[0]&&187===n[1]&&191===n[2],U=0;U<i&&(u||f||s);U++){var h=255&n[U];s&&(c>0?128&h?c--:s=!1:128&h&&(64&h?(c++,32&h?(c++,16&h?(c++,8&h?s=!1:I++):l++):S++):s=!1)),u&&(h>127&&h<160?u=!1:h>159&&(h<192||215===h||247===h)&&A++),f&&(F>0?h<64||127===h||h>252?f=!1:F--:128===h||160===h||h>239?f=!1:h>160&&h<224?(_++,v=0,++T>p&&(p=T)):h>127?(F++,T=0,++v>C&&(C=v)):(T=0,v=0))}return s&&c>0&&(s=!1),f&&F>0&&(f=!1),s&&(E||S+l+I>0)?e.UTF8:f&&(e.ASSUME_SHIFT_JIS||p>=3||C>=3)?e.SHIFT_JIS:u&&f?2===p&&2===_||10*A>=i?e.SHIFT_JIS:e.ISO88591:u?e.ISO88591:f?e.SHIFT_JIS:s?e.UTF8:e.PLATFORM_DEFAULT_ENCODING},e.format=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=-1;return e.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,function(e,n,i,u,f,s){if('%%'===e)return'%';if(void 0!==t[++o]){e=u?parseInt(u.substr(1)):void 0;var c,S=f?parseInt(f.substr(1)):void 0;switch(s){case's':c=t[o];break;case'c':c=t[o][0];break;case'f':c=parseFloat(t[o]).toFixed(e);break;case'p':c=parseFloat(t[o]).toPrecision(e);break;case'e':c=parseFloat(t[o]).toExponential(e);break;case'x':c=parseInt(t[o]).toString(S||16);break;case'd':c=parseFloat(parseInt(t[o],S||10).toPrecision(e)).toFixed(0)}c='object'==typeof c?JSON.stringify(c):(+c).toString(S);for(var l=parseInt(i),I=i&&i[0]+''=='0'?'0':' ';c.length<l;)c=void 0!==n?c+I:I+c;return c}})},e.getBytes=function(e,t){return o.default.encode(e,t)},e.getCharCode=function(e,t){return void 0===t&&(t=0),e.charCodeAt(t)},e.getCharAt=function(e){return String.fromCharCode(e)},e.SHIFT_JIS=n.default.SJIS.getName(),e.GB2312='GB2312',e.ISO88591=n.default.ISO8859_1.getName(),e.EUC_JP='EUC_JP',e.UTF8=n.default.UTF8.getName(),e.PLATFORM_DEFAULT_ENCODING=e.UTF8,e.ASSUME_SHIFT_JIS=!1,e})();_e.default=i},1105,[17,1106,1107,1109]);
23__d(function(g,r,i,a,m,e,d){var E;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,(function(E){E[E.OTHER=0]="OTHER",E[E.PURE_BARCODE=1]="PURE_BARCODE",E[E.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",E[E.TRY_HARDER=3]="TRY_HARDER",E[E.CHARACTER_SET=4]="CHARACTER_SET",E[E.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",E[E.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",E[E.ENABLE_CODE_39_EXTENDED_MODE=7]="ENABLE_CODE_39_EXTENDED_MODE",E[E.ASSUME_GS1=8]="ASSUME_GS1",E[E.RETURN_CODABAR_START_END=9]="RETURN_CODABAR_START_END",E[E.NEED_RESULT_POINT_CALLBACK=10]="NEED_RESULT_POINT_CALLBACK",E[E.ALLOWED_EAN_EXTENSIONS=11]="ALLOWED_EAN_EXTENSIONS"})(E||(E={}));e.default=E},1106,[]);
24__d(function(g,r,_i2,a,_m,e,d){var I=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CharacterSetValueIdentifiers=void 0;var S,n=I(r(d[1])),t=this&&this.__values||function(I){var S="function"==typeof Symbol&&Symbol.iterator,n=S&&I[S],t=0;if(n)return n.call(I);if(I&&"number"==typeof I.length)return{next:function(){return I&&t>=I.length&&(I=void 0),{value:I&&I[t++],done:!I}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")};!(function(I){I[I.Cp437=0]="Cp437",I[I.ISO8859_1=1]="ISO8859_1",I[I.ISO8859_2=2]="ISO8859_2",I[I.ISO8859_3=3]="ISO8859_3",I[I.ISO8859_4=4]="ISO8859_4",I[I.ISO8859_5=5]="ISO8859_5",I[I.ISO8859_6=6]="ISO8859_6",I[I.ISO8859_7=7]="ISO8859_7",I[I.ISO8859_8=8]="ISO8859_8",I[I.ISO8859_9=9]="ISO8859_9",I[I.ISO8859_10=10]="ISO8859_10",I[I.ISO8859_11=11]="ISO8859_11",I[I.ISO8859_13=12]="ISO8859_13",I[I.ISO8859_14=13]="ISO8859_14",I[I.ISO8859_15=14]="ISO8859_15",I[I.ISO8859_16=15]="ISO8859_16",I[I.SJIS=16]="SJIS",I[I.Cp1250=17]="Cp1250",I[I.Cp1251=18]="Cp1251",I[I.Cp1252=19]="Cp1252",I[I.Cp1256=20]="Cp1256",I[I.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",I[I.UTF8
24=22]="UTF8",I[I.ASCII=23]="ASCII",I[I.Big5=24]="Big5",I[I.GB18030=25]="GB18030",I[I.EUC_KR=26]="EUC_KR"})(S||(e.CharacterSetValueIdentifiers=S={}));var O=(function(){function I(S,n,O){for(var _,i,o=[],C=3;C<arguments.length;C++)o[C-3]=arguments[C];this.valueIdentifier=S,this.name=O,this.values='number'==typeof n?Int32Array.from([n]):n,this.otherEncodingNames=o,I.VALUE_IDENTIFIER_TO_ECI.set(S,this),I.NAME_TO_ECI.set(O,this);for(var u=this.values,w=0,f=u.length;w!==f;w++){var p=u[w];I.VALUES_TO_ECI.set(p,this)}try{for(var l=t(o),c=l.next();!c.done;c=l.next()){var s=c.value;I.NAME_TO_ECI.set(s,this)}}catch(I){_={error:I}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(_)throw _.error}}}return I.prototype.getValueIdentifier=function(){return this.valueIdentifier},I.prototype.getName=function(){return this.name},I.prototype.getValue=function(){return this.values[0]},I.getCharacterSetECIByValue=function(S){if(S<0||S>=900)throw new n.default('incorect value');var t=I.VALUES_TO_ECI.get(S);if(void 0===t)throw new n.default('incorect value');return t},I.getCharacterSetECIByName=function(S){var t=I.NAME_TO_ECI.get(S);if(void 0===t)throw new n.default('incorect value');return t},I.prototype.equals=function(S){if(!(S instanceof I))return!1;var n=S;return this.getName()===n.getName()},I.VALUE_IDENTIFIER_TO_ECI=new Map,I.VALUES_TO_ECI=new Map,I.NAME_TO_ECI=new Map,I.Cp437=new I(S.Cp437,Int32Array.from([0,2]),'Cp437'),I.ISO8859_1=new I(S.ISO8859_1,Int32Array.from([1,3]),'ISO-8859-1','ISO88591','ISO8859_1'),I.ISO8859_2=new I(S.ISO8859_2,4,'ISO-8859-2','ISO88592','ISO8859_2'),I.ISO8859_3=new I(S.ISO8859_3,5,'ISO-8859-3','ISO88593','ISO8859_3'),I.ISO8859_4=new I(S.ISO8859_4,6,'ISO-8859-4','ISO88594','ISO8859_4'),I.ISO8859_5=new I(S.ISO8859_5,7,'ISO-8859-5','ISO88595','ISO8859_5'),I.ISO8859_6=new I(S.ISO8859_6,8,'ISO-8859-6','ISO88596','ISO8859_6'),I.ISO8859_7=new I(S.ISO8859_7,9,'ISO-8859-7','ISO88597','ISO8859_7'),I.ISO8859_8=new I(S.ISO8859_8,10,'ISO-8859-8','ISO88598','ISO8859_8'),I.ISO8859_9=new I(S.ISO8859_9,11,'ISO-8859-9','ISO88599','ISO8859_9'),I.ISO8859_10=new I(S.ISO8859_10,12,'ISO-8859-10','ISO885910','ISO8859_10'),I.ISO8859_11=new I(S.ISO8859_11,13,'ISO-8859-11','ISO885911','ISO8859_11'),I.ISO8859_13=new I(S.ISO8859_13,15,'ISO-8859-13','ISO885913','ISO8859_13'),I.ISO8859_14=new I(S.ISO8859_14,16,'ISO-8859-14','ISO885914','ISO8859_14'),I.ISO8859_15=new I(S.ISO8859_15,17,'ISO-8859-15','ISO885915','ISO8859_15'),I.ISO8859_16=new I(S.ISO8859_16,18,'ISO-8859-16','ISO885916','ISO8859_16'),I.SJIS=new I(S.SJIS,20,'SJIS','Shift_JIS'),I.Cp1250=new I(S.Cp1250,21,'Cp1250','windows-1250'),I.Cp1251=new I(S.Cp1251,22,'Cp1251','windows-1251'),I.Cp1252=new I(S.Cp1252,23,'Cp1252','windows-1252'),I.Cp1256=new I(S.Cp1256,24,'Cp1256','windows-1256'),I.UnicodeBigUnmarked=new I(S.UnicodeBigUnmarked,25,'UnicodeBigUnmarked','UTF-16BE','UnicodeBig'),I.UTF8=new I(S.UTF8,26,'UTF8','UTF-8'),I.ASCII=new I(S.ASCII,Int32Array.from([27,170]),'ASCII','US-ASCII'),I.Big5=new I(S.Big5,28,'Big5'),I.GB18030=new I(S.GB18030,29,'GB18030','GB2312','EUC_CN','GBK'),I.EUC_KR=new I(S.EUC_KR,30,'EUC_KR','EUC-KR'),I})();e.default=O},1107,[17,1108]);
25__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.
25setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.getFormatInstance=function(){return new n},n.kind='FormatException',n})(o.default);e.default=c},1108,[17,1089]);
26__d(function(g,r,_i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),o=n(r(d[2])),c=(function(){function n(){}return n.decode=function(n,t){var o=this.encodingName(t);return this.customDecoder?this.customDecoder(n,o):'undefined'==typeof TextDecoder||this.shouldDecodeOnFallback(o)?this.decodeFallback(n,o):new TextDecoder(o).decode(n)},n.shouldDecodeOnFallback=function(t){return!n.isBrowser()&&'ISO-8859-1'===t},n.encode=function(n,t){var o=this.encodingName(t);return this.customEncoder?this.customEncoder(n,o):'undefined'==typeof TextEncoder?this.encodeFallback(n):(new TextEncoder).encode(n)},n.isBrowser=function(){return'[object Window]'==={}.toString.call(window)},n.encodingName=function(n){return'string'==typeof n?n:n.getName()},n.encodingCharacterSet=function(n){return n instanceof o.default?n:o.default.getCharacterSetECIByName(n)},n.decodeFallback=function(c,u){var i=this.encodingCharacterSet(u);if(n.isDecodeFallbackSupported(i)){for(var l='',f=0,s=c.length;f<s;f++){var h=c[f].toString(16);h.length<2&&(h='0'+h),l+='%'+h}return decodeURIComponent(l)}if(i.equals(o.default.UnicodeBigUnmarked))return String.fromCharCode.apply(null,new Uint16Array(c.buffer));throw new t.default("Encoding "+this.encodingName(u)+" not supported by fallback.")},n.isDecodeFallbackSupported=function(n){return n.equals(o.default.UTF8)||n.equals(o.default.ISO8859_1)||n.equals(o.default.ASCII)},n.encodeFallback=function(n){for(var t=btoa(unescape(encodeURIComponent(n))).split(''),o=[],c=0;c<t.length;c++)o.push(t[c].charCodeAt(0));return new Uint8Array(o)},n})();e.default=c},1109,[17,1110,1107]);
27__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.
27setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),p=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.kind='UnsupportedOperationException',n})(o.default);e.default=p},1110,[17,1089]);
28__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.getNotFoundInstance=function(){return new n},n.kind='NotFoundException',n})(o.default);e.default=c},1111,[17,1089]);
29__d(function(g,r,_i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.HTMLCanvasElementLuminanceSource=void 0;var n,o=t(r(_d[1])),i=t(r(_d[2])),s=t(r(_d[3])),h=this&&this.__extends||(n=function(t,o){return n=Object.
29setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function i(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)});e.HTMLCanvasElementLuminanceSource=(function(t){function n(o,i){void 0===i&&(i=!1);var s=t.call(this,o.width,o.height)||this;return s.canvas=o,s.tempCanvasElement=null,s.buffer=n.makeBufferFromCanvasImageData(o,i),s}return h(n,t),n.makeBufferFromCanvasImageData=function(t,o){void 0===o&&(o=!1);var i=t.getContext('2d').getImageData(0,0,t.width,t.height);return n.toGrayscaleBuffer(i.data,t.width,t.height,o)},n.toGrayscaleBuffer=function(t,o,i,s){void 0===s&&(s=!1);var h=new Uint8ClampedArray(o*i);if(n.FRAME_INDEX=!n.FRAME_INDEX,n.FRAME_INDEX||!s)for(var u=0,c=0,f=t.length;u<f;u+=4,c++){var p=void 0;if(0===t[u+3])p=255;else p=306*t[u]+601*t[u+1]+117*t[u+2]+512>>10;h[c]=p}else{u=0,c=0;for(var l=t.length;u<l;u+=4,c++){p=void 0;if(0===t[u+3])p=255;else p=306*t[u]+601*t[u+1]+117*t[u+2]+512>>10;h[c]=255-p}}return h},n.prototype.getRow=function(t,n){if(t<0||t>=this.getHeight())throw new s.default('Requested row is outside the image: '+t);var o=this.getWidth(),i=t*o;return null===n?n=this.buffer.slice(i,i+o):(n.length<o&&(n=new Uint8ClampedArray(o)),n.set(this.buffer.slice(i,i+o))),n},n.prototype.getMatrix=function(){return this.buffer},n.prototype.isCropSupported=function(){return!0},n.prototype.crop=function(n,o,i,s){return t.prototype.crop.call(this,n,o,i,s),this},n.prototype.isRotateSupported=function(){return!0},n.prototype.rotateCounterClockwise=function(){return this.rotate(-90),this},n.prototype.rotateCounterClockwise45=function(){return this.rotate(-45),this},n.prototype.getTempCanvasElement=function(){if(null===this.tempCanvasElement){var t=this.canvas.ownerDocument.createElement('canvas');t.width=this.canvas.width,t.height=this.canvas.height,this.tempCanvasElement=t}return this.tempCanvasElement},n.prototype.rotate=function(t){var o=this.getTempCanvasElement(),i=o.getContext('2d'),s=t*n.DEGREE_TO_RADIANS,h=this.canvas.width,u=this.canvas.height,c=Math.ceil(Math.abs(Math.cos(s))*h+Math.abs(Math.sin(s))*u),f=Math.ceil(Math.abs(Math.sin(s))*h+Math.abs(Math.cos(s))*u);return o.width=c,o.height=f,i.translate(c/2,f/2),i.rotate(s),i.drawImage(this.canvas,h/-2,u/-2),this.buffer=n.makeBufferFromCanvasImageData(o),this},n.prototype.invert=function(){return new o.default(this)},n.DEGREE_TO_RADIANS=Math.PI/180,n.FRAME_INDEX=!0,n})(i.default)},1112,[17,1113,1114,1092]);
30__d(function(g,r,_i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),i=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function i(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),u=(function(t){function o(o){var n=t.call(this,o.getWidth(),o.getHeight())||this;return n.delegate=o,n}return i(o,t),o.prototype.getRow=function(t,o){for(var n=this.delegate.getRow(t,o),i=this.getWidth(),u=0;u<i;u++)n[u]=255-(255&n[u]);return n},o.prototype.getMatrix=function(){for(var t=this.delegate.getMatrix(),o=this.getWidth()*this.getHeight(),n=new Uint8ClampedArray(o),i=0;i<o;i++)n[i]=255-(255&t[i]);return n},o.prototype.isCropSupported=function(){return this.delegate.isCropSupported()},o.prototype.crop=function(t,n,i,u){return new o(this.delegate.crop(t,n,i,u))},o.prototype.isRotateSupported=function(){return this.delegate.isRotateSupported()},o.prototype.invert=function(){return this.delegate},o.prototype.rotateCounterClockwise=function(){return new o(this.delegate.rotateCounterClockwise())},o.prototype.rotateCounterClockwise45=function(){return new o(this.delegate.rotateCounterClockwise45())},o})(n.default);e.default=u},1113,[17,1114]);
31__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=t(r(d[2])),u=(function(){function t(t,o){this.width=t,this.height=o}return t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.isCropSupported=function(){return!1},t.prototype.crop=function(t,o,u,p){throw new n.default('This luminance source does not support cropping.')},t.prototype.isRotateSupported=function(){return!1},t.prototype.rotateCounterClockwise=function(){throw new n.default('This luminance source does not support rotation by 90 degrees.')},t.prototype.rotateCounterClockwise45=function(){throw new n.default('This luminance source does not support rotation by 45 degrees.')},t.prototype.toString=function(){for(var t=new Uint8ClampedArray(this.width),n=new o.default,u=0;u<this.height;u++){for(var p=this.getRow(u,t),s=0;s<this.width;s++){var h=255&p[s],c=void 0;c=h<64?'#':h<128?'+':h<192?'.':' ',n.append(c)}n.append('\n')}return n.toString()},t})();e.default=u},1114,[17,1104,1110]);
32__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.VideoInputDevice=void 0;e.VideoInputDevice=(function(){function t(t,n,o){this.deviceId=t,this.label=n,this.kind='videoinput',this.groupId=o||void 0}return t.prototype.toJSON=function(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}},t})()},1115,[]);
33__d(function(g,r,i,a,m,_e,d){var t=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=t(r(d[1])),u=t(r(d[2])),n=t(r(d[3])),l=t(r(d[4])),o=t(r(d[5])),f=t(r(d[6])),c=t(r(d[7])),s=(function(){function t(){}return t.prototype.decode=function(t,n){void 0===n&&(n=null);var s=null,E=new c.default(t.getBlackMatrix()),p=null,v=null;try{p=(R=E.detectMirror(!1)).getPoints(),this.reportFoundResultPoints(n,p),v=(new f.default).decode(R)}catch(t){s=t}if(null==v)try{var R;p=(R=E.detectMirror(!0)).getPoints(),this.reportFoundResultPoints(n,p),v=(new f.default).decode(R)}catch(t){if(null!=s)throw s;throw t}var _=new e.default(v.getText(),v.getRawBytes(),v.getNumBits(),p,u.default.AZTEC,o.default.currentTimeMillis()),P=v.getByteSegments();null!=P&&_.putMetadata(l.default.BYTE_SEGMENTS,P);var y=v.getECLevel();return null!=y&&_.putMetadata(l.default.ERROR_CORRECTION_LEVEL,y),_},t.prototype.reportFoundResultPoints=function(t,e){if(null!=t){var u=t.get(n.default.NEED_RESULT_POINT_CALLBACK);null!=u&&e.forEach(function(t,e,n){u.foundPossibleResultPoint(t)})}},t.prototype.reset=function(){},t})();_e.default=s},1116,[17,1117,1118,1106,1119,1099,1120,1129]);
34__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),s=(function(){function t(t,s,u,l,o,h){void 0===u&&(u=null==s?0:8*s.length),void 0===h&&(h=n.default.currentTimeMillis()),this.text=t,this.rawBytes=s,this.numBits=u,this.resultPoints=l,this.format=o,this.timestamp=h,this.text=t,this.rawBytes=s,this.numBits=null==u?null==s?0:8*s.length:u,this.resultPoints=l,this.format=o,this.resultMetadata=null,this.timestamp=null==h?n.default.currentTimeMillis():h}return t.prototype.getText=function(){return this.text},t.prototype.getRawBytes=function(){return this.rawBytes},t.prototype.getNumBits=function(){return this.numBits},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.getBarcodeFormat=function(){return this.format},t.prototype.getResultMetadata=function(){return this.resultMetadata},t.prototype.putMetadata=function(t,n){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(t,n)},t.prototype.putAllMetadata=function(t){null!==t&&(null===this.resultMetadata?this.resultMetadata=t:this.resultMetadata=new Map(t))},t.prototype.addResultPoints=function(t){var s=this.resultPoints;if(null===s)this.resultPoints=t;else if(null!==t&&t.length>0){var u=new Array(s.length+t.length);n.default.arraycopy(s,0,u,0,s.length),n.default.arraycopy(t,0,u,s.length,t.length),this.resultPoints=u}},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.toString=function(){return this.text},t})();e.default=s},1117,[17,1099]);
35__d(function(g,r,i,a,m,e,d){var _;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,(function(_){_[_.AZTEC=0]="AZTEC",_[_.CODABAR=1]="CODABAR",_[_.CODE_39=2]="CODE_39",_[_.CODE_93=3]="CODE_93",_[_.CODE_128=4]="CODE_128",_[_.DATA_MATRIX=5]="DATA_MATRIX",_[_.EAN_8=6]="EAN_8",_[_.EAN_13=7]="EAN_13",_[_.ITF=8]="ITF",_[_.MAXICODE=9]="MAXICODE",_[_.PDF_417=10]="PDF_417",_[_.QR_CODE=11]="QR_CODE",_[_.RSS_14=12]="RSS_14",_[_.RSS_EXPANDED=13]="RSS_EXPANDED",_[_.UPC_A=14]="UPC_A",_[_.UPC_E=15]="UPC_E",_[_.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"})(_||(_={}));e.default=_},1118,[]);
36__d(function(g,r,i,a,m,e,d){var E;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,(function(E){E[E.OTHER=0]="OTHER",E[E.ORIENTATION=1]="ORIENTATION",E[E.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",E[E.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",E[E.ISSUE_NUMBER=4]="ISSUE_NUMBER",E[E.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",E[E.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",E[E.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",E[E.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",E[E.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",E[E.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY"})(E||(E={}));e.default=E},1119,[]);
37__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);
37Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(d[1])),i=t(r(d[2])),u=t(r(d[3])),f=t(r(d[4])),L=t(r(d[5])),c=t(r(d[6])),T=t(r(d[7]));!(function(t){t[t.UPPER=0]="UPPER",t[t.LOWER=1]="LOWER",t[t.MIXED=2]="MIXED",t[t.DIGIT=3]="DIGIT",t[t.PUNCT=4]="PUNCT",t[t.BINARY=5]="BINARY"})(n||(n={}));var s=(function(){function t(){}return t.prototype.decode=function(n){this.ddata=n;var i=n.getBits(),u=this.extractBits(i),f=this.correctBits(u),L=t.convertBoolArrayToByteArray(f),c=t.getEncodedData(f),T=new o.default(L,c,null,null);return T.setNumBits(f.length),T},t.highLevelDecode=function(t){return this.getEncodedData(t)},t.getEncodedData=function(o){for(var i=o.length,u=n.UPPER,f=n.UPPER,L='',T=0;T<i;)if(f===n.BINARY){if(i-T<5)break;var s=t.readCode(o,T,5);if(T+=5,0===s){if(i-T<11)break;s=t.readCode(o,T,11)+31,T+=11}for(var l=0;l<s;l++){if(i-T<8){T=i;break}var C=t.readCode(o,T,8);L+=c.default.castAsNonUtf8Char(C),T+=8}f=u}else{var _=f===n.DIGIT?4:5;if(i-T<_)break;C=t.readCode(o,T,_);T+=_;var A=t.getCharacter(f,C);A.startsWith('CTRL_')?(u=f,f=t.getTable(A.charAt(5)),'L'===A.charAt(6)&&(u=f)):(L+=A,f=u)}return L},t.getTable=function(t){switch(t){case'L':return n.LOWER;case'P':return n.PUNCT;case'M':return n.MIXED;case'D':return n.DIGIT;case'B':return n.BINARY;default:return n.UPPER}},t.getCharacter=function(o,i){switch(o){case n.UPPER:return t.UPPER_TABLE[i];case n.LOWER:return t.LOWER_TABLE[i];case n.MIXED:return t.MIXED_TABLE[i];case n.PUNCT:return t.PUNCT_TABLE[i];case n.DIGIT:return t.DIGIT_TABLE[i];default:throw new f.default('Bad table')}},t.prototype.correctBits=function(n){var o,f;this.ddata.getNbLayers()<=2?(f=6,o=i.default.AZTEC_DATA_6):this.ddata.getNbLayers()<=8?(f=8,o=i.default.AZTEC_DATA_8):this.ddata.getNbLayers()<=22?(f=10,o=i.default.AZTEC_DATA_10):(f=12,o=i.default.AZTEC_DATA_12);var c=this.ddata.getNbDatablocks(),T=n.length/f;if(T<c)throw new L.default;for(var s=n.length%f,l=new Int32Array(T),C=0;C<T;C++,s+=f)l[C]=t.readCode(n,s,f);try{new u.default(o).decode(l,T-c)}catch(t){throw new L.default(t)}var _=(1<<f)-1,A=0;for(C=0;C<c;C++){if(0===(E=l[C])||E===_)throw new L.default;1!==E&&E!==_-1||A++}var R=new Array(c*f-A),v=0;for(C=0;C<c;C++){var E;if(1===(E=l[C])||E===_-1)R.fill(E>1,v,v+f-1),v+=f-1;else for(var h=f-1;h>=0;--h)R[v++]=!!(E&1<<h)}return R},t.prototype.extractBits=function(t){var n=this.ddata.isCompact(),o=this.ddata.getNbLayers(),i=(n?11:14)+4*o,u=new Int32Array(i),f=new Array(this.totalBitsInLayer(o,n));if(n)for(var L=0;L<u.length;L++)u[L]=L;else{var c=i+1+2*T.default.truncDivision(T.default.truncDivision(i,2)-1,15),s=i/2,l=T.default.truncDivision(c,2);for(L=0;L<s;L++){var C=L+T.default.truncDivision(L,15);u[s-L-1]=l-C-1,u[s+L]=l+C+1}}L=0;for(var _=0;L<o;L++){for(var A=4*(o-L)+(n?9:12),R=2*L,v=i-1-R,E=0;E<A;E++)for(var h=2*E,B=0;B<2;B++)f[_+h+B]=t.get(u[R+B],u[R+E]),f[_+2*A+h+B]=t.get(u[R+E],u[v-B]),f[_+4*A+h+B]=t.get(u[v-B],u[v-E]),f[_+6*A+h+B]=t.get(u[v-E],u[R+B]);_+=8*A}return f},t.readCode=function(t,n,o){for(var i=0,u=n;u<n+o;u++)i<<=1,t[u]&&(i|=1);return i},t.readByte=function(n,o){var i=n.length-o;return i>=8?t.readCode(n,o,8):t.readCode(n,o,i)<<8-i},t.convertBoolArrayToByteArray=function(n){for(var o=new Uint8Array((n.length+7)/8),i=0;i<o.length;i++)o[i]=t.readByte(n,8*i);return o},t.prototype.totalBitsInLayer=function(t,n){return((n?88:112)+16*t)*t},t.UPPER_TABLE=['CTRL_PS',' ','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','CTRL_LL','CTRL_ML','CTRL_DL','CTRL_BS'],t.LOWER_TABLE=['CTRL_PS',' ','a','b','c','d','e','f','g','h','
37i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','CTRL_US','CTRL_ML','CTRL_DL','CTRL_BS'],t.MIXED_TABLE=['CTRL_PS',' ','\x01','\x02','\x03','\x04','\x05','\x06','\x07','\b','\t','\n','\v','\f','\r','\x1b','\x1c','\x1d','\x1e','\x1f','@','\\','^','_','`','|','~','\x7f','CTRL_LL','CTRL_UL','CTRL_PL','CTRL_BS'],t.PUNCT_TABLE=['','\r','\r\n','. ',', ',': ','!','"','#','$','%','&','\'','(',')','*','+',',','-','.','/',':',';','<','=','>','?','[',']','{','}','CTRL_UL'],t.DIGIT_TABLE=['CTRL_PS',' ','0','1','2','3','4','5','6','7','8','9',',','.','CTRL_UL','CTRL_US'],t})();e.default=s},1120,[17,1121,1122,1126,1128,1108,1105,1102]);
38__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(t,n,u,o,s,p){void 0===s&&(s=-1),void 0===p&&(p=-1),this.rawBytes=t,this.text=n,this.byteSegments=u,this.ecLevel=o,this.structuredAppendSequenceNumber=s,this.structuredAppendParity=p,this.numBits=null==t?0:8*t.length}return t.prototype.getRawBytes=function(){return this.rawBytes},t.prototype.getNumBits=function(){return this.numBits},t.prototype.setNumBits=function(t){this.numBits=t},t.prototype.getText=function(){return this.text},t.prototype.getByteSegments=function(){return this.byteSegments},t.prototype.getECLevel=function(){return this.ecLevel},t.prototype.getErrorsCorrected=function(){return this.errorsCorrected},t.prototype.setErrorsCorrected=function(t){this.errorsCorrected=t},t.prototype.getErasures=function(){return this.erasures},t.prototype.setErasures=function(t){this.erasures=t},t.prototype.getOther=function(){return this.other},t.prototype.setOther=function(t){this.other=t},t.prototype.hasStructuredAppend=function(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0},t.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},t.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},t})();e.default=t},1121,[]);
39__d(function(g,r,_i,_a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),i=t(r(_d[2])),u=t(r(_d[3])),a=t(r(_d[4])),f=t(r(_d[5])),s=this&&this.__extends||(n=function(t,o){return n=Object.
39setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function i(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}),_=(function(t){function n(n,i,u){var a=t.call(this)||this;a.primitive=n,a.size=i,a.generatorBase=u;for(var f=new Int32Array(i),s=1,_=0;_<i;_++)f[_]=s,(s*=2)>=i&&(s^=n,s&=i-1);a.expTable=f;var p=new Int32Array(i);for(_=0;_<i-1;_++)p[f[_]]=_;return a.logTable=p,a.zero=new o.default(a,Int32Array.from([0])),a.one=new o.default(a,Int32Array.from([1])),a}return s(n,t),n.prototype.getZero=function(){return this.zero},n.prototype.getOne=function(){return this.one},n.prototype.buildMonomial=function(t,n){if(t<0)throw new a.default;if(0===n)return this.zero;var i=new Int32Array(t+1);return i[0]=n,new o.default(this,i)},n.prototype.inverse=function(t){if(0===t)throw new f.default;return this.expTable[this.size-this.logTable[t]-1]},n.prototype.multiply=function(t,n){return 0===t||0===n?0:this.expTable[(this.logTable[t]+this.logTable[n])%(this.size-1)]},n.prototype.getSize=function(){return this.size},n.prototype.getGeneratorBase=function(){return this.generatorBase},n.prototype.toString=function(){return'GF(0x'+u.default.toHexString(this.primitive)+','+this.size+')'},n.prototype.equals=function(t){return t===this},n.AZTEC_DATA_12=new n(4201,4096,1),n.AZTEC_DATA_10=new n(1033,1024,1),n.AZTEC_DATA_6=new n(67,64,1),n.AZTEC_PARAM=new n(19,16,1),n.QR_CODE_FIELD_256=new n(285,256,0),n.DATA_MATRIX_FIELD_256=new n(301,256,1),n.AZTEC_DATA_8=n.DATA_MATRIX_FIELD_256,n.MAXICODE_FIELD_64=n.AZTEC_DATA_6,n})(i.default);e.default=_},1122,[17,1123,1124,1102,1092,1125]);
40__d(function(g,r,_i,_a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=t(r(d[1])),f=t(r(d[2])),n=t(r(d[3])),o=(function(){function t(t,i){if(0===i.length)throw new n.default;this.field=t;var o=i.length;if(o>1&&0===i[0]){for(var l=1;l<o&&0===i[l];)l++;l===o?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(o-l),f.default.arraycopy(i,l,this.coefficients,0,this.coefficients.length))}else this.coefficients=i}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){if(0===t)return this.getCoefficient(0);var f,n=this.coefficients;if(1===t){f=0;for(var o=0,l=n.length;o!==l;o++){var a=n[o];f=i.default.addOrSubtract(f,a)}return f}f=n[0];var s=n.length,c=this.field;for(o=1;o<s;o++)f=i.default.addOrSubtract(c.multiply(t,f),n[o]);return f},t.prototype.addOrSubtract=function(o){if(!this.field.equals(o.field))throw new n.default('GenericGFPolys do not have same GenericGF field');if(this.isZero())return o;if(o.isZero())return this;var l=this.coefficients,a=o.coefficients;if(l.length>a.length){var s=l;l=a,a=s}var c=new Int32Array(a.length),u=a.length-l.length;f.default.arraycopy(a,0,c,0,u);for(var h=u;h<a.length;h++)c[h]=i.default.addOrSubtract(l[h-u],a[h]);return new t(this.field,c)},t.prototype.multiply=function(f){if(!this.field.equals(f.field))throw new n.default('GenericGFPolys do not have same GenericGF field');if(this.isZero()||f.isZero())return this.field.getZero();for(var o=this.coefficients,l=o.length,a=f.coefficients,s=a.length,c=new Int32Array(l+s-1),u=this.field,h=0;h<l;h++)for(var y=o[h],p=0;p<s;p++)c[h+p]=i.default.addOrSubtract(c[h+p],u.multiply(y,a[p]));return new t(u,c)},t.prototype.multiplyScalar=function(i){if(0===i)return this.field.getZero();if(1===i)return this;for(var f=this.coefficients.length,n=this.field,o=new Int32Array(f),l=this.coefficients,a=0;a<f;a++)o[a]=n.multiply(l[a],i);return new t(n,o)},t.prototype.multiplyByMonomial=function(i,f){if(i<0)throw new n.default;if(0===f)return this.field.getZero();for(var o=this.coefficients,l=o.length,a=new Int32Array(l+i),s=this.field,c=0;c<l;c++)a[c]=s.multiply(o[c],f);return new t(s,a)},t.prototype.divide=function(t){if(!this.field.equals(t.field))throw new n.default('GenericGFPolys do n
40ot have same GenericGF field');if(t.isZero())throw new n.default('Divide by 0');for(var i=this.field,f=i.getZero(),o=this,l=t.getCoefficient(t.getDegree()),a=i.inverse(l);o.getDegree()>=t.getDegree()&&!o.isZero();){var s=o.getDegree()-t.getDegree(),c=i.multiply(o.getCoefficient(o.getDegree()),a),u=t.multiplyByMonomial(s,c),h=i.buildMonomial(s,c);f=f.addOrSubtract(h),o=o.addOrSubtract(u)}return[f,o]},t.prototype.toString=function(){for(var t='',i=this.getDegree();i>=0;i--){var f=this.getCoefficient(i);if(0!==f){if(f<0?(t+=' - ',f=-f):t.length>0&&(t+=' + '),0===i||1!==f){var n=this.field.log(f);0===n?t+='1':1===n?t+='a':(t+='a^',t+=n)}0!==i&&(1===i?t+='x':(t+='x^',t+=i))}}return t},t})();e.default=o},1123,[17,1124,1099,1092]);
41__d(function(g,r,i,_a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=(function(){function t(){}return 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.addOrSubtract=function(t,n){return t^n},t})();e.default=o},1124,[17,1092]);
42__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.
42setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.kind='ArithmeticException',n})(o.default);e.default=c},1125,[17,1089]);
43__d(function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var r=e(_r(d[1])),t=e(_r(d[2])),i=e(_r(d[3])),o=e(_r(d[4])),a=(function(){function e(e){this.field=e}return e.prototype.decode=function(e,o){for(var a=this.field,n=new t.default(a,e),l=new Int32Array(o),f=!0,u=0;u<o;u++){var v=n.evaluateAt(a.exp(u+a.getGeneratorBase()));l[l.length-1-u]=v,0!==v&&(f=!1)}if(!f){var s=new t.default(a,l),c=this.runEuclideanAlgorithm(a.buildMonomial(o,1),s,o),h=c[0],p=c[1],y=this.findErrorLocations(h),w=this.findErrorMagnitudes(p,y);for(u=0;u<y.length;u++){var D=e.length-1-a.log(y[u]);if(D<0)throw new i.default('Bad error location');e[D]=r.default.addOrSubtract(e[D],w[u])}}},e.prototype.runEuclideanAlgorithm=function(e,r,t){if(e.getDegree()<r.getDegree()){var a=e;e=r,r=a}for(var n=this.field,l=e,f=r,u=n.getZero(),v=n.getOne();f.getDegree()>=(t/2|0);){var s=l,c=u;if(u=v,(l=f).isZero())throw new i.default('r_{i-1} was zero');f=s;for(var h=n.getZero(),p=l.getCoefficient(l.getDegree()),y=n.inverse(p);f.getDegree()>=l.getDegree()&&!f.isZero();){var w=f.getDegree()-l.getDegree(),D=n.multiply(f.getCoefficient(f.getDegree()),y);h=h.addOrSubtract(n.buildMonomial(w,D)),f=f.addOrSubtract(l.multiplyByMonomial(w,D))}if(v=h.multiply(u).addOrSubtract(c),f.getDegree()>=l.getDegree())throw new o.default('Division algorithm failed to reduce polynomial?')}var A=v.getCoefficient(0);if(0===A)throw new i.default('sigmaTilde(0) was zero');var b=n.inverse(A);return[v.multiplyScalar(b),f.multiplyScalar(b)]},e.prototype.findErrorLocations=function(e){var r=e.getDegree();if(1===r)return Int32Array.from([e.getCoefficient(1)]);for(var t=new Int32Array(r),o=0,a=this.field,n=1;n<a.getSize()&&o<r;n++)0===e.evaluateAt(n)&&(t[o]=a.inverse(n),o++);if(o!==r)throw new i.default('Error locator degree does not match number of roots');return t},e.prototype.findErrorMagnitudes=function(e,r){for(var t=r.length,i=new Int32Array(t),o=this.field,a=0;a<t;a++){for(var n=o.inverse(r[a]),l=1,f=0;f<t;f++)if(a!==f){var u=o.multiply(r[f],n),v=1&u?-2&u:1|u;l=o.multiply(l,v)}i[a]=o.multiply(e.evaluateAt(n),o.inverse(l)),0!==o.getGeneratorBase()&&(i[a]=o.multiply(i[a],n))}return i},e})();_e.default=a},1126,[17,1122,1123,1127,1128]);
44__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.
44setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.kind='ReedSolomonException',n})(o.default);e.default=c},1127,[17,1089]);
45__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.kind='IllegalStateException',n})(o.default);e.default=c},1128,[17,1089]);
46__d(function(g,r,_i,_a,m,_e,_d){var t=r(_d[0]);
46Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.Point=void 0;var e=t(r(_d[1])),i=t(r(_d[2])),n=t(r(_d[3])),s=t(r(_d[4])),a=t(r(_d[5])),o=t(r(_d[6])),h=t(r(_d[7])),u=t(r(_d[8])),f=t(r(_d[9])),d=_e.Point=(function(){function t(t,e){this.x=t,this.y=e}return t.prototype.toResultPoint=function(){return new e.default(this.getX(),this.getY())},t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t})(),l=(function(){function t(t){this.EXPECTED_CORNER_BITS=new Int32Array([3808,476,2107,1799]),this.image=t}return t.prototype.detect=function(){return this.detectMirror(!1)},t.prototype.detectMirror=function(t){var e=this.getMatrixCenter(),n=this.getBullsEyeCorners(e);if(t){var s=n[0];n[0]=n[2],n[2]=s}this.extractParameters(n);var a=this.sampleGrid(this.image,n[this.shift%4],n[(this.shift+1)%4],n[(this.shift+2)%4],n[(this.shift+3)%4]),o=this.getMatrixCornerPoints(n);return new i.default(a,o,this.compact,this.nbDataBlocks,this.nbLayers)},t.prototype.extractParameters=function(t){if(!(this.isValidPoint(t[0])&&this.isValidPoint(t[1])&&this.isValidPoint(t[2])&&this.isValidPoint(t[3])))throw new h.default;var e=2*this.nbCenterLayers,i=new Int32Array([this.sampleLine(t[0],t[1],e),this.sampleLine(t[1],t[2],e),this.sampleLine(t[2],t[3],e),this.sampleLine(t[3],t[0],e)]);this.shift=this.getRotation(i,e);for(var n=0,s=0;s<4;s++){var a=i[(this.shift+s)%4];this.compact?(n<<=7,n+=a>>1&127):(n<<=10,n+=(a>>2&992)+(a>>1&31))}var o=this.getCorrectedParameterData(n,this.compact);this.compact?(this.nbLayers=1+(o>>6),this.nbDataBlocks=1+(63&o)):(this.nbLayers=1+(o>>11),this.nbDataBlocks=1+(2047&o))},t.prototype.getRotation=function(t,e){var i=0;t.forEach(function(t,n,s){i=(i<<3)+((t>>e-2<<1)+(1&t))}),i=((1&i)<<11)+(i>>1);for(var n=0;n<4;n++)if(f.default.bitCount(i^this.EXPECTED_CORNER_BITS[n])<=2)return n;throw new h.default},t.prototype.getCorrectedParameterData=function(t,e){var i,n;e?(i=7,n=2):(i=10,n=4);for(var s=i-n,u=new Int32Array(i),f=i-1;f>=0;--f)u[f]=15&t,t>>=4;try{new o.default(a.default.AZTEC_PARAM).decode(u,s)}catch(t){throw new h.default}var d=0;for(f=0;f<n;f++)d=(d<<4)+u[f];return d},t.prototype.getBullsEyeCorners=function(t){var i=t,n=t,s=t,a=t,o=!0;for(this.nbCenterLayers=1;this.nbCenterLayers<9;this.nbCenterLayers++){var u=this.getFirstDifferent(i,o,1,-1),f=this.getFirstDifferent(n,o,1,1),d=this.getFirstDifferent(s,o,-1,1),l=this.getFirstDifferent(a,o,-1,-1);if(this.nbCenterLayers>2){var c=this.distancePoint(l,u)*this.nbCenterLayers/(this.distancePoint(a,i)*(this.nbCenterLayers+2));if(c<.75||c>1.25||!this.isWhiteOrBlackRectangle(u,f,d,l))break}i=u,n=f,s=d,a=l,o=!o}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new h.default;this.compact=5===this.nbCenterLayers;var p=new e.default(i.getX()+.5,i.getY()-.5),y=new e.default(n.getX()+.5,n.getY()+.5),X=new e.default(s.getX()-.5,s.getY()+.5),Y=new e.default(a.getX()-.5,a.getY()-.5);return this.expandSquare([p,y,X,Y],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},t.prototype.getMatrixCenter=function(){var t,e,i,a;try{t=(l=new s.default(this.image).detect())[0],e=l[1],i=l[2],a=l[3]}catch(n){var o=this.image.getWidth()/2,h=this.image.getHeight()/2;t=this.getFirstDifferent(new d(o+7,h-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new d(o+7,h+7),!1,1,1).toResultPoint(),i=this.getFirstDifferent(new d(o-7,h+7),!1,-1,1).toResultPoint(),a=this.getFirstDifferent(new d(o-7,h-7),!1,-1,-1).toResultPoint()}var u=n.default.round((t.getX()+a.getX()+e.getX()+i.getX())/4),f=n.default.round((t.getY()+a.getY()+e.getY()+i.getY())/4);try{var l;t=(l=new s.default(this.image,15,u,f).detect())[0],e=l[1],i=l[2],a=l[3]}catch(n){t=this.getFirstDifferent(new d(u+7,f-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new d(u+7,f+7),!1,1,1).toResultPoint(),i=this.getFirstDifferent(new d(u-7,f+7),!1,-1,1).toResultPoint(),a=this.getFirstDifferent(new d(u-7,f-7),!1,-1,-1).toResultPoint()}return u=n.default.round((t.getX()+a.getX()+e.getX()+i.getX())/4),f=n.default.round((t.getY()+a.getY()+e.getY()+i.getY())/4),new d(u,f)},t.prototype.getMatrixCornerPoints=function(t){return this.expandSquare(t,2*this.nbCenterLayers,this.getDimension())}
46,t.prototype.sampleGrid=function(t,e,i,n,s){var a=u.default.getInstance(),o=this.getDimension(),h=o/2-this.nbCenterLayers,f=o/2+this.nbCenterLayers;return a.sampleGrid(t,o,o,h,h,f,h,f,f,h,f,e.getX(),e.getY(),i.getX(),i.getY(),n.getX(),n.getY(),s.getX(),s.getY())},t.prototype.sampleLine=function(t,e,i){for(var s=0,a=this.distanceResultPoint(t,e),o=a/i,h=t.getX(),u=t.getY(),f=o*(e.getX()-t.getX())/a,d=o*(e.getY()-t.getY())/a,l=0;l<i;l++)this.image.get(n.default.round(h+l*f),n.default.round(u+l*d))&&(s|=1<<i-l-1);return s},t.prototype.isWhiteOrBlackRectangle=function(t,e,i,n){t=new d(t.getX()-3,t.getY()+3),e=new d(e.getX()-3,e.getY()-3),i=new d(i.getX()+3,i.getY()-3),n=new d(n.getX()+3,n.getY()+3);var s=this.getColor(n,t);if(0===s)return!1;var a=this.getColor(t,e);return a===s&&((a=this.getColor(e,i))===s&&(a=this.getColor(i,n))===s)},t.prototype.getColor=function(t,e){for(var i=this.distancePoint(t,e),s=(e.getX()-t.getX())/i,a=(e.getY()-t.getY())/i,o=0,h=t.getX(),u=t.getY(),f=this.image.get(t.getX(),t.getY()),d=Math.ceil(i),l=0;l<d;l++)h+=s,u+=a,this.image.get(n.default.round(h),n.default.round(u))!==f&&o++;var c=o/i;return c>.1&&c<.9?0:c<=.1===f?1:-1},t.prototype.getFirstDifferent=function(t,e,i,n){for(var s=t.getX()+i,a=t.getY()+n;this.isValid(s,a)&&this.image.get(s,a)===e;)s+=i,a+=n;for(s-=i,a-=n;this.isValid(s,a)&&this.image.get(s,a)===e;)s+=i;for(s-=i;this.isValid(s,a)&&this.image.get(s,a)===e;)a+=n;return new d(s,a-=n)},t.prototype.expandSquare=function(t,i,n){var s=n/(2*i),a=t[0].getX()-t[2].getX(),o=t[0].getY()-t[2].getY(),h=(t[0].getX()+t[2].getX())/2,u=(t[0].getY()+t[2].getY())/2,f=new e.default(h+s*a,u+s*o),d=new e.default(h-s*a,u-s*o);return a=t[1].getX()-t[3].getX(),o=t[1].getY()-t[3].getY(),h=(t[1].getX()+t[3].getX())/2,u=(t[1].getY()+t[3].getY())/2,[f,new e.default(h+s*a,u+s*o),d,new e.default(h-s*a,u-s*o)]},t.prototype.isValid=function(t,e){return t>=0&&t<this.image.getWidth()&&e>0&&e<this.image.getHeight()},t.prototype.isValidPoint=function(t){var e=n.default.round(t.getX()),i=n.default.round(t.getY());return this.isValid(e,i)},t.prototype.distancePoint=function(t,e){return n.default.distance(t.getX(),t.getY(),e.getX(),e.getY())},t.prototype.distanceResultPoint=function(t,e){return n.default.distance(t.getX(),t.getY(),e.getX(),e.getY())},t.prototype.getDimension=function(){return this.compact?4*this.nbLayers+11:this.nbLayers<=4?4*this.nbLayers+15:4*this.nbLayers+2*(f.default.truncDivision(this.nbLayers-4,8)+1)+15},t})();_e.default=l},1129,[17,1130,1133,1131,1135,1122,1126,1111,1136,1102]);
47__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),s=(function(){function t(t,n){this.x=t,this.y=n}return t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.equals=function(n){if(n instanceof t){var o=n;return this.x===o.x&&this.y===o.y}return!1},t.prototype.hashCode=function(){return 31*o.default.floatToIntBits(this.x)+o.default.floatToIntBits(this.y)},t.prototype.toString=function(){return'('+this.x+','+this.y+')'},t.orderBestPatterns=function(t){var n,o,s,u=this.distance(t[0],t[1]),c=this.distance(t[1],t[2]),f=this.distance(t[0],t[2]);if(c>=u&&c>=f?(o=t[0],n=t[1],s=t[2]):f>=c&&f>=u?(o=t[1],n=t[0],s=t[2]):(o=t[2],n=t[0],s=t[1]),this.crossProductZ(n,o,s)<0){var y=n;n=s,s=y}t[0]=n,t[1]=o,t[2]=s},t.distance=function(t,o){return n.default.distance(t.x,t.y,o.x,o.y)},t.crossProductZ=function(t,n,o){var s=n.x,u=n.y;return(o.x-s)*(t.y-u)-(o.y-u)*(t.x-s)},t})();e.default=s},1130,[17,1131,1132]);
48__d(function(g,r,_i,_a,m,e,_d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(){function n(){}return n.round=function(n){return isNaN(n)?0:n<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:n>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:n+(n<0?-.5:.5)|0},n.distance=function(n,u,t,E){var N=n-t,_=u-E;return Math.sqrt(N*N+_*_)},n.sum=function(n){for(var u=0,t=0,E=n.length;t!==E;t++){u+=n[t]}return u},n})();e.default=n},1131,[]);
49__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(){}return t.floatToIntBits=function(t){return t},t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t})();e.default=t},1132,[]);
50__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),c=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function c(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(c.prototype=n.prototype,new c)}),u=(function(t){function o(o,n,c,u,s){var p=t.call(this,o,n)||this;return p.compact=c,p.nbDatablocks=u,p.nbLayers=s,p}return c(o,t),o.prototype.getNbLayers=function(){return this.nbLayers},o.prototype.getNbDatablocks=function(){return this.nbDatablocks},o.prototype.isCompact=function(){return this.compact},o})(n.default);e.default=u},1133,[17,1134]);
51__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(t,n){this.bits=t,this.points=n}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t})();e.default=t},1134,[]);
52__d(function(g,r,_i,_a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),i=t(r(d[2])),l=t(r(d[3])),a=(function(){function t(n,i,a,u){this.image=n,this.height=n.getHeight(),this.width=n.getWidth(),null==i&&(i=t.INIT_SIZE),null==a&&(a=n.getWidth()/2|0),null==u&&(u=n.getHeight()/2|0);var f=i/2|0;if(this.leftInit=a-f,this.rightInit=a+f,this.upInit=u-f,this.downInit=u+f,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new l.default}return t.prototype.detect=function(){for(var t=this.leftInit,n=this.rightInit,i=this.upInit,a=this.downInit,u=!1,f=!0,o=!1,h=!1,s=!1,w=!1,c=!1,v=this.width,I=this.height;f;){f=!1;for(var k=!0;(k||!h)&&n<v;)(k=this.containsBlackPoint(i,a,n,!1))?(n++,f=!0,h=!0):h||n++;if(n>=v){u=!0;break}for(var p=!0;(p||!s)&&a<I;)(p=this.containsBlackPoint(t,n,a,!0))?(a++,f=!0,s=!0):s||a++;if(a>=I){u=!0;break}for(var P=!0;(P||!w)&&t>=0;)(P=this.containsBlackPoint(i,a,t,!1))?(t--,f=!0,w=!0):w||t--;if(t<0){u=!0;break}for(var B=!0;(B||!c)&&i>=0;)(B=this.containsBlackPoint(t,n,i,!0))?(i--,f=!0,c=!0):c||i--;if(i<0){u=!0;break}f&&(o=!0)}if(!u&&o){for(var O=n-t,S=null,_=1;null===S&&_<O;_++)S=this.getBlackPointOnSegment(t,a-_,t+_,a);if(null==S)throw new l.default;var b=null;for(_=1;null===b&&_<O;_++)b=this.getBlackPointOnSegment(t,i+_,t+_,i);if(null==b)throw new l.default;var y=null;for(_=1;null===y&&_<O;_++)y=this.getBlackPointOnSegment(n,i+_,n-_,i);if(null==y)throw new l.default;var E=null;for(_=1;null===E&&_<O;_++)E=this.getBlackPointOnSegment(n,a-_,n-_,a);if(null==E)throw new l.default;return this.centerEdges(E,S,y,b)}throw new l.default},t.prototype.getBlackPointOnSegment=function(t,l,a,u){for(var f=i.default.round(i.default.distance(t,l,a,u)),o=(a-t)/f,h=(u-l)/f,s=this.image,w=0;w<f;w++){var c=i.default.round(t+w*o),v=i.default.round(l+w*h);if(s.get(c,v))return new n.default(c,v)}return null},t.prototype.centerEdges=function(i,l,a,u){var f=i.getX(),o=i.getY(),h=l.getX(),s=l.getY(),w=a.getX(),c=a.getY(),v=u.getX(),I=u.getY(),k=t.CORR;return f<this.width/2?[new n.default(v-k,I+k),new n.default(h+k,s+k),new n.default(w-k,c-k),new n.default(f+k,o-k)]:[new n.default(v+k,I+k),new n.default(h+k,s-k),new n.default(w-k,c+k),new n.default(f-k,o-k)]},t.prototype.containsBlackPoint=function(t,n,i,l){var a=this.image;if(l){for(var u=t;u<=n;u++)if(a.get(u,i))return!0}else for(var f=t;f<=n;f++)if(a.get(i,f))return!0;return!1},t.INIT_SIZE=10,t.CORR=1,t})();e.default=a},1135,[17,1130,1131,1111]);
53__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),u=(function(){function n(){}return n.setGridSampler=function(t){n.gridSampler=t},n.getInstance=function(){return n.gridSampler},n.gridSampler=new t.default,n})();e.default=u},1136,[17,1137]);
54__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);
54Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),f=t(r(_d[2])),u=t(r(_d[3])),l=t(r(_d[4])),c=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function f(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(f.prototype=n.prototype,new f)}),s=(function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return c(o,t),o.prototype.sampleGrid=function(t,o,n,f,l,c,s,d,p,h,_,y,v,w,O,P,b,j,A){var G=u.default.quadrilateralToQuadrilateral(f,l,c,s,d,p,h,_,y,v,w,O,P,b,j,A);return this.sampleGridWithTransform(t,o,n,G)},o.prototype.sampleGridWithTransform=function(t,o,u,c){if(o<=0||u<=0)throw new l.default;for(var s=new f.default(o,u),d=new Float32Array(2*o),p=0;p<u;p++){for(var h=d.length,_=p+.5,y=0;y<h;y+=2)d[y]=y/2+.5,d[y+1]=_;c.transformPoints(d),n.default.checkAndNudgePoints(t,d);try{for(y=0;y<h;y+=2)t.get(Math.floor(d[y]),Math.floor(d[y+1]))&&s.set(y/2,p)}catch(t){throw new l.default}}return s},o})(n.default);e.default=s},1137,[17,1138,1103,1139,1111]);
55__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),f=(function(){function t(){}return t.checkAndNudgePoints=function(t,f){for(var n=t.getWidth(),l=t.getHeight(),u=!0,h=0;h<f.length&&u;h+=2){var c=Math.floor(f[h]),v=Math.floor(f[h+1]);if(c<-1||c>n||v<-1||v>l)throw new o.default;u=!1,-1===c?(f[h]=0,u=!0):c===n&&(f[h]=n-1,u=!0),-1===v?(f[h+1]=0,u=!0):v===l&&(f[h+1]=l-1,u=!0)}u=!0;for(h=f.length-2;h>=0&&u;h-=2){c=Math.floor(f[h]),v=Math.floor(f[h+1]);if(c<-1||c>n||v<-1||v>l)throw new o.default;u=!1,-1===c?(f[h]=0,u=!0):c===n&&(f[h]=n-1,u=!0),-1===v?(f[h+1]=0,u=!0):v===l&&(f[h+1]=l-1,u=!0)}},t})();e.default=f},1138,[17,1111]);
56__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(t,i,s,h,n,u,o,l,f){this.a11=t,this.a21=i,this.a31=s,this.a12=h,this.a22=n,this.a32=u,this.a13=o,this.a23=l,this.a33=f}return t.quadrilateralToQuadrilateral=function(i,s,h,n,u,o,l,f,c,v,p,q,T,y,w,Q){var _=t.quadrilateralToSquare(i,s,h,n,u,o,l,f);return t.squareToQuadrilateral(c,v,p,q,T,y,w,Q).times(_)},t.prototype.transformPoints=function(t){for(var i=t.length,s=this.a11,h=this.a12,n=this.a13,u=this.a21,o=this.a22,l=this.a23,f=this.a31,c=this.a32,v=this.a33,p=0;p<i;p+=2){var q=t[p],T=t[p+1],y=n*q+l*T+v;t[p]=(s*q+u*T+f)/y,t[p+1]=(h*q+o*T+c)/y}},t.prototype.transformPointsWithValues=function(t,i){for(var s=this.a11,h=this.a12,n=this.a13,u=this.a21,o=this.a22,l=this.a23,f=this.a31,c=this.a32,v=this.a33,p=t.length,q=0;q<p;q++){var T=t[q],y=i[q],w=n*T+l*y+v;t[q]=(s*T+u*y+f)/w,i[q]=(h*T+o*y+c)/w}},t.squareToQuadrilateral=function(i,s,h,n,u,o,l,f){var c=i-h+u-l,v=s-n+o-f;if(0===c&&0===v)return new t(h-i,u-h,i,n-s,o-n,s,0,0,1);var p=h-u,q=l-u,T=n-o,y=f-o,w=p*y-q*T,Q=(c*y-q*v)/w,_=(p*v-c*T)/w;return new t(h-i+Q*h,l-i+_*l,i,n-s+Q*n,f-s+_*f,s,Q,_,1)},t.quadrilateralToSquare=function(i,s,h,n,u,o,l,f){return t.squareToQuadrilateral(i,s,h,n,u,o,l,f).buildAdjoint()},t.prototype.buildAdjoint=function(){return new t(this.a22*this.a33-this.a23*this.a32,this.a23*this.a31-this.a21*this.a33,this.a21*this.a32-this.a22*this.a31,this.a13*this.a32-this.a12*this.a33,this.a11*this.a33-this.a13*this.a31,this.a12*this.a31-this.a11*this.a32,this.a12*this.a23-this.a13*this.a22,this.a13*this.a21-this.a11*this.a23,this.a11*this.a22-this.a12*this.a21)},t.prototype.times=function(i){return new t(this.a11*i.a11+this.a21*i.a12+this.a31*i.a13,this.a11*i.a21+this.a21*i.a22+this.a31*i.a23,this.a11*i.a31+this.a21*i.a32+this.a31*i.a33,this.a12*i.a11+this.a22*i.a12+this.a32*i.a13,this.a12*i.a21+this.a22*i.a22+this.a32*i.a23,this.a12*i.a31+this.a22*i.a32+this.a32*i.a33,this.a13*i.a11+this.a23*i.a12+this.a33*i.a13,this.a13*i.a21+this.a23*i.a22+this.a33*i.a23,this.a13*i.a31+this.a23*i.a32+this.a33*i.a33)},t})();e.default=t},1139,[]);
57__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);
57Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserBarcodeReader=void 0;var o,n=r(_d[1]),c=t(r(_d[2])),u=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function c(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(c.prototype=n.prototype,new c)});e.BrowserBarcodeReader=(function(t){function o(o,n){return void 0===o&&(o=500),t.call(this,new c.default(n),o,n)||this}return u(o,t),o})(n.BrowserCodeReader)},1140,[17,1087,1141]);
58__d(function(g,r,_i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u,d=t(r(_d[1])),n=t(r(_d[2])),s=t(r(_d[3])),l=t(r(_d[4])),f=t(r(_d[5])),o=t(r(_d[6])),i=t(r(_d[7])),c=t(r(_d[8])),p=t(r(_d[9])),_=t(r(_d[10])),h=t(r(_d[11])),w=t(r(_d[12])),E=this&&this.__extends||(u=function(t,d){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,u){t.__proto__=u}||function(t,u){for(var d in u)u.hasOwnProperty(d)&&(t[d]=u[d])},u(t,d)},function(t,d){function n(){this.constructor=t}u(t,d),t.prototype=null===d?Object.create(d):(n.prototype=d.prototype,new n)}),O=(function(t){function u(u){var s=t.call(this)||this;s.readers=[];var p=u?u.get(n.default.POSSIBLE_FORMATS):null,E=u&&void 0!==u.get(n.default.ASSUME_CODE_39_CHECK_DIGIT),O=u&&void 0!==u.get(n.default.ENABLE_CODE_39_EXTENDED_MODE);return p&&((p.includes(d.default.EAN_13)||p.includes(d.default.UPC_A)||p.includes(d.default.EAN_8)||p.includes(d.default.UPC_E))&&s.readers.push(new c.default(u)),p.includes(d.default.CODE_39)&&s.readers.push(new f.default(E,O)),p.includes(d.default.CODE_93)&&s.readers.push(new o.default),p.includes(d.default.CODE_128)&&s.readers.push(new l.default),p.includes(d.default.ITF)&&s.readers.push(new i.default),p.includes(d.default.CODABAR)&&s.readers.push(new _.default),p.includes(d.default.RSS_14)&&s.readers.push(new w.default),p.includes(d.default.RSS_EXPANDED)&&(console.warn('RSS Expanded reader IS NOT ready for production yet! use at your own risk.'),s.readers.push(new h.default))),0===s.readers.length&&(s.readers.push(new c.default(u)),s.readers.push(new f.default),s.readers.push(new o.default),s.readers.push(new c.default(u)),s.readers.push(new l.default),s.readers.push(new i.default),s.readers.push(new w.default)),s}return E(u,t),u.prototype.decodeRow=function(t,u,d){for(var n=0;n<this.readers.length;n++)try{return this.readers[n].decodeRow(t,u,d)}catch(t){}throw new s.default},u.prototype.reset=function(){this.readers.forEach(function(t){return t.reset()})},u})(p.default);e.default=O},1141,[17,1118,1106,1111,1142,1144,1145,1146,1147,1143,1157,1158,1185]);
59__d(function(g,r,_i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),A=t(r(_d[2])),f=t(r(_d[3])),C=t(r(_d[4])),_=t(r(_d[5])),I=t(r(_d[6])),y=t(r(_d[7])),O=t(r(_d[8])),E=this&&this.__extends||(n=function(t,o){return n=Object.
59setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function A(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(A.prototype=o.prototype,new A)}),D=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return E(n,t),n.findStartPattern=function(t){for(var o=t.getSize(),A=t.getNextSet(0),f=0,C=Int32Array.from([0,0,0,0,0,0]),I=A,y=!1,E=A;E<o;E++)if(t.get(E)!==y)C[f]++;else{if(5===f){for(var D=n.MAX_AVG_VARIANCE,c=-1,i=n.CODE_START_A;i<=n.CODE_START_C;i++){var s=O.default.patternMatchVariance(C,n.CODE_PATTERNS[i],n.MAX_INDIVIDUAL_VARIANCE);s<D&&(D=s,c=i)}if(c>=0&&t.isRange(Math.max(0,I-(E-I)/2),I,!1))return Int32Array.from([I,E,c]);I+=C[0]+C[1],(C=C.slice(2,C.length))[f-1]=0,C[f]=0,f--}else f++;C[f]=1,y=!y}throw new _.default},n.decodeCode=function(t,o,A){O.default.recordPattern(t,A,o);for(var f=n.MAX_AVG_VARIANCE,C=-1,I=0;I<n.CODE_PATTERNS.length;I++){var y=n.CODE_PATTERNS[I],E=this.patternMatchVariance(o,y,n.MAX_INDIVIDUAL_VARIANCE);E<f&&(f=E,C=I)}if(C>=0)return C;throw new _.default},n.prototype.decodeRow=function(t,O,E){var D,c=E&&!0===E.get(f.default.ASSUME_GS1),i=n.findStartPattern(O),s=i[2],d=0,u=new Uint8Array(20);switch(u[d++]=s,s){case n.CODE_START_A:D=n.CODE_CODE_A;break;case n.CODE_START_B:D=n.CODE_CODE_B;break;case n.CODE_START_C:D=n.CODE_CODE_C;break;default:throw new C.default}for(var h=!1,S=!1,T='',l=i[0],w=i[1],N=Int32Array.from([0,0,0,0,0,0]),b=0,R=0,k=s,P=0,p=!0,v=!1,F=!1;!h;){var B=S;switch(S=!1,b=R,R=n.decodeCode(O,N,w),u[d++]=R,R!==n.CODE_STOP&&(p=!0),R!==n.CODE_STOP&&(k+=++P*R),l=w,w+=N.reduce(function(t,n){return t+n},0),R){case n.CODE_START_A:case n.CODE_START_B:case n.CODE_START_C:throw new C.default}switch(D){case n.CODE_CODE_A:if(R<64)T+=F===v?String.fromCharCode(' '.charCodeAt(0)+R):String.fromCharCode(' '.charCodeAt(0)+R+128),F=!1;else if(R<96)T+=F===v?String.fromCharCode(R-64):String.fromCharCode(R+64),F=!1;else switch(R!==n.CODE_STOP&&(p=!1),R){case n.CODE_FNC_1:c&&(0===T.length?T+=']C1':T+=String.fromCharCode(29));break;case n.CODE_FNC_2:case n.CODE_FNC_3:break;case n.CODE_FNC_4_A:!v&&F?(v=!0,F=!1):v&&F?(v=!1,F=!1):F=!0;break;case n.CODE_SHIFT:S=!0,D=n.CODE_CODE_B;break;case n.CODE_CODE_B:D=n.CODE_CODE_B;break;case n.CODE_CODE_C:D=n.CODE_CODE_C;break;case n.CODE_STOP:h=!0}break;case n.CODE_CODE_B:if(R<96)T+=F===v?String.fromCharCode(' '.charCodeAt(0)+R):String.fromCharCode(' '.charCodeAt(0)+R+128),F=!1;else switch(R!==n.CODE_STOP&&(p=!1),R){case n.CODE_FNC_1:c&&(0===T.length?T+=']C1':T+=String.fromCharCode(29));break;case n.CODE_FNC_2:case n.CODE_FNC_3:break;case n.CODE_FNC_4_B:!v&&F?(v=!0,F=!1):v&&F?(v=!1,F=!1):F=!0;break;case n.CODE_SHIFT:S=!0,D=n.CODE_CODE_A;break;case n.CODE_CODE_A:D=n.CODE_CODE_A;break;case n.CODE_CODE_C:D=n.CODE_CODE_C;break;case n.CODE_STOP:h=!0}break;case n.CODE_CODE_C:if(R<100)R<10&&(T+='0'),T+=R;else switch(R!==n.CODE_STOP&&(p=!1),R){case n.CODE_FNC_1:c&&(0===T.length?T+=']C1':T+=String.fromCharCode(29));break;case n.CODE_CODE_A:D=n.CODE_CODE_A;break;case n.CODE_CODE_B:D=n.CODE_CODE_B;break;case n.CODE_STOP:h=!0}}B&&(D=D===n.CODE_CODE_A?n.CODE_CODE_B:n.CODE_CODE_A)}var V=w-l;if(w=O.getNextUnset(w),!O.isRange(w,Math.min(O.getSize(),w+(w-l)/2),!1))throw new _.default;if((k-=P*b)%103!==b)throw new A.default;var M=T.length;if(0===M)throw new _.default;M>0&&p&&(T=D===n.CODE_CODE_C?T.substring(0,M-2):T.substring(0,M-1));for(var U=(i[1]+i[0])/2,X=l+V/2,x=u.length,G=new Uint8Array(x),j=0;j<x;j++)G[j]=u[j];var H=[new y.default(U,t),new y.default(X,t)];return new I.default(T,G,0,H,o.default.CODE_128,(new Date).getTime())},n.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])],n.MAX_AVG_VARIANCE=.25,n.MAX_INDIVIDUAL_VARIA
59NCE=.7,n.CODE_SHIFT=98,n.CODE_CODE_C=99,n.CODE_CODE_B=100,n.CODE_CODE_A=101,n.CODE_FNC_1=102,n.CODE_FNC_2=97,n.CODE_FNC_3=96,n.CODE_FNC_4_A=101,n.CODE_FNC_4_B=100,n.CODE_START_A=103,n.CODE_START_B=104,n.CODE_START_C=105,n.CODE_STOP=106,n})(O.default);e.default=D},1142,[17,1118,1093,1106,1108,1111,1117,1130,1143]);
60__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),o=t(r(d[3])),f=t(r(d[4])),l=t(r(d[5])),i=(function(){function t(){}return t.prototype.decode=function(t,n){try{return this.doDecode(t,n)}catch(N){if(n&&!0===n.get(u.default.TRY_HARDER)&&t.isRotateSupported()){var i=t.rotateCounterClockwise(),c=this.doDecode(i,n),v=c.getResultMetadata(),h=270;null!==v&&!0===v.get(o.default.ORIENTATION)&&(h+=v.get(o.default.ORIENTATION)%360),c.putMetadata(o.default.ORIENTATION,h);var I=c.getResultPoints();if(null!==I)for(var R=i.getHeight(),w=0;w<I.length;w++)I[w]=new f.default(R-I[w].getY()-1,I[w].getX());return c}throw new l.default}},t.prototype.reset=function(){},t.prototype.doDecode=function(t,i){var c,v=t.getWidth(),h=t.getHeight(),I=new n.default(v),R=i&&!0===i.get(u.default.TRY_HARDER),w=Math.max(1,h>>(R?8:5));c=R?h:15;for(var N=Math.trunc(h/2),T=0;T<c;T++){var s=Math.trunc((T+1)/2),E=N+w*(!(1&T)?s:-s);if(E<0||E>=h)break;try{I=t.getBlackRow(E,I)}catch(t){continue}for(var p=function(t){if(1===t&&(I.reverse(),i&&!0===i.get(u.default.NEED_RESULT_POINT_CALLBACK))){var n=new Map;i.forEach(function(t,u){return n.set(u,t)}),n.delete(u.default.NEED_RESULT_POINT_CALLBACK),i=n}try{var l=_.decodeRow(E,I,i);if(1===t){l.putMetadata(o.default.ORIENTATION,180);var c=l.getResultPoints();null!==c&&(c[0]=new f.default(v-c[0].getX()-1,c[0].getY()),c[1]=new f.default(v-c[1].getX()-1,c[1].getY()))}return{value:l}}catch(t){}},_=this,O=0;O<2;O++){var A=p(O);if("object"==typeof A)return A.value}}throw new l.default},t.recordPattern=function(t,n,u){for(var o=u.length,f=0;f<o;f++)u[f]=0;var i=t.getSize();if(n>=i)throw new l.default;for(var c=!t.get(n),v=0,h=n;h<i;){if(t.get(h)!==c)u[v]++;else{if(++v===o)break;u[v]=1,c=!c}h++}if(v!==o&&(v!==o-1||h!==i))throw new l.default},t.recordPatternInReverse=function(n,u,o){for(var f=o.length,i=n.get(u);u>0&&f>=0;)n.get(--u)!==i&&(f--,i=!i);if(f>=0)throw new l.default;t.recordPattern(n,u+1,o)},t.patternMatchVariance=function(t,n,u){for(var o=t.length,f=0,l=0,i=0;i<o;i++)f+=t[i],l+=n[i];if(f<l)return Number.POSITIVE_INFINITY;var c=f/l;u*=c;for(var v=0,h=0;h<o;h++){var I=t[h],R=n[h]*c,w=I>R?I-R:R-I;if(w>u)return Number.POSITIVE_INFINITY;v+=w}return v/f},t})();e.default=i},1143,[17,1097,1106,1119,1130,1111]);
61__d(function(g,r,_i,a,_m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),i=t(r(_d[2])),d=t(r(_d[3])),f=t(r(_d[4])),l=t(r(_d[5])),h=t(r(_d[6])),u=t(r(_d[7])),c=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function i(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s=this&&this.__values||function(t){var o="function"==typeof Symbol&&Symbol.iterator,n=o&&t[o],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},w=(function(t){function o(o,n){void 0===o&&(o=!1),void 0===n&&(n=!1);var i=t.call(this)||this;return i.usingCheckDigit=o,i.extendedMode=n,i.decodeRowResult='',i.counters=new Int32Array(9),i}return c(o,t),o.prototype.decodeRow=function(t,d,l){var c,w,R,A,C=this.counters;C.fill(0),this.decodeRowResult='';var v,S,y=o.findAsteriskPattern(d,C),_=d.getNextSet(y[1]),N=d.getSize();do{o.recordPattern(d,_,C);var E=o.toNarrowWidePattern(C);if(E<0)throw new f.default;v=o.patternToChar(E),this.decodeRowResult+=v,S=_;try{for(var T=(c=void 0,s(C)),p=T.next();!p.done;p=T.next()){_+=p.value}}catch(t){c={error:t}}finally{try{p&&!p.done&&(w=T.return)&&w.call(T)}finally{if(c)throw c.error}}_=d.getNextSet(_)}while('*'!==v);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var x,O=0;try{for(var I=s(C),P=I.next();!P.done;P=I.next()){O+=P.value}}catch(t){R={error:t}}finally{try{P&&!P.done&&(A=I.return)&&A.call(I)}finally{if(R)throw R.error}}if(_!==N&&2*(_-S-O)<O)throw new f.default;if(this.usingCheckDigit){for(var b=this.decodeRowResult.length-1,m=0,D=0;D<b;D++)m+=o.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(D));if(this.decodeRowResult.charAt(b)!==o.ALPHABET_STRING.charAt(m%43))throw new i.default;this.decodeRowResult=this.decodeRowResult.substring(0,b)}if(0===this.decodeRowResult.length)throw new f.default;x=this.extendedMode?o.decodeExtended(this.decodeRowResult):this.decodeRowResult;var G=(y[1]+y[0])/2,H=S+O/2;return new h.default(x,null,0,[new u.default(G,t),new u.default(H,t)],n.default.CODE_39,(new Date).getTime())},o.findAsteriskPattern=function(t,n){for(var i=t.getSize(),d=t.getNextSet(0),l=0,h=d,u=!1,c=n.length,s=d;s<i;s++)if(t.get(s)!==u)n[l]++;else{if(l===c-1){if(this.toNarrowWidePattern(n)===o.ASTERISK_ENCODING&&t.isRange(Math.max(0,h-Math.floor((s-h)/2)),h,!1))return[h,s];h+=n[0]+n[1],n.copyWithin(0,2,2+l-1),n[l-1]=0,n[l]=0,l--}else l++;n[l]=1,u=!u}throw new f.default},o.toNarrowWidePattern=function(t){var o,n,i,d=t.length,f=0;do{var l=2147483647;try{for(var h=(o=void 0,s(t)),u=h.next();!u.done;u=h.next()){(A=u.value)<l&&A>f&&(l=A)}}catch(t){o={error:t}}finally{try{u&&!u.done&&(n=h.return)&&n.call(h)}finally{if(o)throw o.error}}f=l,i=0;for(var c=0,w=0,R=0;R<d;
61R++){(A=t[R])>f&&(w|=1<<d-1-R,i++,c+=A)}if(3===i){for(R=0;R<d&&i>0;R++){var A;if((A=t[R])>f&&(i--,2*A>=c))return-1}return w}}while(i>3);return-1},o.patternToChar=function(t){for(var n=0;n<o.CHARACTER_ENCODINGS.length;n++)if(o.CHARACTER_ENCODINGS[n]===t)return o.ALPHABET_STRING.charAt(n);if(t===o.ASTERISK_ENCODING)return'*';throw new f.default},o.decodeExtended=function(t){for(var o=t.length,n='',i=0;i<o;i++){var f=t.charAt(i);if('+'===f||'$'===f||'%'===f||'/'===f){var l=t.charAt(i+1),h='\0';switch(f){case'+':if(!(l>='A'&&l<='Z'))throw new d.default;h=String.fromCharCode(l.charCodeAt(0)+32);break;case'$':if(!(l>='A'&&l<='Z'))throw new d.default;h=String.fromCharCode(l.charCodeAt(0)-64);break;case'%':if(l>='A'&&l<='E')h=String.fromCharCode(l.charCodeAt(0)-38);else if(l>='F'&&l<='J')h=String.fromCharCode(l.charCodeAt(0)-11);else if(l>='K'&&l<='O')h=String.fromCharCode(l.charCodeAt(0)+16);else if(l>='P'&&l<='T')h=String.fromCharCode(l.charCodeAt(0)+43);else if('U'===l)h='\0';else if('V'===l)h='@';else if('W'===l)h='`';else{if('X'!==l&&'Y'!==l&&'Z'!==l)throw new d.default;h='\x7f'}break;case'/':if(l>='A'&&l<='O')h=String.fromCharCode(l.charCodeAt(0)-32);else{if('Z'!==l)throw new d.default;h=':'}}n+=h,i++}else n+=f}return n},o.ALPHABET_STRING='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%',o.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],o.ASTERISK_ENCODING=148,o})(l.default);e.default=w},1144,[17,1118,1093,1108,1111,1143,1117,1130]);
62__d(function(g,r,_i,a,_m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),i=t(r(_d[2])),f=t(r(_d[3])),h=t(r(_d[4])),l=t(r(_d[5])),c=t(r(_d[6])),d=t(r(_d[7])),s=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function i(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),u=this&&this.__values||function(t){var o="function"==typeof Symbol&&Symbol.iterator,n=o&&t[o],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},w=(function(t){function o(){var o=t.call(this)||this;return o.decodeRowResult='',o.counters=new Int32Array(6),o}return s(o,t),o.prototype.decodeRow=function(t,i,f){var l,s,w,C,A,R,y=this.findAsteriskPattern(i),v=i.getNextSet(y[1]),p=i.getSize(),S=this.counters;S.fill(0),this.decodeRowResult='';do{o.recordPattern(i,v,S);var _=this.toPattern(S);if(_<0)throw new h.default;A=this.patternToChar(_),this.decodeRowResult+=A,R=v;try{for(var E=(l=void 0,u(S)),N=E.next();!N.done;N=E.next()){v+=N.value}}catch(t){l={error:t}}finally{try{N&&!N.done&&(s=E.return)&&s.call(E)}finally{if(l)throw l.error}}v=i.getNextSet(v)}while('*'!==A);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var O=0;try{for(var T=u(S),m=T.next();!m.done;m=T.next()){O+=m.value}}catch(t){w={error:t}}finally{try{m&&!m.done&&(C=T.return)&&C.call(T)}finally{if(w)throw w.error}}if(v===p||!i.get(v))throw new h.default;if(this.decodeRowResult.length<2)throw new h.default;this.checkChecksums(this.decodeRowResult),this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-2);var b=this.decodeExtended(this.decodeRowResult),k=(y[1]+y[0])/2,I=R+O/2;return new c.default(b,null,0,[new d.default(k,t),new d.default(I,t)],n.default.CODE_93,(new Date).getTime())},o.prototype.findAsteriskPattern=function(t){var n=t.getSize(),i=t.getNextSet(0);this.counters.fill(0);for(var f=this.counters,l=i,c=!1,d=f.length,s=0,u=i;u<n;u++)if(t.get(u)!==c)f[s]++;else{if(s===d-1){if(this.toPattern(f)===o.ASTERISK_ENCODING)return new Int32Array([l,u]);l+=f[0]+f[1],f.copyWithin(0,2,2+s-1),f[s-1]=0,f[s]=0,s--}else s++;f[s]=1,c=!c}throw new h.default},o.prototype.toPattern=function(t){var o,n,i=0;try{for(var f=u(t),h=f.next();!h.done;h=f.next()){i+=h.value}}catch(t){o={error:t}}finally{try{h&&!h.done&&(n=f.return)&&n.call(f)}finally{if(o)throw o.error}}for(var l=0,c=t.length,d=0;d<c;d++){var s=Math.round(9*t[d]/i);if(s<1||s>4)return-1;if(1&d)l<<=s;else for(var w=0;w<s;w++)l=l<<1|1}return l},o.prototype.patternToChar=function(t){for(var n=0;n<o.CHARACTER_ENCODINGS.length;n++)if(o.CHARACTER_ENCODINGS[n]===t)return o.ALPHABET_STRING.charAt(n);throw new h.default},o.prototype.decodeExtended=function(t){for(var o=t.length,n='',i=0;i<o;i++){var h=t.charAt(i);if(h>='a'&&h<='d'){if(i>=o-1)throw new f.default;var l=t.charAt(i+1),c='\0';switch(h){case'd':if(!(l>='A'&&l<='Z'))throw new f.default;c=String.fromCharCode(l.charCodeAt(0)+32);break;case'a':if(!(l>='A'&&l<='Z'))throw new f.default;c=String.fromCharCode(l.charCodeAt(0)-64);break;case'b':if(l>='A'&&l<='E')c=String.fromCharCode(l.charCodeAt(0)-38);else if(l>='F'&&l<='J')c=String.fromCharCode(l.charCodeAt(0)-11);else if(l>='K'&&l<='O')c=String.fromCharCode(l.charCodeAt(0)+16);else if(l>='P'&&l<='T')c=String.fromCharCode(l.charCodeAt(0)+43);else if('U'===l)c='\0';else if('V'===l)c='@';else if('W'===l)c='`';else{if(!(l>='X'&&l<='Z'))throw new f.default;c=String.fromCharCode(127)}break;case'c':if(l>='A'&&l<='O')c=String.fromCharCode(l.charCodeAt(0)-32);else{if('Z'!==l)throw new f.default;c=':'}}n+=c,i++}else n+=h}return n},o.prototype.checkChecksums=function(t){var o=t.length;this.checkOneChecksum(t,o-2,20),this.checkOneChecksum(t,o-1,15)},o.prototype.checkOneChecksum=function(t,n,f){for(var h=1,l=0,c=n-1;c>=0;c--)l+=h*o.ALPHABET_STRING.indexOf(t.charAt(c)),++h>f&&(h=1);if(t.charAt(n)!==o.ALPHABET_STRING[l%47])throw new i.default},o.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*",o.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],o.ASTERISK_ENCODING=o.CHARACTER_ENCODINGS[47],o})(l.default);e.default=w},1145,[17,1118,1093,1108,1111,1143,1117,1130]);
63__d(function(g,r,_i,a,_m,e,_d){var t=r(_d[0]);
63Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),i=t(r(_d[2])),f=t(r(_d[3])),d=t(r(_d[4])),u=t(r(_d[5])),l=t(r(_d[6])),A=t(r(_d[7])),c=t(r(_d[8])),y=t(r(_d[9])),I=this&&this.__extends||(n=function(t,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function i(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}),_=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,o=n&&t[n],i=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},h=(function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.narrowLineWidth=-1,n}return I(n,t),n.prototype.decodeRow=function(t,d,c){var y,I,h=this.decodeStart(d),E=this.decodeEnd(d),p=new A.default;n.decodeMiddle(d,h[1],E[0],p);var v=p.toString(),s=null;null!=c&&(s=c.get(i.default.ALLOWED_LENGTHS)),null==s&&(s=n.DEFAULT_ALLOWED_LENGTHS);var m=v.length,w=!1,T=0;try{for(var S=_(s),N=S.next();!N.done;N=S.next()){var R=N.value;if(m===R){w=!0;break}R>T&&(T=R)}}catch(t){y={error:t}}finally{try{N&&!N.done&&(I=S.return)&&I.call(S)}finally{if(y)throw y.error}}if(!w&&m>T&&(w=!0),!w)throw new f.default;var D=[new l.default(h[1],t),new l.default(E[0],t)];return new u.default(v,null,0,D,o.default.ITF,(new Date).getTime())},n.decodeMiddle=function(t,o,i,f){var d=new Int32Array(10),u=new Int32Array(5),l=new Int32Array(5);for(d.fill(0),u.fill(0),l.fill(0);o<i;){y.default.recordPattern(t,o,d);for(var A=0;A<5;A++){var c=2*A;u[A]=d[c],l[A]=d[c+1]}var I=n.decodeDigit(u);f.append(I.toString()),I=this.decodeDigit(l),f.append(I.toString()),d.forEach(function(t){o+=t})}},n.prototype.decodeStart=function(t){var o=n.skipWhiteSpace(t),i=n.findGuardPattern(t,o,n.START_PATTERN);return this.narrowLineWidth=(i[1]-i[0])/4,this.validateQuietZone(t,i[0]),i},n.prototype.validateQuietZone=function(t,n){var o=10*this.narrowLineWidth;o=o<n?o:n;for(var i=n-1;o>0&&i>=0&&!t.get(i);i--)o--;if(0!==o)throw new d.default},n.skipWhiteSpace=function(t){var n=t.getSize(),o=t.getNextSet(0);if(o===n)throw new d.default;return o},n.prototype.decodeEnd=function(t){t.reverse();try{var o=n.skipWhiteSpace(t),i=void 0;try{i=n.findGuardPattern(t,o,n.END_PATTERN_REVERSED[0])}catch(f){f instanceof d.default&&(i=n.findGuardPattern(t,o,n.END_PATTERN_REVERSED[1]))}this.validateQuietZone(t,i[0]);var f=i[0];return i[0]=t.getSize()-i[1],i[1]=t.getSize()-f,i}finally{t.reverse()}},n.findGuardPattern=function(t,o,i){var f=i.length,u=new Int32Array(f),l=t.getSize(),A=!1,I=0,_=o;u.fill(0);for(var h=o;h<l;h++)if(t.get(h)!==A)u[I]++;else{if(I===f-1){if(y.default.patternMatchVariance(u,i,n.MAX_INDIVIDUAL_VARIANCE)<n.MAX_AVG_VARIANCE)return[_,h];_+=u[0]+u[1],c.default.arraycopy(u,2,u,0,I-1),u[I-1]=0,u[I]=0,I--}else I++;u[I]=1,A=!A}throw new d.default},n.decodeDigit=function(t){for(var o=n.MAX_AVG_VARIANCE,i=-1,f=n.PATTERNS.length,u=0;u<f;u++){var l=n.PATTERNS[u],A=y.default.patternMatchVariance(t,l,n.MAX_INDIVIDUAL_VARIANCE);A<o?(o=A,i=u):A===o&&(i=-1)}if(i>=0)return i%10;throw new d.default},n.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])],n.MAX_AVG_VARIANCE=.38,n.MAX_INDIVIDUAL_VARIANCE=.5,n.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],n.START_PATTERN=Int32Array.from([1,1,1,1]),n.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])],n})(y.default);e.default=h},1146,[17,1118,1106,1108,1111,1117,1130,1104,1099,1143]);
64__d(function(g,r,_i,a,_m,e,_d){var t=r(_d[0]);
64Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,u=t(r(_d[1])),l=t(r(_d[2])),o=t(r(_d[3])),f=t(r(_d[4])),d=t(r(_d[5])),i=t(r(_d[6])),s=t(r(_d[7])),c=t(r(_d[8])),h=t(r(_d[9])),p=this&&this.__extends||(n=function(t,u){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var u in n)n.hasOwnProperty(u)&&(t[u]=n[u])},n(t,u)},function(t,u){function l(){this.constructor=t}n(t,u),t.prototype=null===u?Object.create(u):(l.prototype=u.prototype,new l)}),y=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,u=n&&t[n],l=0;if(u)return u.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&l>=t.length&&(t=void 0),{value:t&&t[l++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},_=(function(t){function n(n){var o=t.call(this)||this,f=null==n?null:n.get(l.default.POSSIBLE_FORMATS),c=[];return null!=f&&(f.indexOf(u.default.EAN_13)>-1&&c.push(new d.default),f.indexOf(u.default.UPC_A)>-1&&c.push(new s.default),f.indexOf(u.default.EAN_8)>-1&&c.push(new i.default),f.indexOf(u.default.UPC_E)>-1&&c.push(new h.default)),0===c.length&&(c.push(new d.default),c.push(new s.default),c.push(new i.default),c.push(new h.default)),o.readers=c,o}return p(n,t),n.prototype.decodeRow=function(t,n,f){var d,i;try{for(var s=y(this.readers),h=s.next();!h.done;h=s.next()){var p=h.value;try{var _=p.decodeRow(t,n,f),w=_.getBarcodeFormat()===u.default.EAN_13&&'0'===_.getText().charAt(0),v=null==f?null:f.get(l.default.POSSIBLE_FORMATS),O=null==v||v.includes(u.default.UPC_A);if(w&&O){var x=_.getRawBytes(),A=new o.default(_.getText().substring(1),x,x?x.length:null,_.getResultPoints(),u.default.UPC_A);return A.putAllMetadata(_.getResultMetadata()),A}return _}catch(t){}}}catch(t){d={error:t}}finally{try{h&&!h.done&&(i=s.return)&&i.call(s)}finally{if(d)throw d.error}}throw new c.default},n.prototype.reset=function(){var t,n;try{for(var u=y(this.readers),l=u.next();!l.done;l=u.next()){l.value.reset()}}catch(n){t={error:n}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}},n})(f.default);e.default=_},1147,[17,1118,1106,1117,1143,1148,1154,1155,1111,1156]);
65__d(function(g,r,_i,a,_m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),i=t(r(_d[2])),f=t(r(_d[3])),d=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function i(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),u=this&&this.__values||function(t){var o="function"==typeof Symbol&&Symbol.iterator,n=o&&t[o],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},l=(function(t){function o(){var o=t.call(this)||this;return o.decodeMiddleCounters=Int32Array.from([0,0,0,0]),o}return d(o,t),o.prototype.decodeMiddle=function(t,n,f){var d,l,c,_,h=this.decodeMiddleCounters;h[0]=0,h[1]=0,h[2]=0,h[3]=0;for(var y=t.getSize(),s=n[1],v=0,p=0;p<6&&s<y;p++){var S=i.default.decodeDigit(t,h,s,i.default.L_AND_G_PATTERNS);f+=String.fromCharCode('0'.charCodeAt(0)+S%10);try{for(var C=(d=void 0,u(h)),D=C.next();!D.done;D=C.next()){s+=D.value}}catch(t){d={error:t}}finally{try{D&&!D.done&&(l=C.return)&&l.call(C)}finally{if(d)throw d.error}}S>=10&&(v|=1<<5-p)}
65f=o.determineFirstDigit(f,v),s=i.default.findGuardPattern(t,s,!0,i.default.MIDDLE_PATTERN,new Int32Array(i.default.MIDDLE_PATTERN.length).fill(0))[1];for(p=0;p<6&&s<y;p++){S=i.default.decodeDigit(t,h,s,i.default.L_PATTERNS);f+=String.fromCharCode('0'.charCodeAt(0)+S);try{for(var T=(c=void 0,u(h)),A=T.next();!A.done;A=T.next()){s+=A.value}}catch(t){c={error:t}}finally{try{A&&!A.done&&(_=T.return)&&_.call(T)}finally{if(c)throw c.error}}}return{rowOffset:s,resultString:f}},o.prototype.getBarcodeFormat=function(){return n.default.EAN_13},o.determineFirstDigit=function(t,o){for(var n=0;n<10;n++)if(o===this.FIRST_DIGIT_ENCODINGS[n])return t=String.fromCharCode('0'.charCodeAt(0)+n)+t;throw new f.default},o.FIRST_DIGIT_ENCODINGS=[0,11,13,14,19,25,28,21,22,26],o})(i.default);e.default=l},1148,[17,1118,1149,1111]);
66__d(function(g,r,_i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,u=t(r(_d[1])),o=t(r(_d[2])),d=t(r(_d[3])),f=t(r(_d[4])),l=t(r(_d[5])),i=t(r(_d[6])),c=t(r(_d[7])),h=t(r(_d[8])),s=t(r(_d[9])),_=t(r(_d[10])),A=this&&this.__extends||(n=function(t,u){return n=Object.
66setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var u in n)n.hasOwnProperty(u)&&(t[u]=n[u])},n(t,u)},function(t,u){function o(){this.constructor=t}n(t,u),t.prototype=null===u?Object.create(u):(o.prototype=u.prototype,new o)}),w=(function(t){function n(){var u=t.call(this)||this;u.decodeRowStringBuffer='',n.L_AND_G_PATTERNS=n.L_PATTERNS.map(function(t){return Int32Array.from(t)});for(var o=10;o<20;o++){for(var d=n.L_PATTERNS[o-10],f=new Int32Array(d.length),l=0;l<d.length;l++)f[l]=d[d.length-l-1];n.L_AND_G_PATTERNS[o]=f}return u}return A(n,t),n.prototype.decodeRow=function(t,c,A){var w=n.findStartGuardPattern(c),P=null==A?null:A.get(o.default.NEED_RESULT_POINT_CALLBACK);if(null!=P){var v=new l.default((w[0]+w[1])/2,t);P.foundPossibleResultPoint(v)}var E=this.decodeMiddle(c,w,this.decodeRowStringBuffer),N=E.rowOffset,T=E.resultString;if(null!=P){var S=new l.default(N,t);P.foundPossibleResultPoint(S)}var R=n.decodeEnd(c,N);if(null!=P){var C=new l.default((R[0]+R[1])/2,t);P.foundPossibleResultPoint(C)}var p=R[1],y=p+(p-R[0]);if(y>=c.getSize()||!c.isRange(p,y,!1))throw new h.default;var k=T.toString();if(k.length<8)throw new s.default;if(!n.checkChecksum(k))throw new _.default;var O=(w[1]+w[0])/2,L=(R[1]+R[0])/2,b=this.getBarcodeFormat(),D=[new l.default(O,t),new l.default(L,t)],I=new d.default(k,null,0,D,b,(new Date).getTime()),U=0;try{var M=i.default.decodeRow(t,c,R[1]);I.putMetadata(f.default.UPC_EAN_EXTENSION,M.getText()),I.putAllMetadata(M.getResultMetadata()),I.addResultPoints(M.getResultPoints()),U=M.getText().length}catch(t){}var B=null==A?null:A.get(o.default.ALLOWED_EAN_EXTENSIONS);if(null!=B){var G=!1;for(var j in B)if(U.toString()===j){G=!0;break}if(!G)throw new h.default}return b===u.default.EAN_13||u.default.UPC_A,I},n.checkChecksum=function(t){return n.checkStandardUPCEANChecksum(t)},n.checkStandardUPCEANChecksum=function(t){var u=t.length;if(0===u)return!1;var o=parseInt(t.charAt(u-1),10);return n.getStandardUPCEANChecksum(t.substring(0,u-1))===o},n.getStandardUPCEANChecksum=function(t){for(var n=t.length,u=0,o=n-1;o>=0;o-=2){if((d=t.charAt(o).charCodeAt(0)-'0'.charCodeAt(0))<0||d>9)throw new s.default;u+=d}u*=3;for(o=n-2;o>=0;o-=2){var d;if((d=t.charAt(o).charCodeAt(0)-'0'.charCodeAt(0))<0||d>9)throw new s.default;u+=d}return(1e3-u)%10},n.decodeEnd=function(t,u){return n.findGuardPattern(t,u,!1,n.START_END_PATTERN,new Int32Array(n.START_END_PATTERN.length).fill(0))},n})(c.default);e.default=w},1149,[17,1118,1106,1117,1119,1130,1150,1151,1111,1108,1093]);
67__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),T=t(r(d[3])),o=(function(){function t(){}return t.decodeRow=function(t,o,f){var c=n.default.findGuardPattern(o,f,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new u.default).decodeRow(t,o,c)}catch(n){return(new T.default).decodeRow(t,o,c)}},t.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),t})();e.default=o},1150,[17,1151,1152,1153]);
68__d(function(g,r,_i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),f=t(r(_d[2])),A=t(r(_d[3])),u=this&&this.__extends||(n=function(t,o){return n=Object.
68setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function f(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(f.prototype=o.prototype,new f)}),i=(function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.decodeRowStringBuffer='',n}return u(n,t),n.findStartGuardPattern=function(t){for(var o,f=!1,A=0,u=Int32Array.from([0,0,0]);!f;){u=Int32Array.from([0,0,0]);var i=(o=n.findGuardPattern(t,A,!1,this.START_END_PATTERN,u))[0],c=i-((A=o[1])-i);c>=0&&(f=t.isRange(c,i,!1))}return o},n.checkChecksum=function(t){return n.checkStandardUPCEANChecksum(t)},n.checkStandardUPCEANChecksum=function(t){var o=t.length;if(0===o)return!1;var f=parseInt(t.charAt(o-1),10);return n.getStandardUPCEANChecksum(t.substring(0,o-1))===f},n.getStandardUPCEANChecksum=function(t){for(var n=t.length,o=0,f=n-1;f>=0;f-=2){if((u=t.charAt(f).charCodeAt(0)-'0'.charCodeAt(0))<0||u>9)throw new A.default;o+=u}o*=3;for(f=n-2;f>=0;f-=2){var u;if((u=t.charAt(f).charCodeAt(0)-'0'.charCodeAt(0))<0||u>9)throw new A.default;o+=u}return(1e3-o)%10},n.decodeEnd=function(t,o){return n.findGuardPattern(t,o,!1,n.START_END_PATTERN,new Int32Array(n.START_END_PATTERN.length).fill(0))},n.findGuardPatternWithoutCounters=function(t,n,o,f){return this.findGuardPattern(t,n,o,f,new Int32Array(f.length))},n.findGuardPattern=function(t,A,u,i,c){for(var d=t.getSize(),h=0,_=A=u?t.getNextUnset(A):t.getNextSet(A),I=i.length,s=u,l=A;l<d;l++)if(t.get(l)!==s)c[h]++;else{if(h===I-1){if(o.default.patternMatchVariance(c,i,n.MAX_INDIVIDUAL_VARIANCE)<n.MAX_AVG_VARIANCE)return Int32Array.from([_,l]);_+=c[0]+c[1];for(var N=c.slice(2,c.length),y=0;y<h-1;y++)c[y]=N[y];c[h-1]=0,c[h]=0,h--}else h++;c[h]=1,s=!s}throw new f.default},n.decodeDigit=function(t,A,u,i){this.recordPattern(t,u,A);for(var c=this.MAX_AVG_VARIANCE,d=-1,h=i.length,_=0;_<h;_++){var I=i[_],s=o.default.patternMatchVariance(A,I,n.MAX_INDIVIDUAL_VARIANCE);s<c&&(c=s,d=_)}if(d>=0)return d;throw new f.default},n.MAX_AVG_VARIANCE=.48,n.MAX_INDIVIDUAL_VARIANCE=.7,n.START_END_PATTERN=Int32Array.from([1,1,1]),n.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),n.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),n.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])],n})(o.default);e.default=i},1151,[17,1143,1111,1108]);
69__d(function(g,r,_i,a,_m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(_d[1])),o=t(r(_d[2])),i=t(r(_d[3])),u=t(r(_d[4])),d=t(r(_d[5])),l=t(r(_d[6])),f=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,o=n&&t[n],i=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},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(o,d,l){var f=this.decodeRowStringBuffer,c=this.decodeMiddle(d,l,f),s=f.toString(),h=t.parseExtensionString(s),S=[new u.default((l[0]+l[1])/2,o),new u.default(c,o)],v=new i.default(s,null,0,S,n.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=h&&v.putAllMetadata(h),v},t.prototype.decodeMiddle=function(n,i,u){var d,c,s=this.decodeMiddleCounters;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var h=n.getSize(),S=i[1],v=0,C=0;C<5&&S<h;C++){var w=o.default.decodeDigit(n,s,S,o.default.L_AND_G_PATTERNS);u+=String.fromCharCode('0'.charCodeAt(0)+w%10);try{for(var p=(d=void 0,f(s)),E=p.next();!E.done;E=p.next()){S+=E.value}}catch(t){d={error:t}}finally{try{E&&!E.done&&(c=p.return)&&c.call(p)}finally{if(d)throw d.error}}w>=10&&(v|=1<<4-C),4!==C&&(S=n.getNextSet(S),S=n.getNextUnset(S))}if(5!==u.length)throw new l.default;var _=this.determineCheckDigit(v);
69if(t.extensionChecksum(u.toString())!==_)throw new l.default;return S},t.extensionChecksum=function(t){for(var n=t.length,o=0,i=n-2;i>=0;i-=2)o+=t.charAt(i).charCodeAt(0)-'0'.charCodeAt(0);o*=3;for(i=n-1;i>=0;i-=2)o+=t.charAt(i).charCodeAt(0)-'0'.charCodeAt(0);return(o*=3)%10},t.prototype.determineCheckDigit=function(t){for(var n=0;n<10;n++)if(t===this.CHECK_DIGIT_ENCODINGS[n])return n;throw new l.default},t.parseExtensionString=function(n){if(5!==n.length)return null;var o=t.parseExtension5String(n);return null==o?null:new Map([[d.default.SUGGESTED_PRICE,o]])},t.parseExtension5String=function(t){var n;switch(t.charAt(0)){case'0':n='\xa3';break;case'5':n='$';break;case'9':switch(t){case'90000':return null;case'99991':return'0.00';case'99990':return'Used'}n='';break;default:n=''}var o=parseInt(t.substring(1)),i=o%100;return n+(o/100).toString()+'.'+(i<10?'0'+i:i.toString())},t})();e.default=c},1152,[17,1118,1151,1117,1130,1119,1111]);
70__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),i=t(r(d[3])),l=t(r(d[4])),u=t(r(d[5])),f=t(r(d[6])),c=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,o=n&&t[n],i=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},s=(function(){function t(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=''}return t.prototype.decodeRow=function(o,u,f){var c=this.decodeRowStringBuffer,s=this.decodeMiddle(u,f,c),h=c.toString(),S=t.parseExtensionString(h),v=[new l.default((f[0]+f[1])/2,o),new l.default(s,o)],w=new i.default(h,null,0,v,n.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=S&&w.putAllMetadata(S),w},t.prototype.decodeMiddle=function(t,n,i){var l,u,s=this.decodeMiddleCounters;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var h=t.getSize(),S=n[1],v=0,w=0;w<2&&S<h;w++){var p=o.default.decodeDigit(t,s,S,o.default.L_AND_G_PATTERNS);i+=String.fromCharCode('0'.charCodeAt(0)+p%10);try{for(var y=(l=void 0,c(s)),_=y.next();!_.done;_=y.next()){S+=_.value}}catch(t){l={error:t}}finally{try{_&&!_.done&&(u=y.return)&&u.call(y)}finally{if(l)throw l.error}}p>=10&&(v|=1<<1-w),1!==w&&(S=t.getNextSet(S),S=t.getNextUnset(S))}if(2!==i.length)throw new f.default;if(parseInt(i.toString())%4!==v)throw new f.default;return S},t.parseExtensionString=function(t){return 2!==t.length?null:new Map([[u.default.ISSUE_NUMBER,parseInt(t)]])},t})();e.default=s},1153,[17,1118,1151,1117,1130,1119,1111]);
71__d(function(g,r,_i,a,_m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),i=t(r(_d[2])),f=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function i(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),d=this&&this.__values||function(t){var o="function"==typeof Symbol&&Symbol.iterator,n=o&&t[o],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},l=(function(t){function o(){var o=t.call(this)||this;return o.decodeMiddleCounters=Int32Array.from([0,0,0,0]),o}return f(o,t),o.prototype.decodeMiddle=function(t,o,n){var f,l,u,c,y=this.decodeMiddleCounters;y[0]=0,y[1]=0,y[2]=0,y[3]=0;for(var h=t.getSize(),s=o[1],_=0;_<4&&s<h;_++){var v=i.default.decodeDigit(t,y,s,i.default.L_PATTERNS);n+=String.fromCharCode('0'.charCodeAt(0)+v);try{for(var p=(f=void 0,d(y)),A=p.next();!A.done;A=p.next()){s+=A.value}}catch(t){f={error:t}}finally{try{A&&!A.done&&(l=p.return)&&l.call(p)}finally{if(f)throw f.error}}}
71s=i.default.findGuardPattern(t,s,!0,i.default.MIDDLE_PATTERN,new Int32Array(i.default.MIDDLE_PATTERN.length).fill(0))[1];for(_=0;_<4&&s<h;_++){v=i.default.decodeDigit(t,y,s,i.default.L_PATTERNS);n+=String.fromCharCode('0'.charCodeAt(0)+v);try{for(var b=(u=void 0,d(y)),S=b.next();!S.done;S=b.next()){s+=S.value}}catch(t){u={error:t}}finally{try{S&&!S.done&&(c=b.return)&&c.call(b)}finally{if(u)throw u.error}}}return{rowOffset:s,resultString:n}},o.prototype.getBarcodeFormat=function(){return n.default.EAN_8},o})(i.default);e.default=l},1154,[17,1118,1149]);
72__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=t(r(_d[2])),d=t(r(_d[3])),l=t(r(_d[4])),c=t(r(_d[5])),s=this&&this.__extends||(n=function(t,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),f=(function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.ean13Reader=new l.default,n}return s(n,t),n.prototype.getBarcodeFormat=function(){return o.default.UPC_A},n.prototype.decode=function(t,n){return this.maybeReturnResult(this.ean13Reader.decode(t))},n.prototype.decodeRow=function(t,n,o){return this.maybeReturnResult(this.ean13Reader.decodeRow(t,n,o))},n.prototype.decodeMiddle=function(t,n,o){return this.ean13Reader.decodeMiddle(t,n,o)},n.prototype.maybeReturnResult=function(t){var n=t.getText();if('0'===n.charAt(0)){var l=new u.default(n.substring(1),null,null,t.getResultPoints(),o.default.UPC_A);return null!=t.getResultMetadata()&&l.putAllMetadata(t.getResultMetadata()),l}throw new d.default},n.prototype.reset=function(){this.ean13Reader.reset()},n})(c.default);e.default=f},1155,[17,1118,1117,1111,1148,1149]);
73__d(function(g,r,_i,a,_m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),i=t(r(_d[2])),d=t(r(_d[3])),u=t(r(_d[4])),c=this&&this.__extends||(n=function(t,o){return n=Object.
73setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function i(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}),p=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,o=n&&t[n],i=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},f=(function(t){function n(){var n=t.call(this)||this;return n.decodeMiddleCounters=new Int32Array(4),n}return c(n,t),n.prototype.decodeMiddle=function(t,o,d){var u,c,f=this.decodeMiddleCounters.map(function(t){return t});f[0]=0,f[1]=0,f[2]=0,f[3]=0;for(var s=t.getSize(),l=o[1],h=0,_=0;_<6&&l<s;_++){var y=n.decodeDigit(t,f,l,n.L_AND_G_PATTERNS);d+=String.fromCharCode('0'.charCodeAt(0)+y%10);try{for(var C=(u=void 0,p(f)),v=C.next();!v.done;v=C.next()){l+=v.value}}catch(t){u={error:t}}finally{try{v&&!v.done&&(c=C.return)&&c.call(C)}finally{if(u)throw u.error}}y>=10&&(h|=1<<5-_)}return n.determineNumSysAndCheckDigit(new i.default(d),h),l},n.prototype.decodeEnd=function(t,o){return n.findGuardPatternWithoutCounters(t,o,!0,n.MIDDLE_END_PATTERN)},n.prototype.checkChecksum=function(t){return o.default.checkChecksum(n.convertUPCEtoUPCA(t))},n.determineNumSysAndCheckDigit=function(t,n){for(var o=0;o<=1;o++)for(var i=0;i<10;i++)if(n===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[o][i])return t.insert(0,'0'+o),void t.append('0'+i);throw d.default.getNotFoundInstance()},n.prototype.getBarcodeFormat=function(){return u.default.UPC_E},n.convertUPCEtoUPCA=function(t){var n=t.slice(1,7).split('').map(function(t){return t.charCodeAt(0)}),o=new i.default;o.append(t.charAt(0));var d=n[5];switch(d){case 0:case 1:case 2:o.appendChars(n,0,2),o.append(d),o.append('0000'),o.appendChars(n,2,3);break;case 3:o.appendChars(n,0,3),o.append('00000'),o.appendChars(n,3,2);break;case 4:o.appendChars(n,0,4),o.append('00000'),o.append(n[4]);break;default:o.appendChars(n,0,5),o.append('0000'),o.append(d)}return t.length>=8&&o.append(t.charAt(7)),o.toString()},n.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),n.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])],n})(o.default);e.default=f},1156,[17,1149,1104,1111,1118]);
74__d(function(g,r,_i,a,m,e,_d){var n=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,w=n(r(_d[1])),o=n(r(_d[2])),i=n(r(_d[3])),u=n(r(_d[4])),l=n(r(_d[5])),f=this&&this.__extends||(t=function(n,w){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var w in t)t.hasOwnProperty(w)&&(n[w]=t[w])},t(n,w)},function(n,w){function o(){this.constructor=n}t(n,w),n.prototype=null===w?Object.create(w):(o.prototype=w.prototype,new o)}),c=(function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.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'},t}return f(t,n),t.prototype.decodeRow=function(n,t,i){var f=this.getValidRowData(t);if(!f)throw new o.default;var c=this.codaBarDecodeRow(f.row);if(!c)throw new o.default;return new u.default(c,null,0,[new l.default(f.left,n),new l.default(f.right,n)],w.default.CODABAR,(new Date).getTime())},t.prototype.getValidRowData=function(n){var t=n.toArray(),w=t.indexOf(!0);if(-1===w)return null;var o=t.lastIndexOf(!0);if(o<=w)return null;for(var i=[],u=(t=t.slice(w,o+1))[0],l=1,f=1;f<t.length;f++)t[f]===u?l++:(u=t[f],i.push(l),l=1);return i.push(l),i.length<23&&(i.length+1)%8!=0?null:{row:i,left:w,right:o}},t.prototype.codaBarDecodeRow=function(n){for(var t=[],w=Math.ceil(n.reduce(function(n,t){return(n+t)/2},0));n.length>0;){var o=n.splice(0,8).splice(0,7).map(function(n){return n<w?'n':'w'}).join('');if(void 0===this.CODA_BAR_CHAR_SET[o])return null;t.push(this.CODA_BAR_CHAR_SET[o])}var i=t.join('');return this.validCodaBarString(i)?i:null},t.prototype.validCodaBarString=function(n){return/^[A-D].{1,}[A-D]$/.test(n)},t})(i.default);e.default=c},1157,[17,1118,1111,1143,1117,1130]);
75__d(function(g,_r,_i,a,_m,_e2,_d2){var t=_r(_d2[0]);
75Object.defineProperty(_e2,"__esModule",{value:!0}),_e2.default=void 0;var r,e=t(_r(_d2[1])),n=t(_r(_d2[2])),i=t(_r(_d2[3])),o=t(_r(_d2[4])),s=t(_r(_d2[5])),l=t(_r(_d2[6])),h=t(_r(_d2[7])),u=t(_r(_d2[8])),f=t(_r(_d2[9])),_=t(_r(_d2[10])),d=_r(_d2[11]),E=t(_r(_d2[12])),c=t(_r(_d2[13])),A=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),R=this&&this.__values||function(t){var r="function"==typeof Symbol&&Symbol.iterator,e=r&&t[r],n=0;if(e)return e.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(r?"Object is not iterable.":"Symbol.iterator is not defined.")},v=(function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.pairs=new Array(r.MAX_PAIRS),e.rows=new Array,e.startEnd=[2],e}return A(r,t),r.prototype.decodeRow=function(t,e,n){this.pairs.length=0,this.startFromEven=!1;try{return r.constructResult(this.decodeRow2pairs(t,e))}catch(t){}return this.pairs.length=0,this.startFromEven=!0,r.constructResult(this.decodeRow2pairs(t,e))},r.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},r.prototype.decodeRow2pairs=function(t,r){for(var e,n=!1;!n;)try{this.pairs.push(this.retrieveNextPair(r,this.pairs,t))}catch(t){if(t instanceof i.default){if(!this.pairs.length)throw new i.default;n=!0}}if(this.checkChecksum())return this.pairs;if(e=!!this.rows.length,this.storeRow(t,!1),e){var o=this.checkRowsBoolean(!1);if(null!=o)return o;if(null!=(o=this.checkRowsBoolean(!0)))return o}throw new i.default},r.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 r=null;try{r=this.checkRows(new Array,0)}catch(t){console.log(t)}return t&&(this.rows=this.rows.reverse()),r},r.prototype.checkRows=function(t,e){for(var n,o,s=e;s<this.rows.length;s++){var l=this.rows[s];this.pairs.length=0;try{for(var h=(n=void 0,R(t)),u=h.next();!u.done;u=h.next()){var f=u.value;this.pairs.push(f.getPairs())}}catch(t){n={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}if(this.pairs.push(l.getPairs()),r.isValidSequence(this.pairs)){if(this.checkChecksum())return this.pairs;var _=new Array(t);_.push(l);try{return this.checkRows(_,s+1)}catch(t){console.log(t)}}}throw new i.default},r.isValidSequence=function(t){var e,n;try{for(var i=R(r.FINDER_PATTERN_SEQUENCES),o=i.next();!o.done;o=i.next()){var s=o.value;if(!(t.length>s.length)){for(var l=!0,h=0;h<t.length;h++)if(t[h].getFinderPattern().getValue()!==s[h]){l=!1;break}if(l)return!0}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return!1},r.prototype.storeRow=function(t,e){for(var n=0,i=!1,o=!1;n<this.rows.length;){var s=this.rows[n];if(s.getRowNumber()>t){o=s.isEquivalent(this.pairs);break}i=s.isEquivalent(this.pairs),n++}o||i||r.isPartialRow(this.pairs,this.rows)||(this.rows.push(n,new c.default(this.pairs,t,e)),this.removePartialRows(this.pairs,this.rows))},r.prototype.removePartialRows=function(t,r){var e,n,i,o,s,l;try{for(var h=R(r),u=h.next();!u.done;u=h.next()){var f=u.value;if(f.getPairs().length!==t.length){try{for(var _=(i=void 0,R(f.getPairs())),d=_.next();!d.done;d=_.next()){var c=d.value,A=!1;try{for(var v=(s=void 0,R(t)),P=v.next();!P.done;P=v.next()){var F=P.value;if(E.default.equals(c,F)){A=!0;break}}}catch(t){s={error:t}}finally{try{P&&!P.done&&(l=v.return)&&l.call(v)}finally{if(s)throw s.error}}A||!1}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=_.return)&&o.call(_)}finally{if(i)throw i.error}}}}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=h.return)&&n.call(h)}finally{if(e)throw e.error}}},r.isPartialRow=function(t,r){var e,n,i,o,s,l;try{for(var h=R(r),u=h.next();!u.done;u=h.next()){var f=u.value,_=!0;try{for(var d=(i=void 0,R(t)),E=d.next();!E.done;E=d.next()){var c=E.value,A=!1;try{for(var v=(s=void 0,R(f.getPairs())),P=v.next();!P.done;P=v.next()){var F=P.value;if(c.equals(F)){A=!0;break}}}catch(t){s={error:t}}finally{try{P&&!P.done&&(l=v.return)&&l.call(v)}finally{if(s)throw s.error}}if(!A){_=!1;break}}}catch(t){i={error:t}}
75finally{try{E&&!E.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}if(_)return!0}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=h.return)&&n.call(h)}finally{if(e)throw e.error}}return!1},r.prototype.getRows=function(){return this.rows},r.constructResult=function(t){var r=_.default.buildBitArray(t),n=(0,d.createDecoder)(r).parseInformation(),i=t[0].getFinderPattern().getResultPoints(),s=t[t.length-1].getFinderPattern().getResultPoints(),l=[i[0],i[1],s[0],s[1]];return new o.default(n,null,null,l,e.default.RSS_EXPANDED,null)},r.prototype.checkChecksum=function(){var t=this.pairs.get(0),r=t.getLeftChar(),e=t.getRightChar();if(null===e)return!1;for(var n=e.getChecksumPortion(),i=2,o=1;o<this.pairs.size();++o){var s=this.pairs.get(o);n+=s.getLeftChar().getChecksumPortion(),i++;var l=s.getRightChar();null!=l&&(n+=l.getChecksumPortion(),i++)}return 211*(i-4)+(n%=211)===r.getValue()},r.getNextSecondBar=function(t,r){var e;return t.get(r)?(e=t.getNextUnset(r),e=t.getNextSet(e)):(e=t.getNextSet(r),e=t.getNextUnset(e)),e},r.prototype.retrieveNextPair=function(t,e,n){var o,s=e.length%2==0;this.startFromEven&&(s=!s);var l=!0,h=-1;do{this.findNextPair(t,e,h),null===(o=this.parseFoundFinderPattern(t,n,s))?h=r.getNextSecondBar(t,this.startEnd[0]):l=!1}while(l);var u,f=this.decodeDataCharacter(t,o,s,!0);if(!this.isEmptyPair(e)&&e[e.length-1].mustBeLast())throw new i.default;try{u=this.decodeDataCharacter(t,o,s,!1)}catch(t){u=null,console.log(t)}return new E.default(f,u,o,!0)},r.prototype.isEmptyPair=function(t){return 0===t.length},r.prototype.findNextPair=function(t,e,n){var o=this.getDecodeFinderCounters();o[0]=0,o[1]=0,o[2]=0,o[3]=0;var s,l=t.getSize();if(n>=0)s=n;else if(this.isEmptyPair(e))s=0;else{s=e[e.length-1].getFinderPattern().getStartEnd()[1]}var h=e.length%2!=0;this.startFromEven&&(h=!h);for(var u=!1;s<l&&(u=!t.get(s));)s++;for(var f=0,_=s,d=s;d<l;d++)if(t.get(d)!==u)o[f]++;else{if(3===f){if(h&&r.reverseCounters(o),r.isFinderPattern(o))return this.startEnd[0]=_,void(this.startEnd[1]=d);h&&r.reverseCounters(o),_+=o[0]+o[1],o[0]=o[2],o[1]=o[3],o[2]=0,o[3]=0,f--}else f++;o[f]=1,u=!u}throw new i.default},r.reverseCounters=function(t){for(var r=t.length,e=0;e<r/2;++e){var n=t[e];t[e]=t[r-e-1],t[r-e-1]=n}},r.prototype.parseFoundFinderPattern=function(t,e,n){var i,o,l;if(n){for(var h=this.startEnd[0]-1;h>=0&&!t.get(h);)h--;h++,i=this.startEnd[0]-h,o=h,l=this.startEnd[1]}else o=this.startEnd[0],i=(l=t.getNextUnset(this.startEnd[1]+1))-this.startEnd[1];var f,_=this.getDecodeFinderCounters();s.default.arraycopy(_,0,_,1,_.length-1),_[0]=i;try{f=this.parseFinderValue(_,r.FINDER_PATTERNS)}catch(t){return null}return new u.default(f,[o,l],o,l,e)},r.prototype.decodeDataCharacter=function(t,e,o,s){for(var l=this.getDataCharacterCounters(),u=0;u<l.length;u++)l[u]=0;if(s)r.recordPatternInReverse(t,e.getStartEnd()[0],l);else{r.recordPattern(t,e.getStartEnd()[1],l);for(var _=0,d=l.length-1;_<d;_++,d--){var E=l[_];l[_]=l[d],l[d]=E}}var c=n.default.sum(new Int32Array(l))/17,A=(e.getStartEnd()[1]-e.getStartEnd()[0])/15;if(Math.abs(c-A)/A>.3)throw new i.default;var R=this.getOddCounts(),v=this.getEvenCounts(),P=this.getOddRoundingErrors(),F=this.getEvenRoundingErrors();for(_=0;_<l.length;_++){var N=1*l[_]/c,D=N+.5;if(D<1){if(N<.3)throw new i.default;D=1}else if(D>8){if(N>8.7)throw new i.default;D=8}var w=_/2;1&_?(v[w]=D,F[w]=N-D):(R[w]=D,P[w]=N-D)}this.adjustOddEvenCounts(17);var I=4*e.getValue()+(o?0:2)+(s?0:1)-1,T=0,y=0;for(_=R.length-1;_>=0;_--){if(r.isNotA1left(e,o,s)){var p=r.WEIGHTS[I][2*_];y+=R[_]*p}T+=R[_]}var C=0;for(_=v.length-1;_>=0;_--)if(r.isNotA1left(e,o,s)){p=r.WEIGHTS[I][2*_+1];C+=v[_]*p}var S=y+C;if(1&T||T>13||T<4)throw new i.default;var m=(13-T)/2,x=r.SYMBOL_WIDEST[m],B=9-x,k=f.default.getRSSvalue(R,x,!0),O=f.default.getRSSvalue(v,B,!1),b=k*r.EVEN_TOTAL_SUBSET[m]+O+r.GSUM[m];return new h.default(b,S)},r.isNotA1left=function(t,r,e){return!(0===t.getValue()&&r&&e)},r.prototype.adjustOddEvenCounts=function(t){var e=n.default.sum(new Int32Array(this.getOddCounts())),o=n.default.sum(new Int32Array(this.getEvenCounts())),s=!1,l=!1;e>13?l=!0:e<4&&(s=!0);var h=!1,u=!1;o>13?u=!0:o<4&&(h=!0);var f=e+o-t,_=!(1&~e),d=!(1&o);if(1===f)if(_){if(d)throw new i.default;l=!0}else{if(!d)throw new i.default;u=!0}else if(-1===f)if(_){if(d)throw new i.default;s=!0}else{if(!d)throw new i.default;h=!0}else{if(0!==f)throw new i.default;if(_){if(!d)throw new i.default;e<o?(s=!0,u=!0):(l=!0,h=!0)}else if(d)throw new i.default}if(s){if(l)throw new i.default;r.increment(this.getOddCounts(),this.getOddRoundingErrors())}
75if(l&&r.decrement(this.getOddCounts(),this.getOddRoundingErrors()),h){if(u)throw new i.default;r.increment(this.getEvenCounts(),this.getOddRoundingErrors())}u&&r.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},r.SYMBOL_WIDEST=[7,5,4,3,1],r.EVEN_TOTAL_SUBSET=[4,20,52,104,204],r.GSUM=[0,348,1388,2948,3988],r.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])],r.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]],r.FINDER_PAT_A=0,r.FINDER_PAT_B=1,r.FINDER_PAT_C=2,r.FINDER_PAT_D=3,r.FINDER_PAT_E=4,r.FINDER_PAT_F=5,r.FINDER_PATTERN_SEQUENCES=[[r.FINDER_PAT_A,r.FINDER_PAT_A],[r.FINDER_PAT_A,r.FINDER_PAT_B,r.FINDER_PAT_B],[r.FINDER_PAT_A,r.FINDER_PAT_C,r.FINDER_PAT_B,r.FINDER_PAT_D],[r.FINDER_PAT_A,r.FINDER_PAT_E,r.FINDER_PAT_B,r.FINDER_PAT_D,r.FINDER_PAT_C],[r.FINDER_PAT_A,r.FINDER_PAT_E,r.FINDER_PAT_B,r.FINDER_PAT_D,r.FINDER_PAT_D,r.FINDER_PAT_F],[r.FINDER_PAT_A,r.FINDER_PAT_E,r.FINDER_PAT_B,r.FINDER_PAT_D,r.FINDER_PAT_E,r.FINDER_PAT_F,r.FINDER_PAT_F],[r.FINDER_PAT_A,r.FINDER_PAT_A,r.FINDER_PAT_B,r.FINDER_PAT_B,r.FINDER_PAT_C,r.FINDER_PAT_C,r.FINDER_PAT_D,r.FINDER_PAT_D],[r.FINDER_PAT_A,r.FINDER_PAT_A,r.FINDER_PAT_B,r.FINDER_PAT_B,r.FINDER_PAT_C,r.FINDER_PAT_C,r.FINDER_PAT_D,r.FINDER_PAT_E,r.FINDER_PAT_E],[r.FINDER_PAT_A,r.FINDER_PAT_A,r.FINDER_PAT_B,r.FINDER_PAT_B,r.FINDER_PAT_C,r.FINDER_PAT_C,r.FINDER_PAT_D,r.FINDER_PAT_E,r.FINDER_PAT_F,r.FINDER_PAT_F],[r.FINDER_PAT_A,r.FINDER_PAT_A,r.FINDER_PAT_B,r.FINDER_PAT_B,r.FINDER_PAT_C,r.FINDER_PAT_D,r.FINDER_PAT_D,r.FINDER_PAT_E,r.FINDER_PAT_E,r.FINDER_PAT_F,r.FINDER_PAT_F]],r.MAX_PAIRS=11,r})(l.default);_e2.default=v},1158,[17,1118,1131,1111,1117,1099,1159,1160,1161,1162,1163,1164,1183,1184]);
76__d(function(g,r,_i,a,_m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=t(r(_d[2])),i=t(r(_d[3])),d=this&&this.__extends||(n=function(t,o){return n=Object.
76setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,o=n&&t[n],u=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&u>=t.length&&(t=void 0),{value:t&&t[u++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},f=(function(t){function n(){var n=t.call(this)||this;return n.decodeFinderCounters=new Int32Array(4),n.dataCharacterCounters=new Int32Array(8),n.oddRoundingErrors=new Array(4),n.evenRoundingErrors=new Array(4),n.oddCounts=new Array(n.dataCharacterCounters.length/2),n.evenCounts=new Array(n.dataCharacterCounters.length/2),n}return d(n,t),n.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},n.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},n.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},n.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},n.prototype.getOddCounts=function(){return this.oddCounts},n.prototype.getEvenCounts=function(){return this.evenCounts},n.prototype.parseFinderValue=function(t,o){for(var d=0;d<o.length;d++)if(i.default.patternMatchVariance(t,o[d],n.MAX_INDIVIDUAL_VARIANCE)<n.MAX_AVG_VARIANCE)return d;throw new u.default},n.count=function(t){return o.default.sum(new Int32Array(t))},n.increment=function(t,n){for(var o=0,u=n[0],i=1;i<t.length;i++)n[i]>u&&(u=n[i],o=i);t[o]++},n.decrement=function(t,n){for(var o=0,u=n[0],i=1;i<t.length;i++)n[i]<u&&(u=n[i],o=i);t[o]--},n.isFinderPattern=function(t){var o,u,i=t[0]+t[1],d=i/(i+t[2]+t[3]);if(d>=n.MIN_FINDER_PATTERN_RATIO&&d<=n.MAX_FINDER_PATTERN_RATIO){var f=Number.MAX_SAFE_INTEGER,s=Number.MIN_SAFE_INTEGER;try{for(var _=c(t),A=_.next();!A.done;A=_.next()){var l=A.value;l>s&&(s=l),l<f&&(f=l)}}catch(t){o={error:t}}finally{try{A&&!A.done&&(u=_.return)&&u.call(_)}finally{if(o)throw o.error}}return s<10*f}return!1},n.MAX_AVG_VARIANCE=.2,n.MAX_INDIVIDUAL_VARIANCE=.45,n.MIN_FINDER_PATTERN_RATIO=.7916666666666666,n.MAX_FINDER_PATTERN_RATIO=.8928571428571429,n})(i.default);e.default=f},1159,[17,1131,1111,1143]);
77__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(t,o){this.value=t,this.checksumPortion=o}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(o){if(!(o instanceof t))return!1;var n=o;return this.value===n.value&&this.checksumPortion===n.checksumPortion},t.prototype.hashCode=function(){return this.value^this.checksumPortion},t})();e.default=t},1160,[]);
78__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=(function(){function t(t,u,s,o,l){this.value=t,this.startEnd=u,this.value=t,this.startEnd=u,this.resultPoints=new Array,this.resultPoints.push(new n.default(s,l)),this.resultPoints.push(new n.default(o,l))}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(n){if(!(n instanceof t))return!1;var u=n;return this.value===u.value},t.prototype.hashCode=function(){return this.value},t})();e.default=u},1161,[17,1130]);
79__d(function(g,_r,_i,a,_m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=this&&this.__values||function(r){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&r[n],o=0;if(t)return t.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&o>=r.length&&(r=void 0),{value:r&&r[o++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},n=(function(){function n(){}return n.getRSSvalue=function(t,o,i){var f,l,u=0;try{for(var c=r(t),v=c.next();!v.done;v=c.next()){u+=v.value}}catch(r){f={error:r}}finally{try{v&&!v.done&&(l=c.return)&&l.call(c)}finally{if(f)throw f.error}}for(var b=0,s=0,y=t.length,h=0;h<y-1;h++){var m=void 0;for(m=1,s|=1<<h;m<t[h];m++,s&=~(1<<h)){var _=n.combins(u-m-1,y-h-2);if(i&&0===s&&u-m-(y-h-1)>=y-h-1&&(_-=n.combins(u-m-(y-h),y-h-2)),y-h-1>1){for(var S=0,p=u-m-(y-h-2);p>o;p--)S+=n.combins(u-m-p-1,y-h-3);_-=S*(y-1-h)}else u-m>o&&_--;b+=_}u-=m}return b}
79,n.combins=function(r,n){var t,o;r-n>n?(o=n,t=r-n):(o=r-n,t=n);for(var i=1,f=1,l=r;l>t;l--)i*=l,f<=o&&(i/=f,f++);for(;f<=o;)i/=f,f++;return i},n})();e.default=n},1162,[]);
80__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=(function(){function t(){}return t.buildBitArray=function(t){var u=2*t.length-1;null==t[t.length-1].getRightChar()&&(u-=1);for(var l=12*u,f=new n.default(l),i=0,h=t[0].getRightChar().getValue(),o=11;o>=0;--o)h&1<<o&&f.set(i),i++;for(o=1;o<t.length;++o){for(var v=t[o],c=v.getLeftChar().getValue(),C=11;C>=0;--C)c&1<<C&&f.set(i),i++;if(null!==v.getRightChar()){var s=v.getRightChar().getValue();for(C=11;C>=0;--C)s&1<<C&&f.set(i),i++}}return f},t})();e.default=u},1163,[17,1097]);
81__d(function(g,r,i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.createDecoder=function(e){try{if(e.get(1))return new n.default(e);if(!e.get(2))return new c.default(e);switch(u.default.extractNumericValueFromBitArray(e,1,4)){case 4:return new l.default(e);case 5:return new f.default(e)}switch(u.default.extractNumericValueFromBitArray(e,1,5)){case 12:return new w.default(e);case 13:return new s.default(e)}switch(u.default.extractNumericValueFromBitArray(e,1,7)){case 56:return new o.default(e,'310','11');case 57:return new o.default(e,'320','11');case 58:return new o.default(e,'310','13');case 59:return new o.default(e,'320','13');case 60:return new o.default(e,'310','15');case 61:return new o.default(e,'320','15');case 62:return new o.default(e,'310','17');case 63:return new o.default(e,'320','17')}}catch(u){throw console.log(u),new t.default('unknown decoder: '+e)}};var t=e(r(d[1])),u=e(r(d[2])),n=e(r(d[3])),c=e(r(d[4])),l=e(r(d[5])),f=e(r(d[6])),w=e(r(d[7])),s=e(r(d[8])),o=e(r(d[9]))},1164,[17,1128,1165,1172,1175,1176,1179,1180,1181,1182]);
82__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=t(r(d[1])),n=t(r(d[2])),o=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),h=t(r(d[8])),l=(function(){function t(t){this.buffer=new o.default,this.information=t}return t.prototype.decodeAllCodes=function(t,i){for(var n=i,o=null;;){var s=this.decodeGeneralPurposeField(n,o),u=h.default.parseFieldsInGeneralPurpose(s.getNewString());if(null!=u&&t.append(u),o=s.isRemaining()?''+s.getRemainingValue():null,n===s.getNewPosition())break;n=s.getNewPosition()}return t.toString()},t.prototype.isStillNumeric=function(t){if(t+7>this.information.getSize())return t+4<=this.information.getSize();for(var i=t;i<t+3;++i)if(this.information.get(i))return!0;return this.information.get(t+3)},t.prototype.decodeNumeric=function(t){if(t+7>this.information.getSize()){var i=this.extractNumericValueFromBitArray(t,4);return 0===i?new f.default(this.information.getSize(),f.default.FNC1,f.default.FNC1):new f.default(this.information.getSize(),i-1,f.default.FNC1)}var n=this.extractNumericValueFromBitArray(t,7),o=(n-8)/11,s=(n-8)%11;return new f.default(t+7,o,s)},t.prototype.extractNumericValueFromBitArray=function(i,n){return t.extractNumericValueFromBitArray(this.information,i,n)},t.extractNumericValueFromBitArray=function(t,i,n){for(var o=0,s=0;s<n;++s)t.get(i+s)&&(o|=1<<n-s-1);return o},t.prototype.decodeGeneralPurposeField=function(t,i){this.buffer.setLengthToZero(),null!=i&&this.buffer.append(i),this.current.setPosition(t);var n=this.parseBlocks();return null!=n&&n.isRemaining()?new c.default(this.current.getPosition(),this.buffer.toString(),n.getRemainingValue()):new c.default(this.current.getPosition(),this.buffer.toString())},t.prototype.parseBlocks=function(){var t,i;do{var n=this.current.getPosition();if(t=this.current.isAlpha()?(i=this.parseAlphaBlock()).isFinished():this.current.isIsoIec646()?(i=this.parseIsoIec646Block()).isFinished():(i=this.parseNumericBlock()).isFinished(),!(n!==this.current.getPosition())&&!t)break}while(!t);return i.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 i=void 0;return i=t.isSecondDigitFNC1()?new c.default(this.current.getPosition(),this.buffer.toString()):new c.default(this.current.getPosition(),this.buffer.toString(),t.getSecondDigit()),new s.default(!0,i)}if(this.buffer.append(t.getFirstDigit()),t.isSecondDigitFNC1()){i=new c.default(this.current.getPosition(),this.buffer.toString());return new s.default(!0,i)}this.buffer.append(t.getSecondDigit())}return this.isNumericToAlphaNumericLatch(this.current.getPosition())&&(this.current.setAlpha(),this.current.incrementPosition(4)),new s.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 i=new c.default(this.current.getPosition(),this.buffer.toString());return new s.default(!0,i)}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 s.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 i=new c.default(this.current.getPosition(),this.buffer.toString());return new s.default(!0,i)}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 s.default(!1)},t.prototype.isStillIsoIec646=function(t){if(t+5>this.information.getSize())return!1;var i=this.extractNumericValueFromBitArray(t,5);if(i>=5&&i<16)return!0;
82if(t+7>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(t,7);if(n>=64&&n<116)return!0;if(t+8>this.information.getSize())return!1;var o=this.extractNumericValueFromBitArray(t,8);return o>=232&&o<253},t.prototype.decodeIsoIec646=function(t){var n=this.extractNumericValueFromBitArray(t,5);if(15===n)return new u.default(t+5,u.default.FNC1);if(n>=5&&n<15)return new u.default(t+5,'0'+(n-5));var o,s=this.extractNumericValueFromBitArray(t,7);if(s>=64&&s<90)return new u.default(t+7,''+(s+1));if(s>=90&&s<116)return new u.default(t+7,''+(s+7));switch(this.extractNumericValueFromBitArray(t,8)){case 232:o='!';break;case 233:o='"';break;case 234:o='%';break;case 235:o='&';break;case 236:o='\'';break;case 237:o='(';break;case 238:o=')';break;case 239:o='*';break;case 240:o='+';break;case 241:o=',';break;case 242:o='-';break;case 243:o='.';break;case 244:o='/';break;case 245:o=':';break;case 246:o=';';break;case 247:o='<';break;case 248:o='=';break;case 249:o='>';break;case 250:o='?';break;case 251:o='_';break;case 252:o=' ';break;default:throw new i.default}return new u.default(t+8,o)},t.prototype.isStillAlpha=function(t){if(t+5>this.information.getSize())return!1;var i=this.extractNumericValueFromBitArray(t,5);if(i>=5&&i<16)return!0;if(t+6>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(t,6);return n>=16&&n<63},t.prototype.decodeAlphanumeric=function(t){var i=this.extractNumericValueFromBitArray(t,5);if(15===i)return new u.default(t+5,u.default.FNC1);if(i>=5&&i<15)return new u.default(t+5,'0'+(i-5));var o,s=this.extractNumericValueFromBitArray(t,6);if(s>=32&&s<58)return new u.default(t+6,''+(s+33));switch(s){case 58:o='*';break;case 59:o=',';break;case 60:o='-';break;case 61:o='.';break;case 62:o='/';break;default:throw new n.default('Decoding invalid alphanumeric value: '+s)}return new u.default(t+6,o)},t.prototype.isAlphaTo646ToAlphaLatch=function(t){if(t+1>this.information.getSize())return!1;for(var i=0;i<5&&i+t<this.information.getSize();++i)if(2===i){if(!this.information.get(t+2))return!1}else if(this.information.get(t+i))return!1;return!0},t.prototype.isAlphaOr646ToNumericLatch=function(t){if(t+3>this.information.getSize())return!1;for(var i=t;i<t+3;++i)if(this.information.get(i))return!1;return!0},t.prototype.isNumericToAlphaNumericLatch=function(t){if(t+1>this.information.getSize())return!1;for(var i=0;i<4&&i+t<this.information.getSize();++i)if(this.information.get(t+i))return!1;return!0},t})();e.default=l},1165,[17,1108,1128,1104,1166,1167,1169,1170,1171]);
83__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(){function n(n,t){t?this.decodedInformation=null:(this.finished=n,this.decodedInformation=t)}return n.prototype.getDecodedInformation=function(){return this.decodedInformation},n.prototype.isFinished=function(){return this.finished},n})();e.default=n},1166,[]);
84__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.
84setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(n,o){var u=t.call(this,n)||this;return u.value=o,u}return u(n,t),n.prototype.getValue=function(){return this.value},n.prototype.isFNC1=function(){return this.value===n.FNC1},n.FNC1='$',n})(o.default);e.default=c},1167,[17,1168]);
85__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(t){this.newPosition=t}return t.prototype.getNewPosition=function(){return this.newPosition},t})();e.default=t},1168,[]);
86__d(function(g,r,i,a,m,e,_d){var n=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,o=n(r(_d[1])),u=this&&this.__extends||(t=function(n,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o])},t(n,o)},function(n,o){function u(){this.constructor=n}t(n,o),n.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(n){function t(t,o,u){var c=n.call(this,t)||this;return u?(c.remaining=!0,c.remainingValue=c.remainingValue):(c.remaining=!1,c.remainingValue=0),c.newString=o,c}return u(t,n),t.prototype.getNewString=function(){return this.newString},t.prototype.isRemaining=function(){return this.remaining},t.prototype.getRemainingValue=function(){return this.remainingValue},t})(o.default);e.default=c},1169,[17,1168]);
87__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),s=t(r(_d[2])),u=this&&this.__extends||(n=function(t,o){return n=Object.
87setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function s(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(s.prototype=o.prototype,new s)}),c=(function(t){function n(n,s,u){var c=t.call(this,n)||this;if(s<0||s>10||u<0||u>10)throw new o.default;return c.firstDigit=s,c.secondDigit=u,c}return u(n,t),n.prototype.getFirstDigit=function(){return this.firstDigit},n.prototype.getSecondDigit=function(){return this.secondDigit},n.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},n.prototype.isFirstDigitFNC1=function(){return this.firstDigit===n.FNC1},n.prototype.isSecondDigitFNC1=function(){return this.secondDigit===n.FNC1},n.prototype.isAnyFNC1=function(){return this.firstDigit===n.FNC1||this.secondDigit===n.FNC1},n.FNC1=10,n})(s.default);e.default=c},1170,[17,1108,1168]);
88__d(function(g,r,_i,a,_m2,e,d){var A=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var E=A(r(d[1])),L=this&&this.__values||function(A){var E="function"==typeof Symbol&&Symbol.iterator,L=E&&A[E],n=0;if(L)return L.call(A);if(A&&"number"==typeof A.length)return{next:function(){return A&&n>=A.length&&(A=void 0),{value:A&&A[n++],done:!A}}};throw new TypeError(E?"Object is not iterable.":"Symbol.iterator is not defined.")},n=(function(){function A(){}return A.parseFieldsInGeneralPurpose=function(n){var t,_,I,T,l,o,G,i;if(!n)return null;if(n.length<2)throw new E.default;var H=n.substring(0,2);try{for(var u=L(A.TWO_DIGIT_DATA_LENGTH),N=u.next();!N.done;N=u.next()){if((y=N.value)[0]===H)return y[1]===A.VARIABLE_LENGTH?A.processVariableAI(2,y[2],n):A.processFixedAI(2,y[1],n)}}catch(A){t={error:A}}finally{try{N&&!N.done&&(_=u.return)&&_.call(u)}finally{if(t)throw t.error}}if(n.length<3)throw new E.default;var s=n.substring(0,3);try{for(var R=L(A.THREE_DIGIT_DATA_LENGTH),V=R.next();!V.done;V=R.next()){if((y=V.value)[0]===s)return y[1]===A.VARIABLE_LENGTH?A.processVariableAI(3,y[2],n):A.processFixedAI(3,y[1],n)}}catch(A){I={error:A}}finally{try{V&&!V.done&&(T=R.return)&&T.call(R)}finally{if(I)throw I.error}}try{for(var f=L(A.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),B=f.next();!B.done;B=f.next()){if((y=B.value)[0]===s)return y[1]===A.VARIABLE_LENGTH?A.processVariableAI(4,y[2],n):A.processFixedAI(4,y[1],n)}}catch(A){l={error:A}}finally{try{B&&!B.done&&(o=f.return)&&o.call(f)}finally{if(l)throw l.error}}if(n.length<4)throw new E.default;var c=n.substring(0,4);try{for(var h=L(A.FOUR_DIGIT_DATA_LENGTH),v=h.next();!v.done;v=h.next()){var y;if((y=v.value)[0]===c)return y[1]===A.VARIABLE_LENGTH?A.processVariableAI(4,y[2],n):A.processFixedAI(4,y[1],n)}}catch(A){G={error:A}}finally{try{v&&!v.done&&(i=h.return)&&i.call(h)}finally{if(G)throw G.error}}throw new E.default},A.processFixedAI=function(L,n,t){if(t.length<L)throw new E.default;var _=t.substring(0,L);if(t.length<L+n)throw new E.default;var I=t.substring(L,L+n),T=t.substring(L+n),l='('+_+')'+I,o=A.parseFieldsInGeneralPurpose(T);return null==o?l:l+o},A.processVariableAI=function(E,L,n){var t,_=n.substring(0,E);t=n.length<E+L?n.length:E+L;var I=n.substring(E,t),T=n.substring(t),l='('+_+')'+I,o=A.parseFieldsInGeneralPurpose(T);return null==o?l:l+o},A.VARIABLE_LENGTH=[],A.TWO_DIGIT_DATA_LENGTH=[['00',18],['01',14],['02',14],['10',A.VARIABLE_LENGTH,20],['11',6],['12',6],['13',6],['15',6],['17',6],['20',2],['21',A.VARIABLE_LENGTH,20],['22',A.VARIABLE_LENGTH,29],['30',A.VARIABLE_LENGTH,8],['37',A.VARIABLE_LENGTH,8],['90',A.VARIABLE_LENGTH,30],['91',A.VARIABLE_LENGTH,30],['92',A.VARIABLE_LENGTH,30],['93',A.VARIABLE_LENGTH,30],['94',A.VARIABLE_LENGTH,30],['95',A.VARIABLE_LENGTH,30],['96',A.VARIABLE_LENGTH,30],['97',A.VARIABLE_LENGTH,3],['98',A.VARIABLE_LENGTH,30],['99',A.VARIABLE_LENGTH,30]],A.THREE_DIGIT_DATA_LENGTH=[['240',A.VARIABLE_LENGTH,30],['241',A.VARIABLE_LENGTH,30],['242',A.VARIABLE_LENGTH,6],['250',A.VARIABLE_LENGTH,30],['251',A.VARIABLE_LENGTH,30],['253',A.VARIABLE_LENGTH,17],['254',A.VARIABLE_LENGTH,20],['400',A.VARIABLE_LENGTH,30],['401',A.VARIABLE_LENGTH,30],['402',17],['403',A.VARIABLE_LENGTH,30],['410',13],['411',13],['412',13],['413',13],['414',13],['420',A.VARIABLE_LENGTH,20],['421',A.VARIABLE_LENGTH,15],['422',3],['423',A.VARIABLE_LENGTH,15],['424',3],['425',3],['426',3]],A.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',A.VARIABLE_LENGTH,15],['391',A.VARIABLE_LENGTH,18],['392',A.VARIABLE_LENGTH,15],['393',A.VARIABLE_LENGTH,18],['703',A.VARIABLE_LENGTH,30]],A.FOUR_DIGIT_DATA_LENGTH=[['7001',13],['7002',A.VARIABLE_LENGTH,30],['7003',10],['8001',14],['8002',A.VARIABLE_LENGTH,20],['8003',A.VARIABLE_LENGTH,30],['8004',A.VARIABLE_LENGTH,30],['8005',6],['8006',18],['8007',A.VARIABLE_LENGTH,30],['8008',A.VARIABLE_LENGTH,12],['8018',18],['802
880',A.VARIABLE_LENGTH,25],['8100',6],['8101',10],['8102',2],['8110',A.VARIABLE_LENGTH,70],['8200',A.VARIABLE_LENGTH,70]],A})();e.default=n},1171,[17,1111]);
89__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=t(r(_d[2])),c=this&&this.__extends||(n=function(t,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),p=(function(t){function n(n){return t.call(this,n)||this}return c(n,t),n.prototype.parseInformation=function(){var t=new u.default;t.append('(01)');var o=t.length(),c=this.getGeneralDecoder().extractNumericValueFromBitArray(n.HEADER_SIZE,4);return t.append(c),this.encodeCompressedGtinWithoutAI(t,n.HEADER_SIZE+4,o),this.getGeneralDecoder().decodeAllCodes(t,n.HEADER_SIZE+44)},n.HEADER_SIZE=4,n})(o.default);e.default=p},1172,[17,1173,1104]);
90__d(function(g,r,_i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),p=this&&this.__extends||(n=function(t,o){return n=Object.
90setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function p(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(p.prototype=o.prototype,new p)}),i=(function(t){function n(n){return t.call(this,n)||this}return p(n,t),n.prototype.encodeCompressedGtin=function(t,n){t.append('(01)');var o=t.length();t.append('9'),this.encodeCompressedGtinWithoutAI(t,n,o)},n.prototype.encodeCompressedGtinWithoutAI=function(t,o,p){for(var i=0;i<4;++i){var c=this.getGeneralDecoder().extractNumericValueFromBitArray(o+10*i,10);c/100==0&&t.append('0'),c/10==0&&t.append('0'),t.append(c)}n.appendCheckDigit(t,p)},n.appendCheckDigit=function(t,n){for(var o=0,p=0;p<13;p++){var i=t.charAt(p+n).charCodeAt(0)-'0'.charCodeAt(0);o+=1&p?i:3*i}10===(o=10-o%10)&&(o=0),t.append(o)},n.GTIN_SIZE=40,n})(o.default);e.default=i},1173,[17,1174]);
91__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=(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})();e.default=o},1174,[17,1165]);
92__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),u=t(r(_d[2])),c=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function u(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(u.prototype=n.prototype,new u)}),f=(function(t){function o(o){return t.call(this,o)||this}return c(o,t),o.prototype.parseInformation=function(){var t=new n.default;return this.getGeneralDecoder().decodeAllCodes(t,o.HEADER_SIZE)},o.HEADER_SIZE=5,o})(u.default);e.default=f},1175,[17,1104,1174]);
93__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),u=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function u(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(u.prototype=n.prototype,new u)}),c=(function(t){function o(o){return t.call(this,o)||this}return u(o,t),o.prototype.addWeightCode=function(t,o){t.append('(3103)')},o.prototype.checkWeight=function(t){return t},o})(n.default);e.default=c},1176,[17,1177]);
94__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=t(r(_d[2])),f=t(r(_d[3])),_=this&&this.__extends||(n=function(t,o){return n=Object.
94setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),E=(function(t){function n(n){return t.call(this,n)||this}return _(n,t),n.prototype.parseInformation=function(){if(this.getInformation().getSize()!==n.HEADER_SIZE+o.default.GTIN_SIZE+n.WEIGHT_SIZE)throw new f.default;var t=new u.default;return this.encodeCompressedGtin(t,n.HEADER_SIZE),this.encodeCompressedWeight(t,n.HEADER_SIZE+o.default.GTIN_SIZE,n.WEIGHT_SIZE),t.toString()},n.HEADER_SIZE=5,n.WEIGHT_SIZE=15,n})(o.default);e.default=E},1177,[17,1178,1104,1111]);
95__d(function(g,r,_i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),i=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function i(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),c=(function(t){function o(o){return t.call(this,o)||this}return i(o,t),o.prototype.encodeCompressedWeight=function(t,o,n){var i=this.getGeneralDecoder().extractNumericValueFromBitArray(o,n);this.addWeightCode(t,i);for(var c=this.checkWeight(i),u=1e5,p=0;p<5;++p)c/u===0&&t.append('0'),u/=10;t.append(c)},o})(n.default);e.default=c},1178,[17,1173]);
96__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.
96setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(n){return t.call(this,n)||this}return u(n,t),n.prototype.addWeightCode=function(t,n){n<1e4?t.append('(3202)'):t.append('(3203)')},n.prototype.checkWeight=function(t){return t<1e4?t:t-1e4},n})(o.default);e.default=c},1179,[17,1177]);
97__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=t(r(_d[2])),_=t(r(_d[3])),d=this&&this.__extends||(n=function(t,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),f=(function(t){function n(n){return t.call(this,n)||this}return d(n,t),n.prototype.parseInformation=function(){if(this.getInformation().getSize()<n.HEADER_SIZE+o.default.GTIN_SIZE)throw new u.default;var t=new _.default;this.encodeCompressedGtin(t,n.HEADER_SIZE);var d=this.getGeneralDecoder().extractNumericValueFromBitArray(n.HEADER_SIZE+o.default.GTIN_SIZE,n.LAST_DIGIT_SIZE);t.append('(392'),t.append(d),t.append(')');var f=this.getGeneralDecoder().decodeGeneralPurposeField(n.HEADER_SIZE+o.default.GTIN_SIZE+n.LAST_DIGIT_SIZE,null);return t.append(f.getNewString()),t.toString()},n.HEADER_SIZE=8,n.LAST_DIGIT_SIZE=2,n})(o.default);e.default=f},1180,[17,1173,1111,1104]);
98__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),_=t(r(_d[2])),I=t(r(_d[3])),E=this&&this.__extends||(n=function(t,o){return n=Object.
98setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function _(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(_.prototype=o.prototype,new _)}),u=(function(t){function n(n){return t.call(this,n)||this}return E(n,t),n.prototype.parseInformation=function(){if(this.getInformation().getSize()<n.HEADER_SIZE+o.default.GTIN_SIZE)throw new _.default;var t=new I.default;this.encodeCompressedGtin(t,n.HEADER_SIZE);var E=this.getGeneralDecoder().extractNumericValueFromBitArray(n.HEADER_SIZE+o.default.GTIN_SIZE,n.LAST_DIGIT_SIZE);t.append('(393'),t.append(E),t.append(')');var u=this.getGeneralDecoder().extractNumericValueFromBitArray(n.HEADER_SIZE+o.default.GTIN_SIZE+n.LAST_DIGIT_SIZE,n.FIRST_THREE_DIGITS_SIZE);u/100==0&&t.append('0'),u/10==0&&t.append('0'),t.append(u);var p=this.getGeneralDecoder().decodeGeneralPurposeField(n.HEADER_SIZE+o.default.GTIN_SIZE+n.LAST_DIGIT_SIZE+n.FIRST_THREE_DIGITS_SIZE,null);return t.append(p.getNewString()),t.toString()},n.HEADER_SIZE=8,n.LAST_DIGIT_SIZE=2,n.FIRST_THREE_DIGITS_SIZE=10,n})(o.default);e.default=u},1181,[17,1173,1111,1104]);
99__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),p=t(r(_d[2])),d=t(r(_d[3])),E=this&&this.__extends||(n=function(t,o){return n=Object.
99setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function p(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(p.prototype=o.prototype,new p)}),s=(function(t){function n(n,o,p){var d=t.call(this,n)||this;return d.dateCode=p,d.firstAIdigits=o,d}return E(n,t),n.prototype.parseInformation=function(){if(this.getInformation().getSize()!==n.HEADER_SIZE+n.GTIN_SIZE+n.WEIGHT_SIZE+n.DATE_SIZE)throw new p.default;var t=new d.default;return this.encodeCompressedGtin(t,n.HEADER_SIZE),this.encodeCompressedWeight(t,n.HEADER_SIZE+n.GTIN_SIZE,n.WEIGHT_SIZE),this.encodeCompressedDate(t,n.HEADER_SIZE+n.GTIN_SIZE+n.WEIGHT_SIZE),t.toString()},n.prototype.encodeCompressedDate=function(t,o){var p=this.getGeneralDecoder().extractNumericValueFromBitArray(o,n.DATE_SIZE);if(38400!==p){t.append('('),t.append(this.dateCode),t.append(')');var d=p%32,E=(p/=32)%12+1,s=p/=12;s/10==0&&t.append('0'),t.append(s),E/10==0&&t.append('0'),t.append(E),d/10==0&&t.append('0'),t.append(d)}},n.prototype.addWeightCode=function(t,n){t.append('('),t.append(this.firstAIdigits),t.append(n/1e5),t.append(')')},n.prototype.checkWeight=function(t){return t%1e5},n.HEADER_SIZE=8,n.WEIGHT_SIZE=20,n.DATE_SIZE=16,n})(o.default);e.default=s},1182,[17,1178,1111,1104]);
100__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(t,n,u,h){this.leftchar=t,this.rightchar=n,this.finderpattern=u,this.maybeLast=h}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(n,u){return n instanceof t&&(t.equalsOrNull(n.leftchar,u.leftchar)&&t.equalsOrNull(n.rightchar,u.rightchar)&&t.equalsOrNull(n.finderpattern,u.finderpattern))},t.equalsOrNull=function(n,u){return null===n?null===u:t.equals(n,u)},t.prototype.hashCode=function(){return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()},t})();e.default=t},1183,[]);
101__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(t,i,n){this.pairs=t,this.rowNumber=i,this.wasReversed=n}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(i,n){return i instanceof t&&(this.checkEqualitity(i,n)&&i.wasReversed===n.wasReversed)},t.prototype.checkEqualitity=function(t,i){var n;if(t&&i)return t.forEach(function(t,u){i.forEach(function(i){t.getLeftChar().getValue()===i.getLeftChar().getValue()&&t.getRightChar().getValue()===i.getRightChar().getValue()&&t.getFinderPatter().getValue()===i.getFinderPatter().getValue()&&(n=!0)})}),n},t})();e.default=t},1184,[]);
102__d(function(g,r,_i,a,_m,e,_d2){var t=r(_d2[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d2[1])),i=t(r(_d2[2])),u=t(r(_d2[3])),l=t(r(_d2[4])),f=t(r(_d2[5])),d=t(r(_d2[6])),s=t(r(_d2[7])),h=t(r(_d2[8])),c=t(r(_d2[9])),v=t(r(_d2[10])),S=t(r(_d2[11])),y=t(r(_d2[12])),p=t(r(_d2[13])),E=t(r(_d2[14])),w=this&&this.__extends||(n=function(t,o){return n=Object.
102setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function i(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}),_=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,o=n&&t[n],i=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},I=(function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.possibleLeftPairs=[],n.possibleRightPairs=[],n}return w(n,t),n.prototype.decodeRow=function(t,o,i){var u,l,d,s,h=this.decodePair(o,!1,t,i);n.addOrTally(this.possibleLeftPairs,h),o.reverse();var c=this.decodePair(o,!0,t,i);n.addOrTally(this.possibleRightPairs,c),o.reverse();try{for(var v=_(this.possibleLeftPairs),S=v.next();!S.done;S=v.next()){var y=S.value;if(y.getCount()>1)try{for(var p=(d=void 0,_(this.possibleRightPairs)),E=p.next();!E.done;E=p.next()){var w=E.value;if(w.getCount()>1&&n.checkChecksum(y,w))return n.constructResult(y,w)}}catch(t){d={error:t}}finally{try{E&&!E.done&&(s=p.return)&&s.call(p)}finally{if(d)throw d.error}}}}catch(t){u={error:t}}finally{try{S&&!S.done&&(l=v.return)&&l.call(v)}finally{if(u)throw u.error}}throw new f.default},n.addOrTally=function(t,n){var o,i;if(null!=n){var u=!1;try{for(var l=_(t),f=l.next();!f.done;f=l.next()){var d=f.value;if(d.getValue()===n.getValue()){d.incrementCount(),u=!0;break}}}catch(t){o={error:t}}finally{try{f&&!f.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}u||t.push(n)}},n.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},n.constructResult=function(t,n){for(var o=4537077*t.getValue()+n.getValue(),i=new String(o).toString(),l=new d.default,f=13-i.length;f>0;f--)l.append('0');l.append(i);var h=0;for(f=0;f<13;f++){var c=l.charAt(f).charCodeAt(0)-'0'.charCodeAt(0);h+=1&f?c:3*c}10===(h=10-h%10)&&(h=0),l.append(h.toString());var v=t.getFinderPattern().getResultPoints(),S=n.getFinderPattern().getResultPoints();return new u.default(l.toString(),null,0,[v[0],v[1],S[0],S[1]],s.default.RSS_14,(new Date).getTime())},n.checkChecksum=function(t,n){var o=(t.getChecksumPortion()+16*n.getChecksumPortion())%79,i=9*t.getFinderPattern().getValue()+n.getFinderPattern().getValue();return i>72&&i--,i>8&&i--,o===i},n.prototype.decodePair=function(t,n,o,u){try{var f=this.findFinderPattern(t,n),d=this.parseFoundFinderPattern(t,o,n,f),s=null==u?null:u.get(l.default.NEED_RESULT_POINT_CALLBACK);if(null!=s){var c=(f[0]+f[1])/2;n&&(c=t.getSize()-1-c),s.foundPossibleResultPoint(new h.default(c,o))}var v=this.decodeDataCharacter(t,d,!0),S=this.decodeDataCharacter(t,d,!1);return new i.default(1597*v.getValue()+S.getValue(),v.getChecksumPortion()+4*S.getChecksumPortion(),d)}catch(t){return null}},n.prototype.decodeDataCharacter=function(t,o,i){for(var u=this.getDataCharacterCounters(),l=0;l<u.length;l++)u[l]=0;if(i)E.default.recordPatternInReverse(t,o.getStartEnd()[0],u);else{E.default.recordPattern(t,o.getStartEnd()[1]+1,u);for(var d=0,s=u.length-1;d<s;d++,s--){var h=u[d];u[d]=u[s],u[s]=h}}var c=i?16:15,p=S.default.sum(new Int32Array(u))/c,w=this.getOddCounts(),_=this.getEvenCounts(),I=this.getOddRoundingErrors(),D=this.getEvenRoundingErrors();for(d=0;d<u.length;d++){var O=u[d]/p,P=Math.floor(O+.5);P<1?P=1:P>8&&(P=8);var T=Math.floor(d/2);1&d?(_[T]=P,D[T]=O-P):(w[T]=P,I[T]=O-P)}this.adjustOddEvenCounts(i,c);var C=0,m=0;for(d=w.length-1;d>=0;d--)m*=9,m+=w[d],C+=w[d];var R=0,A=0;for(d=_.length-1;d>=0;d--)R*=9,R+=_[d],A+=_[d];var b=m+3*R;if(i){if(1&C||C>12||C<4)throw new f.default;var F=(12-C)/2,U=9-(x=n.OUTSIDE_ODD_WIDEST[F]),N=y.default.getRSSvalue(w,x,!1),L=y.default.getRSSvalue(_,U,!0),V=n.OUTSIDE_EVEN_TOTAL_SUBSET[F],k=n.OUTSIDE_GSUM[F];return new v.default(N*V+L+k,b)}if(1&A||A>10||A<4)throw new f.default;F=(10-A)/2,U=9-(x=n.INSIDE_ODD_WIDEST[F]),N=y.default.getRSSvalue(w,x,!0),L=y.default.getRSSvalue(_,U,!1);var x,M=n.INSIDE_ODD_TOTAL_SUBSET[F];k=n.INSIDE_GSUM[F];return new v.default(L*M+N+k,b)},n.prototype.findFinderPattern=function(t,n){var i=this.getDecodeFinderCounters();i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var u=t.getSize(),l=!1,d=0;d<u&&n!==(l=!t.get(d));)d++;for(var s=0,h=d,c=d;c<u;c++)if(t.get(c)!==l)i[s]++;else{if(3===s){if(o.default.isFinderPattern(i))return[h,c];h+=i[0]+i[1],i[0]=i[2],i[1]=i[3],i[2]=0,i[3]=0,s--}else s++;i[s]=1,l=!l}throw new f.default},n.prototype.parseFoundFinderPattern=function(t,o,i,u){for(var l=t.get(u[0]),f=u[0]-1;f>=0&&l!==t.get(f);)f--;f++;var d=u[0]-f,s=this.getDecodeFinderCounters(),h=new Int32Array(s.length);p.default.arraycopy(s,0,h,1,s.length-1),h[0]=d;var v=this.parseFinderValue(h,n.FINDER_PATTERNS),S=f,y=u[1];return i&&(S=t.getSize()-1-S,y=t.getSize()-1-y),new c.default(v,[f,u[1]],S,y,o)},n.prototype.adjustOddEvenCounts=function(t,n){var i=S.default.sum(new Int32Array(this.getOddCounts())),u=S.default.sum(new Int32Array(this.getEvenCounts())),l=!1,d=!1,s=!1,h=!1;t?(i>12?d=!0:i<4&&(l=!0),u>12?h=!0:u<4&&(s=!0)):(i>11?d=!0:i<5&&(l=!0),u>10?h=!0:u<4&&(s=!0));var c=i+u-n,v=(1&i)==(t?1:0),y=!(1&~u);if(1===c)if(v){if(y)throw new f.default;d=!0}else{if(!y)throw new f.default;h=!0}else if(-1===c)if(v){if(y)throw new f.default;l=!0}else{if(!y)throw new f.default;s=!0}else{if(0!==c)throw new f.default;if(v){if(!y)throw new f.default;i<u?(l=!0,h=!0):(d=!0,s=!0)}else if(y)throw new f.default}if(l){if(d)throw new f.default;o.default.increment(this.getOddCounts(),this.getOddRoundingErrors())}
102if(d&&o.default.decrement(this.getOddCounts(),this.getOddRoundingErrors()),s){if(h)throw new f.default;o.default.increment(this.getEvenCounts(),this.getOddRoundingErrors())}h&&o.default.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},n.OUTSIDE_EVEN_TOTAL_SUBSET=[1,10,34,70,126],n.INSIDE_ODD_TOTAL_SUBSET=[4,20,48,81],n.OUTSIDE_GSUM=[0,161,961,2015,2715],n.INSIDE_GSUM=[0,336,1036,1516],n.OUTSIDE_ODD_WIDEST=[8,6,4,3,1],n.INSIDE_ODD_WIDEST=[2,4,6,8],n.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])],n})(o.default);e.default=I},1185,[17,1159,1186,1117,1106,1111,1104,1118,1130,1161,1160,1131,1162,1099,1143]);
103__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(n,o,u){var c=t.call(this,n,o)||this;return c.count=0,c.finderPattern=u,c}return u(n,t),n.prototype.getFinderPattern=function(){return this.finderPattern},n.prototype.getCount=function(){return this.count},n.prototype.incrementCount=function(){this.count++},n})(o.default);e.default=c},1186,[17,1160]);
104__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserDatamatrixCodeReader=void 0;var o,n=r(_d[1]),c=t(r(_d[2])),u=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function c(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(c.prototype=n.prototype,new c)});e.BrowserDatamatrixCodeReader=(function(t){function o(o){return void 0===o&&(o=500),t.call(this,new c.default,o)||this}return u(o,t),o})(n.BrowserCodeReader)},1187,[17,1087,1188]);
105__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),n=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),f=t(r(d[5])),c=t(r(d[6])),v=t(r(d[7])),s=t(r(d[8])),w=t(r(d[9])),h=(function(){function t(){this.decoder=new s.default}return t.prototype.decode=function(n,o){var s,h;if(void 0===o&&(o=null),null!=o&&o.has(l.default.PURE_BARCODE)){var B=t.extractPureBits(n.getBlackMatrix());s=this.decoder.decode(B),h=t.NO_POINTS}else{var O=new w.default(n.getBlackMatrix()).detect();s=this.decoder.decode(O.getBits()),h=O.getPoints()}var _=s.getRawBytes(),E=new f.default(s.getText(),_,8*_.length,h,u.default.DATA_MATRIX,v.default.currentTimeMillis()),R=s.getByteSegments();null!=R&&E.putMetadata(c.default.BYTE_SEGMENTS,R);var T=s.getECLevel();return null!=T&&E.putMetadata(c.default.ERROR_CORRECTION_LEVEL,T),E},t.prototype.reset=function(){},t.extractPureBits=function(t){var u=t.getTopLeftOnBit(),l=t.getBottomRightOnBit();if(null==u||null==l)throw new o.default;var f=this.moduleSize(u,t),c=u[1],v=l[1],s=u[0],w=(l[0]-s+1)/f,h=(v-c+1)/f;if(w<=0||h<=0)throw new o.default;var B=f/2;c+=B,s+=B;for(var O=new n.default(w,h),_=0;_<h;_++)for(var E=c+_*f,R=0;R<w;R++)t.get(s+R*f,E)&&O.set(R,_);return O},t.moduleSize=function(t,u){for(var n=u.getWidth(),l=t[0],f=t[1];l<n&&u.get(l,f);)l++;if(l===n)throw new o.default;var c=l-t[0];if(0===c)throw new o.default;return c},t.NO_POINTS=[],t})();e.default=h},1188,[17,1118,1103,1106,1111,1117,1119,1099,1189,1195]);
106__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=t(r(d[2])),l=t(r(d[3])),u=t(r(d[4])),f=t(r(d[5])),i=t(r(d[6])),c=this&&this.__values||function(t){var o="function"==typeof Symbol&&Symbol.iterator,n=o&&t[o],l=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&l>=t.length&&(t=void 0),{value:t&&t[l++],done:!t}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},s=(function(){function t(){this.rsDecoder=new l.default(n.default.DATA_MATRIX_FIELD_256)}return t.prototype.decode=function(t){var o,n,l=new u.default(t),s=l.getVersion(),v=l.readCodewords(),y=f.default.getDataBlocks(v,s),h=0;try{for(var w=c(y),_=w.next();!_.done;_=w.next()){h+=_.value.getNumDataCodewords()}}catch(t){o={error:t}}finally{try{_&&!_.done&&(n=w.return)&&n.call(w)}finally{if(o)throw o.error}}for(var p=new Uint8Array(h),b=y.length,D=0;D<b;D++){var m=y[D],A=m.getCodewords(),C=m.getNumDataCodewords();this.correctErrors(A,C);for(var E=0;E<C;E++)p[E*b+D]=A[E]}return i.default.decode(p)},t.prototype.correctErrors=function(t,n){var l=new Int32Array(t);try{this.rsDecoder.decode(l,t.length-n)}catch(t){throw new o.default}for(var u=0;u<n;u++)t[u]=l[u]},t})();e.default=s},1189,[17,1093,1122,1126,1190,1192,1193]);
107__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);
107Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=t(r(d[1])),o=t(r(d[2])),s=t(r(d[3])),n=t(r(d[4])),h=(function(){function t(o){var n=o.getHeight();if(n<8||n>144||1&n)throw new s.default;this.version=t.readVersion(o),this.mappingBitMatrix=this.extractDataRegion(o),this.readMappingMatrix=new i.default(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return t.prototype.getVersion=function(){return this.version},t.readVersion=function(t){var i=t.getHeight(),s=t.getWidth();return o.default.getVersionForDimensions(i,s)},t.prototype.readCodewords=function(){var t=new Int8Array(this.version.getTotalCodewords()),i=0,o=4,n=0,h=this.mappingBitMatrix.getHeight(),u=this.mappingBitMatrix.getWidth(),l=!1,M=!1,p=!1,f=!1;do{if(o!==h||0!==n||l)if(o===h-2&&0===n&&3&u&&!M)t[i++]=255&this.readCorner2(h,u),o-=2,n+=2,M=!0;else if(o!==h+4||2!==n||7&u||p)if(o!==h-2||0!==n||4!=(7&u)||f){do{o<h&&n>=0&&!this.readMappingMatrix.get(n,o)&&(t[i++]=255&this.readUtah(o,n,h,u)),o-=2,n+=2}while(o>=0&&n<u);o+=1,n+=3;do{o>=0&&n<u&&!this.readMappingMatrix.get(n,o)&&(t[i++]=255&this.readUtah(o,n,h,u)),o+=2,n-=2}while(o<h&&n>=0);o+=3,n+=1}else t[i++]=255&this.readCorner4(h,u),o-=2,n+=2,f=!0;else t[i++]=255&this.readCorner3(h,u),o-=2,n+=2,p=!0;else t[i++]=255&this.readCorner1(h,u),o-=2,n+=2,l=!0}while(o<h||n<u);if(i!==this.version.getTotalCodewords())throw new s.default;return t},t.prototype.readModule=function(t,i,o,s){return t<0&&(t+=o,i+=4-(o+4&7)),i<0&&(i+=s,t+=4-(s+4&7)),this.readMappingMatrix.set(i,t),this.mappingBitMatrix.get(i,t)},t.prototype.readUtah=function(t,i,o,s){var n=0;return this.readModule(t-2,i-2,o,s)&&(n|=1),n<<=1,this.readModule(t-2,i-1,o,s)&&(n|=1),n<<=1,this.readModule(t-1,i-2,o,s)&&(n|=1),n<<=1,this.readModule(t-1,i-1,o,s)&&(n|=1),n<<=1,this.readModule(t-1,i,o,s)&&(n|=1),n<<=1,this.readModule(t,i-2,o,s)&&(n|=1),n<<=1,this.readModule(t,i-1,o,s)&&(n|=1),n<<=1,this.readModule(t,i,o,s)&&(n|=1),n},t.prototype.readCorner1=function(t,i){var o=0;return this.readModule(t-1,0,t,i)&&(o|=1),o<<=1,this.readModule(t-1,1,t,i)&&(o|=1),o<<=1,this.readModule(t-1,2,t,i)&&(o|=1),o<<=1,this.readModule(0,i-2,t,i)&&(o|=1),o<<=1,this.readModule(0,i-1,t,i)&&(o|=1),o<<=1,this.readModule(1,i-1,t,i)&&(o|=1),o<<=1,this.readModule(2,i-1,t,i)&&(o|=1),o<<=1,this.readModule(3,i-1,t,i)&&(o|=1),o},t.prototype.readCorner2=function(t,i){var o=0;return this.readModule(t-3,0,t,i)&&(o|=1),o<<=1,this.readModule(t-2,0,t,i)&&(o|=1),o<<=1,this.readModule(t-1,0,t,i)&&(o|=1),o<<=1,this.readModule(0,i-4,t,i)&&(o|=1),o<<=1,this.readModule(0,i-3,t,i)&&(o|=1),o<<=1,this.readModule(0,i-2,t,i)&&(o|=1),o<<=1,this.readModule(0,i-1,t,i)&&(o|=1),o<<=1,this.readModule(1,i-1,t,i)&&(o|=1),o},t.prototype.readCorner3=function(t,i){var o=0;return this.readModule(t-1,0,t,i)&&(o|=1),o<<=1,this.readModule(t-1,i-1,t,i)&&(o|=1),o<<=1,this.readModule(0,i-3,t,i)&&(o|=1),o<<=1,this.readModule(0,i-2,t,i)&&(o|=1),o<<=1,this.readModule(0,i-1,t,i)&&(o|=1),o<<=1,this.readModule(1,i-3,t,i)&&(o|=1),o<<=1,this.readModule(1,i-2,t,i)&&(o|=1),o<<=1,this.readModule(1,i-1,t,i)&&(o|=1),o},t.prototype.readCorner4=function(t,i){var o=0;return this.readModule(t-3,0,t,i)&&(o|=1),o<<=1,this.readModule(t-2,0,t,i)&&(o|=1),o<<=1,this.readModule(t-1,0,t,i)&&(o|=1),o<<=1,this.readModule(0,i-2,t,i)&&(o|=1),o<<=1,this.readModule(0,i-1,t,i)&&(o|=1),o<<=1,this.readModule(1,i-1,t,i)&&(o|=1),o<<=1,this.readModule(2,i-1,t,i)&&(o|=1),o<<=1,this.readModule(3,i-1,t,i)&&(o|=1),o},t.prototype.extractDataRegion=function(t){var o=this.version.getSymbolSizeRows(),s=this.version.getSymbolSizeColumns();if(t.getHeight()!==o)throw new n.default('Dimension of bitMatrix must match the version size');for(var h=this.version.getDataRegionSizeRows(),u=this.version.getDataRegionSizeColumns(),l=o/h|0,M=s/u|0,p=l*h,f=M*u,v=new i.default(f,p),c=0;c<l;++c)for(var w=c*h,x=0;x<M;++x)for(var y=x*u,C=0;C<h;++C)for(var B=c*(h+2)+1+C,D=w+C,R=0;R<u;++R){var S=x*(u+2)+1+R;if(t.get(S,B)){var z=y+R;v.set(z,D)}}return v},t})();e.default=h},1190,[17,1103,1191,1108,1092]);
108__d(function(g,r,_i,a,_m,e,d){var n=r(d[0]);
108Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ECBlocks=e.ECB=void 0;var t=n(r(d[1])),o=this&&this.__values||function(n){var t="function"==typeof Symbol&&Symbol.iterator,o=t&&n[t],w=0;if(o)return o.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&w>=n.length&&(n=void 0),{value:n&&n[w++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=e.ECBlocks=(function(){function n(n,t,o){this.ecCodewords=n,this.ecBlocks=[t],o&&this.ecBlocks.push(o)}return n.prototype.getECCodewords=function(){return this.ecCodewords},n.prototype.getECBlocks=function(){return this.ecBlocks},n})(),i=e.ECB=(function(){function n(n,t){this.count=n,this.dataCodewords=t}return n.prototype.getCount=function(){return this.count},n.prototype.getDataCodewords=function(){return this.dataCodewords},n})(),s=(function(){function n(n,t,w,i,s,u){var l,c;this.versionNumber=n,this.symbolSizeRows=t,this.symbolSizeColumns=w,this.dataRegionSizeRows=i,this.dataRegionSizeColumns=s,this.ecBlocks=u;var f=0,h=u.getECCodewords(),y=u.getECBlocks();try{for(var p=o(y),C=p.next();!C.done;C=p.next()){var m=C.value;f+=m.getCount()*(m.getDataCodewords()+h)}}catch(n){l={error:n}}finally{try{C&&!C.done&&(c=p.return)&&c.call(p)}finally{if(l)throw l.error}}this.totalCodewords=f}return n.prototype.getVersionNumber=function(){return this.versionNumber},n.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},n.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},n.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},n.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},n.prototype.getTotalCodewords=function(){return this.totalCodewords},n.prototype.getECBlocks=function(){return this.ecBlocks},n.getVersionForDimensions=function(w,i){var s,u;if(1&w||1&i)throw new t.default;try{for(var l=o(n.VERSIONS),c=l.next();!c.done;c=l.next()){var f=c.value;if(f.symbolSizeRows===w&&f.symbolSizeColumns===i)return f}}catch(n){s={error:n}}finally{try{c&&!c.done&&(u=l.return)&&u.call(l)}finally{if(s)throw s.error}}throw new t.default},n.prototype.toString=function(){return''+this.versionNumber},n.buildVersions=function(){return[new n(1,10,10,8,8,new w(5,new i(1,3))),new n(2,12,12,10,10,new w(7,new i(1,5))),new n(3,14,14,12,12,new w(10,new i(1,8))),new n(4,16,16,14,14,new w(12,new i(1,12))),new n(5,18,18,16,16,new w(14,new i(1,18))),new n(6,20,20,18,18,new w(18,new i(1,22))),new n(7,22,22,20,20,new w(20,new i(1,30))),new n(8,24,24,22,22,new w(24,new i(1,36))),new n(9,26,26,24,24,new w(28,new i(1,44))),new n(10,32,32,14,14,new w(36,new i(1,62))),new n(11,36,36,16,16,new w(42,new i(1,86))),new n(12,40,40,18,18,new w(48,new i(1,114))),new n(13,44,44,20,20,new w(56,new i(1,144))),new n(14,48,48,22,22,new w(68,new i(1,174))),new n(15,52,52,24,24,new w(42,new i(2,102))),new n(16,64,64,14,14,new w(56,new i(2,140))),new n(17,72,72,16,16,new w(36,new i(4,92))),new n(18,80,80,18,18,new w(48,new i(4,114))),new n(19,88,88,20,20,new w(56,new i(4,144))),new n(20,96,96,22,22,new w(68,new i(4,174))),new n(21,104,104,24,24,new w(56,new i(6,136))),new n(22,120,120,18,18,new w(68,new i(6,175))),new n(23,132,132,20,20,new w(62,new i(8,163))),new n(24,144,144,22,22,new w(62,new i(8,156),new i(2,155))),new n(25,8,18,6,16,new w(7,new i(1,5))),new n(26,8,32,6,14,new w(11,new i(1,10))),new n(27,12,26,10,24,new w(14,new i(1,16))),new n(28,12,36,10,16,new w(18,new i(1,22))),new n(29,16,36,14,16,new w(24,new i(1,32))),new n(30,16,48,14,22,new w(28,new i(1,49)))]},n.VERSIONS=n.buildVersions(),n})();e.default=s},1191,[17,1108]);
109__d(function(g,r,_i,a,_m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(r(d[1])),n=this&&this.__values||function(o){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&o[t],i=0;if(n)return n.call(o);if(o&&"number"==typeof o.length)return{next:function(){return o&&i>=o.length&&(o=void 0),{value:o&&o[i++],done:!o}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=(function(){function o(o,t){this.numDataCodewords=o,this.codewords=t}return o.getDataBlocks=function(i,l){var u,f,c,s,w=l.getECBlocks(),v=0,y=w.getECBlocks();try{for(var h=n(y),C=h.next();!C.done;C=h.next()){v+=(x=C.value).getCount()}}catch(o){u={error:o}}finally{try{C&&!C.done&&(f=h.return)&&f.call(h)}finally{if(u)throw u.error}}var b=new Array(v),m=0;try{for(var p=n(y),_=p.next();!_.done;_=p.next())for(var x=_.value,D=0;D<x.getCount();D++){var E=x.getDataCodewords(),k=w.getECCodewords()+E;b[m++]=new o(E,new Uint8Array(k))}}catch(o){c={error:o}}finally{try{_&&!_.done&&(s=p.return)&&s.call(p)}finally{if(c)throw c.error}}var B=b[0].codewords.length-w.getECCodewords(),S=B-1,j=0;for(D=0;D<S;D++)for(var A=0;A<m;A++)b[A].codewords[D]=i[j++];var N=24===l.getVersionNumber(),O=N?8:m;for(A=0;A<O;A++)b[A].codewords[B-1]=i[j++];var M=b[0].codewords.length;for(D=B;D<M;D++)for(A=0;A<m;A++){var P=N?(A+8)%m:A,T=N&&P>7?D-1:D;b[P].codewords[T]=i[j++]}if(j!==i.length)throw new t.default;return b},o.prototype.getNumDataCodewords=function(){return this.numDataCodewords}
109,o.prototype.getCodewords=function(){return this.codewords},o})();e.default=i},1192,[17,1092]);
110__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=t(r(d[1])),C=t(r(d[2])),o=t(r(d[3])),s=t(r(d[4])),E=t(r(d[5])),S=t(r(d[6])),f=t(r(d[7]));!(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 h=(function(){function t(){}return t.decode=function(t){var s=new C.default(t),E=new o.default,f=new o.default,h=new Array,l=n.ASCII_ENCODE;do{if(l===n.ASCII_ENCODE)l=this.decodeAsciiSegment(s,E,f);else{switch(l){case n.C40_ENCODE:this.decodeC40Segment(s,E);break;case n.TEXT_ENCODE:this.decodeTextSegment(s,E);break;case n.ANSIX12_ENCODE:this.decodeAnsiX12Segment(s,E);break;case n.EDIFACT_ENCODE:this.decodeEdifactSegment(s,E);break;case n.BASE256_ENCODE:this.decodeBase256Segment(s,E,h);break;default:throw new S.default}l=n.ASCII_ENCODE}}while(l!==n.PAD_ENCODE&&s.available()>0);return f.length()>0&&E.append(f.toString()),new i.default(t,E.toString(),0===h.length?null:h,null)},t.decodeAsciiSegment=function(t,i,C){var o=!1;do{var s=t.readBits(8);if(0===s)throw new S.default;if(s<=128)return o&&(s+=128),i.append(String.fromCharCode(s-1)),n.ASCII_ENCODE;if(129===s)return n.PAD_ENCODE;if(s<=229){var E=s-130;E<10&&i.append('0'),i.append(''+E)}else switch(s){case 230:return n.C40_ENCODE;case 231:return n.BASE256_ENCODE;case 232:i.append(String.fromCharCode(29));break;case 233:case 234:case 241:break;case 235:o=!0;break;case 236:i.append('[)>\x1e05\x1d'),C.insert(0,'\x1e\x04');break;case 237:i.append('[)>\x1e06\x1d'),C.insert(0,'\x1e\x04');break;case 238:return n.ANSIX12_ENCODE;case 239:return n.TEXT_ENCODE;case 240:return n.EDIFACT_ENCODE;default:if(254!==s||0!==t.available())throw new S.default}}while(t.available()>0);return n.ASCII_ENCODE},t.decodeC40Segment=function(t,n){var i=!1,C=[],o=0;do{if(8===t.available())return;var s=t.readBits(8);if(254===s)return;this.parseTwoBytes(s,t.readBits(8),C);for(var E=0;E<3;E++){var f=C[E];switch(o){case 0:if(f<3)o=f+1;else{if(!(f<this.C40_BASIC_SET_CHARS.length))throw new S.default;var h=this.C40_BASIC_SET_CHARS[f];i?(n.append(String.fromCharCode(h.charCodeAt(0)+128)),i=!1):n.append(h)}break;case 1:i?(n.append(String.fromCharCode(f+128)),i=!1):n.append(String.fromCharCode(f)),o=0;break;case 2:if(f<this.C40_SHIFT2_SET_CHARS.length){h=this.C40_SHIFT2_SET_CHARS[f];i?(n.append(String.fromCharCode(h.charCodeAt(0)+128)),i=!1):n.append(h)}else switch(f){case 27:n.append(String.fromCharCode(29));break;case 30:i=!0;break;default:throw new S.default}o=0;break;case 3:i?(n.append(String.fromCharCode(f+224)),i=!1):n.append(String.fromCharCode(f+96)),o=0;break;default:throw new S.default}}}while(t.available()>0)},t.decodeTextSegment=function(t,n){var i=!1,C=[],o=0;do{if(8===t.available())return;var s=t.readBits(8);if(254===s)return;this.parseTwoBytes(s,t.readBits(8),C);for(var E=0;E<3;E++){var f=C[E];switch(o){case 0:if(f<3)o=f+1;else{if(!(f<this.TEXT_BASIC_SET_CHARS.length))throw new S.default;var h=this.TEXT_BASIC_SET_CHARS[f];i?(n.append(String.fromCharCode(h.charCodeAt(0)+128)),i=!1):n.append(h)}break;case 1:i?(n.append(String.fromCharCode(f+128)),i=!1):n.append(String.fromCharCode(f)),o=0;break;case 2:if(f<this.TEXT_SHIFT2_SET_CHARS.length){h=this.TEXT_SHIFT2_SET_CHARS[f];i?(n.append(String.fromCharCode(h.charCodeAt(0)+128)),i=!1):n.append(h)}else switch(f){case 27:n.append(String.fromCharCode(29));break;case 30:i=!0;break;default:throw new S.default}o=0;break;case 3:if(!(f<this.TEXT_SHIFT3_SET_CHARS.length))throw new S.default;h=this.TEXT_SHIFT3_SET_CHARS[f];i?(n.append(String.fromCharCode(h.charCodeAt(0)+128)),i=!1):n.append(h),o=0;break;default:throw new S.default}}}while(t.available()>0)},t.decodeAnsiX12Segment=function(t,n){var i=[];do{if(8===t.available())return;var C=t.readBits(8);if(254===C)return;this.parseTwoBytes(C,t.readBits(8),i);for(var o=0;o<3;o++){var s=i[o];switch(s){case 0:n.append('\r');break;case 1:n.append('*');break;case 2:n.append('>');break;case 3:n.append(' ');break;default:if(s<14)n.append(String.fromCharCode(s+44));else{if(!(s<40))throw new S.default;n.append(String.fromCharCode(s+51))}}}}while(t.available()>0)},t.parseTwoBytes=function(t,n,i){var C=(t<<8)+n-1,o=Math.floor(C/1600);i[0]=o,C-=1600*o,o=Math.floor(C/40),i[1]=o,i[2]=C-40*o},t.decodeEdifactSegment=function(t,n){do{if(t.available()<=16)return;for(var i=0;i<4;i++){var C=t.readBits(6);if(31===C){var o=8-t.getBitOffset();return void(8!==o&&t.readBits(o))}32&C||(C|=64),n.append(String.fromCharCode(C))}}while(t.available()>0)},t.decodeBase256Segment=function(t,n,i){var C,o=1+t.getByteOffset(),h=this.unrandomize255State(t.readBits(8),o++);if((C=0===h?t.available()/8|0:h<250?h:250*(h-249)+this.unrandomize255State(t.readBits(8),o++))<0)throw new S.default;for(var l=new Uint8Array(C),_=0;_<C;_++){if(t.available()<8)throw new S.default;l[_]=this.unrandomize255State(t.readBits(8),o++)}i.push(l);try{n.append(s.default.decode(l,E.default.ISO88591))}catch(t){throw new f.default('Platform does not support required encoding: '+t.message)}},t.unrandomize255State=function(t,n){var i=t-(149*n%255+1);return i>=0?i:i+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','
110i','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})();e.default=h},1193,[17,1121,1194,1104,1109,1105,1108,1128]);
111__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var f=t(r(d[1])),s=(function(){function t(t){this.bytes=t,this.byteOffset=0,this.bitOffset=0}return t.prototype.getBitOffset=function(){return this.bitOffset},t.prototype.getByteOffset=function(){return this.byteOffset},t.prototype.readBits=function(t){if(t<1||t>32||t>this.available())throw new f.default(''+t);var s=0,n=this.bitOffset,o=this.byteOffset,u=this.bytes;if(n>0){var b=8-n,h=t<b?t:b,y=255>>8-h<<(O=b-h);s=(u[o]&y)>>O,t-=h,8===(n+=h)&&(n=0,o++)}if(t>0){for(;t>=8;)s=s<<8|255&u[o],o++,t-=8;if(t>0){var O;y=255>>(O=8-t)<<O;s=s<<t|(u[o]&y)>>O,n+=t}}return this.bitOffset=n,this.byteOffset=o,s},t.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},t})();e.default=s},1194,[17,1092]);
112__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),s=t(r(d[2])),o=t(r(d[3])),h=t(r(d[4])),f=t(r(d[5])),u=(function(){function t(t){this.image=t,this.rectangleDetector=new n.default(this.image)}return t.prototype.detect=function(){var n=this.rectangleDetector.detect(),o=this.detectSolid1(n);if((o=this.detectSolid2(o))[3]=this.correctTopRight(o),!o[3])throw new h.default;var f=(o=this.shiftToModuleCenter(o))[0],u=o[1],w=o[2],c=o[3],l=this.transitionsBetween(f,c)+1,v=this.transitionsBetween(w,c)+1;1&~l||(l+=1),1&~v||(v+=1),4*l<7*v&&4*v<7*l&&(l=v=Math.max(l,v));var B=t.sampleGrid(this.image,f,u,w,c,l,v);return new s.default(B,[f,u,w,c])},t.shiftPoint=function(t,n,s){var o=(n.getX()-t.getX())/(s+1),h=(n.getY()-t.getY())/(s+1);return new f.default(t.getX()+o,t.getY()+h)},t.moveAway=function(t,n,s){var o=t.getX(),h=t.getY();return o<n?o-=1:o+=1,h<s?h-=1:h+=1,new f.default(o,h)},t.prototype.detectSolid1=function(t){var n=t[0],s=t[1],o=t[3],h=t[2],f=this.transitionsBetween(n,s),u=this.transitionsBetween(s,o),w=this.transitionsBetween(o,h),c=this.transitionsBetween(h,n),l=f,v=[h,n,s,o];return l>u&&(l=u,v[0]=n,v[1]=s,v[2]=o,v[3]=h),l>w&&(l=w,v[0]=s,v[1]=o,v[2]=h,v[3]=n),l>c&&(v[0]=o,v[1]=h,v[2]=n,v[3]=s),v},t.prototype.detectSolid2=function(n){var s=n[0],o=n[1],h=n[2],f=n[3],u=this.transitionsBetween(s,f),w=t.shiftPoint(o,h,4*(u+1)),c=t.shiftPoint(h,o,4*(u+1));return this.transitionsBetween(w,s)<this.transitionsBetween(c,f)?(n[0]=s,n[1]=o,n[2]=h,n[3]=f):(n[0]=o,n[1]=h,n[2]=f,n[3]=s),n},t.prototype.correctTopRight=function(n){var s=n[0],o=n[1],h=n[2],u=n[3],w=this.transitionsBetween(s,u),c=this.transitionsBetween(o,u),l=t.shiftPoint(s,o,4*(c+1)),v=t.shiftPoint(h,o,4*(w+1));w=this.transitionsBetween(l,u),c=this.transitionsBetween(v,u);var B=new f.default(u.getX()+(h.getX()-o.getX())/(w+1),u.getY()+(h.getY()-o.getY())/(w+1)),X=new f.default(u.getX()+(s.getX()-o.getX())/(c+1),u.getY()+(s.getY()-o.getY())/(c+1));return this.isValid(B)?this.isValid(X)?this.transitionsBetween(l,B)+this.transitionsBetween(v,B)>this.transitionsBetween(l,X)+this.transitionsBetween(v,X)?B:X:B:this.isValid(X)?X:null},t.prototype.shiftToModuleCenter=function(n){var s=n[0],o=n[1],h=n[2],f=n[3],u=this.transitionsBetween(s,f)+1,w=this.transitionsBetween(h,f)+1,c=t.shiftPoint(s,o,4*w),l=t.shiftPoint(h,o,4*u);1&~(u=this.transitionsBetween(c,f)+1)||(u+=1),1&~(w=this.transitionsBetween(l,f)+1)||(w+=1);var v,B,X=(s.getX()+o.getX()+h.getX()+f.getX())/4,Y=(s.getY()+o.getY()+h.getY()+f.getY())/4;return s=t.moveAway(s,X,Y),o=t.moveAway(o,X,Y),h=t.moveAway(h,X,Y),f=t.moveAway(f,X,Y),c=t.shiftPoint(s,o,4*w),c=t.shiftPoint(c,f,4*u),v=t.shiftPoint(o,s,4*w),v=t.shiftPoint(v,h,4*u),l=t.shiftPoint(h,f,4*w),l=t.shiftPoint(l,o,4*u),B=t.shiftPoint(f,h,4*w),[c,v,l,B=t.shiftPoint(B,s,4*u)]},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,n,s,h,f,u,w){return o.default.getInstance().sampleGrid(t,u,w,.5,.5,u-.5,.5,u-.5,w-.5,.5,w-.5,n.getX(),n.getY(),f.getX(),f.getY(),h.getX(),h.getY(),s.getX(),s.getY())},t.prototype.transitionsBetween=function(t,n){var s=Math.trunc(t.getX()),o=Math.trunc(t.getY()),h=Math.trunc(n.getX()),f=Math.trunc(n.getY()),u=Math.abs(f-o)>Math.abs(h-s);if(u){var w=s;s=o,o=w,w=h,h=f,f=w}for(var c=Math.abs(h-s),l=Math.abs(f-o),v=-c/2,B=o<f?1:-1,X=s<h?1:-1,Y=0,p=this.image.get(u?o:s,u?s:o),P=s,y=o;P!==h;P+=X){var M=this.image.get(u?y:P,u?P:y);
112if(M!==p&&(Y++,p=M),(v+=l)>0){if(y===f)break;y+=B,v-=c}}return Y},t})();e.default=u},1195,[17,1135,1134,1136,1111,1130]);
113__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserMultiFormatReader=void 0;var o,n=r(_d[1]),u=t(r(_d[2])),c=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function u(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(u.prototype=n.prototype,new u)});e.BrowserMultiFormatReader=(function(t){function o(o,n){void 0===o&&(o=null),void 0===n&&(n=500);var c=new u.default;return c.setHints(o),t.call(this,c,n)||this}return c(o,t),o.prototype.decodeBitmap=function(t){return this.reader.decodeWithState(t)},o})(n.BrowserCodeReader)},1196,[17,1087,1197]);
114__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),f=t(r(d[5])),i=t(r(d[6])),s=t(r(d[7])),h=t(r(d[8])),c=t(r(d[9])),p=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,u=n&&t[n],l=0;if(u)return u.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&l>=t.length&&(t=void 0),{value:t&&t[l++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},w=(function(){function t(){}return t.prototype.decode=function(t,n){return this.setHints(n),this.decodeInternal(t)},t.prototype.decodeWithState=function(t){return null!==this.readers&&void 0!==this.readers||this.setHints(null),this.decodeInternal(t)},t.prototype.setHints=function(t){this.hints=t;var s=null!=t&&void 0!==t.get(n.default.TRY_HARDER),c=null==t?null:t.get(n.default.POSSIBLE_FORMATS),p=new Array;if(null!=c){var w=c.some(function(t){return t===u.default.UPC_A||t===u.default.UPC_E||t===u.default.EAN_13||t===u.default.EAN_8||t===u.default.CODABAR||t===u.default.CODE_39||t===u.default.CODE_93||t===u.default.CODE_128||t===u.default.ITF||t===u.default.RSS_14||t===u.default.RSS_EXPANDED});w&&!s&&p.push(new f.default(t)),c.includes(u.default.QR_CODE)&&p.push(new l.default),c.includes(u.default.DATA_MATRIX)&&p.push(new i.default),c.includes(u.default.AZTEC)&&p.push(new o.default),c.includes(u.default.PDF_417)&&p.push(new h.default),w&&s&&p.push(new f.default(t))}
1140===p.length&&(s||p.push(new f.default(t)),p.push(new l.default),p.push(new i.default),p.push(new o.default),p.push(new h.default),s&&p.push(new f.default(t))),this.readers=p},t.prototype.reset=function(){var t,n;if(null!==this.readers)try{for(var u=p(this.readers),l=u.next();!l.done;l=u.next()){l.value.reset()}}catch(n){t={error:n}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}},t.prototype.decodeInternal=function(t){var n,u;if(null===this.readers)throw new c.default('No readers where selected, nothing can be read.');try{for(var l=p(this.readers),o=l.next();!o.done;o=l.next()){var f=o.value;try{return f.decode(t,this.hints)}catch(t){if(t instanceof c.default)continue}}}catch(t){n={error:t}}finally{try{o&&!o.done&&(u=l.return)&&u.call(l)}finally{if(n)throw n.error}}throw new s.default('No MultiFormat Readers were able to detect the code.')},t})();e.default=w},1197,[17,1106,1118,1198,1116,1141,1188,1111,1217,1242]);
115__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),n=t(r(d[4])),l=t(r(d[5])),c=t(r(d[6])),h=t(r(d[7])),v=t(r(d[8])),w=t(r(d[9])),p=(function(){function t(){this.decoder=new h.default}return t.prototype.getDecoder=function(){return this.decoder},t.prototype.decode=function(u,n){var h,p;if(null!=n&&void 0!==n.get(f.default.PURE_BARCODE)){var E=t.extractPureBits(u.getBlackMatrix());h=this.decoder.decodeBitMatrix(E,n),p=t.NO_POINTS}else{var M=new w.default(u.getBlackMatrix()).detect(n);h=this.decoder.decodeBitMatrix(M.getBits(),n),p=M.getPoints()}h.getOther()instanceof v.default&&h.getOther().applyMirroredCorrection(p);var s=new l.default(h.getText(),h.getRawBytes(),void 0,p,o.default.QR_CODE,void 0),R=h.getByteSegments();null!==R&&s.putMetadata(c.default.BYTE_SEGMENTS,R);var _=h.getECLevel();return null!==_&&s.putMetadata(c.default.ERROR_CORRECTION_LEVEL,_),h.hasStructuredAppend()&&(s.putMetadata(c.default.STRUCTURED_APPEND_SEQUENCE,h.getStructuredAppendSequenceNumber()),s.putMetadata(c.default.STRUCTURED_APPEND_PARITY,h.getStructuredAppendParity())),s},t.prototype.reset=function(){},t.extractPureBits=function(t){var o=t.getTopLeftOnBit(),f=t.getBottomRightOnBit();if(null===o||null===f)throw new n.default;var l=this.moduleSize(o,t),c=o[1],h=f[1],v=o[0],w=f[0];if(v>=w||c>=h)throw new n.default;if(h-c!==w-v&&(w=v+(h-c))>=t.getWidth())throw new n.default;var p=Math.round((w-v+1)/l),E=Math.round((h-c+1)/l);if(p<=0||E<=0)throw new n.default;if(E!==p)throw new n.default;var M=Math.floor(l/2);c+=M;var s=(v+=M)+Math.floor((p-1)*l)-w;if(s>0){if(s>M)throw new n.default;v-=s}var R=c+Math.floor((E-1)*l)-h;if(R>0){if(R>M)throw new n.default;c-=R}for(var _=new u.default(p,E),B=0;B<E;B++)for(var O=c+Math.floor(B*l),S=0;S<p;S++)t.get(v+Math.floor(S*l),O)&&_.set(S,B);return _},t.moduleSize=function(t,o){for(var u=o.getHeight(),f=o.getWidth(),l=t[0],c=t[1],h=!0,v=0;l<f&&c<u;){if(h!==o.get(l,c)){if(5===++v)break;h=!h}l++,c++}if(l===f||c===u)throw new n.default;return(l-t[0])/7},t.NO_POINTS=new Array,t})();e.default=p},1198,[17,1118,1103,1106,1111,1117,1119,1199,1210,1211]);
116__d(function(g,r,_i,a,_m,_e,d){var e=r(d[0]);
116Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(r(d[1])),o=e(r(d[2])),n=e(r(d[3])),i=e(r(d[4])),l=e(r(d[5])),c=e(r(d[6])),u=e(r(d[7])),f=e(r(d[8])),s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,o=t&&e[t],n=0;if(o)return o.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},y=(function(){function e(){this.rsDecoder=new i.default(n.default.QR_CODE_FIELD_256)}return e.prototype.decodeBooleanArray=function(e,t){return this.decodeBitMatrix(o.default.parseFromBooleanArray(e),t)},e.prototype.decodeBitMatrix=function(e,t){var o=new l.default(e),n=null;try{return this.decodeBitMatrixParser(o,t)}catch(e){n=e}try{o.remask(),o.setMirror(!0),o.readVersion(),o.readFormatInformation(),o.mirror();var i=this.decodeBitMatrixParser(o,t);return i.setOther(new f.default(!0)),i}catch(e){if(null!==n)throw n;throw e}},e.prototype.decodeBitMatrixParser=function(e,t){var o,n,i,l,f=e.readVersion(),y=e.readFormatInformation().getErrorCorrectionLevel(),h=e.readCodewords(),v=c.default.getDataBlocks(h,f,y),w=0;try{for(var m=s(v),p=m.next();!p.done;p=m.next()){w+=(D=p.value).getNumDataCodewords()}}catch(e){o={error:e}}finally{try{p&&!p.done&&(n=m.return)&&n.call(m)}finally{if(o)throw o.error}}var x=new Uint8Array(w),_=0;try{for(var B=s(v),b=B.next();!b.done;b=B.next()){var D,M=(D=b.value).getCodewords(),C=D.getNumDataCodewords();this.correctErrors(M,C);for(var E=0;E<C;E++)x[_++]=M[E]}}catch(e){i={error:e}}finally{try{b&&!b.done&&(l=B.return)&&l.call(B)}finally{if(i)throw i.error}}return u.default.decode(x,f,y,t)},e.prototype.correctErrors=function(e,o){var n=new Int32Array(e);try{this.rsDecoder.decode(n,e.length-o)}catch(e){throw new t.default}for(var i=0;i<o;i++)e[i]=n[i]},e})();_e.default=y},1199,[17,1093,1103,1122,1126,1200,1207,1208,1210]);
117__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=t(r(d[1])),o=t(r(d[2])),n=t(r(d[3])),s=t(r(d[4])),f=(function(){function t(t){var i=t.getHeight();if(i<21||1!=(3&i))throw new s.default;this.bitMatrix=t}return t.prototype.readFormatInformation=function(){if(null!==this.parsedFormatInfo&&void 0!==this.parsedFormatInfo)return this.parsedFormatInfo;for(var t=0,i=0;i<6;i++)t=this.copyBit(i,8,t);t=this.copyBit(7,8,t),t=this.copyBit(8,8,t),t=this.copyBit(8,7,t);for(var n=5;n>=0;n--)t=this.copyBit(8,n,t);var f=this.bitMatrix.getHeight(),h=0,u=f-7;for(n=f-1;n>=u;n--)h=this.copyBit(8,n,h);for(i=f-8;i<f;i++)h=this.copyBit(i,8,h);if(this.parsedFormatInfo=o.default.decodeFormatInformation(t,h),null!==this.parsedFormatInfo)return this.parsedFormatInfo;throw new s.default},t.prototype.readVersion=function(){if(null!==this.parsedVersion&&void 0!==this.parsedVersion)return this.parsedVersion;var t=this.bitMatrix.getHeight(),o=Math.floor((t-17)/4);if(o<=6)return i.default.getVersionForNumber(o);for(var n=0,f=t-11,h=5;h>=0;h--)for(var u=t-9;u>=f;u--)n=this.copyBit(u,h,n);var p=i.default.decodeVersionInformation(n);if(null!==p&&p.getDimensionForVersion()===t)return this.parsedVersion=p,p;n=0;for(u=5;u>=0;u--)for(h=t-9;h>=f;h--)n=this.copyBit(u,h,n);if(null!==(p=i.default.decodeVersionInformation(n))&&p.getDimensionForVersion()===t)return this.parsedVersion=p,p;throw new s.default},t.prototype.copyBit=function(t,i,o){return(this.isMirror?this.bitMatrix.get(i,t):this.bitMatrix.get(t,i))?o<<1|1:o<<1},t.prototype.readCodewords=function(){var t=this.readFormatInformation(),i=this.readVersion(),o=n.default.values.get(t.getDataMask()),f=this.bitMatrix.getHeight();o.unmaskBitMatrix(this.bitMatrix,f);for(var h=i.buildFunctionPattern(),u=!0,p=new Uint8Array(i.getTotalCodewords()),l=0,c=0,v=0,M=f-1;M>0;M-=2){6===M&&M--;for(var y=0;y<f;y++)for(var F=u?f-1-y:y,b=0;b<2;b++)h.get(M-b,F)||(v++,c<<=1,this.bitMatrix.get(M-b,F)&&(c|=1),8===v&&(p[l++]=c,v=0,c=0));u=!u}if(l!==i.getTotalCodewords())throw new s.default;return p},t.prototype.remask=function(){if(null!==this.parsedFormatInfo){var t=n.default.values.get(this.parsedFormatInfo.getDataMask()),i=this.bitMatrix.getHeight();t.unmaskBitMatrix(this.bitMatrix,i)}},t.prototype.setMirror=function(t){this.parsedVersion=null,this.parsedFormatInfo=null,this.isMirror=t},t.prototype.mirror=function(){for(var t=this.bitMatrix,i=0,o=t.getWidth();i<o;i++)for(var n=i+1,s=t.getHeight();n<s;n++)t.get(i,n)!==t.get(n,i)&&(t.flip(n,i),t.flip(i,n))},t})();e.default=f},1200,[17,1201,1202,1206,1108]);
118__d(function(g,r,_i2,a,_m,e,d){var n=r(d[0]);
118Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),f=n(r(d[2])),u=n(r(d[3])),w=n(r(d[4])),l=n(r(d[5])),o=n(r(d[6])),i=this&&this.__values||function(n){var t="function"==typeof Symbol&&Symbol.iterator,f=t&&n[t],u=0;if(f)return f.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&u>=n.length&&(n=void 0),{value:n&&n[u++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},m=(function(){function n(n,t){for(var f,u,w=[],l=2;l<arguments.length;l++)w[l-2]=arguments[l];this.versionNumber=n,this.alignmentPatternCenters=t,this.ecBlocks=w;var o=0,m=w[0].getECCodewordsPerBlock(),s=w[0].getECBlocks();try{for(var y=i(s),I=y.next();!I.done;I=y.next()){var A=I.value;o+=A.getCount()*(A.getDataCodewords()+m)}}catch(n){f={error:n}}finally{try{I&&!I.done&&(u=y.return)&&u.call(y)}finally{if(f)throw f.error}}this.totalCodewords=o}return n.prototype.getVersionNumber=function(){return this.versionNumber},n.prototype.getAlignmentPatternCenters=function(){return this.alignmentPatternCenters},n.prototype.getTotalCodewords=function(){return this.totalCodewords},n.prototype.getDimensionForVersion=function(){return 17+4*this.versionNumber},n.prototype.getECBlocksForLevel=function(n){return this.ecBlocks[n.getValue()]},n.getProvisionalVersionForDimension=function(n){if(n%4!=1)throw new l.default;try{return this.getVersionForNumber((n-17)/4)}catch(n){throw new l.default}},n.getVersionForNumber=function(t){if(t<1||t>40)throw new o.default;return n.VERSIONS[t-1]},n.decodeVersionInformation=function(t){for(var u=Number.MAX_SAFE_INTEGER,w=0,l=0;l<n.VERSION_DECODE_INFO.length;l++){var o=n.VERSION_DECODE_INFO[l];if(o===t)return n.getVersionForNumber(l+7);var i=f.default.numBitsDiffering(t,o);i<u&&(w=l+7,u=i)}return u<=3?n.getVersionForNumber(w):null},n.prototype.buildFunctionPattern=function(){var n=this.getDimensionForVersion(),f=new t.default(n);f.setRegion(0,0,9,9),f.setRegion(n-8,0,8,9),f.setRegion(0,n-8,9,8);for(var u=this.alignmentPatternCenters.length,w=0;w<u;w++)for(var l=this.alignmentPatternCenters[w]-2,o=0;o<u;o++)0===w&&(0===o||o===u-1)||w===u-1&&0===o||f.setRegion(this.alignmentPatternCenters[o]-2,l,5,5);return f.setRegion(6,9,1,n-17),f.setRegion(9,6,n-17,1),this.versionNumber>6&&(f.setRegion(n-11,0,3,6),f.setRegion(0,n-11,6,3)),f},n.prototype.toString=function(){return''+this.versionNumber},n.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]),n.VERSIONS=[new n(1,new Int32Array(0),new u.default(7,new w.default(1,19)),new u.default(10,new w.default(1,16)),new u.default(13,new w.default(1,13)),new u.default(17,new w.default(1,9))),new n(2,Int32Array.from([6,18]),new u.default(10,new w.default(1,34)),new u.default(16,new w.default(1,28)),new u.default(22,new w.default(1,22)),new u.default(28,new w.default(1,16))),new n(3,Int32Array.from([6,22]),new u.default(15,new w.default(1,55)),new u.default(26,new w.default(1,44)),new u.default(18,new w.default(2,17)),new u.default(22,new w.default(2,13))),new n(4,Int32Array.from([6,26]),new u.default(20,new w.default(1,80)),new u.default(18,new w.default(2,32)),new u.default(26,new w.default(2,24)),new u.default(16,new w.default(4,9))),new n(5,Int32Array.from([6,30]),new u.default(26,new w.default(1,108)),new u.default(24,new w.default(2,43)),new u.default(18,new w.default(2,15),new w.default(2,16)),new u.default(22,new w.default(2,11),new w.default(2,12))),new n(6,Int32Array.from([6,34]),new u.default(18,new w.default(2,68)),new u.default(16,new w.default(4,27)),new u.default(24,new w.default(4,19)),new u.default(28,new w.default(4,15))),new n(7,Int32Array.from([6,22,38]),new u.default(20,new w.default(2,78)),new u.default(18,new w.default(4,31)),new u.default(18,new w.default(2,14),new w.default(4,15)),new u.default(26,new w.default(4,13),new w.default(1,14))),new n(8,Int32Array.from([6,24,42]),new u.default(24,new w.default(2,97)),new u.default(22,new w.default(2,38),new w.default(2,39)),new u.default(22,new w.default(4,18),new w.default(2,19)),new u.default(26,new w.default(4,14),new w.default(2,15))),new n(9,Int32Array.from([6,26,46]),new u.default(30,new w.default(2,116)),new u.default(22,new w.default(3,36),new w.default(2,37)),new u.default(20,new w.default(4,16),new w.default(4,17)
118),new u.default(24,new w.default(4,12),new w.default(4,13))),new n(10,Int32Array.from([6,28,50]),new u.default(18,new w.default(2,68),new w.default(2,69)),new u.default(26,new w.default(4,43),new w.default(1,44)),new u.default(24,new w.default(6,19),new w.default(2,20)),new u.default(28,new w.default(6,15),new w.default(2,16))),new n(11,Int32Array.from([6,30,54]),new u.default(20,new w.default(4,81)),new u.default(30,new w.default(1,50),new w.default(4,51)),new u.default(28,new w.default(4,22),new w.default(4,23)),new u.default(24,new w.default(3,12),new w.default(8,13))),new n(12,Int32Array.from([6,32,58]),new u.default(24,new w.default(2,92),new w.default(2,93)),new u.default(22,new w.default(6,36),new w.default(2,37)),new u.default(26,new w.default(4,20),new w.default(6,21)),new u.default(28,new w.default(7,14),new w.default(4,15))),new n(13,Int32Array.from([6,34,62]),new u.default(26,new w.default(4,107)),new u.default(22,new w.default(8,37),new w.default(1,38)),new u.default(24,new w.default(8,20),new w.default(4,21)),new u.default(22,new w.default(12,11),new w.default(4,12))),new n(14,Int32Array.from([6,26,46,66]),new u.default(30,new w.default(3,115),new w.default(1,116)),new u.default(24,new w.default(4,40),new w.default(5,41)),new u.default(20,new w.default(11,16),new w.default(5,17)),new u.default(24,new w.default(11,12),new w.default(5,13))),new n(15,Int32Array.from([6,26,48,70]),new u.default(22,new w.default(5,87),new w.default(1,88)),new u.default(24,new w.default(5,41),new w.default(5,42)),new u.default(30,new w.default(5,24),new w.default(7,25)),new u.default(24,new w.default(11,12),new w.default(7,13))),new n(16,Int32Array.from([6,26,50,74]),new u.default(24,new w.default(5,98),new w.default(1,99)),new u.default(28,new w.default(7,45),new w.default(3,46)),new u.default(24,new w.default(15,19),new w.default(2,20)),new u.default(30,new w.default(3,15),new w.default(13,16))),new n(17,Int32Array.from([6,30,54,78]),new u.default(28,new w.default(1,107),new w.default(5,108)),new u.default(28,new w.default(10,46),new w.default(1,47)),new u.default(28,new w.default(1,22),new w.default(15,23)),new u.default(28,new w.default(2,14),new w.default(17,15))),new n(18,Int32Array.from([6,30,56,82]),new u.default(30,new w.default(5,120),new w.default(1,121)),new u.default(26,new w.default(9,43),new w.default(4,44)),new u.default(28,new w.default(17,22),new w.default(1,23)),new u.default(28,new w.default(2,14),new w.default(19,15))),new n(19,Int32Array.from([6,30,58,86]),new u.default(28,new w.default(3,113),new w.default(4,114)),new u.default(26,new w.default(3,44),new w.default(11,45)),new u.default(26,new w.default(17,21),new w.default(4,22)),new u.default(26,new w.default(9,13),new w.default(16,14))),new n(20,Int32Array.from([6,34,62,90]),new u.default(28,new w.default(3,107),new w.default(5,108)),new u.default(26,new w.default(3,41),new w.default(13,42)),new u.default(30,new w.default(15,24),new w.default(5,25)),new u.default(28,new w.default(15,15),new w.default(10,16))),new n(21,Int32Array.from([6,28,50,72,94]),new u.default(28,new w.default(4,116),new w.default(4,117)),new u.default(26,new w.default(17,42)),new u.default(28,new w.default(17,22),new w.default(6,23)),new u.default(30,new w.default(19,16),new w.default(6,17))),new n(22,Int32Array.from([6,26,50,74,98]),new u.default(28,new w.default(2,111),new w.default(7,112)),new u.default(28,new w.default(17,46)),new u.default(30,new w.default(7,24),new w.default(16,25)),new u.default(24,new w.default(34,13))),new n(23,Int32Array.from([6,30,54,78,102]),new u.default(30,new w.default(4,121),new w.default(5,122)),new u.default(28,new w.default(4,47),new w.default(14,48)),new u.default(30,new w.default(11,24),new w.default(14,25)),new u.default(30,new w.default(16,15),new w.default(14,16))),new n(24,Int32Array.from([6,28,54,80,106]),new u.default(30,new w.default(6,117),new w.default(4,118)),new u.default(28,new w.default(6,45),new w.default(14,46)),new u.default(30,new w.default(11,24),new w.default(16,25)),new u.default(30,new w.default(30,16),new w.default(2,17))),new n(25,Int32Array.from([6,32,58,84,110]),new u.default(26,new w.default(8,106),new w.default(4,107)),new u.default(28,new w.default(8,47),new w.default(13,48)),new u.default(30,new w.default(7,24),new w.default(22,25)),new u.default(30,new w.default(22,15),new w.default(13,16))),new n(26,Int32Array.from([6,30,58,86,114]),new u.default(28,new w.default(10,114),new w.default(2,115)),new u.default(28,new w.default(19,46),new w.default(4,47)),new u.default(28,new w.default(28,22),new w.default(6,23)),new u.default(30,new w.default(33,16),new w.default(4,17)
118)),new n(27,Int32Array.from([6,34,62,90,118]),new u.default(30,new w.default(8,122),new w.default(4,123)),new u.default(28,new w.default(22,45),new w.default(3,46)),new u.default(30,new w.default(8,23),new w.default(26,24)),new u.default(30,new w.default(12,15),new w.default(28,16))),new n(28,Int32Array.from([6,26,50,74,98,122]),new u.default(30,new w.default(3,117),new w.default(10,118)),new u.default(28,new w.default(3,45),new w.default(23,46)),new u.default(30,new w.default(4,24),new w.default(31,25)),new u.default(30,new w.default(11,15),new w.default(31,16))),new n(29,Int32Array.from([6,30,54,78,102,126]),new u.default(30,new w.default(7,116),new w.default(7,117)),new u.default(28,new w.default(21,45),new w.default(7,46)),new u.default(30,new w.default(1,23),new w.default(37,24)),new u.default(30,new w.default(19,15),new w.default(26,16))),new n(30,Int32Array.from([6,26,52,78,104,130]),new u.default(30,new w.default(5,115),new w.default(10,116)),new u.default(28,new w.default(19,47),new w.default(10,48)),new u.default(30,new w.default(15,24),new w.default(25,25)),new u.default(30,new w.default(23,15),new w.default(25,16))),new n(31,Int32Array.from([6,30,56,82,108,134]),new u.default(30,new w.default(13,115),new w.default(3,116)),new u.default(28,new w.default(2,46),new w.default(29,47)),new u.default(30,new w.default(42,24),new w.default(1,25)),new u.default(30,new w.default(23,15),new w.default(28,16))),new n(32,Int32Array.from([6,34,60,86,112,138]),new u.default(30,new w.default(17,115)),new u.default(28,new w.default(10,46),new w.default(23,47)),new u.default(30,new w.default(10,24),new w.default(35,25)),new u.default(30,new w.default(19,15),new w.default(35,16))),new n(33,Int32Array.from([6,30,58,86,114,142]),new u.default(30,new w.default(17,115),new w.default(1,116)),new u.default(28,new w.default(14,46),new w.default(21,47)),new u.default(30,new w.default(29,24),new w.default(19,25)),new u.default(30,new w.default(11,15),new w.default(46,16))),new n(34,Int32Array.from([6,34,62,90,118,146]),new u.default(30,new w.default(13,115),new w.default(6,116)),new u.default(28,new w.default(14,46),new w.default(23,47)),new u.default(30,new w.default(44,24),new w.default(7,25)),new u.default(30,new w.default(59,16),new w.default(1,17))),new n(35,Int32Array.from([6,30,54,78,102,126,150]),new u.default(30,new w.default(12,121),new w.default(7,122)),new u.default(28,new w.default(12,47),new w.default(26,48)),new u.default(30,new w.default(39,24),new w.default(14,25)),new u.default(30,new w.default(22,15),new w.default(41,16))),new n(36,Int32Array.from([6,24,50,76,102,128,154]),new u.default(30,new w.default(6,121),new w.default(14,122)),new u.default(28,new w.default(6,47),new w.default(34,48)),new u.default(30,new w.default(46,24),new w.default(10,25)),new u.default(30,new w.default(2,15),new w.default(64,16))),new n(37,Int32Array.from([6,28,54,80,106,132,158]),new u.default(30,new w.default(17,122),new w.default(4,123)),new u.default(28,new w.default(29,46),new w.default(14,47)),new u.default(30,new w.default(49,24),new w.default(10,25)),new u.default(30,new w.default(24,15),new w.default(46,16))),new n(38,Int32Array.from([6,32,58,84,110,136,162]),new u.default(30,new w.default(4,122),new w.default(18,123)),new u.default(28,new w.default(13,46),new w.default(32,47)),new u.default(30,new w.default(48,24),new w.default(14,25)),new u.default(30,new w.default(42,15),new w.default(32,16))),new n(39,Int32Array.from([6,26,54,82,110,138,166]),new u.default(30,new w.default(20,117),new w.default(4,118)),new u.default(28,new w.default(40,47),new w.default(7,48)),new u.default(30,new w.default(43,24),new w.default(22,25)),new u.default(30,new w.default(10,15),new w.default(67,16))),new n(40,Int32Array.from([6,30,58,86,114,142,170]),new u.default(30,new w.default(19,118),new w.default(6,119)),new u.default(28,new w.default(18,47),new w.default(31,48)),new u.default(30,new w.default(34,24),new w.default(34,25)),new u.default(30,new w.default(20,15),new w.default(61,16)))],n})();e.default=m},1201,[17,1103,1202,1204,1205,1108,1092]);
119__d(function(g,r,_i,_a2,_m,e,d){var t=r(d[0]);
119Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=t(r(d[2])),a=this&&this.__values||function(t){var o="function"==typeof Symbol&&Symbol.iterator,n=o&&t[o],a=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&a>=t.length&&(t=void 0),{value:t&&t[a++],done:!t}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},f=(function(){function t(t){this.errorCorrectionLevel=o.default.forBits(t>>3&3),this.dataMask=7&t}return t.numBitsDiffering=function(t,o){return n.default.bitCount(t^o)},t.decodeFormatInformation=function(o,n){var a=t.doDecodeFormatInformation(o,n);return null!==a?a:t.doDecodeFormatInformation(o^t.FORMAT_INFO_MASK_QR,n^t.FORMAT_INFO_MASK_QR)},t.doDecodeFormatInformation=function(o,n){var f,i,m=Number.MAX_SAFE_INTEGER,y=0;try{for(var u=a(t.FORMAT_INFO_DECODE_LOOKUP),A=u.next();!A.done;A=u.next()){var I=A.value,l=I[0];if(l===o||l===n)return new t(I[1]);var c=t.numBitsDiffering(o,l);c<m&&(y=I[1],m=c),o!==n&&(c=t.numBitsDiffering(n,l))<m&&(y=I[1],m=c)}}catch(t){f={error:t}}finally{try{A&&!A.done&&(i=u.return)&&i.call(u)}finally{if(f)throw f.error}}return m<=3?new t(y):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(o){if(!(o instanceof t))return!1;var n=o;return this.errorCorrectionLevel===n.errorCorrectionLevel&&this.dataMask===n.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})();e.default=f},1202,[17,1203,1102]);
120__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ErrorCorrectionLevelValues=void 0;var n,u=t(r(d[1])),o=t(r(d[2]));!(function(t){t[t.L=0]="L",t[t.M=1]="M",t[t.Q=2]="Q",t[t.H=3]="H"})(n||(e.ErrorCorrectionLevelValues=n={}));var s=(function(){function t(n,u,o){this.value=n,this.stringValue=u,this.bits=o,t.FOR_BITS.set(o,this),t.FOR_VALUE.set(n,this)}return t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.fromString=function(n){switch(n){case'L':return t.L;case'M':return t.M;case'Q':return t.Q;case'H':return t.H;default:throw new u.default(n+'not available')}},t.prototype.toString=function(){return this.stringValue},t.prototype.equals=function(n){if(!(n instanceof t))return!1;var u=n;return this.value===u.value},t.forBits=function(n){if(n<0||n>=t.FOR_BITS.size)throw new o.default;return t.FOR_BITS.get(n)},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})();e.default=s},1203,[17,1088,1092]);
121__d(function(g,r,_i2,a,_m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=this&&this.__values||function(t){var o="function"==typeof Symbol&&Symbol.iterator,n=o&&t[o],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},o=(function(){function o(t){for(var o=[],n=1;n<arguments.length;n++)o[n-1]=arguments[n];this.ecCodewordsPerBlock=t,this.ecBlocks=o}return o.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},o.prototype.getNumBlocks=function(){var o,n,i=0,l=this.ecBlocks;try{for(var c=t(l),u=c.next();!u.done;u=c.next()){i+=u.value.getCount()}}catch(t){o={error:t}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(o)throw o.error}}return i},o.prototype.getTotalECCodewords=function(){return this.ecCodewordsPerBlock*this.getNumBlocks()},o.prototype.getECBlocks=function(){return this.ecBlocks},o})();e.default=o},1204,[]);
122__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(t,o){this.count=t,this.dataCodewords=o}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t})();e.default=t},1205,[]);
123__d(function(g,r,_i,a,m,e,d){var A;Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DataMaskValues=void 0,(function(A){A[A.DATA_MASK_000=0]="DATA_MASK_000",A[A.DATA_MASK_001=1]="DATA_MASK_001",A[A.DATA_MASK_010=2]="DATA_MASK_010",A[A.DATA_MASK_011=3]="DATA_MASK_011",A[A.DATA_MASK_100=4]="DATA_MASK_100",A[A.DATA_MASK_101=5]="DATA_MASK_101",A[A.DATA_MASK_110=6]="DATA_MASK_110",A[A.DATA_MASK_111=7]="DATA_MASK_111"})(A||(e.DataMaskValues=A={}));var _=(function(){function _(A,_){this.value=A,this.isMasked=_}return _.prototype.unmaskBitMatrix=function(A,_){for(var n=0;n<_;n++)for(var M=0;M<_;M++)this.isMasked(n,M)&&A.flip(M,n)},_.values=new Map([[A.DATA_MASK_000,new _(A.DATA_MASK_000,function(A,_){return!(A+_&1)})],[A.DATA_MASK_001,new _(A.DATA_MASK_001,function(A,_){return!(1&A)})],[A.DATA_MASK_010,new _(A.DATA_MASK_010,function(A,_){return _%3==0})],[A.DATA_MASK_011,new _(A.DATA_MASK_011,function(A,_){return(A+_)%3==0})],[A.DATA_MASK_100,new _(A.DATA_MASK_100,function(A,_){return!(Math.floor(A/2)+Math.floor(_/3)&1)})],[A.DATA_MASK_101,new _(A.DATA_MASK_101,function(A,_){return A*_%6==0})],[A.DATA_MASK_110,new _(A.DATA_MASK_110,function(A,_){return A*_%6<3})],[A.DATA_MASK_111,new _(A.DATA_MASK_111,function(A,_){return!(A+_+A*_%3&1)})]]),_})();e.default=_},1206,[]);
124__d(function(g,r,_i,a,_m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(r(d[1])),n=this&&this.__values||function(o){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&o[t],l=0;if(n)return n.call(o);if(o&&"number"==typeof o.length)return{next:function(){return o&&l>=o.length&&(o=void 0),{value:o&&o[l++],done:!o}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},l=(function(){function o(o,t){this.numDataCodewords=o,this.codewords=t}return o.getDataBlocks=function(l,f,i){var u,c,s,w;if(l.length!==f.getTotalCodewords())throw new t.default;var v=f.getECBlocksForLevel(i),h=0,y=v.getECBlocks();try{for(var C=n(y),b=C.next();!b.done;b=C.next()){h+=(x=b.value).getCount()}}catch(o){u={error:o}}finally{try{b&&!b.done&&(c=C.return)&&c.call(C)}finally{if(u)throw u.error}}var p=new Array(h),m=0;try{for(var k=n(y),_=k.next();!_.done;_=k.next())for(var x=_.value,B=0;B<x.getCount();B++){var D=x.getDataCodewords(),E=v.getECCodewordsPerBlock()+D;p[m++]=new o(D,new Uint8Array(E))}}catch(o){s={error:o}}finally{try{_&&!_.done&&(w=k.return)&&w.call(k)}finally{if(s)throw s.error}}for(var P=p[0].codewords.length,S=p.length-1;S>=0;){if(p[S].codewords.length===P)break;S--}S++;var j=P-v.getECCodewordsPerBlock(),A=0;for(B=0;B<j;B++)for(var O=0;O<m;
124O++)p[O].codewords[B]=l[A++];for(O=S;O<m;O++)p[O].codewords[j]=l[A++];var T=p[0].codewords.length;for(B=j;B<T;B++)for(O=0;O<m;O++){var F=O<S?B:B+1;p[O].codewords[F]=l[A++]}return p},o.prototype.getNumDataCodewords=function(){return this.numDataCodewords},o.prototype.getCodewords=function(){return this.codewords},o})();e.default=l},1207,[17,1092]);
125__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=t(r(d[1])),n=t(r(d[2])),i=t(r(d[3])),f=t(r(d[4])),u=t(r(d[5])),o=t(r(d[6])),h=t(r(d[7])),c=t(r(d[8])),w=(function(){function t(){}return t.decode=function(f,h,w,s){var p=new l.default(f),A=new o.default,C=new Array,v=-1,B=-1;try{var N=null,S=!1,I=void 0;do{if(p.available()<4)I=c.default.TERMINATOR;else{var b=p.readBits(4);I=c.default.forBits(b)}switch(I){case c.default.TERMINATOR:break;case c.default.FNC1_FIRST_POSITION:case c.default.FNC1_SECOND_POSITION:S=!0;break;case c.default.STRUCTURED_APPEND:if(p.available()<16)throw new u.default;v=p.readBits(8),B=p.readBits(8);break;case c.default.ECI:var E=t.parseECIValue(p);if(null===(N=n.default.getCharacterSetECIByValue(E)))throw new u.default;break;case c.default.HANZI:var R=p.readBits(4),T=p.readBits(I.getCharacterCountBits(h));R===t.GB2312_SUBSET&&t.decodeHanziSegment(p,A,T);break;default:var _=p.readBits(I.getCharacterCountBits(h));switch(I){case c.default.NUMERIC:t.decodeNumericSegment(p,A,_);break;case c.default.ALPHANUMERIC:t.decodeAlphanumericSegment(p,A,_,S);break;case c.default.BYTE:t.decodeByteSegment(p,A,_,N,C,s);break;case c.default.KANJI:t.decodeKanjiSegment(p,A,_);break;default:throw new u.default}}}while(I!==c.default.TERMINATOR)}catch(t){throw new u.default}return new i.default(f,A.toString(),0===C.length?null:C,null===w?null:w.toString(),v,B)},t.decodeHanziSegment=function(t,l,n){if(13*n>t.available())throw new u.default;for(var i=new Uint8Array(2*n),o=0;n>0;){var c=t.readBits(13),w=c/96<<8&4294967295|c%96;w+=w<959?41377:42657,i[o]=w>>8&255,i[o+1]=255&w,o+=2,n--}try{l.append(h.default.decode(i,f.default.GB2312))}catch(t){throw new u.default(t)}},t.decodeKanjiSegment=function(t,l,n){if(13*n>t.available())throw new u.default;for(var i=new Uint8Array(2*n),o=0;n>0;){var c=t.readBits(13),w=c/192<<8&4294967295|c%192;w+=w<7936?33088:49472,i[o]=w>>8,i[o+1]=w,o+=2,n--}try{l.append(h.default.decode(i,f.default.SHIFT_JIS))}catch(t){throw new u.default(t)}},t.decodeByteSegment=function(t,l,n,i,o,c){if(8*n>t.available())throw new u.default;for(var w,s=new Uint8Array(n),p=0;p<n;p++)s[p]=t.readBits(8);w=null===i?f.default.guessEncoding(s,c):i.getName();try{l.append(h.default.decode(s,w))}catch(t){throw new u.default(t)}o.push(s)},t.toAlphaNumericChar=function(l){if(l>=t.ALPHANUMERIC_CHARS.length)throw new u.default;return t.ALPHANUMERIC_CHARS[l]},t.decodeAlphanumericSegment=function(l,n,i,f){for(var o=n.length();i>1;){if(l.available()<11)throw new u.default;var h=l.readBits(11);n.append(t.toAlphaNumericChar(Math.floor(h/45))),n.append(t.toAlphaNumericChar(h%45)),i-=2}if(1===i){if(l.available()<6)throw new u.default;n.append(t.toAlphaNumericChar(l.readBits(6)))}if(f)for(var c=o;c<n.length();c++)'%'===n.charAt(c)&&(c<n.length()-1&&'%'===n.charAt(c+1)?n.deleteCharAt(c+1):n.setCharAt(c,String.fromCharCode(29)))},t.decodeNumericSegment=function(l,n,i){for(;i>=3;){if(l.available()<10)throw new u.default;var f=l.readBits(10);if(f>=1e3)throw new u.default;n.append(t.toAlphaNumericChar(Math.floor(f/100))),n.append(t.toAlphaNumericChar(Math.floor(f/10)%10)),n.append(t.toAlphaNumericChar(f%10)),i-=3}if(2===i){if(l.available()<7)throw new u.default;var o=l.readBits(7);if(o>=100)throw new u.default;n.append(t.toAlphaNumericChar(Math.floor(o/10))),n.append(t.toAlphaNumericChar(o%10))}else if(1===i){if(l.available()<4)throw new u.default;var h=l.readBits(4);if(h>=10)throw new u.default;n.append(t.toAlphaNumericChar(h))}},t.parseECIValue=function(t){var l=t.readBits(8);if(!(128&l))return 127&l;if(128==(192&l))return(63&l)<<8&4294967295|t.readBits(8);if(192==(224&l))return(31&l)<<16&4294967295|t.readBits(16);throw new u.default},t.ALPHANUMERIC_CHARS='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:',t.GB2312_SUBSET=1,t})();e.default=w},1208,[17,1194,1107,1121,1105,1108,1104,1109,1209]);
126__d(function(g,r,i,a,m,e,d){var t=r(d[0]);
126Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ModeValues=void 0;var I,n=t(r(d[1]));!(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"})(I||(e.ModeValues=I={}));var N=(function(){function t(I,n,N,o){this.value=I,this.stringValue=n,this.characterCountBitsForVersions=N,this.bits=o,t.FOR_BITS.set(o,this),t.FOR_VALUE.set(I,this)}return t.forBits=function(I){var N=t.FOR_BITS.get(I);if(void 0===N)throw new n.default;return N},t.prototype.getCharacterCountBits=function(t){var I,n=t.getVersionNumber();return I=n<=9?0:n<=26?1:2,this.characterCountBitsForVersions[I]},t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.prototype.equals=function(I){if(!(I instanceof t))return!1;var n=I;return this.value===n.value},t.prototype.toString=function(){return this.stringValue},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.TERMINATOR=new t(I.TERMINATOR,'TERMINATOR',Int32Array.from([0,0,0]),0),t.NUMERIC=new t(I.NUMERIC,'NUMERIC',Int32Array.from([10,12,14]),1),t.ALPHANUMERIC=new t(I.ALPHANUMERIC,'ALPHANUMERIC',Int32Array.from([9,11,13]),2),t.STRUCTURED_APPEND=new t(I.STRUCTURED_APPEND,'STRUCTURED_APPEND',Int32Array.from([0,0,0]),3),t.BYTE=new t(I.BYTE,'BYTE',Int32Array.from([8,16,16]),4),t.ECI=new t(I.ECI,'ECI',Int32Array.from([0,0,0]),7),t.KANJI=new t(I.KANJI,'KANJI',Int32Array.from([8,10,12]),8),t.FNC1_FIRST_POSITION=new t(I.FNC1_FIRST_POSITION,'FNC1_FIRST_POSITION',Int32Array.from([0,0,0]),5),t.FNC1_SECOND_POSITION=new t(I.FNC1_SECOND_POSITION,'FNC1_SECOND_POSITION',Int32Array.from([0,0,0]),9),t.HANZI=new t(I.HANZI,'HANZI',Int32Array.from([8,10,12]),13),t})();e.default=N},1209,[17,1092]);
127__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(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 o=t[0];t[0]=t[2],t[2]=o}},t})();e.default=t},1210,[]);
128__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=t(r(d[1])),n=t(r(d[2])),o=t(r(d[3])),l=t(r(d[4])),u=t(r(d[5])),s=t(r(d[6])),f=t(r(d[7])),h=t(r(d[8])),c=t(r(d[9])),p=t(r(d[10])),M=(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?null:t.get(u.default.NEED_RESULT_POINT_CALLBACK);var i=new p.default(this.image,this.resultPointCallback).find(t);return this.processFinderPatternInfo(i)},t.prototype.processFinderPatternInfo=function(i){var o=i.getTopLeft(),l=i.getTopRight(),u=i.getBottomLeft(),f=this.calculateModuleSize(o,l,u);if(f<1)throw new s.default('No pattern found in proccess finder.');var c=t.computeDimension(o,l,u,f),p=h.default.getProvisionalVersionForDimension(c),M=p.getDimensionForVersion()-7,k=null;if(p.getAlignmentPatternCenters().length>0)for(var v=l.getX()-o.getX()+u.getX(),y=l.getY()-o.getY()+u.getY(),B=1-3/M,W=Math.floor(o.getX()+B*(v-o.getX())),b=Math.floor(o.getY()+B*(y-o.getY())),X=4;X<=16;X<<=1)try{k=this.findAlignmentInRegion(f,W,b,X);break}catch(t){if(!(t instanceof s.default))throw t}var Y,w=t.createTransform(o,l,u,k,c),z=t.sampleGrid(this.image,w,c);return Y=null===k?[u,o,l]:[u,o,l,k],new n.default(z,Y)},t.createTransform=function(t,i,n,o,u){var s,f,h,c,p=u-3.5;return null!==o?(s=o.getX(),f=o.getY(),c=h=p-3):(s=i.getX()-t.getX()+n.getX(),f=i.getY()-t.getY()+n.getY(),h=p,c=p),l.default.quadrilateralToQuadrilateral(3.5,3.5,p,3.5,h,c,3.5,p,t.getX(),t.getY(),i.getX(),i.getY(),s,f,n.getX(),n.getY())},t.sampleGrid=function(t,i,n){return o.default.getInstance().sampleGridWithTransform(t,n,n,i)},t.computeDimension=function(t,n,o,l){var u=i.default.round(f.default.distance(t,n)/l),h=i.default.round(f.default.distance(t,o)/l),c=Math.floor((u+h)/2)+7;switch(3&c){case 0:c++;break;case 2:c--;break;case 3:throw new s.default('Dimensions could be not found.')}return c},t.prototype.calculateModuleSize=function(t,i,n){return(this.calculateModuleSizeOneWay(t,i)+this.calculateModuleSizeOneWay(t,n))/2},t.prototype.calculateModuleSizeOneWay=function(t,i){var n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(i.getX()),Math.floor(i.getY())),o=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(i.getX()),Math.floor(i.getY()),Math.floor(t.getX()),Math.floor(t.getY()));return isNaN(n)?o/7:isNaN(o)?n/7:(n+o)/14},t.prototype.sizeOfBlackWhiteBlackRunBothWays=function(t,i,n,o){var l=this.sizeOfBlackWhiteBlackRun(t,i,n,o),u=1,s=t-(n-t);s<0?(u=t/(t-s),s=0):s>=this.image.getWidth()&&(u=(this.image.getWidth()-1-t)/(s-t),s=this.image.getWidth()-1);var f=Math.floor(i-(o-i)*u);return u=1,f<0?(u=i/(i-f),f=0):f>=this.image.getHeight()&&(u=(this.image.getHeight()-1-i)/(f-i),f=this.image.getHeight()-1),s=Math.floor(t+(s-t)*u),(l+=this.sizeOfBlackWhiteBlackRun(t,i,s,f))-1},t.prototype.sizeOfBlackWhiteBlackRun=function(t,n,o,l){var u=Math.abs(l-n)>Math.abs(o-t);if(u){var s=t;t=n,n=s,s=o,o=l,l=s}for(var f=Math.abs(o-t),h=Math.abs(l-n),c=-f/2,p=t<o?1:-1,M=n<l?1:-1,k=0,v=o+p,y=t,B=n;y!==v;y+=p){var W=u?B:y,b=u?y:B;if(1===k===this.image.get(W,b)){if(2===k)return i.default.distance(y,B,t,n);k++}if((c+=h)>0){if(B===l)break;B+=M,c-=f}}return 2===k?i.default.distance(o+p,l,t,n):NaN},t.prototype.findAlignmentInRegion=function(t,i,n,o){var l=Math.floor(o*t),u=Math.max(0,i-l),f=Math.min(this.image.getWidth()-1,i+l);if(f-u<3*t)throw new s.default('Alignment top exceeds estimated module size.');var h=Math.max(0,n-l),p=Math.min(this.image.getHeight()-1,n+l);if(p-h<3*t)throw new s.default('Alignment bottom exceeds estimated module size.');
128return new c.default(this.image,u,h,f-u,p-h,t,this.resultPointCallback).find()},t})();e.default=M},1211,[17,1131,1134,1136,1139,1106,1111,1130,1201,1212,1214]);
129__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=t(r(d[1])),n=t(r(d[2])),s=this&&this.__values||function(t){var i="function"==typeof Symbol&&Symbol.iterator,n=i&&t[i],s=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&s>=t.length&&(t=void 0),{value:t&&t[s++],done:!t}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},o=(function(){function t(t,i,n,s,o,l,u){this.image=t,this.startX=i,this.startY=n,this.width=s,this.height=o,this.moduleSize=l,this.resultPointCallback=u,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return t.prototype.find=function(){for(var t=this.startX,i=this.height,s=t+this.width,o=this.startY+i/2,l=new Int32Array(3),u=this.image,h=0;h<i;h++){var f=o+(1&h?-Math.floor((h+1)/2):Math.floor((h+1)/2));l[0]=0,l[1]=0,l[2]=0;for(var c=t;c<s&&!u.get(c,f);)c++;for(var b=0;c<s;){if(u.get(c,f))if(1===b)l[1]++;else if(2===b){var v;if(this.foundPatternCross(l))if(null!==(v=this.handlePossibleCenter(l,f,c)))return v;l[0]=l[2],l[1]=1,l[2]=0,b=1}else l[++b]++;else 1===b&&b++,l[b]++;c++}if(this.foundPatternCross(l))if(null!==(v=this.handlePossibleCenter(l,f,s)))return v}if(0!==this.possibleCenters.length)return this.possibleCenters[0];throw new n.default},t.centerFromEnd=function(t,i){return i-t[2]-t[1]/2},t.prototype.foundPatternCross=function(t){for(var i=this.moduleSize,n=i/2,s=0;s<3;s++)if(Math.abs(i-t[s])>=n)return!1;return!0},t.prototype.crossCheckVertical=function(i,n,s,o){var l=this.image,u=l.getHeight(),h=this.crossCheckStateCount;h[0]=0,h[1]=0,h[2]=0;for(var f=i;f>=0&&l.get(n,f)&&h[1]<=s;)h[1]++,f--;if(f<0||h[1]>s)return NaN;for(;f>=0&&!l.get(n,f)&&h[0]<=s;)h[0]++,f--;if(h[0]>s)return NaN;for(f=i+1;f<u&&l.get(n,f)&&h[1]<=s;)h[1]++,f++;if(f===u||h[1]>s)return NaN;for(;f<u&&!l.get(n,f)&&h[2]<=s;)h[2]++,f++;if(h[2]>s)return NaN;var c=h[0]+h[1]+h[2];return 5*Math.abs(c-o)>=2*o?NaN:this.foundPatternCross(h)?t.centerFromEnd(h,f):NaN},t.prototype.handlePossibleCenter=function(n,o,l){var u,h,f=n[0]+n[1]+n[2],c=t.centerFromEnd(n,l),b=this.crossCheckVertical(o,c,2*n[1],f);if(!isNaN(b)){var v=(n[0]+n[1]+n[2])/3;try{for(var C=s(this.possibleCenters),p=C.next();!p.done;p=C.next()){var y=p.value;if(y.aboutEquals(v,b,c))return y.combineEstimate(b,c,v)}}catch(t){u={error:t}}finally{try{p&&!p.done&&(h=C.return)&&h.call(C)}finally{if(u)throw u.error}}var m=new i.default(c,b,v);this.possibleCenters.push(m),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(m)}return null},t})();e.default=o},1212,[17,1213,1111]);
130__d(function(g,r,_i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,i=t(r(_d[1])),n=this&&this.__extends||(o=function(t,i){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var i in o)o.hasOwnProperty(i)&&(t[i]=o[i])},o(t,i)},function(t,i){function n(){this.constructor=t}o(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}),u=(function(t){function o(o,i,n){var u=t.call(this,o,i)||this;return u.estimatedModuleSize=n,u}return n(o,t),o.prototype.aboutEquals=function(t,o,i){if(Math.abs(o-this.getY())<=t&&Math.abs(i-this.getX())<=t){var n=Math.abs(t-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},o.prototype.combineEstimate=function(t,i,n){return new o((this.getX()+i)/2,(this.getY()+t)/2,(this.estimatedModuleSize+n)/2)},o})(i.default);e.default=u},1213,[17,1130]);
131__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),i=t(r(d[3])),s=t(r(d[4])),l=t(r(d[5])),f=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,o=n&&t[n],i=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},u=(function(){function t(t,n){this.image=t,this.resultPointCallback=n,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=n}return t.prototype.getImage=function(){return this.image},t.prototype.getPossibleCenters=function(){return this.possibleCenters},t.prototype.find=function(i){var l=null!=i&&void 0!==i.get(n.default.TRY_HARDER),f=null!=i&&void 0!==i.get(n.default.PURE_BARCODE),u=this.image,h=u.getHeight(),c=u.getWidth(),C=Math.floor(3*h/(4*t.MAX_MODULES));(C<t.MIN_SKIP||l)&&(C=t.MIN_SKIP);for(var v=!1,p=new Int32Array(5),M=C-1;M<h&&!v;M+=C){p[0]=0,p[1]=0,p[2]=0,p[3]=0,p[4]=0;for(var b=0,y=0;y<c;y++)if(u.get(y,M))1&~b||b++,p[b]++;else if(1&b)p[b]++;
131else if(4===b)if(t.foundPatternCross(p)){if(!0!==this.handlePossibleCenter(p,M,y,f)){p[0]=p[2],p[1]=p[3],p[2]=p[4],p[3]=1,p[4]=0,b=3;continue}if(C=2,!0===this.hasSkipped)v=this.haveMultiplyConfirmedCenters();else{var N=this.findRowSkip();N>p[2]&&(M+=N-p[2]-C,y=c-1)}b=0,p[0]=0,p[1]=0,p[2]=0,p[3]=0,p[4]=0}else p[0]=p[2],p[1]=p[3],p[2]=p[4],p[3]=1,p[4]=0,b=3;else p[++b]++;if(t.foundPatternCross(p))!0===this.handlePossibleCenter(p,M,c,f)&&(C=p[0],this.hasSkipped&&(v=this.haveMultiplyConfirmedCenters()))}var m=this.selectBestPatterns();return o.default.orderBestPatterns(m),new s.default(m)},t.centerFromEnd=function(t,n){return n-t[4]-t[3]-t[2]/2},t.foundPatternCross=function(t){for(var n=0,o=0;o<5;o++){var i=t[o];if(0===i)return!1;n+=i}if(n<7)return!1;var s=n/7,l=s/2;return Math.abs(s-t[0])<l&&Math.abs(s-t[1])<l&&Math.abs(3*s-t[2])<3*l&&Math.abs(s-t[3])<l&&Math.abs(s-t[4])<l},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(n,o,i,s){for(var l=this.getCrossCheckStateCount(),f=0,u=this.image;n>=f&&o>=f&&u.get(o-f,n-f);)l[2]++,f++;if(n<f||o<f)return!1;for(;n>=f&&o>=f&&!u.get(o-f,n-f)&&l[1]<=i;)l[1]++,f++;if(n<f||o<f||l[1]>i)return!1;for(;n>=f&&o>=f&&u.get(o-f,n-f)&&l[0]<=i;)l[0]++,f++;if(l[0]>i)return!1;var h=u.getHeight(),c=u.getWidth();for(f=1;n+f<h&&o+f<c&&u.get(o+f,n+f);)l[2]++,f++;if(n+f>=h||o+f>=c)return!1;for(;n+f<h&&o+f<c&&!u.get(o+f,n+f)&&l[3]<i;)l[3]++,f++;if(n+f>=h||o+f>=c||l[3]>=i)return!1;for(;n+f<h&&o+f<c&&u.get(o+f,n+f)&&l[4]<i;)l[4]++,f++;if(l[4]>=i)return!1;var C=l[0]+l[1]+l[2]+l[3]+l[4];return Math.abs(C-s)<2*s&&t.foundPatternCross(l)},t.prototype.crossCheckVertical=function(n,o,i,s){for(var l=this.image,f=l.getHeight(),u=this.getCrossCheckStateCount(),h=n;h>=0&&l.get(o,h);)u[2]++,h--;if(h<0)return NaN;for(;h>=0&&!l.get(o,h)&&u[1]<=i;)u[1]++,h--;if(h<0||u[1]>i)return NaN;for(;h>=0&&l.get(o,h)&&u[0]<=i;)u[0]++,h--;if(u[0]>i)return NaN;for(h=n+1;h<f&&l.get(o,h);)u[2]++,h++;if(h===f)return NaN;for(;h<f&&!l.get(o,h)&&u[3]<i;)u[3]++,h++;if(h===f||u[3]>=i)return NaN;for(;h<f&&l.get(o,h)&&u[4]<i;)u[4]++,h++;if(u[4]>=i)return NaN;var c=u[0]+u[1]+u[2]+u[3]+u[4];return 5*Math.abs(c-s)>=2*s?NaN:t.foundPatternCross(u)?t.centerFromEnd(u,h):NaN},t.prototype.crossCheckHorizontal=function(n,o,i,s){for(var l=this.image,f=l.getWidth(),u=this.getCrossCheckStateCount(),h=n;h>=0&&l.get(h,o);)u[2]++,h--;if(h<0)return NaN;for(;h>=0&&!l.get(h,o)&&u[1]<=i;)u[1]++,h--;if(h<0||u[1]>i)return NaN;for(;h>=0&&l.get(h,o)&&u[0]<=i;)u[0]++,h--;if(u[0]>i)return NaN;for(h=n+1;h<f&&l.get(h,o);)u[2]++,h++;if(h===f)return NaN;for(;h<f&&!l.get(h,o)&&u[3]<i;)u[3]++,h++;if(h===f||u[3]>=i)return NaN;for(;h<f&&l.get(h,o)&&u[4]<i;)u[4]++,h++;if(u[4]>=i)return NaN;var c=u[0]+u[1]+u[2]+u[3]+u[4];return 5*Math.abs(c-s)>=s?NaN:t.foundPatternCross(u)?t.centerFromEnd(u,h):NaN},t.prototype.handlePossibleCenter=function(n,o,s,l){var f=n[0]+n[1]+n[2]+n[3]+n[4],u=t.centerFromEnd(n,s),h=this.crossCheckVertical(o,Math.floor(u),n[2],f);if(!isNaN(h)&&(u=this.crossCheckHorizontal(Math.floor(u),Math.floor(h),n[2],f),!isNaN(u)&&(!l||this.crossCheckDiagonal(Math.floor(h),Math.floor(u),n[2],f)))){for(var c=f/7,C=!1,v=this.possibleCenters,p=0,M=v.length;p<M;p++){var b=v[p];if(b.aboutEquals(c,h,u)){v[p]=b.combineEstimate(h,u,c),C=!0;break}}if(!C){var y=new i.default(u,h,c);v.push(y),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(y)}return!0}return!1},t.prototype.findRowSkip=function(){var n,o;if(this.possibleCenters.length<=1)return 0;var i=null;try{for(var s=f(this.possibleCenters),l=s.next();!l.done;l=s.next()){var u=l.value;if(u.getCount()>=t.CENTER_QUORUM){if(null!=i)return this.hasSkipped=!0,Math.floor((Math.abs(i.getX()-u.getX())-Math.abs(i.getY()-u.getY()))/2);i=u}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return 0},t.prototype.haveMultiplyConfirmedCenters=function(){var n,o,i,s,l=0,u=0,h=this.possibleCenters.length;try{for(var c=f(this.possibleCenters),C=c.next();!C.done;C=c.next()){(y=C.value).getCount()>=t.CENTER_QUORUM&&(l++,u+=y.getEstimatedModuleSize())}}catch(t){n={error:t}}
131finally{try{C&&!C.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}if(l<3)return!1;var v=u/h,p=0;try{for(var M=f(this.possibleCenters),b=M.next();!b.done;b=M.next()){var y=b.value;p+=Math.abs(y.getEstimatedModuleSize()-v)}}catch(t){i={error:t}}finally{try{b&&!b.done&&(s=M.return)&&s.call(M)}finally{if(i)throw i.error}}return p<=.05*u},t.prototype.selectBestPatterns=function(){var t,n,o,i,s=this.possibleCenters.length;if(s<3)throw new l.default;var u,h=this.possibleCenters;if(s>3){var c=0,C=0;try{for(var v=f(this.possibleCenters),p=v.next();!p.done;p=v.next()){var M=p.value.getEstimatedModuleSize();c+=M,C+=M*M}}catch(n){t={error:n}}finally{try{p&&!p.done&&(n=v.return)&&n.call(v)}finally{if(t)throw t.error}}u=c/s;var b=Math.sqrt(C/s-u*u);h.sort(function(t,n){var o=Math.abs(n.getEstimatedModuleSize()-u),i=Math.abs(t.getEstimatedModuleSize()-u);return o<i?-1:o>i?1:0});for(var y=Math.max(.2*u,b),N=0;N<h.length&&h.length>3;N++){var m=h[N];Math.abs(m.getEstimatedModuleSize()-u)>y&&(h.splice(N,1),N--)}}if(h.length>3){c=0;try{for(var S=f(h),E=S.next();!E.done;E=S.next()){c+=E.value.getEstimatedModuleSize()}}catch(t){o={error:t}}finally{try{E&&!E.done&&(i=S.return)&&i.call(S)}finally{if(o)throw o.error}}u=c/h.length,h.sort(function(t,n){if(n.getCount()===t.getCount()){var o=Math.abs(n.getEstimatedModuleSize()-u),i=Math.abs(t.getEstimatedModuleSize()-u);return o<i?1:o>i?-1:0}return n.getCount()-t.getCount()}),h.splice(3)}return[h[0],h[1],h[2]]},t.CENTER_QUORUM=2,t.MIN_SKIP=3,t.MAX_MODULES=57,t})();e.default=u},1214,[17,1106,1130,1215,1216,1111]);
132__d(function(g,r,_i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),i=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function i(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),u=(function(t){function o(o,n,i,u){var s=t.call(this,o,n)||this;return s.estimatedModuleSize=i,s.count=u,void 0===u&&(s.count=1),s}return i(o,t),o.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},o.prototype.getCount=function(){return this.count},o.prototype.aboutEquals=function(t,o,n){if(Math.abs(o-this.getY())<=t&&Math.abs(n-this.getX())<=t){var i=Math.abs(t-this.estimatedModuleSize);return i<=1||i<=this.estimatedModuleSize}return!1},o.prototype.combineEstimate=function(t,n,i){var u=this.count+1;return new o((this.count*this.getX()+n)/u,(this.count*this.getY()+t)/u,(this.count*this.estimatedModuleSize+i)/u,u)},o})(n.default);e.default=u},1215,[17,1130]);
133__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(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})();e.default=t},1216,[]);
134__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),i=t(r(d[4])),l=t(r(d[5])),f=t(r(d[6])),M=t(r(d[7])),h=t(r(d[8])),c=t(r(d[9])),_=t
134(r(d[10])),O=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,o=n&&t[n],u=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&u>=t.length&&(t=void 0),{value:t&&t[u++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},E=(function(){function t(){}return t.prototype.decode=function(n,o){void 0===o&&(o=null);var u=t.decode(n,o,!1);if(null==u||0===u.length||null==u[0])throw i.default.getNotFoundInstance();return u[0]},t.prototype.decodeMultiple=function(n,l){void 0===l&&(l=null);try{return t.decode(n,l,!0)}catch(t){if(t instanceof u.default||t instanceof o.default)throw i.default.getNotFoundInstance();throw t}},t.decode=function(o,u,i){var f,M,E=new Array,D=c.default.detectMultiple(o,u,i);try{for(var v=O(D.getPoints()),T=v.next();!T.done;T=v.next()){var W=T.value,s=_.default.decode(D.getBits(),W[4],W[5],W[6],W[7],t.getMinCodewordWidth(W),t.getMaxCodewordWidth(W)),y=new l.default(s.getText(),s.getRawBytes(),void 0,W,n.default.PDF_417);y.putMetadata(h.default.ERROR_CORRECTION_LEVEL,s.getECLevel());var p=s.getOther();null!=p&&y.putMetadata(h.default.PDF417_EXTRA_METADATA,p),E.push(y)}}catch(t){f={error:t}}finally{try{T&&!T.done&&(M=v.return)&&M.call(v)}finally{if(f)throw f.error}}return E.map(function(t){return t})},t.getMaxWidth=function(t,n){return null==t||null==n?0:Math.trunc(Math.abs(t.getX()-n.getX()))},t.getMinWidth=function(t,n){return null==t||null==n?M.default.MAX_VALUE:Math.trunc(Math.abs(t.getX()-n.getX()))},t.getMaxCodewordWidth=function(n){return Math.floor(Math.max(Math.max(t.getMaxWidth(n[0],n[4]),t.getMaxWidth(n[6],n[2])*f.default.MODULES_IN_CODEWORD/f.default.MODULES_IN_STOP_PATTERN),Math.max(t.getMaxWidth(n[1],n[5]),t.getMaxWidth(n[7],n[3])*f.default.MODULES_IN_CODEWORD/f.default.MODULES_IN_STOP_PATTERN)))},t.getMinCodewordWidth=function(n){return Math.floor(Math.min(Math.min(t.getMinWidth(n[0],n[4]),t.getMinWidth(n[6],n[2])*f.default.MODULES_IN_CODEWORD/f.default.MODULES_IN_STOP_PATTERN),Math.min(t.getMinWidth(n[1],n[5]),t.getMinWidth(n[7],n[3])*f.default.MODULES_IN_CODEWORD/f.default.MODULES_IN_STOP_PATTERN)))},t.prototype.reset=function(){},t})();e.default=E},1217,[17,1118,1093,1108,1111,1117,1218,1102,1119,1219,1221]);
135__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),_=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,o=n&&t[n],_=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&_>=t.length&&(t=void 0),{value:t&&t[_++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},u=(function(){function t(){}return t.prototype.PDF417Common=function(){},t.getBitCountSum=function(t){return o.default.sum(t)},t.toIntArray=function(n){var o,u;if(null==n||!n.length)return t.EMPTY_INT_ARRAY;var O=new Int32Array(n.length),i=0;try{for(var f=_(n),l=f.next();!l.done;l=f.next()){var E=l.value;O[i++]=E}}catch(t){o={error:t}}finally{try{l&&!l.done&&(u=f.return)&&u.call(f)}finally{if(o)throw o.error}}return O},t.getCodeword=function(o){var _=n.default.binarySearch(t.SYMBOL_TABLE,262143&o);return _<0?-1:(t.CODEWORD_TABLE[_]-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
vendor: 18,272 bytes, line 135
135.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]),
135t
vendor: 12,860 bytes, line 135
135.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])
135,t})();e.default=u},1218,[17,1098,1131]);
136__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),f=t(r(d[4])),i=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,u=n&&t[n],l=0;if(u)return u.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&l>=t.length&&(t=void 0),{value:t&&t[l++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},o=(function(){function t(){}return t.detectMultiple=function(n,u,l){var i=n.getBlackMatrix(),o=t.detect(l,i);return o.length||((i=i.clone()).rotate180(),o=t.detect(l,i)),new f.default(i,o)},t.detect=function(n,u){for(var l,f,o=new Array,A=0,_=0,T=!1;A<u.getHeight();){var c=t.findVertices(u,A,_);if(null!=c[0]||null!=c[3]){if(T=!0,o.push(c),!n)break;null!=c[2]?(_=Math.trunc(c[2].getX()),A=Math.trunc(c[2].getY())):(_=Math.trunc(c[4].getX()),A=Math.trunc(c[4].getY()))}else{if(!T)break;T=!1,_=0;try{for(var I=(l=void 0,i(o)),R=I.next();!R.done;R=I.next()){var h=R.value;null!=h[1]&&(A=Math.trunc(Math.max(A,h[1].getY()))),null!=h[3]&&(A=Math.max(A,Math.trunc(h[3].getY())))}}catch(t){l={error:t}}finally{try{R&&!R.done&&(f=I.return)&&f.call(I)}finally{if(l)throw l.error}}A+=t.ROW_STEP}}return o},t.findVertices=function(n,u,l){var f=n.getHeight(),i=n.getWidth(),o=new Array(8);return t.copyToResult(o,t.findRowsWithPattern(n,f,i,u,l,t.START_PATTERN),t.INDEXES_START_PATTERN),null!=o[4]&&(l=Math.trunc(o[4].getX()),u=Math.trunc(o[4].getY())),t.copyToResult(o,t.findRowsWithPattern(n,f,i,u,l,t.STOP_PATTERN),t.INDEXES_STOP_PATTERN),o},t.copyToResult=function(t,n,u){for(var l=0;l<u.length;l++)t[u[l]]=n[l]},t.findRowsWithPattern=function(u,f,i,o,A,_){for(var T=new Array(4),c=!1,I=new Int32Array(_.length);o<f;o+=t.ROW_STEP){if(null!=(M=t.findGuardPattern(u,A,o,i,!1,_,I))){for(;o>0;){if(null==(E=t.findGuardPattern(u,A,--o,i,!1,_,I))){o++;break}M=E}T[0]=new n.default(M[0],o),T[1]=new n.default(M[1],o),c=!0;break}}var R=o+1;if(c){for(var h=0,E=Int32Array.from([Math.trunc(T[0].getX()),Math.trunc(T[1].getX())]);R<f;R++){var M;if(null!=(M=t.findGuardPattern(u,E[0],R,i,!1,_,I))&&Math.abs(E[0]-M[0])<t.MAX_PATTERN_DRIFT&&Math.abs(E[1]-M[1])<t.MAX_PATTERN_DRIFT)E=M,h=0;else{if(h>t.SKIPPED_ROW_COUNT_MAX)break;h++}}R-=h+1,T[2]=new n.default(E[0],R),T[3]=new n.default(E[1],R)}return R-o<t.BARCODE_MIN_HEIGHT&&l.default.fill(T,null),T},t.findGuardPattern=function(n,f,i,o,A,_,T){l.default.fillWithin(T,0,T.length,0);for(var c=f,I=0;n.get(c,i)&&c>0&&I++<t.MAX_PIXEL_DRIFT;)c--;for(var R=c,h=0,E=_.length,M=A;R<o;R++){if(n.get(R,i)!==M)T[h]++;else{if(h===E-1){if(t.patternMatchVariance(T,_,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return new Int32Array([c,R]);c+=T[0]+T[1],u.default.arraycopy(T,2,T,0,h-1),T[h-1]=0,T[h]=0,h--}else h++;T[h]=1,M=!M}}return h===E-1&&t.patternMatchVariance(T,_,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE?new Int32Array([c,R-1]):null},t.patternMatchVariance=function(t,n,u){for(var l=t.length,f=0,i=0,o=0;o<l;o++)f+=t[o],i+=n[o];if(f<i)return 1/0;var A=f/i;u*=A;for(var _=0,T=0;T<l;T++){var c=t[T],I=n[T]*A,R=c>I?c-I:I-c;if(R>u)return 1/0;_+=R}return _/f},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})();e.default=o},1219,[17,1130,1099,1098,1220]);
137__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(t,n){this.bits=t,this.points=n}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t})();e.default=t},1220,[]);
138__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),l=t(r(d[4])),i=t(r(d[5])),f=t(r(d[6])),c=t(r(d[7
138])),C=t(r(d[8])),s=t(r(d[9])),h=t(r(d[10])),v=t(r(d[11])),w=t(r(d[12])),m=t(r(d[13])),B=t(r(d[14])),y=t(r(d[15])),R=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,o=n&&t[n],u=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&u>=t.length&&(t=void 0),{value:t&&t[u++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},M=(function(){function t(){}return t.decode=function(n,o,l,i,f,s,v){for(var w,m=new c.default(n,o,l,i,f),B=null,y=null,R=!0;;R=!1){if(null!=o&&(B=t.getRowIndicatorColumn(n,m,o,!0,s,v)),null!=i&&(y=t.getRowIndicatorColumn(n,m,i,!1,s,v)),null==(w=t.merge(B,y)))throw u.default.getNotFoundInstance();var M=w.getBoundingBox();if(!R||null==M||!(M.getMinY()<m.getMinY()||M.getMaxY()>m.getMaxY()))break;m=M}w.setBoundingBox(m);var E=w.getBarcodeColumnCount()+1;w.setDetectionResultColumn(0,B),w.setDetectionResultColumn(E,y);for(var x=null!=B,S=1;S<=E;S++){var D=x?S:E-S;if(void 0===w.getDetectionResultColumn(D)){var b=void 0;b=0===D||D===E?new C.default(m,0===D):new h.default(m),w.setDetectionResultColumn(D,b);for(var I=-1,_=I,X=m.getMinY();X<=m.getMaxY();X++){if((I=t.getStartColumn(w,D,X,x))<0||I>m.getMaxX()){if(-1===_)continue;I=_}var A=t.detectCodeword(n,m.getMinX(),m.getMaxX(),x,I,X,s,v);null!=A&&(b.setCodeword(X,A),_=I,s=Math.min(s,A.getWidth()),v=Math.max(v,A.getWidth()))}}}return t.createDecoderResult(w)},t.merge=function(n,o){if(null==n&&null==o)return null;var u=t.getBarcodeMetadata(n,o);if(null==u)return null;var l=c.default.merge(t.adjustBoundingBox(n),t.adjustBoundingBox(o));return new s.default(u,l)},t.adjustBoundingBox=function(n){var o,u;if(null==n)return null;var l=n.getRowHeights();if(null==l)return null;var i=t.getMax(l),f=0;try{for(var c=R(l),C=c.next();!C.done;C=c.next()){var s=C.value;if(f+=i-s,s>0)break}}catch(t){o={error:t}}finally{try{C&&!C.done&&(u=c.return)&&u.call(c)}finally{if(o)throw o.error}}for(var h=n.getCodewords(),v=0;f>0&&null==h[v];v++)f--;var w=0;for(v=l.length-1;v>=0&&(w+=i-l[v],!(l[v]>0));v--);for(v=h.length-1;w>0&&null==h[v];v--)w--;return n.getBoundingBox().addMissingRows(f,w,n.isLeft())},t.getMax=function(t){var n,o,u=-1;try{for(var l=R(t),i=l.next();!i.done;i=l.next()){var f=i.value;u=Math.max(u,f)}}catch(t){n={error:t}}
138finally{try{i&&!i.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return u},t.getBarcodeMetadata=function(t,n){var o,u;return null==t||null==(o=t.getBarcodeMetadata())?null==n?null:n.getBarcodeMetadata():null==n||null==(u=n.getBarcodeMetadata())?o:o.getColumnCount()!==u.getColumnCount()&&o.getErrorCorrectionLevel()!==u.getErrorCorrectionLevel()&&o.getRowCount()!==u.getRowCount()?null:o},t.getRowIndicatorColumn=function(n,o,u,l,i,f){for(var c=new C.default(o,l),s=0;s<2;s++)for(var h=0===s?1:-1,v=Math.trunc(Math.trunc(u.getX())),w=Math.trunc(Math.trunc(u.getY()));w<=o.getMaxY()&&w>=o.getMinY();w+=h){var m=t.detectCodeword(n,0,n.getWidth(),l,v,w,i,f);null!=m&&(c.setCodeword(w,m),v=l?m.getStartX():m.getEndX())}return c},t.adjustCodewordCount=function(n,o){var l=o[0][1],f=l.getValue(),c=n.getBarcodeColumnCount()*n.getBarcodeRowCount()-t.getNumberOfECCodeWords(n.getBarcodeECLevel());if(0===f.length){if(c<1||c>i.default.MAX_CODEWORDS_IN_BARCODE)throw u.default.getNotFoundInstance();l.setValue(c)}else f[0]!==c&&l.setValue(c)},t.createDecoderResult=function(n){var o=t.createBarcodeMatrix(n);t.adjustCodewordCount(n,o);for(var u=new Array,l=new Int32Array(n.getBarcodeRowCount()*n.getBarcodeColumnCount()),f=[],c=new Array,C=0;C<n.getBarcodeRowCount();C++)for(var s=0;s<n.getBarcodeColumnCount();s++){var h=o[C][s+1].getValue(),v=C*n.getBarcodeColumnCount()+s;0===h.length?u.push(v):1===h.length?l[v]=h[0]:(c.push(v),f.push(h))}for(var w=new Array(f.length),m=0;m<w.length;m++)w[m]=f[m];return t.createDecoderResultFromAmbiguousValues(n.getBarcodeECLevel(),l,i.default.toIntArray(u),i.default.toIntArray(c),w)},t.createDecoderResultFromAmbiguousValues=function(o,u,l,i,f){for(var c=new Int32Array(i.length),C=100;C-- >0;){for(var s=0;s<c.length;s++)u[i[s]]=f[s][c[s]];try{return t.decodeCodewords(u,o,l)}catch(t){if(!(t instanceof n.default))throw t}if(0===c.length)throw n.default.getChecksumInstance();for(s=0;s<c.length;s++){if(c[s]<f[s].length-1){c[s]++;break}if(c[s]=0,s===c.length-1)throw n.default.getChecksumInstance()}}throw n.default.getChecksumInstance()},t.createBarcodeMatrix=function(t){for(var n,o,u,l,i=Array.from({length:t.getBarcodeRowCount()},function(){return new Array(t.getBarcodeColumnCount()+2)}),f=0;f<i.length;f++)for(var c=0;c<i[f].length;c++)i[f][c]=new w.default;var C=0;try{for(var s=R(t.getDetectionResultColumns()),h=s.next();!h.done;h=s.next()){var v=h.value;if(null!=v)try{for(var m=(u=void 0,R(v.getCodewords())),B=m.next();!B.done;B=m.next()){var y=B.value;if(null!=y){var M=y.getRowNumber();if(M>=0){if(M>=i.length)continue;i[M][C].setValue(y.getValue())}}}}catch(t){u={error:t}}finally{try{B&&!B.done&&(l=m.return)&&l.call(m)}finally{if(u)throw u.error}}C++}}catch(t){n={error:t}}finally{try{h&&!h.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return i},t.isValidBarcodeColumn=function(t,n){return n>=0&&n<=t.getBarcodeColumnCount()+1},t.getStartColumn=function(n,o,u,l){var i,f,c=l?1:-1,C=null;if(t.isValidBarcodeColumn(n,o-c)&&(C=n.getDetectionResultColumn(o-c).getCodeword(u)),null!=C)return l?C.getEndX():C.getStartX();if(null!=(C=n.getDetectionResultColumn(o).getCodewordNearby(u)))return l?C.getStartX():C.getEndX();if(t.isValidBarcodeColumn(n,o-c)&&(C=n.getDetectionResultColumn(o-c).getCodewordNearby(u)),null!=C)return l?C.getEndX():C.getStartX();for(var s=0;t.isValidBarcodeColumn(n,o-c);){o-=c;try{for(var h=(i=void 0,R(n.getDetectionResultColumn(o).getCodewords())),v=h.next();!v.done;v=h.next()){var w=v.value;if(null!=w)return(l?w.getEndX():w.getStartX())+c*s*(w.getEndX()-w.getStartX())}}catch(t){i={error:t}}finally{try{v&&!v.done&&(f=h.return)&&f.call(h)}finally{if(i)throw i.error}}s++}return l?n.getBoundingBox().getMinX():n.getBoundingBox().getMaxX()},t.detectCodeword=function(n,o,u,f,c,C,s,h){c=t.adjustCodewordStartColumn(n,o,u,f,c,C);var w,B=t.getModuleBitCount(n,o,u,f,c,C);if(null==B)return null;var y=l.default.sum(B);if(f)w=c+y;else{for(var R=0;R<B.length/2;R++){var M=B[R];B[R]=B[B.length-1-R],B[B.length-1-R]=M}c=(w=c)-y}if(!t.checkCodewordSkew(y,s,h))return null;var E=m.default.getDecodedValue(B),x=i.default.getCodeword(E);return-1===x?null:new v.default(c,w,t.getCodewordBucketNumber(E),x)},t.getModuleBitCount=function(t,n,o,u,l,i){for(var f=l,c=new Int32Array(8),C=0,s=u?1:-1,h=u;(u?f<o:f>=n)&&C<c.length;)t.get(f,i)===h?(c[C]++,f+=s):(C++,h=!h);return C===c.length||f===(u?o:n)&&C===c.length-1?c:null},t.getNumberOfECCodeWords=function(t){return 2<<t},t.adjustCodewordStartColumn=function(n,o,u,l,i,f){for(var c=i,C=l?-1:1,s=0;s<2;s++){for(;(l?c>=o:c<u)&&l===n.get(c,f);
138){if(Math.abs(i-c)>t.CODEWORD_SKEW_SIZE)return i;c+=C}C=-C,l=!l}return c},t.checkCodewordSkew=function(n,o,u){return o-t.CODEWORD_SKEW_SIZE<=n&&n<=u+t.CODEWORD_SKEW_SIZE},t.decodeCodewords=function(n,u,l){if(0===n.length)throw o.default.getFormatInstance();var i=1<<u+1,f=t.correctErrors(n,l,i);t.verifyCodewordCount(n,i);var c=B.default.decode(n,''+u);return c.setErrorsCorrected(f),c.setErasures(l.length),c},t.correctErrors=function(o,u,l){if(null!=u&&u.length>l/2+t.MAX_ERRORS||l<0||l>t.MAX_EC_CODEWORDS)throw n.default.getChecksumInstance();return t.errorCorrection.decode(o,l,u)},t.verifyCodewordCount=function(t,n){if(t.length<4)throw o.default.getFormatInstance();var u=t[0];if(u>t.length)throw o.default.getFormatInstance();if(0===u){if(!(n<t.length))throw o.default.getFormatInstance();t[0]=t.length-n}},t.getBitCountForCodeword=function(t){for(var n=new Int32Array(8),o=0,u=n.length-1;!((1&t)!==o&&(o=1&t,--u<0));)n[u]++,t>>=1;return n},t.getCodewordBucketNumber=function(t){return t instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(t):this.getCodewordBucketNumber_number(t)},t.getCodewordBucketNumber_number=function(n){return t.getCodewordBucketNumber(t.getBitCountForCodeword(n))},t.getCodewordBucketNumber_Int32Array=function(t){return(t[0]-t[2]+t[4]-t[6]+9)%9},t.toString=function(t){for(var n=new y.default,o=0;o<t.length;o++){n.format('Row %2d: ',o);for(var u=0;u<t[o].length;u++){var l=t[o][u];0===l.getValue().length?n.format('        ',null):n.format('%4d(%2d)',l.getValue()[0],l.getConfidence(l.getValue()[0]))}n.format('%n')}return n.toString()},t.CODEWORD_SKEW_SIZE=2,t.MAX_ERRORS=3,t.MAX_EC_CODEWORDS=512,t.errorCorrection=new f.default,t})();e.default=M},1221,[17,1093,1108,1111,1131,1218,1222,1226,1227,1232,1229,1233,1231,1234,1235,1230]);
139__d(function(g,_r,_i,_a2,_m,_e,d){var e=_r(d[0]);
139Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(_r(d[1])),i=e(_r(d[2])),r=e(_r(d[3])),n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},l=(function(){function e(){this.field=r.default.PDF417_GF}return e.prototype.decode=function(e,r,l){for(var f,a,o=new i.default(this.field,e),u=new Int32Array(r),s=!1,h=r;h>0;h--){var c=o.evaluateAt(this.field.exp(h));u[r-h]=c,0!==c&&(s=!0)}if(!s)return 0;var v=this.field.getOne();if(null!=l)try{for(var y=n(l),p=y.next();!p.done;p=y.next()){var m=p.value,w=this.field.exp(e.length-1-m),b=new i.default(this.field,new Int32Array([this.field.subtract(0,w),1]));v=v.multiply(b)}}catch(e){f={error:e}}finally{try{p&&!p.done&&(a=y.return)&&a.call(y)}finally{if(f)throw f.error}}var D=new i.default(this.field,u),A=this.runEuclideanAlgorithm(this.field.buildMonomial(r,1),D,r),I=A[0],C=A[1],E=this.findErrorLocations(I),M=this.findErrorMagnitudes(C,I,E);for(h=0;h<E.length;h++){var _=e.length-1-this.field.log(E[h]);if(_<0)throw t.default.getChecksumInstance();e[_]=this.field.subtract(e[_],M[h])}return E.length},e.prototype.runEuclideanAlgorithm=function(e,i,r){if(e.getDegree()<i.getDegree()){var n=e;e=i,i=n}for(var l=e,f=i,a=this.field.getZero(),o=this.field.getOne();f.getDegree()>=Math.round(r/2);){var u=l,s=a;if(a=o,(l=f).isZero())throw t.default.getChecksumInstance();f=u;for(var h=this.field.getZero(),c=l.getCoefficient(l.getDegree()),v=this.field.inverse(c);f.getDegree()>=l.getDegree()&&!f.isZero();){var y=f.getDegree()-l.getDegree(),p=this.field.multiply(f.getCoefficient(f.getDegree()),v);h=h.add(this.field.buildMonomial(y,p)),f=f.subtract(l.multiplyByMonomial(y,p))}o=h.multiply(a).subtract(s).negative()}var m=o.getCoefficient(0);if(0===m)throw t.default.getChecksumInstance();var w=this.field.inverse(m);return[o.multiply(w),f.multiply(w)]},e.prototype.findErrorLocations=function(e){for(var i=e.getDegree(),r=new Int32Array(i),n=0,l=1;l<this.field.getSize()&&n<i;l++)0===e.evaluateAt(l)&&(r[n]=this.field.inverse(l),n++);if(n!==i)throw t.default.getChecksumInstance();return r},e.prototype.findErrorMagnitudes=function(e,t,r){for(var n=t.getDegree(),l=new Int32Array(n),f=1;f<=n;f++)l[n-f]=this.field.multiply(f,t.getCoefficient(f));var a=new i.default(this.field,l),o=r.length,u=new Int32Array(o);for(f=0;f<o;f++){var s=this.field.inverse(r[f]),h=this.field.subtract(0,e.evaluateAt(s)),c=this.field.inverse(a.evaluateAt(s));u[f]=this.field.multiply(h,c)}return u},e})();_e.default=l},1222,[17,1093,1223,1224]);
140__d(function(g,r,_i,_a2,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=t(r(d[1])),n=t(r(d[2])),f=t(r(d[3])),o=this&&this.__values||function(t){var i="function"==typeof Symbol&&Symbol.iterator,n=i&&t[i],f=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&f>=t.length&&(t=void 0),{value:t&&t[f++],done:!t}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},l=(function(){function t(t,f){if(0===f.length)throw new i.default;this.field=t;var o=f.length;if(o>1&&0===f[0]){for(var l=1;l<o&&0===f[l];)l++;l===o?this.coefficients=new Int32Array([0]):(this.coefficients=new Int32Array(o-l),n.default.arraycopy(f,l,this.coefficients,0,this.coefficients.length))}else this.coefficients=f}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 i,n;if(0===t)return this.getCoefficient(0);if(1===t){var f=0;try{for(var l=o(this.coefficients),s=l.next();!s.done;s=l.next()){var a=s.value;f=this.field.add(f,a)}}catch(t){i={error:t}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(i)throw i.error}}return f}for(var h=this.coefficients[0],u=this.coefficients.length,c=1;c<u;c++)h=this.field.add(this.field.multiply(t,h),this.coefficients[c]);return h},t.prototype.add=function(f){if(!this.field.equals(f.field))throw new i.default('ModulusPolys do n
140ot have same ModulusGF field');if(this.isZero())return f;if(f.isZero())return this;var o=this.coefficients,l=f.coefficients;if(o.length>l.length){var s=o;o=l,l=s}var a=new Int32Array(l.length),h=l.length-o.length;n.default.arraycopy(l,0,a,0,h);for(var u=h;u<l.length;u++)a[u]=this.field.add(o[u-h],l[u]);return new t(this.field,a)},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(i){return i instanceof t?this.multiplyOther(i):this.multiplyScalar(i)},t.prototype.multiplyOther=function(n){if(!this.field.equals(n.field))throw new i.default('ModulusPolys do not have same ModulusGF field');if(this.isZero()||n.isZero())return new t(this.field,new Int32Array([0]));for(var f=this.coefficients,o=f.length,l=n.coefficients,s=l.length,a=new Int32Array(o+s-1),h=0;h<o;h++)for(var u=f[h],c=0;c<s;c++)a[h+c]=this.field.add(a[h+c],this.field.multiply(u,l[c]));return new t(this.field,a)},t.prototype.negative=function(){for(var i=this.coefficients.length,n=new Int32Array(i),f=0;f<i;f++)n[f]=this.field.subtract(0,this.coefficients[f]);return new t(this.field,n)},t.prototype.multiplyScalar=function(i){if(0===i)return new t(this.field,new Int32Array([0]));if(1===i)return this;for(var n=this.coefficients.length,f=new Int32Array(n),o=0;o<n;o++)f[o]=this.field.multiply(this.coefficients[o],i);return new t(this.field,f)},t.prototype.multiplyByMonomial=function(n,f){if(n<0)throw new i.default;if(0===f)return new t(this.field,new Int32Array([0]));for(var o=this.coefficients.length,l=new Int32Array(o+n),s=0;s<o;s++)l[s]=this.field.multiply(this.coefficients[s],f);return new t(this.field,l)},t.prototype.toString=function(){for(var t=new f.default,i=this.getDegree();i>=0;i--){var n=this.getCoefficient(i);0!==n&&(n<0?(t.append(' - '),n=-n):t.length()>0&&t.append(' + '),0!==i&&1===n||t.append(n),0!==i&&(1===i?t.append('x'):(t.append('x^'),t.append(i))))}return t.toString()},t})();e.default=l},1223,[17,1092,1099,1104]);
141__d(function(g,r,_i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=t(r(_d[2])),i=t(r(_d[3])),f=t(r(_d[4])),l=this&&this.__extends||(n=function(t,o){return n=Object.
141setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),p=(function(t){function n(n,o){var i=t.call(this)||this;i.modulus=n,i.expTable=new Int32Array(n),i.logTable=new Int32Array(n);for(var f=1,l=0;l<n;l++)i.expTable[l]=f,f=f*o%n;for(l=0;l<n-1;l++)i.logTable[i.expTable[l]]=l;return i.zero=new u.default(i,new Int32Array([0])),i.one=new u.default(i,new Int32Array([1])),i}return l(n,t),n.prototype.getZero=function(){return this.zero},n.prototype.getOne=function(){return this.one},n.prototype.buildMonomial=function(t,n){if(t<0)throw new i.default;if(0===n)return this.zero;var o=new Int32Array(t+1);return o[0]=n,new u.default(this,o)},n.PDF417_GF=new n(o.default.NUMBER_OF_CODEWORDS,3),n})(f.default);e.default=p},1224,[17,1218,1223,1092,1225]);
142__d(function(g,r,i,_a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),u=t(r(d[2])),n=(function(){function t(){}return t.prototype.add=function(t,o){return(t+o)%this.modulus},t.prototype.subtract=function(t,o){return(this.modulus+t-o)%this.modulus},t.prototype.exp=function(t){return this.expTable[t]},t.prototype.log=function(t){if(0===t)throw new o.default;return this.logTable[t]},t.prototype.inverse=function(t){if(0===t)throw new u.default;return this.expTable[this.modulus-this.logTable[t]-1]},t.prototype.multiply=function(t,o){return 0===t||0===o?0:this.expTable[(this.logTable[t]+this.logTable[o])%(this.modulus-1)]},t.prototype.getSize=function(){return this.modulus},t.prototype.equals=function(t){return t===this},t})();e.default=n},1225,[17,1092,1125]);
143__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=t(r(d[2])),h=(function(){function t(o,n,h,u,s){o instanceof t?this.constructor_2(o):this.constructor_1(o,n,h,u,s)}return t.prototype.constructor_1=function(t,h,u,s,f){var p=null==h||null==u,c=null==s||null==f;if(p&&c)throw new o.default;p?(h=new n.default(0,s.getY()),u=new n.default(0,f.getY())):c&&(s=new n.default(t.getWidth()-1,h.getY()),f=new n.default(t.getWidth()-1,u.getY())),this.image=t,this.topLeft=h,this.bottomLeft=u,this.topRight=s,this.bottomRight=f,this.minX=Math.trunc(Math.min(h.getX(),u.getX())),this.maxX=Math.trunc(Math.max(s.getX(),f.getX())),this.minY=Math.trunc(Math.min(h.getY(),s.getY())),this.maxY=Math.trunc(Math.max(u.getY(),f.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(o,n){return null==o?n:null==n?o:new t(o.image,o.topLeft,o.bottomLeft,n.topRight,n.bottomRight)},t.prototype.addMissingRows=function(o,h,u){var s=this.topLeft,f=this.bottomLeft,p=this.topRight,c=this.bottomRight;if(o>0){var l=u?this.topLeft:this.topRight,M=Math.trunc(l.getY()-o);M<0&&(M=0);var Y=new n.default(l.getX(),M);u?s=Y:p=Y}if(h>0){var R=u?this.bottomLeft:this.bottomRight,L=Math.trunc(R.getY()+h);L>=this.image.getHeight()&&(L=this.image.getHeight()-1);var X=new n.default(R.getX(),L);u?f=X:c=X}return new t(this.image,s,f,p,c)},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})();e.default=h},1226,[17,1111,1130]);
144__d(function(g,r,_i,a,_m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),u=t(r(_d[2])),l=t(r(_d[3])),i=t(r(_d[4])),s=this&&this.__extends||(o=function(t,n){return o=Object.
144setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function u(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(u.prototype=n.prototype,new u)}),f=this&&this.__values||function(t){var o="function"==typeof Symbol&&Symbol.iterator,n=o&&t[o],u=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&u>=t.length&&(t=void 0),{value:t&&t[u++],done:!t}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},c=(function(t){function o(o,n){var u=t.call(this,o)||this;return u._isLeft=n,u}return s(o,t),o.prototype.setRowNumbers=function(){var t,o;try{for(var n=f(this.getCodewords()),u=n.next();!u.done;u=n.next()){var l=u.value;null!=l&&l.setRowNumberAsRowIndicatorColumn()}}catch(o){t={error:o}}finally{try{u&&!u.done&&(o=n.return)&&o.call(n)}finally{if(t)throw t.error}}},o.prototype.adjustCompleteIndicatorColumnRowNumbers=function(t){var o=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(o,t);for(var n=this.getBoundingBox(),u=this._isLeft?n.getTopLeft():n.getTopRight(),l=this._isLeft?n.getBottomLeft():n.getBottomRight(),i=this.imageRowToCodewordIndex(Math.trunc(u.getY())),s=this.imageRowToCodewordIndex(Math.trunc(l.getY())),f=-1,c=1,d=0,h=i;h<s;h++)if(null!=o[h]){var w=o[h],m=w.getRowNumber()-f;if(0===m)d++;else if(1===m)c=Math.max(c,d),d=1,f=w.getRowNumber();else if(m<0||w.getRowNumber()>=t.getRowCount()||m>h)o[h]=null;else{for(var p=void 0,v=(p=c>2?(c-2)*m:m)>=h,R=1;R<=p&&!v;R++)v=null!=o[h-R];v?o[h]=null:(f=w.getRowNumber(),d=1)}}},o.prototype.getRowHeights=function(){var t,o,n=this.getBarcodeMetadata();if(null==n)return null;this.adjustIncompleteIndicatorColumnRowNumbers(n);var u=new Int32Array(n.getRowCount());try{for(var l=f(this.getCodewords()),i=l.next();!i.done;i=l.next()){var s=i.value;if(null!=s){var c=s.getRowNumber();if(c>=u.length)continue;u[c]++}}}catch(o){t={error:o}}
144finally{try{i&&!i.done&&(o=l.return)&&o.call(l)}finally{if(t)throw t.error}}return u},o.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(t){for(var o=this.getBoundingBox(),n=this._isLeft?o.getTopLeft():o.getTopRight(),u=this._isLeft?o.getBottomLeft():o.getBottomRight(),l=this.imageRowToCodewordIndex(Math.trunc(n.getY())),i=this.imageRowToCodewordIndex(Math.trunc(u.getY())),s=this.getCodewords(),f=-1,c=1,d=0,h=l;h<i;h++)if(null!=s[h]){var w=s[h];w.setRowNumberAsRowIndicatorColumn();var m=w.getRowNumber()-f;0===m?d++:1===m?(c=Math.max(c,d),d=1,f=w.getRowNumber()):w.getRowNumber()>=t.getRowCount()?s[h]=null:(f=w.getRowNumber(),d=1)}},o.prototype.getBarcodeMetadata=function(){var t,o,l=this.getCodewords(),s=new i.default,c=new i.default,d=new i.default,h=new i.default;try{for(var w=f(l),m=w.next();!m.done;m=w.next()){var p=m.value;if(null!=p){p.setRowNumberAsRowIndicatorColumn();var v=p.getValue()%30,R=p.getRowNumber();switch(this._isLeft||(R+=2),R%3){case 0:c.setValue(3*v+1);break;case 1:h.setValue(v/3),d.setValue(v%3);break;case 2:s.setValue(v+1)}}}}catch(o){t={error:o}}finally{try{m&&!m.done&&(o=w.return)&&o.call(w)}finally{if(t)throw t.error}}if(0===s.getValue().length||0===c.getValue().length||0===d.getValue().length||0===h.getValue().length||s.getValue()[0]<1||c.getValue()[0]+d.getValue()[0]<n.default.MIN_ROWS_IN_BARCODE||c.getValue()[0]+d.getValue()[0]>n.default.MAX_ROWS_IN_BARCODE)return null;var y=new u.default(s.getValue()[0],c.getValue()[0],d.getValue()[0],h.getValue()[0]);return this.removeIncorrectCodewords(l,y),y},o.prototype.removeIncorrectCodewords=function(t,o){for(var n=0;n<t.length;n++){var u=t[n];if(null!=t[n]){var l=u.getValue()%30,i=u.getRowNumber();if(i>o.getRowCount())t[n]=null;else switch(this._isLeft||(i+=2),i%3){case 0:3*l+1!==o.getRowCountUpperPart()&&(t[n]=null);break;case 1:Math.trunc(l/3)===o.getErrorCorrectionLevel()&&l%3===o.getRowCountLowerPart()||(t[n]=null);break;case 2:l+1!==o.getColumnCount()&&(t[n]=null)}}}},o.prototype.isLeft=function(){return this._isLeft},o.prototype.toString=function(){return'IsLeft: '+this._isLeft+'\n'+t.prototype.toString.call(this)},o})(l.default);e.default=c},1227,[17,1218,1228,1229,1231]);
145__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(t,o,n,u){this.columnCount=t,this.errorCorrectionLevel=u,this.rowCountUpperPart=o,this.rowCountLowerPart=n,this.rowCount=o+n}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})();e.default=t},1228,[]);
146__d(function(g,r,_i,a,_m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(r(d[1])),n=o(r(d[2])),i=this&&this.__values||function(o){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&o[t],i=0;if(n)return n.call(o);if(o&&"number"==typeof o.length)return{next:function(){return o&&i>=o.length&&(o=void 0),{value:o&&o[i++],done:!o}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},u=(function(){function o(o){this.boundingBox=new n.default(o),this.codewords=new Array(o.getMaxY()-o.getMinY()+1)}return o.prototype.getCodewordNearby=function(t){var n=this.getCodeword(t);if(null!=n)return n;for(var i=1;i<o.MAX_NEARBY_DISTANCE;i++){var u=this.imageRowToCodewordIndex(t)-i;if(u>=0&&null!=(n=this.codewords[u]))return n;if((u=this.imageRowToCodewordIndex(t)+i)<this.codewords.length&&null!=(n=this.codewords[u]))return n}return null},o.prototype.imageRowToCodewordIndex=function(o){return o-this.boundingBox.getMinY()},o.prototype.setCodeword=function(o,t){this.codewords[this.imageRowToCodewordIndex(o)]=t},o.prototype.getCodeword=function(o){return this.codewords[this.imageRowToCodewordIndex(o)]},o.prototype.getBoundingBox=function(){return this.boundingBox}
146,o.prototype.getCodewords=function(){return this.codewords},o.prototype.toString=function(){var o,n,u=new t.default,l=0;try{for(var f=i(this.codewords),s=f.next();!s.done;s=f.next()){var w=s.value;null!=w?u.format('%3d: %3d|%3d%n',l++,w.getRowNumber(),w.getValue()):u.format('%3d:    |   %n',l++)}}catch(t){o={error:t}}finally{try{s&&!s.done&&(n=f.return)&&n.call(f)}finally{if(o)throw o.error}}return u.toString()},o.MAX_NEARBY_DISTANCE=5,o})();e.default=u},1229,[17,1230,1226]);
147__d(function(g,r,_i2,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(){this.buffer=''}return t.form=function(t,o){var n=-1;return t.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,function(t,i,s,f,c,u){if('%%'===t)return'%';if(void 0!==o[++n]){t=f?parseInt(f.substr(1)):void 0;var p,b=c?parseInt(c.substr(1)):void 0;switch(u){case's':p=o[n];break;case'c':p=o[n][0];break;case'f':p=parseFloat(o[n]).toFixed(t);break;case'p':p=parseFloat(o[n]).toPrecision(t);break;case'e':p=parseFloat(o[n]).toExponential(t);break;case'x':p=parseInt(o[n]).toString(b||16);break;case'd':p=parseFloat(parseInt(o[n],b||10).toPrecision(t)).toFixed(0)}p='object'==typeof p?JSON.stringify(p):(+p).toString(b);for(var l=parseInt(s),v=s&&s[0]+''=='0'?'0':' ';p.length<l;)p=void 0!==i?p+v:v+p;return p}})},t.prototype.format=function(o){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];this.buffer+=t.form(o,n)},t.prototype.toString=function(){return this.buffer},t})();e.default=t},1230,[]);
148__d(function(g,_r,_i,a,_m,_e,d){var t=_r(d[0]);
148Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=t(_r(d[1])),r=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.")},n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,u=r.call(t),i=[];try{for(;(void 0===e||e-- >0)&&!(n=u.next()).done;)i.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=u.return)&&r.call(u)}finally{if(o)throw o.error}}return i},o=(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,o,u=-1,i=new Array,l=function(t,e){var r=function(){return t},n=function(){return e};n()>u?(u=n(),(i=[]).push(r())):n()===u&&i.push(r
148())};try{for(var f=r(this.values.entries()),c=f.next();!c.done;c=f.next()){var s=n(c.value,2);l(s[0],s[1])}}catch(e){t={error:e}}finally{try{c&&!c.done&&(o=f.return)&&o.call(f)}finally{if(t)throw t.error}}return e.default.toIntArray(i)},t.prototype.getConfidence=function(t){return this.values.get(t)},t})();_e.default=o},1231,[17,1218]);
149__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),u=t(r(d[2])),n=this&&this.__values||function(t){var o="function"==typeof Symbol&&Symbol.iterator,u=o&&t[o],n=0;if(u)return u.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(o?"Object is not iterable.":"Symbol.iterator is not defined.")},s=(function(){function t(t,o){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=t,this.barcodeColumnCount=t.getColumnCount(),this.boundingBox=o,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,u=o.default.MAX_CODEWORDS_IN_BARCODE;do{t=u,u=this.adjustRowNumbersAndGetCount()}while(u>0&&u<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 o=1;o<this.barcodeColumnCount+1;o++)for(var u=this.detectionResultColumns[o].getCodewords(),n=0;n<u.length;n++)null!=u[n]&&(u[n].hasValidRowNumber()||this.adjustRowNumbers(o,n,u));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(),o=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),u=0;u<t.length;u++)if(null!=t[u]&&null!=o[u]&&t[u].getRowNumber()===o[u].getRowNumber())for(var n=1;n<=this.barcodeColumnCount;n++){var s=this.detectionResultColumns[n].getCodewords()[u];null!=s&&(s.setRowNumber(t[u].getRowNumber()),s.hasValidRowNumber()||(this.detectionResultColumns[n].getCodewords()[u]=null))}},t.prototype.adjustRowNumbersFromRRI=function(){if(null==this.detectionResultColumns[this.barcodeColumnCount+1])return 0;for(var o=0,u=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),n=0;n<u.length;n++)if(null!=u[n])for(var s=u[n].getRowNumber(),l=0,i=this.barcodeColumnCount+1;i>0&&l<this.ADJUST_ROW_NUMBER_SKIP;i--){var m=this.detectionResultColumns[i].getCodewords()[n];null!=m&&(l=t.adjustRowNumberIfValid(s,l,m),m.hasValidRowNumber()||o++)}return o},t.prototype.adjustRowNumbersFromLRI=function(){if(null==this.detectionResultColumns[0])return 0;for(var o=0,u=this.detectionResultColumns[0].getCodewords(),n=0;n<u.length;n++)if(null!=u[n])for(var s=u[n].getRowNumber(),l=0,i=1;i<this.barcodeColumnCount+1&&l<this.ADJUST_ROW_NUMBER_SKIP;i++){var m=this.detectionResultColumns[i].getCodewords()[n];null!=m&&(l=t.adjustRowNumberIfValid(s,l,m),m.hasValidRowNumber()||o++)}return o},t.adjustRowNumberIfValid=function(t,o,u){return null==u||u.hasValidRowNumber()||(u.isValidRowNumber(t)?(u.setRowNumber(t),o=0):++o),o},t.prototype.adjustRowNumbers=function(o,u,s){var l,i;if(null!=this.detectionResultColumns[o-1]){var m=s[u],C=this.detectionResultColumns[o-1].getCodewords(),c=C;null!=this.detectionResultColumns[o+1]&&(c=this.detectionResultColumns[o+1].getCodewords());var R=new Array(14);R[2]=C[u],R[3]=c[u],u>0&&(R[0]=s[u-1],R[4]=C[u-1],R[5]=c[u-1]),u>1&&(R[8]=s[u-2],R[10]=C[u-2],R[11]=c[u-2]),u<s.length-1&&(R[1]=s[u+1],R[6]=C[u+1],R[7]=c[u+1]),u<s.length-2&&(R[9]=s[u+2],R[12]=C[u+2],R[13]=c[u+2]);try{for(var h=n(R),b=h.next();!b.done;b=h.next()){var f=b.value;if(t.adjustRowNumber(m,f))return}}catch(t){l={error:t}}finally{try{b&&!b.done&&(i=h.return)&&i.call(h)}finally{if(l)throw l.error}}}},t.adjustRowNumber=function(t,o){return null!=o&&(!(!o.hasValidRowNumber()||o.getBucket()!==t.getBucket())&&(t.setRowNumber(o.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,o){this.detectionResultColumns[t]=o},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 o=new u.default,n=0;n<t.getCodewords().length;n++){o.format('CW %3d:',n);for(var s=0;s<this.barcodeColumnCount+2;s++)if(null!=this.detectionResultColumns[s]){var l=this.detectionResultColumns[s].getCodewords()[n];null!=l?o.format(' %3d|%3d',l.getRowNumber(),l.getValue()):o.format('    |   ')}else o.format('    |   ');o.format('%n')}return o.toString()},t})();e.default=s},1232,[17,1218,1230]);
150__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(u,o,n,s){this.rowNumber=t.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(u),this.endX=Math.trunc(o),this.bucket=Math.trunc(n),this.value=Math.trunc(s)}return t.prototype.hasValidRowNumber=function(){return this.isValidRowNumber(this.rowNumber)},t.prototype.isValidRowNumber=function(u){return u!==t.BARCODE_ROW_UNKNOWN&&this.bucket===u%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})();e.default=t},1233,[]);
151__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),n=t(r(d[2])),f=t(r(d[3])),l=(function(){function t(){}return t.initialize=function(){for(var u=0;u<n.default.SYMBOL_TABLE.length;u++)for(var f=n.default.SYMBOL_TABLE[u],l=1&f,o=0;o<n.default.BARS_IN_MODULE;o++){for(var _=0;(1&f)===l;)_+=1,f>>=1;l=1&f,t.RATIOS_TABLE[u]||(t.RATIOS_TABLE[u]=new Array(n.default.BARS_IN_MODULE)),t.RATIOS_TABLE[u][n.default.BARS_IN_MODULE-o-1]=Math.fround(_/n.default.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},t.getDecodedValue=function(u){var n=t.getDecodedCodewordValue(t.sampleBitCounts(u));return-1!==n?n:t.getClosestDecodedValue(u)},t.sampleBitCounts=function(t){for(var f=u.default.sum(t),l=new Int32Array(n.default.BARS_IN_MODULE),o=0,_=0,A=0;A<n.default.MODULES_IN_CODEWORD;A++){var O=f/(2*n.default.MODULES_IN_CODEWORD)+A*f/n.default.MODULES_IN_CODEWORD;_+t[o]<=O&&(_+=t[o],o++),l[o]++}return l},t.getDecodedCodewordValue=function(u){var f=t.getBitValue(u);return-1===n.default.getCodeword(f)?-1:f},t.getBitValue=function(t){for(var u=0,n=0;n<t.length;n++)for(var f=0;f<t[n];f++)u=u<<1|(n%2==0?1:0);return Math.trunc(u)},t.getClosestDecodedValue=function(l){var o=u.default.sum(l),_=new Array(n.default.BARS_IN_MODULE);if(o>1)for(var A=0;A<_.length;A++)_[A]=Math.fround(l[A]/o);var O=f.default.MAX_VALUE,i=-1;this.bSymbolTableReady||t.initialize();for(var E=0;E<t.RATIOS_TABLE.length;E++){for(var L=0,B=t.RATIOS_TABLE[E],D=0;D<n.default.BARS_IN_MODULE;D++){var S=Math.fround(B[D]-_[D]);if((L+=Math.fround(S*S))>=O)break}L<O&&(O=L,i=n.default.SYMBOL_TABLE[E])}return i},t.bSymbolTableReady=!1,t.RATIOS_TABLE=new Array(n.default.SYMBOL_TABLE.length).map(function(t){return new Array(n.default.BARS_IN_MODULE)}),t})();e.default=l},1234,[17,1131,1218,1132]);
152__d(function(g,r,_i,a,m,e,d){var _=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var O,C,E=_(r(d[1])),T=_(r(d[2])),A=_(r(d[3])),t=_(r(d[4])),M=_(r(d[5])),I=_(r(d[6])),c=_(r(d[7])),P=_(r(d[8])),n=_(r(d[9])),s=_(r(d[10]));function D(){return window.BigInt||null}function L(_){if(void 0===C&&(C=D()),null===C)throw new Error('BigInt is not supported!');return C(_)}function N(){var _=[];_[0]=L(1);var O=L(900);_[1]=O;for(var C=2;C<16;C++)_[C]=_[C-1]*O;return _}!(function(_){_[_.ALPHA=0]="ALPHA",_[_.LOWER=1]="LOWER",_[_.MIXED=2]="MIXED",_[_.PUNCT=3]="PUNCT",_[_.ALPHA_SHIFT=4]="ALPHA_SHIFT",_[_.PUNCT_SHIFT=5]="PUNCT_SHIFT"})(O||(O={}));var o=(function(){function _(){}return _.decode=function(O,C){var M=new I.default(''),c=T.default.ISO8859_1;M.enableDecoding(c);for(var P=1,n=O[P++],s=new t.default;P<O[0];){switch(n){case _.TEXT_COMPACTION_MODE_LATCH:P=_.textCompaction(O,P,M);break;case _.BYTE_COMPACTION_MODE_LATCH:case _.BYTE_COMPACTION_MODE_LATCH_6:P=_.byteCompaction(n,O,c,P,M);break;case _.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:M.append(O[P++]);break;case _.NUMERIC_COMPACTION_MODE_LATCH:P=_.numericCompaction(O,P,M);break;case _.ECI_CHARSET:T.default.getCharacterSetECIByValue(O[P++]);break;case _.ECI_GENERAL_PURPOSE:P+=2;break;case _.ECI_USER_DEFINED:P++;break;case _.BEGIN_MACRO_PDF417_CONTROL_BLOCK:P=_.decodeMacroBlock(O,P,s);break;case _.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case _.MACRO_PDF417_TERMINATOR:throw new E.default;default:P--,P=_.textCompaction(O,P,M)}if(!(P<O.length))throw E.default.getFormatInstance();n=O[P++]}if(0===M.length())throw E.default.getFormatInstance();var D=new A.default(null,M.toString(),null,C);return D.setOther(s),D},_.decodeMacroBlock=function(O,C,T){if(C+_.NUMBER_OF_SEQUENCE_CODEWORDS>O[0])throw E.default.getFormatInstance();for(var A=new Int32Array(_.NUMBER_OF_SEQUENCE_CODEWORDS),t=0;t<_.NUMBER_OF_SEQUENCE_CODEWORDS;t++,C++)A[t]=O[C];T.setSegmentIndex(c.default.parseInt(_.decodeBase900toBase10(A,_.NUMBER_OF_SEQUENCE_CODEWORDS)));var n=new I.default;C=_.textCompaction(O,C,n),T.setFileId(n.toString());var s=-1;for(O[C]===_.BEGIN_MACRO_PDF417_OPTIONAL_FIELD&&(s=C+1);C<O[0];)switch(O[C]){case _.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:switch(O[++C]){case _.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME:var D=new I.default;C=_.textCompaction(O,C+1,D),T.setFileName(D.toString());break;case _.MACRO_PDF417_OPTIONAL_FIELD_SENDER:var L=new I.default;C=_.textCompaction(O,C+1,L),T.setSender(L.toString());break;case _.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE:var N=new I.default;C=_.textCompaction(O,C+1,N),T.setAddressee(N.toString());break;case _.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT:var o=new I.default;C=_.numericCompaction(O,C+1,o),T.setSegmentCount(c.default.parseInt(o.toString()));break;case _.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP:var i=new I.default;C=_.numericCompaction(O,C+1,i),T.setTimestamp(P.default.parseLong(i.toString()));break;case _.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM:var R=new I.default;C=_.numericCompaction(O,C+1,R),T.setChecksum(c.default.parseInt(R.toString()));break;case _.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE:var F=new I.default;C=_.numericCompaction(O,C+1,F),T.setFileSize(P.default.parseLong(F.toString()));break;default:throw E.default.getFormatInstance()}break;case _.MACRO_PDF417_TERMINATOR:C++,T.setLastSegment(!0);break;default:throw E.default.getFormatInstance()}if(-1!==s){var S=C-s;T.isLastSegment()&&S--,T.setOptionalData(M.default.copyOfRange(O,s,s+S))}return C},_.textCompaction=function(O,C,E){for(var T=new Int32Array(2*(O[0]-C)),A=new Int32Array(2*(O[0]-C)),t=0,M=!1;C<O[0]&&!M;){var I=O[C++];
152if(I<_.TEXT_COMPACTION_MODE_LATCH)T[t]=I/30,T[t+1]=I%30,t+=2;else switch(I){case _.TEXT_COMPACTION_MODE_LATCH:T[t++]=_.TEXT_COMPACTION_MODE_LATCH;break;case _.BYTE_COMPACTION_MODE_LATCH:case _.BYTE_COMPACTION_MODE_LATCH_6:case _.NUMERIC_COMPACTION_MODE_LATCH:case _.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case _.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case _.MACRO_PDF417_TERMINATOR:C--,M=!0;break;case _.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:T[t]=_.MODE_SHIFT_TO_BYTE_COMPACTION_MODE,I=O[C++],A[t]=I,t++}}return _.decodeTextCompaction(T,A,t,E),C},_.decodeTextCompaction=function(C,E,T,A){for(var t=O.ALPHA,M=O.ALPHA,I=0;I<T;){var c=C[I],P='';switch(t){case O.ALPHA:if(c<26)P=String.fromCharCode(65+c);else switch(c){case 26:P=' ';break;case _.LL:t=O.LOWER;break;case _.ML:t=O.MIXED;break;case _.PS:M=t,t=O.PUNCT_SHIFT;break;case _.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:A.append(E[I]);break;case _.TEXT_COMPACTION_MODE_LATCH:t=O.ALPHA}break;case O.LOWER:if(c<26)P=String.fromCharCode(97+c);else switch(c){case 26:P=' ';break;case _.AS:M=t,t=O.ALPHA_SHIFT;break;case _.ML:t=O.MIXED;break;case _.PS:M=t,t=O.PUNCT_SHIFT;break;case _.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:A.append(E[I]);break;case _.TEXT_COMPACTION_MODE_LATCH:t=O.ALPHA}break;case O.MIXED:if(c<_.PL)P=_.MIXED_CHARS[c];else switch(c){case _.PL:t=O.PUNCT;break;case 26:P=' ';break;case _.LL:t=O.LOWER;break;case _.AL:t=O.ALPHA;break;case _.PS:M=t,t=O.PUNCT_SHIFT;break;case _.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:A.append(E[I]);break;case _.TEXT_COMPACTION_MODE_LATCH:t=O.ALPHA}break;case O.PUNCT:if(c<_.PAL)P=_.PUNCT_CHARS[c];else switch(c){case _.PAL:t=O.ALPHA;break;case _.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:A.append(E[I]);break;case _.TEXT_COMPACTION_MODE_LATCH:t=O.ALPHA}break;case O.ALPHA_SHIFT:if(t=M,c<26)P=String.fromCharCode(65+c);else switch(c){case 26:P=' ';break;case _.TEXT_COMPACTION_MODE_LATCH:t=O.ALPHA}break;case O.PUNCT_SHIFT:if(t=M,c<_.PAL)P=_.PUNCT_CHARS[c];else switch(c){case _.PAL:t=O.ALPHA;break;case _.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:A.append(E[I]);break;case _.TEXT_COMPACTION_MODE_LATCH:t=O.ALPHA}}''!==P&&A.append(P),I++}},_.byteCompaction=function(O,C,E,T,A){var t=new n.default,M=0,I=0,c=!1;switch(O){case _.BYTE_COMPACTION_MODE_LATCH:for(var P=new Int32Array(6),D=C[T++];T<C[0]&&!c;)switch(P[M++]=D,I=900*I+D,D=C[T++]){case _.TEXT_COMPACTION_MODE_LATCH:case _.BYTE_COMPACTION_MODE_LATCH:case _.NUMERIC_COMPACTION_MODE_LATCH:case _.BYTE_COMPACTION_MODE_LATCH_6:case _.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case _.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case _.MACRO_PDF417_TERMINATOR:T--,c=!0;break;default:if(M%5==0&&M>0){for(var N=0;N<6;++N)t.write(Number(L(I)>>L(8*(5-N))));I=0,M=0}}T===C[0]&&D<_.TEXT_COMPACTION_MODE_LATCH&&(P[M++]=D);for(var o=0;o<M;o++)t.write(P[o]);break;case _.BYTE_COMPACTION_MODE_LATCH_6:for(;T<C[0]&&!c;){var i=C[T++];if(i<_.TEXT_COMPACTION_MODE_LATCH)M++,I=900*I+i;else switch(i){case _.TEXT_COMPACTION_MODE_LATCH:case _.BYTE_COMPACTION_MODE_LATCH:case _.NUMERIC_COMPACTION_MODE_LATCH:case _.BYTE_COMPACTION_MODE_LATCH_6:case _.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case _.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case _.MACRO_PDF417_TERMINATOR:T--,c=!0}if(M%5==0&&M>0){for(N=0;N<6;++N)t.write(Number(L(I)>>L(8*(5-N))));I=0,M=0}}}return A.append(s.default.decode(t.toByteArray(),E)),T},_.numericCompaction=function(O,C,E){for(var T=0,A=!1,t=new Int32Array(_.MAX_NUMERIC_CODEWORDS);C<O[0]&&!A;){var M=O[C++];if(C===O[0]&&(A=!0),M<_.TEXT_COMPACTION_MODE_LATCH)t[T]=M,T++;else switch(M){case _.TEXT_COMPACTION_MODE_LATCH:case _.BYTE_COMPACTION_MODE_LATCH:case _.BYTE_COMPACTION_MODE_LATCH_6:case _.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case _.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case _.MACRO_PDF417_TERMINATOR:C--,A=!0}(T%_.MAX_NUMERIC_CODEWORDS===0||M===_.NUMERIC_COMPACTION_MODE_LATCH||A)&&T>0&&(E.append(_.decodeBase900toBase10(t,T)),T=0)}return C},_.decodeBase900toBase10=function(O,C){for(var T=L(0),A=0;A<C;A++)T+=_.EXP900[C-A-1]*L(O[A]);var t=T.toString();if('1'!==t.charAt(0))throw new E.default;return t.substring(1)},_.TEXT_COMPACTION_MODE_LATCH=900,_.BYTE_COMPACTION_MODE_LATCH=901,_.NUMERIC_COMPACTION_MODE_LATCH=902,_.BYTE_COMPACTION_MODE_LATCH_6=924,_.ECI_USER_DEFINED=925,_.ECI_GENERAL_PURPOSE=926,_.ECI_CHARSET=927,_.BEGIN_MACRO_PDF417_CONTROL_BLOCK=928,_.BEGIN_MACRO_PDF417_OPTIONAL_FIELD=923,_.MACRO_PDF417_TERMINATOR=922,_.MODE_SHIFT_TO_BYTE_COMPACTION_MODE=913,_.MAX_NUMERIC_CODEWORDS=15,_.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME=0,_.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT=1,_.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP=2,_.MACRO_PDF417_OPTIONAL_FIELD_SENDER=3,_.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE=4,_.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE=5,_.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM=6,_.PL=25,_.LL=27,_.AS=27,_.ML=28,_.AL=28,_.PS=29,_.PAL=29,_.PUNCT_CHARS=';<>@[\\]_`~!\r\t,:\n-.$/"|*()?{}\'',_.MIXED_CHARS='0123456789&\r\t,:#-.$/+%*=^',_.EXP900=D()?N():[],_.NUMBER_OF_SEQUENCE_CODEWORDS=2,_})();e.default=o},1235,[17,1108,1107,1121,1236,1098,1104,1102,1237,1238,1109]);
153__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(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})();e.default=t},1236,[]);
154__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(){function n(){}return n.parseLong=function(n,t){return void 0===t&&(t=void 0),parseInt(n,t)},n})();e.default=n},1237,[]);
155__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=t(r(_d[2])),f=t(r(_d[3])),s=t(r(_d[4])),c=t(r(_d[5])),p=t(r(_d[6])),h=t(r(_d[7])),y=this&&this.__extends||(n=function(t,o){return n=Object.
155setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),l=(function(t){function n(n){void 0===n&&(n=32);var o=t.call(this)||this;if(o.count=0,n<0)throw new s.default('Negative initial size: '+n);return o.buf=new Uint8Array(n),o}return y(n,t),n.prototype.ensureCapacity=function(t){t-this.buf.length>0&&this.grow(t)},n.prototype.grow=function(t){var n=this.buf.length<<1;if(n-t<0&&(n=t),n<0){if(t<0)throw new c.default;n=f.default.MAX_VALUE}this.buf=o.default.copyOfUint8Array(this.buf,n)},n.prototype.write=function(t){this.ensureCapacity(this.count+1),this.buf[this.count]=t,this.count+=1},n.prototype.writeBytesOffset=function(t,n,o){if(n<0||n>t.length||o<0||n+o-t.length>0)throw new h.default;this.ensureCapacity(this.count+o),p.default.arraycopy(t,n,this.buf,this.count,o),this.count+=o},n.prototype.writeTo=function(t){t.writeBytesOffset(this.buf,0,this.count)},n.prototype.reset=function(){this.count=0},n.prototype.toByteArray=function(){return o.default.copyOfUint8Array(this.buf,this.count)},n.prototype.size=function(){return this.count},n.prototype.toString=function(t){return t?'string'==typeof t?this.toString_string(t):this.toString_number(t):this.toString_void()},n.prototype.toString_void=function(){return new String(this.buf).toString()},n.prototype.toString_string=function(t){return new String(this.buf).toString()},n.prototype.toString_number=function(t){return new String(this.buf).toString()},n.prototype.close=function(){},n})(u.default);e.default=l},1238,[17,1098,1239,1102,1092,1241,1099,1101]);
156__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),f=(function(){function t(){}return t.prototype.writeBytes=function(t){this.writeBytesOffset(t,0,t.length)},t.prototype.writeBytesOffset=function(t,f,i){if(null==t)throw new o.default;if(f<0||f>t.length||i<0||f+i>t.length||f+i<0)throw new n.default;if(0!==i)for(var u=0;u<i;u++)this.write(t[f+u])},t.prototype.flush=function(){},t.prototype.close=function(){},t})();e.default=f},1239,[17,1101,1240]);
157__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.
157setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.kind='NullPointerException',n})(o.default);e.default=c},1240,[17,1089]);
158__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n})(o.default);e.default=c},1241,[17,1089]);
159__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.
159setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.kind='ReaderException',n})(o.default);e.default=c},1242,[17,1089]);
160__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserPDF417Reader=void 0;var o,n=r(_d[1]),c=t(r(_d[2])),u=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function c(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(c.prototype=n.prototype,new c)});e.BrowserPDF417Reader=(function(t){function o(o){return void 0===o&&(o=500),t.call(this,new c.default,o)||this}return u(o,t),o})(n.BrowserCodeReader)},1243,[17,1087,1217]);
161__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserQRCodeReader=void 0;var o,n=r(_d[1]),c=t(r(_d[2])),u=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function c(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(c.prototype=n.prototype,new c)});e.BrowserQRCodeReader=(function(t){function o(o){return void 0===o&&(o=500),t.call(this,new c.default,o)||this}return u(o,t),o})(n.BrowserCodeReader)},1244,[17,1087,1198]);
162__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserQRCodeSvgWriter=void 0;var n=t(r(d[1])),o=t(r(d[2])),l=t(r(d[3])),u=t(r(d[4])),S=t(r(d[5]));e.BrowserQRCodeSvgWriter=(function(){function t(){}return t.prototype.write=function(S,f,h,s){if(void 0===s&&(s=null),0===S.length)throw new u.default('Found empty contents');if(f<0||h<0)throw new u.default('Requested dimensions are too small: '+f+'x'+h);var c=l.default.L,v=t.QUIET_ZONE_SIZE;null!==s&&(void 0!==s.get(n.default.ERROR_CORRECTION)&&(c=l.default.fromString(s.get(n.default.ERROR_CORRECTION).toString())),void 0!==s.get(n.default.MARGIN)&&(v=Number.parseInt(s.get(n.default.MARGIN).toString(),10)));var p=o.default.encode(S,c,s);return this.renderResult(p,f,h,v)},t.prototype.writeToDom=function(t,n,o,l,u){void 0===u&&(u=null),'string'==typeof t&&(t=document.querySelector(t));var S=this.write(n,o,l,u);t&&t.appendChild(S)},t.prototype.renderResult=function(t,n,o,l){var u=t.getMatrix();if(null===u)throw new S.default;for(var f=u.getWidth(),h=u.getHeight(),s=f+2*l,c=h+2*l,v=Math.max(n,s),p=Math.max(o,c),N=Math.min(Math.floor(v/s),Math.floor(p/c)),R=Math.floor((v-f*N)/2),w=Math.floor((p-h*N)/2),E=this.createSVGElement(v,p),_=0,M=w;_<h;_++,M+=N)for(var y=0,b=R;y<f;y++,b+=N)if(1===u.get(y,_)){var A=this.createSvgRectElement(b,M,N,N);E.appendChild(A)}return E},t.prototype.createSVGElement=function(n,o){var l=document.createElementNS(t.SVG_NS,'svg');return l.setAttributeNS(null,'height',n.toString()),l.setAttributeNS(null,'width',o.toString()),l},t.prototype.createSvgRectElement=function(n,o,l,u){var S=document.createElementNS(t.SVG_NS,'rect');return S.setAttributeNS(null,'x',n.toString()),S.setAttributeNS(null,'y',o.toString()),S.setAttributeNS(null,'height',l.toString()),S.setAttributeNS(null,'width',u.toString()),S.setAttributeNS(null,'fill','#000000'),S},t.QUIET_ZONE_SIZE=4,t.SVG_NS='http://www.w3.org/2000/svg',t})()},1245,[17,1246,1247,1203,1092,1128]);
163__d(function(g,r,i,a,m,e,d){var A;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,(function(A){A[A.ERROR_CORRECTION=0]="ERROR_CORRECTION",A[A.CHARACTER_SET=1]="CHARACTER_SET",A[A.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",A[A.DATA_MATRIX_COMPACT=3]="DATA_MATRIX_COMPACT",A[A.MIN_SIZE=4]="MIN_SIZE",A[A.MAX_SIZE=5]="MAX_SIZE",A[A.MARGIN=6]="MARGIN",A[A.PDF417_COMPACT=7]="PDF417_COMPACT",A[A.PDF417_COMPACTION=8]="PDF417_COMPACTION",A[A.PDF417_DIMENSIONS=9]="PDF417_DIMENSIONS",A[A.AZTEC_LAYERS=10]="AZT
163EC_LAYERS",A[A.QR_VERSION=11]="QR_VERSION",A[A.GS1_FORMAT=12]="GS1_FORMAT",A[A.FORCE_C40=13]="FORCE_C40"})(A||(A={}));e.default=A},1246,[]);
164__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),i=t(r(d[2])),o=t(r(d[3])),l=t(r(d[4])),u=t(r(d[5])),f=t(r(d[6])),s=t(r(d[7])),c=t(r(d[8])),h=t(r(d[9])),p=t(r(d[10])),v=t(r(d[11])),B=t(r(d[12])),y=t(r(d[13])),w=t(r(d[14])),E=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,i=n&&t[n],o=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},A=(function(){function t(){}return t.calculateMaskPenalty=function(t){return c.default.applyMaskPenaltyRule1(t)+c.default.applyMaskPenaltyRule2(t)+c.default.applyMaskPenaltyRule3(t)+c.default.applyMaskPenaltyRule4(t)},t.encode=function(l,u,c){void 0===c&&(c=null);var B=t.DEFAULT_BYTE_MODE_ENCODING,y=null!==c&&void 0!==c.get(n.default.CHARACTER_SET);y&&(B=c.get(n.default.CHARACTER_SET).toString());var E=this.chooseMode(l,B),A=new i.default;if(E===f.default.BYTE&&(y||t.DEFAULT_BYTE_MODE_ENCODING!==B)){var C=o.default.getCharacterSetECIByName(B);void 0!==C&&this.appendECI(C,A)}this.appendModeInfo(E,A);var m,I=new i.default;if(this.appendBytes(l,E,I,B),null!==c&&void 0!==c.get(n.default.QR_VERSION)){var N=Number.parseInt(c.get(n.default.QR_VERSION).toString(),10);m=s.default.getVersionForNumber(N);var M=this.calculateBitsNeeded(E,A,I,m);if(!this.willFit(M,m,u))throw new w.default('Data too big for requested version')}else m=this.recommendVersion(u,E,A,I);var b=new i.default;b.appendBitArray(A);var S=E===f.default.BYTE?I.getSizeInBytes():l.length;this.appendLengthInfo(S,m,E,b),b.appendBitArray(I);var D=m.getECBlocksForLevel(u),T=m.getTotalCodewords()-D.getTotalECCodewords();this.terminateBits(T,b);var _=this.interleaveWithECBytes(b,m.getTotalCodewords(),T,D.getNumBlocks()),R=new p.default;R.setECLevel(u),R.setMode(E),R.setVersion(m);var k=m.getDimensionForVersion(),F=new h.default(k,k),L=this.chooseMaskPattern(_,u,m,F);return R.setMaskPattern(L),v.default.buildMatrix(_,u,m,L,F),R.setMatrix(F),R},t.recommendVersion=function(t,n,i,o){var l=this.calculateBitsNeeded(n,i,o,s.default.getVersionForNumber(1)),u=this.chooseVersion(l,t),f=this.calculateBitsNeeded(n,i,o,u);return this.chooseVersion(f,t)},t.calculateBitsNeeded=function(t,n,i,o){return n.getSize()+t.getCharacterCountBits(o)+i.getSize()},t.getAlphanumericCode=function(n){return n<t.ALPHANUMERIC_TABLE.length?t.ALPHANUMERIC_TABLE[n]:-1},t.chooseMode=function(n,i){if(void 0===i&&(i=null),o.default.SJIS.getName()===i&&this.isOnlyDoubleByteKanji(n))return f.default.KANJI;for(var l=!1,u=!1,s=0,c=n.length;s<c;++s){var h=n.charAt(s);if(t.isDigit(h))l=!0;else{if(-1===this.getAlphanumericCode(h.charCodeAt(0)))return f.default.BYTE;u=!0}}return u?f.default.ALPHANUMERIC:l?f.default.NUMERIC:f.default.BYTE},t.isOnlyDoubleByteKanji=function(t){var n;try{n=B.default.encode(t,o.default.SJIS)}catch(t){return!1}var i=n.length;if(i%2!=0)return!1;for(var l=0;l<i;l+=2){var u=255&n[l];if((u<129||u>159)&&(u<224||u>235))return!1}return!0},t.chooseMaskPattern=function(t,n,i,o){for(var l=Number.MAX_SAFE_INTEGER,u=-1,f=0;f<p.default.NUM_MASK_PATTERNS;f++){v.default.buildMatrix(t,n,i,f,o);var s=this.calculateMaskPenalty(o);s<l&&(l=s,u=f)}return u},t.chooseVersion=function(n,i){for(var o=1;o<=40;o++){var l=s.default.getVersionForNumber(o);if(t.willFit(n,l,i))return l}throw new w.default('Data too big')},t.willFit=function(t,n,i){return n.getTotalCodewords()-n.getECBlocksForLevel(i).getTotalECCodewords()>=(t+7)/8},t.terminateBits=function(t,n){var i=8*t;if(n.getSize()>i)throw new w.default('data bits cannot fit in the QR Code'+n.getSize()+' > '+i);for(var o=0;o<4&&n.getSize()<i;++o)n.appendBit(!1);var l=7&n.getSize();if(l>0)for(o=l;o<8;o++)n.appendBit(!1);var u=t-n.getSizeInBytes();for(o=0;o<u;++o)n.appendBits(1&o?17:236,8);if(n.getSize()!==i)throw new w.default('Bits size does not equal capacity')},t.getNumDataBytesAndNumECBytesForBlockID=function(t,n,i,o,l,u){if(o>=i)throw new w.default('Block ID too large');var f=t%i,s=i-f,c=Math.floor(t/i),h=c+1,p=Math.floor(n/i),v=p+1,B=c-p,y=h-v;if(B!==y)throw new w.default('EC bytes mismatch');if(i!==s+f)throw new w.default('RS blocks mismatch');if(t!==(p+B)*s+(v+y)*f)throw new w.default('Total bytes mismatch');o<s?(l[0]=p,u[0]=B):(l[0]=v,u[0]=y)},t.interleaveWithECBytes=function(n,o,l,u){var f,s,c,h;if(n.getSizeInBytes()!==l)throw new w.default('Number of bits and data bytes does not match');for(var p=0,v=0,B=0,A=new Array,C=0;C<u;++C){var m=new Int32Array(1),I=new Int32Array(1);t.getNumDataBytesAndNumECBytesForBlockID(o,l,u,C,m,I);var N=m[0],M=new Uint8Array(N);n.toBytes(8*p,M,0,N);var b=t.generateECBytes(M,I[0]);A.push(new y.default(M,b)),v=Math.max(v,N),B=Math.max(B,b.length),p+=m[0]}if(l!==p)throw new w.default('Data bytes does not match offset');var S=new i.default;for(C=0;C<v;++C)try{for(var D=(f=void 0,E(A)),T=D.next();!T.done;T=D.next()){C<(M=T.value.getDataBytes()).length&&S.appendBits(M[C],8)}}catch(t){f={error:t}}finally{try{T&&!T.done&&(s=D.return)&&s.call(D)}finally{if(f)throw f.error}}for(C=0;C<B;++C)try{for(var _=(c=void 0,E(A)),R=_.next();!R.done;R=_.next()){C<(b=R.value.getErrorCorrectionBytes()).length&&S.appendBits(b[C],8)}}catch(t){c={error:t}}finally{try{R&&!R.done&&(h=_.return)&&h.call(_)}finally{if(c)throw c.error}}if(o!==S.getSizeInBytes())throw new w.default('Interleaving error: '+o+' and '+S.getSizeInBytes()+' differ.');return S},t.generateECBytes=function(t,n){for(var i=t.length,o=new Int32Array(i+n),f=0;f<i;f++)o[f]=255&t[f];new u.default(l.default.QR_CODE_FIELD_256).encode(o,n);var s=new Uint8Array(n);for(f=0;f<n;f++)s[f]=o[i+f];return s},t.appendModeInfo=function(t,n){n.appendBits(t.getBits(),4)},t.appendLengthInfo=function(t,n,i,o){var l=i.getCharacterCountBits(n);if(t>=1<<l)throw new w.default(t+' is bigger than '+((1<<l)-1));o.appendBits(t,l)},t.appendBytes=function(n,i,o,l){switch(i){case f.default.NUMERIC:t.appendNumericBytes(n,o);break;case f.default.ALPHANUMERIC:t.appendAlphanumericBytes(n,o);break;case f.default.BYTE:t.append8BitBytes(n,o,l);break;case f.default.KANJI:t.appendKanjiBytes(n,o);break;default:throw new w.default('Invalid mode: '+i)}},t.getDigit=function(t){return t.charCodeAt(0)-48},t.isDigit=function(n){var i=t.getDigit(n);return i>=0&&i<=9},t.appendNumericBytes=function(n,i){for(var o=n.length,l=0;l<o;){var u=t.getDigit(n.charAt(l));if(l+2<o){var f=t.getDigit(n.charAt(l+1)),s=t.getDigit(n.charAt(l+2));i.appendBits(100*u+10*f+s,10),l+=3}else if(l+1<o){f=t.getDigit(n.charAt(l+1));i.appendBits(10*u+f,7),l+=2}else i.appendBits(u,4),l++}},t.appendAlphanumericBytes=function(n,i){for(var o=n.length,l=0;l<o;){var u=t.getAlphanumericCode(n.charCodeAt(l));if(-1===u)throw new w.default;if(l+1<o){var f=t.getAlphanumericCode(n.charCodeAt(l+1));if(-1===f)throw new w.default;i.appendBits(45*u+f,11),l+=2}else i.appendBits(u,6),l++}},t.append8BitBytes=function(t,n,i){var o;try{o=B.default.encode(t,i)}catch(t){throw new w.default(t)}for(var l=0,u=o.length;l!==u;l++){var f=o[l];n.appendBits(f,8)}},t.appendKanjiBytes=function(t,n){var i;try{i=B.default.encode(t,o.default.SJIS)}catch(t){throw new w.default(t)}for(var l=i.length,u=0;u<l;u+=2){var f=(255&i[u])<<8&4294967295|255&i[u+1],s=-1;if(f>=33088&&f<=40956?s=f-33088:f>=57408&&f<=60351&&(s=f-49472),-1===s)throw new w.default('Invalid byte sequence');var c=192*(s>>8)+(255&s);n.appendBits(c,13)}},t.appendECI=function(t,n){n.appendBits(f.default.ECI.getBits(),4),n.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=o.default.UTF8.getName(),t})();e.default=A},1247,[17,1246,1097,1107,1122,1248,1209,1201,1249,1250,1251,1252,1109,1254,1253]);
165__d(function(g,r,_i,a,m,e,_d){var t=r(_d[0]);
165Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(_d[1])),o=t(r(_d[2])),i=t(r(_d[3])),d=(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 o=this.cachedGenerators;if(t>=o.length)for(var i=o[o.length-1],d=this.field,f=o.length;f<=t;f++){var l=i.multiply(new n.default(d,Int32Array.from([1,d.exp(f-1+d.getGeneratorBase())])));o.push(l),i=l}return o[t]},t.prototype.encode=function(t,d){if(0===d)throw new i.default('No error correction bytes');var f=t.length-d;if(f<=0)throw new i.default('No data bytes provided');var l=this.buildGenerator(d),u=new Int32Array(f);o.default.arraycopy(t,0,u,0,f);for(var h=new n.default(this.field,u),c=(h=h.multiplyByMonomial(d,1)).divide(l)[1].getCoefficients(),s=d-c.length,y=0;y<s;y++)t[f+y]=0;o.default.arraycopy(c,0,t,f+s,c.length)},t})();e.default=d},1248,[17,1123,1099,1092]);
166__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),i=(function(){function t(){}return t.applyMaskPenaltyRule1=function(n){return t.applyMaskPenaltyRule1Internal(n,!0)+t.applyMaskPenaltyRule1Internal(n,!1)},t.applyMaskPenaltyRule2=function(n){for(var i=0,l=n.getArray(),o=n.getWidth(),u=n.getHeight(),f=0;f<u-1;f++)for(var h=l[f],s=0;s<o-1;s++){var c=h[s];c===h[s+1]&&c===l[f+1][s]&&c===l[f+1][s+1]&&i++}return t.N2*i},t.applyMaskPenaltyRule3=function(n){for(var i=0,l=n.getArray(),o=n.getWidth(),u=n.getHeight(),f=0;f<u;f++)for(var h=0;h<o;h++){var s=l[f];h+6<o&&1===s[h]&&0===s[h+1]&&1===s[h+2]&&1===s[h+3]&&1===s[h+4]&&0===s[h+5]&&1===s[h+6]&&(t.isWhiteHorizontal(s,h-4,h)||t.isWhiteHorizontal(s,h+7,h+11))&&i++,f+6<u&&1===l[f][h]&&0===l[f+1][h]&&1===l[f+2][h]&&1===l[f+3][h]&&1===l[f+4][h]&&0===l[f+5][h]&&1===l[f+6][h]&&(t.isWhiteVertical(l,h,f-4,f)||t.isWhiteVertical(l,h,f+7,f+11))&&i++}return i*t.N3},t.isWhiteHorizontal=function(t,n,i){n=Math.max(n,0),i=Math.min(i,t.length);for(var l=n;l<i;l++)if(1===t[l])return!1;return!0},t.isWhiteVertical=function(t,n,i,l){i=Math.max(i,0),l=Math.min(l,t.length);for(var o=i;o<l;o++)if(1===t[o][n])return!1;return!0},t.applyMaskPenaltyRule4=function(n){for(var i=0,l=n.getArray(),o=n.getWidth(),u=n.getHeight(),f=0;f<u;f++)for(var h=l[f],s=0;s<o;s++)1===h[s]&&i++;var c=n.getHeight()*n.getWidth();return Math.floor(10*Math.abs(2*i-c)/c)*t.N4},t.getDataMaskBit=function(t,i,l){var o,u;switch(t){case 0:o=l+i&1;break;case 1:o=1&l;break;case 2:o=i%3;break;case 3:o=(l+i)%3;break;case 4:o=Math.floor(l/2)+Math.floor(i/3)&1;break;case 5:o=(1&(u=l*i))+u%3;break;case 6:o=(1&(u=l*i))+u%3&1;break;case 7:o=(u=l*i)%3+(l+i&1)&1;break;default:throw new n.default('Invalid mask pattern: '+t)}return 0===o},t.applyMaskPenaltyRule1Internal=function(n,i){for(var l=0,o=i?n.getHeight():n.getWidth(),u=i?n.getWidth():n.getHeight(),f=n.getArray(),h=0;h<o;h++){for(var s=0,c=-1,v=0;v<u;v++){var y=i?f[h][v]:f[v][h];y===c?s++:(s>=5&&(l+=t.N1+(s-5)),s=1,c=y)}s>=5&&(l+=t.N1+(s-5))}return l},t.N1=3,t.N2=3,t.N3=40,t.N4=10,t})();e.default=i},1249,[17,1092]);
167__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),i=t(r(d[2])),o=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,i=n&&t[n],o=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},h=(function(){function t(t,n){this.width=t,this.height=n;for(var i=new Array(n),o=0;o!==n;o++)i[o]=new Uint8Array(t);this.bytes=i}return t.prototype.getHeight=function(){return this.height},t.prototype.getWidth=function(){return this.width},t.prototype.get=function(t,n){return this.bytes[n][t]},t.prototype.getArray=function(){return this.bytes},t.prototype.setNumber=function(t,n,i){this.bytes[n][t]=i},t.prototype.setBoolean=function(t,n,i){this.bytes[n][t]=i?1:0},t.prototype.clear=function(t){var i,h;try{for(var u=o(this.bytes),f=u.next();!f.done;f=u.next()){var s=f.value;n.default.fill(s,t)}}catch(t){i={error:t}}finally{try{f&&!f.done&&(h=u.return)&&h.call(u)}finally{if(i)throw i.error}}},t.prototype.equals=function(n){if(!(n instanceof t))return!1;var i=n;
167if(this.width!==i.width)return!1;if(this.height!==i.height)return!1;for(var o=0,h=this.height;o<h;++o)for(var u=this.bytes[o],f=i.bytes[o],s=0,y=this.width;s<y;++s)if(u[s]!==f[s])return!1;return!0},t.prototype.toString=function(){for(var t=new i.default,n=0,o=this.height;n<o;++n){for(var h=this.bytes[n],u=0,f=this.width;u<f;++u)switch(h[u]){case 0:t.append(' 0');break;case 1:t.append(' 1');break;default:t.append('  ')}t.append('\n')}return t.toString()},t})();e.default=h},1250,[17,1098,1104]);
168__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=(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}
168,t.prototype.setMatrix=function(t){this.matrix=t},t.isValidMaskPattern=function(n){return n>=0&&n<t.NUM_MASK_PATTERNS},t.NUM_MASK_PATTERNS=8,t})();e.default=o},1251,[17,1104]);
169__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),f=t(r(d[3])),i=t(r(d[4])),I=t(r(d[5])),A=t(r(d[6])),y=(function(){function t(){}return t.clearMatrix=function(t){t.clear(255)},t.buildMatrix=function(n,o,f,i,I){t.clearMatrix(I),t.embedBasicPatterns(f,I),t.embedTypeInfo(o,i,I),t.maybeEmbedVersionInfo(f,I),t.embedDataBits(n,i,I)},t.embedBasicPatterns=function(n,o){t.embedPositionDetectionPatternsAndSeparators(o),t.embedDarkDotAtLeftBottomCorner(o),t.maybeEmbedPositionAdjustmentPatterns(n,o),t.embedTimingPatterns(o)},t.embedTypeInfo=function(o,f,i){var I=new n.default;t.makeTypeInfoBits(o,f,I);for(var A=0,y=I.getSize();A<y;++A){var s=I.get(I.getSize()-1-A),u=t.TYPE_INFO_COORDINATES[A],P=u[0],T=u[1];if(i.setBoolean(P,T,s),A<8){var l=i.getWidth()-A-1,b=8;i.setBoolean(l,b,s)}else{l=8,b=i.getHeight()-7+(A-8);i.setBoolean(l,b,s)}}},t.maybeEmbedVersionInfo=function(o,f){if(!(o.getVersionNumber()<7)){var i=new n.default;t.makeVersionInfoBits(o,i);for(var I=17,A=0;A<6;++A)for(var y=0;y<3;++y){var s=i.get(I);I--,f.setBoolean(A,f.getHeight()-11+y,s),f.setBoolean(f.getHeight()-11+y,A,s)}}},t.embedDataBits=function(n,o,f){for(var A=0,y=-1,s=f.getWidth()-1,u=f.getHeight()-1;s>0;){for(6===s&&(s-=1);u>=0&&u<f.getHeight();){for(var P=0;P<2;++P){var T=s-P;if(t.isEmpty(f.get(T,u))){var l=void 0;A<n.getSize()?(l=n.get(A),++A):l=!1,255!==o&&i.default.getDataMaskBit(o,T,u)&&(l=!l),f.setBoolean(T,u,l)}}u+=y}u+=y=-y,s-=2}if(A!==n.getSize())throw new I.default('Not all bits consumed: '+A+'/'+n.getSize())},t.findMSBSet=function(t){return 32-o.default.numberOfLeadingZeros(t)},t.calculateBCHCode=function(n,o){if(0===o)throw new A.default('0 polynomial');var f=t.findMSBSet(o);for(n<<=f-1;t.findMSBSet(n)>=f;)n^=o<<t.findMSBSet(n)-f;return n},t.makeTypeInfoBits=function(o,i,A){if(!f.default.isValidMaskPattern(i))throw new I.default('Invalid mask pattern');var y=o.getBits()<<3|i;A.appendBits(y,5);var s=t.calculateBCHCode(y,t.TYPE_INFO_POLY);A.appendBits(s,10);var u=new n.default;if(u.appendBits(t.TYPE_INFO_MASK_PATTERN,15),A.xor(u),15!==A.getSize())throw new I.default('should not happen but we got: '+A.getSize())},t.makeVersionInfoBits=function(n,o){o.appendBits(n.getVersionNumber(),6);var f=t.calculateBCHCode(n.getVersionNumber(),t.VERSION_INFO_POLY);if(o.appendBits(f,12),18!==o.getSize())throw new I.default('should not happen but we got: '+o.getSize())},t.isEmpty=function(t){return 255===t},t.embedTimingPatterns=function(n){for(var o=8;o<n.getWidth()-8;++o){var f=(o+1)%2;t.isEmpty(n.get(o,6))&&n.setNumber(o,6,f),t.isEmpty(n.get(6,o))&&n.setNumber(6,o,f)}},t.embedDarkDotAtLeftBottomCorner=function(t){if(0===t.get(8,t.getHeight()-8))throw new I.default;t.setNumber(8,t.getHeight()-8,1)},t.embedHorizontalSeparationPattern=function(n,o,f){for(var i=0;i<8;++i){if(!t.isEmpty(f.get(n+i,o)))throw new I.default;f.setNumber(n+i,o,0)}},t.embedVerticalSeparationPattern=function(n,o,f){for(var i=0;i<7;++i){if(!t.isEmpty(f.get(n,o+i)))throw new I.default;f.setNumber(n,o+i,0)}},t.embedPositionAdjustmentPattern=function(n,o,f){for(var i=0;i<5;++i)for(var I=t.POSITION_ADJUSTMENT_PATTERN[i],A=0;A<5;++A)f.setNumber(n+A,o+i,I[A])},t.embedPositionDetectionPattern=function(n,o,f){for(var i=0;i<7;++i)for(var I=t.POSITION_DETECTION_PATTERN[i],A=0;A<7;++A)f.setNumber(n+A,o+i,I[A])},t.embedPositionDetectionPatternsAndSeparators=function(n){var o=t.POSITION_DETECTION_PATTERN[0].length;t.embedPositionDetectionPattern(0,0,n),t.embedPositionDetectionPattern(n.getWidth()-o,0,n),t.embedPositionDetectionPattern(0,n.getWidth()-o,n);t.embedHorizontalSeparationPattern(0,7,n),t.embedHorizontalSeparationPattern(n.getWidth()-8,7,n),t.embedHorizontalSeparationPattern(0,n.getWidth()-8,n);t.embedVerticalSeparationPattern(7,0,n),t.embedVerticalSeparationPattern(n.getHeight()-7-1,0,n),t.embedVerticalSeparationPattern(7,n.getHeight()-7,n)},t.maybeEmbedPositionAdjustmentPatterns=function(n,o){if(!(n.getVersionNumber()<2))for(var f=n.getVersionNumber()-1,i=t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[f],I=0,A=i.length;I!==A;I++){var y=i[I];if(y>=0)for(var s=0;s!==A;s++){var u=i[s];u>=0&&t.isEmpty(o.get(u,y))&&t.embedPositionAdjustmentPattern(u-2,y-2,o)}}},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})();e.default=y},1252,[17,1097,1102,1251,1249,1253,1092]);
170__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);
170Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.kind='WriterException',n})(o.default);e.default=c},1253,[17,1089]);
171__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(t,o){this.dataBytes=t,this.errorCorrectionBytes=o}return t.prototype.getDataBytes=function(){return this.dataBytes},t.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},t})();e.default=t},1254,[]);
172__d(function(g,r,i,a,m,e,d){},1255,[]);
173__d(function(g,r,i,a,m,e,d){},1256,[]);
174__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),f=t(r(d[3])),u=(function(){function t(){}return t.prototype.encode=function(t,u,l,c,v){if(u!==o.default.QR_CODE)throw new f.default('No encoder available for format '+u);return(new n.default).encode(t,u,l,c,v)},t})();e.default=u},1257,[17,1258,1118,1092]);
175__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),f=t(r(d[4])),l=t(r(d[5])),R=t(r(d[6])),h=t(r(d[7])),E=(function(){function t(){}return t.prototype.encode=function(u,h,E,_,v){if(0===u.length)throw new R.default('Found empty contents');if(h!==n.default.QR_CODE)throw new R.default('Can only encode QR_CODE, but got '+h);if(E<0||_<0)throw new R.default("Requested dimensions are too small: "+E+"x"+_);var M=f.default.L,O=t.QUIET_ZONE_SIZE;null!==v&&(void 0!==v.get(o.default.ERROR_CORRECTION)&&(M=f.default.fromString(v.get(o.default.ERROR_CORRECTION).toString())),void 0!==v.get(o.default.MARGIN)&&(O=Number.parseInt(v.get(o.default.MARGIN).toString(),10)));var c=l.default.encode(u,M,v);return t.renderResult(c,E,_,O)},t.renderResult=function(t,n,o,f){var l=t.getMatrix();if(null===l)throw new h.default;for(var R=l.getWidth(),E=l.getHeight(),_=R+2*f,v=E+2*f,M=Math.max(n,_),O=Math.max(o,v),c=Math.min(Math.floor(M/_),Math.floor(O/v)),s=Math.floor((M-R*c)/2),w=Math.floor((O-E*c)/2),I=new u.default(M,O),C=0,N=w;C<E;C++,N+=c)for(var p=0,S=s;p<R;p++,S+=c)1===l.get(p,C)&&I.setRegion(S,N,c,c);return I},t.QUIET_ZONE_SIZE=4,t})();e.default=E},1258,[17,1118,1246,1103,1203,1247,1092,1128]);
176__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,n=t(r(_d[1])),h=t(r(_d[2])),u=t(r(_d[3])),s=t(r(_d[4])),d=this&&this.__extends||(o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n])},o(t,n)},function(t,n){function h(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(h.prototype=n.prototype,new h)}),f=(function(t){function o(o,n,h,u,d,f,p,y){var l=t.call(this,f,p)||this;if(l.yuvData=o,l.dataWidth=n,l.dataHeight=h,l.left=u,l.top=d,u+f>n||d+p>h)throw new s.default('Crop rectangle does not fit within image data.');return y&&l.reverseHorizontal(f,p),l}return d(o,t),o.prototype.getRow=function(t,o){if(t<0||t>=this.getHeight())throw new s.default('Requested row is outside the image: '+t);var h=this.getWidth();(null==o||o.length<h)&&(o=new Uint8ClampedArray(h));var u=(t+this.top)*this.dataWidth+this.left;return n.default.arraycopy(this.yuvData,u,o,0,h),o},o.prototype.getMatrix=function(){var t=this.getWidth(),o=this.getHeight();if(t===this.dataWidth&&o===this.dataHeight)return this.yuvData;var h=t*o,u=new Uint8ClampedArray(h),s=this.top*this.dataWidth+this.left;if(t===this.dataWidth)return n.default.arraycopy(this.yuvData,s,u,0,h),u;for(var d=0;d<o;d++){var f=d*t;n.default.arraycopy(this.yuvData,s,u,f,t),s+=this.dataWidth}return u},o.prototype.isCropSupported=function(){return!0},o.prototype.crop=function(t,n,h,u){return new o(this.yuvData,this.dataWidth,this.dataHeight,this.left+t,this.top+n,h,u,!1)},o.prototype.renderThumbnail=function(){for(var t=this.getWidth()/o.THUMBNAIL_SCALE_FACTOR,n=this.getHeight()/o.THUMBNAIL_SCALE_FACTOR,h=new Int32Array(t*n),u=this.yuvData,s=this.top*this.dataWidth+this.left,d=0;d<n;d++){for(var f=d*t,p=0;p<t;p++){var y=255&u[s+p*o.THUMBNAIL_SCALE_FACTOR];h[f+p]=4278190080|65793*y}s+=this.dataWidth*o.THUMBNAIL_SCALE_FACTOR}return h},o.prototype.getThumbnailWidth=function(){return this.getWidth()/o.THUMBNAIL_SCALE_FACTOR},o.prototype.getThumbnailHeight=function(){return this.getHeight()/o.THUMBNAIL_SCALE_FACTOR},o.prototype.reverseHorizontal=function(t,o){for(var n=this.yuvData,h=0,u=this.top*this.dataWidth+this.left;h<o;h++,u+=this.dataWidth)for(var s=u+t/2,d=u,f=u+t-1;d<s;d++,f--){var p=n[d];n[d]=n[f],n[f]=p}},o.prototype.invert=function(){return new u.default(this)},o.THUMBNAIL_SCALE_FACTOR=2,o})(h.default);e.default=f},1259,[17,1099,1114,1113,1092]);
177__d(function(g,_r,i,a,m,e,_d){var t=_r(_d[0]);
177Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,n=t(_r(_d[1])),o=t(_r(_d[2])),h=t(_r(_d[3])),d=t(_r(_d[4])),s=this&&this.__extends||(r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n])},r(t,n)},function(t,n){function o(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}),u=(function(t){function r(r,n,o,h,s,u,f){var p=t.call(this,n,o)||this;if(p.dataWidth=h,p.dataHeight=s,p.left=u,p.top=f,4===r.BYTES_PER_ELEMENT){for(var l=n*o,c=new Uint8ClampedArray(l),y=0;y<l;y++){var v=r[y],_=v>>16&255,w=v>>7&510,W=255&v;c[y]=(_+w+W)/4&255}p.luminances=c}else p.luminances=r;if(void 0===h&&(p.dataWidth=n),void 0===s&&(p.dataHeight=o),void 0===u&&(p.left=0),void 0===f&&(p.top=0),p.left+n>p.dataWidth||p.top+o>p.dataHeight)throw new d.default('Crop rectangle does not fit within image data.');return p}return s(r,t),r.prototype.getRow=function(t,r){if(t<0||t>=this.getHeight())throw new d.default('Requested row is outside the image: '+t);var n=this.getWidth();(null==r||r.length<n)&&(r=new Uint8ClampedArray(n));var o=(t+this.top)*this.dataWidth+this.left;return h.default.arraycopy(this.luminances,o,r,0,n),r},r.prototype.getMatrix=function(){var t=this.getWidth(),r=this.getHeight();if(t===this.dataWidth&&r===this.dataHeight)return this.luminances;var n=t*r,o=new Uint8ClampedArray(n),d=this.top*this.dataWidth+this.left;if(t===this.dataWidth)return h.default.arraycopy(this.luminances,d,o,0,n),o;for(var s=0;s<r;s++){var u=s*t;h.default.arraycopy(this.luminances,d,o,u,t),d+=this.dataWidth}return o},r.prototype.isCropSupported=function(){return!0},r.prototype.crop=function(t,n,o,h){return new r(this.luminances,o,h,this.dataWidth,this.dataHeight,this.left+t,this.top+n)},r.prototype.invert=function(){return new n.default(this)},r})(o.default);e.default=u},1260,[17,1113,1114,1099,1092]);
178__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=this&&this.__extends||(n=function(t,o){return n=Object.
178setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),c=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return u(n,t),n.forName=function(t){return this.getCharacterSetECIByName(t)},n})(o.default);e.default=c},1261,[17,1107]);
179__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),n=(function(){function t(){}return t.ISO_8859_1=u.default.ISO8859_1,t})();e.default=n},1262,[17,1107]);
180__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=t(r(d[1])),o=(function(){function t(t,o,u){this.codewords=t,this.numcols=o,this.numrows=u,this.bits=new Uint8Array(o*u),s.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,s){return 1===this.bits[s*this.numcols+t]},t.prototype.setBit=function(t,s,o){this.bits[s*this.numcols+t]=o?1:0},t.prototype.noBit=function(t,s){return 2===this.bits[s*this.numcols+t]},t.prototype.place=function(){var t=0,s=4,o=0;do{s===this.numrows&&0===o&&this.corner1(t++),s===this.numrows-2&&0===o&&this.numcols%4!=0&&this.corner2(t++),s===this.numrows-2&&0===o&&this.numcols%8==4&&this.corner3(t++),s===this.numrows+4&&2===o&&this.numcols%8==0&&this.corner4(t++);do{s<this.numrows&&o>=0&&this.noBit(o,s)&&this.utah(s,o,t++),s-=2,o+=2}while(s>=0&&o<this.numcols);s++,o+=3;do{s>=0&&o<this.numcols&&this.noBit(o,s)&&this.utah(s,o,t++),s+=2,o-=2}while(s<this.numrows&&o>=0);s+=3,o++}while(s<this.numrows||o<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,s,o,u){t<0&&(t+=this.numrows,s+=4-(this.numrows+4)%8),s<0&&(s+=this.numcols,t+=4-(this.numcols+4)%8);var h=this.codewords.charCodeAt(o);h&=1<<8-u,this.setBit(s,t,0!==h)},t.prototype.utah=function(t,s,o){this.module(t-2,s-2,o,1),this.module(t-2,s-1,o,2),this.module(t-1,s-2,o,3),this.module(t-1,s-1,o,4),this.module(t-1,s,o,5),this.module(t,s-2,o,6),this.module(t,s-1,o,7),this.module(t,s,o,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})();e.default=o},1263,[17,1098]);
181__d(function(g,r,_i,a,_m,_e,_d){var e=r(_d[0]);
181Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(r(_d[1])),o=r(_d[2]),n=(function(){function e(){}return e.encodeECC200=function(e,o){if(e.length!==o.getDataCapacity())throw new Error('The number of codewords does not match the selected symbol');var n=new t.default;n.append(e);var c=o.getInterleavedBlockCount();if(1===c){var f=this.createECCBlock(e,o.getErrorCodewords());n.append(f)}else{for(var d=[],i=[],l=0;l<c;l++)d[l]=o.getDataLengthForInterleavedBlock(l+1),i[l]=o.getErrorLengthForInterleavedBlock(l+1);for(var C=0;C<c;C++){for(var u=new t.default,h=C;h<o.getDataCapacity();h+=c)u.append(e.charAt(h));f=this.createECCBlock(u.toString(),i[C]);for(var v=0,p=C;p<i[C]*c;p+=c)n.setCharAt(o.getDataCapacity()+p,f.charAt(v++))}}return n.toString()},e.createECCBlock=function(e,t){for(var n=-1,c=0;c<o.FACTOR_SETS.length;c++)if(o.FACTOR_SETS[c]===t){n=c;break}if(n<0)throw new Error('Illegal number of error correction codewords specified: '+t);var f=o.FACTORS[n],d=[];for(c=0;c<t;c++)d[c]=0;for(c=0;c<e.length;c++){for(var i=d[t-1]^e.charAt(c).charCodeAt(0),l=t-1;l>0;l--)0!==i&&0!==f[l]?d[l]=d[l-1]^o.ALOG[(o.LOG[i]+o.LOG[f[l]])%255]:d[l]=d[l-1];0!==i&&0!==f[0]?d[0]=o.ALOG[(o.LOG[i]+o.LOG[f[0]])%255]:d[0]=0}var C=[];for(c=0;c<t;c++)C[c]=d[t-c-1];return C.map(function(e){return String.fromCharCode(e)}).join('')},e})();_e.default=n},1264,[17,1104,1265]);
182__d(function(g,r,_i,a,m,e,d){var A;Object.defineProperty(e,"__esModule",{value:!0}),e.X12_UNLATCH=e.X12_ENCODATION=e.UPPER_SHIFT=e.TEXT_ENCODATION=e.SymbolShapeHint=e.PAD=e.MODULO_VALUE=e.MACRO_TRAILER=e.MACRO_06_HEADER=e.MACRO_06=e.MACRO_05_HEADER=e.MACRO_05=e.LOG=e.LATCH_TO_TEXT=e.LATCH_TO_EDIFACT=e.LATCH_TO_C40=e.LATCH_TO_BASE256=e.LATCH_TO_ANSIX12=e.FACTOR_SETS=e.FACTORS=e.EDIFACT_ENCODATION=e.C40_UNLATCH=e.C40_ENCODATION=e.BASE256_ENCODATION=e.ASCII_ENCODATION=e.ALOG=void 0;e.FACTOR_SETS=[5,7,10,11,12,14,18,20,24,28,36,42,48,56,62,68],e.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]];var O,_=e.MODULO_VALUE=301;e.LOG=(A=(function(A,O){for(var C=1,T=0;T<255;T++)O[T]=C,A[C]=T,(C*=2)>=256&&(C^=_);return{LOG:A,ALOG:O}})([],[]),A.LOG),e.ALOG=A.ALOG;!(function(A){A[A.FORCE_NONE=0]="FORCE_NONE",A[A.FORCE_SQUARE=1]="FORCE_SQUARE",A[A.FORCE_RECTANGLE=2]="FORCE_RECTANGLE"})(O||(e.SymbolShapeHint=O={}));e.PAD=129,e.LATCH_TO_C40=230,e.LATCH_TO_BASE256=231,e.UPPER_SHIFT=235,e.MACRO_05=236,e.MACRO_06=237,e.LATCH_TO_ANSIX12=238,e.LATCH_TO_TEXT=239,e.LATCH_TO_EDIFACT=240,e.C40_UNLATCH=254,e.X12_UNLATCH=254,e.MACRO_05_HEADER='[)>\x1e05\x1d',e.MACRO_06_HEADER='[)>\x1e06\x1d',e.MACRO_TRAILER='\x1e\x04',e.ASCII_ENCODATION=0,e.C40_ENCODATION=1,e.TEXT_ENCODATION=2,e.X12_ENCODATION=3,e.EDIFACT_ENCODATION=4,e.BASE256_ENCODATION=5},1265,[]);
183__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);
183Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var A=r(d[1]),C=r(d[2]),N=r(d[3]),O=r(d[4]),i=r(d[5]),I=r(d[6]),n=r(d[7]),E=r(d[8]),T=t(r(d[9])),D=t(r(d[10])),o=(function(){function t(){}return t.randomize253State=function(t){var A=149*t%253+1,C=O.PAD+A;return C<=254?C:C-254},t.encodeHighLevel=function(t,T,D,o,_){void 0===T&&(T=0),void 0===D&&(D=null),void 0===o&&(o=null),void 0===_&&(_=!1);var h=new N.C40Encoder,s=[new A.ASCIIEncoder,h,new E.TextEncoder,new n.X12Encoder,new i.EdifactEncoder,new C.Base256Encoder],u=new I.EncoderContext(t);u.setSymbolShape(T),u.setSizeConstraints(D,o),t.startsWith(O.MACRO_05_HEADER)&&t.endsWith(O.MACRO_TRAILER)?(u.writeCodeword(O.MACRO_05),u.setSkipAtEnd(2),u.pos+=O.MACRO_05_HEADER.length):t.startsWith(O.MACRO_06_HEADER)&&t.endsWith(O.MACRO_TRAILER)&&(u.writeCodeword(O.MACRO_06),u.setSkipAtEnd(2),u.pos+=O.MACRO_06_HEADER.length);var c=O.ASCII_ENCODATION;for(_&&(h.encodeMaximal(u),c=u.getNewEncoding(),u.resetEncoderSignal());u.hasMoreCharacters();)s[c].encode(u),u.getNewEncoding()>=0&&(c=u.getNewEncoding(),u.resetEncoderSignal());var f=u.getCodewordCount();u.updateSymbolInfo();var l=u.getSymbolInfo().getDataCapacity();f<l&&c!==O.ASCII_ENCODATION&&c!==O.BASE256_ENCODATION&&c!==O.EDIFACT_ENCODATION&&u.writeCodeword('\xfe');var S=u.getCodewords();for(S.length()<l&&S.append(O.PAD);S.length()<l;)S.append(this.randomize253State(S.length()+1));return u.getCodewords().toString()},t.lookAheadTest=function(t,A,C){var N=this.lookAheadTestIntern(t,A,C);if(C===O.X12_ENCODATION&&N===O.X12_ENCODATION){for(var i=Math.min(A+3,t.length),I=A;I<i;I++)if(!this.isNativeX12(t.charCodeAt(I)))return O.ASCII_ENCODATION}else if(C===O.EDIFACT_ENCODATION&&N===O.EDIFACT_ENCODATION)for(i=Math.min(A+4,t.length),I=A;I<i;I++)if(!this.isNativeEDIFACT(t.charCodeAt(I)))return O.ASCII_ENCODATION;return N},t.lookAheadTestIntern=function(t,A,C){if(A>=t.length)return C;var N;C===O.ASCII_ENCODATION?N=[0,1,1,1,1,1.25]:(N=[1,2,2,2,2,2.25])[C]=0;for(var i=0,I=new Uint8Array(6),n=[];;){if(A+i===t.length){T.default.fill(I,0),T.default.fill(n,0);var E=this.findMinimums(N,n,D.default.MAX_VALUE,I),o=this.getMinimumCount(I);if(n[O.ASCII_ENCODATION]===E)return O.ASCII_ENCODATION;if(1===o){if(I[O.BASE256_ENCODATION]>0)return O.BASE256_ENCODATION;if(I[O.EDIFACT_ENCODATION]>0)return O.EDIFACT_ENCODATION;if(I[O.TEXT_ENCODATION]>0)return O.TEXT_ENCODATION;if(I[O.X12_ENCODATION]>0)return O.X12_ENCODATION}return O.C40_ENCODATION}var _=t.charCodeAt(A+i);if(i++,this.isDigit(_)?N[O.ASCII_ENCODATION]+=.5:this.isExtendedASCII(_)?(N[O.ASCII_ENCODATION]=Math.ceil(N[O.ASCII_ENCODATION]),N[O.ASCII_ENCODATION]+=2):(N[O.ASCII_ENCODATION]=Math.ceil(N[O.ASCII_ENCODATION]),N[O.ASCII_ENCODATION]++),this.isNativeC40(_)?N[O.C40_ENCODATION]+=.6666666666666666:this.isExtendedASCII(_)?N[O.C40_ENCODATION]+=2.6666666666666665:N[O.C40_ENCODATION]+=1.3333333333333333,this.isNativeText(_)?N[O.TEXT_ENCODATION]+=.6666666666666666:this.isExtendedASCII(_)?N[O.TEXT_ENCODATION]+=2.6666666666666665:N[O.TEXT_ENCODATION]+=1.3333333333333333,this.isNativeX12(_)?N[O.X12_ENCODATION]+=.6666666666666666:this.isExtendedASCII(_)?N[O.X12_ENCODATION]+=4.333333333333333:N[O.X12_ENCODATION]+=3.3333333333333335,this.isNativeEDIFACT(_)?N[O.EDIFACT_ENCODATION]+=.75:this.isExtendedASCII(_)?N[O.EDIFACT_ENCODATION]+=4.25:N[O.EDIFACT_ENCODATION]+=3.25,this.isSpecialB256(_)?N[O.BASE256_ENCODATION]+=4:N[O.BASE256_ENCODATION]++,i>=4){if(T.default.fill(I,0),T.default.fill(n,0),this.findMinimums(N,n,D.default.MAX_VALUE,I),n[O.ASCII_ENCODATION]<this.min(n[O.BASE256_ENCODATION],n[O.C40_ENCODATION],n[O.TEXT_ENCODATION],n[O.X12_ENCODATION],n[O.EDIFACT_ENCODATION]))return O.ASCII_ENCODATION;if(n[O.BASE256_ENCODATION]<n[O.ASCII_ENCODATION]||n[O.BASE256_ENCODATION]+1<this.min(n[O.C40_ENCODATION],n[O.TEXT_ENCODATION],n[O.X12_ENCODATION],n[O.EDIFACT_ENCODATION]))return O.BASE256_ENCODATION;if(n[O.EDIFACT_ENCODATION]+1<this.min(n[O.BASE256_ENCODATION],n[O.C40_ENCODATION],n[O.TEXT_ENCODATION],n[O.X12_ENCODATION],n[O.ASCII_ENCODATION]))return O.EDIFACT_ENCODATION;if(n[O.TEXT_ENCODATION]+1<this.min(n[O.BASE256_ENCODATION],n[O.C40_ENCODATION],n[O.EDIFACT_ENCODATION],n[O.X12_ENCODATION],n[O.ASCII_ENCODATION]))return O.TEXT_ENCODATION;if(n[O.X12_ENCODATION]+1<this.min(n[O.BASE256_ENCODATION],n[O.C40_ENCODATION],n[O.EDIFACT_ENCODATION],n[O.TEXT_ENCODATION],n[O.ASCII_ENCODATION]))return O.X12_ENCODATION;if(n[O.C40_ENCODATION]+1<this.min(n[O.ASCII_ENCODATION],n[O.BASE256_ENCODATION],n[O.EDIFACT_ENCODATION],n[O.TEXT_ENCODATION])){if(n[O.C40_ENCODATION]<n[O.X12_ENCODATION])return O.C40_ENCODATION;if(n[O.C40_ENCODATION]===n[O.X12_ENCODATION]){for(var h=A+i+1;h<t.length;){var s=t.charCodeAt(h);if(this.isX12TermSep(s))return O.X12_ENCODATION;if(!this.isNativeX12(s))break;h++}return O.C40_ENCODATION}}}}},t.min=function(t,A,C,N,O){var i=Math.min(t,Math.min(A,Math.min(C,N)));return void 0===O?i:Math.min(i,O)},t.findMinimums=function(t,A,C,N){for(var O=0;O<6;O++){var i=A[O]=Math.ceil(t[O]);C>
183i&&(C=i,T.default.fill(N,0)),C===i&&(N[O]=N[O]+1)}return C},t.getMinimumCount=function(t){for(var A=0,C=0;C<6;C++)A+=t[C];return A||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,A){void 0===A&&(A=0);for(var C=t.length,N=A;N<C&&this.isDigit(t.charCodeAt(N));)N++;return N-A},t.illegalCharacter=function(t){var A=D.default.toHexString(t.charCodeAt(0));throw A='0000'.substring(0,4-A.length)+A,new Error('Illegal character: '+t+' (0x'+A+')')},t})();e.default=o},1266,[17,1267,1268,1269,1265,1270,1271,1273,1274,1098,1102]);
184__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.ASCIIEncoder=void 0;var t=r(d[1]),n=o(r(d[2]));e.ASCIIEncoder=(function(){function o(){}return o.prototype.getEncodingMode=function(){return t.ASCII_ENCODATION},o.prototype.encode=function(o){if(n.default.determineConsecutiveDigitCount(o.getMessage(),o.pos)>=2)o.writeCodeword(this.encodeASCIIDigits(o.getMessage().charCodeAt(o.pos),o.getMessage().charCodeAt(o.pos+1))),o.pos+=2;else{var C=o.getCurrentChar(),s=n.default.lookAheadTest(o.getMessage(),o.pos,this.getEncodingMode());if(s!==this.getEncodingMode())switch(s){case t.BASE256_ENCODATION:return o.writeCodeword(t.LATCH_TO_BASE256),void o.signalEncoderChange(t.BASE256_ENCODATION);case t.C40_ENCODATION:return o.writeCodeword(t.LATCH_TO_C40),void o.signalEncoderChange(t.C40_ENCODATION);case t.X12_ENCODATION:o.writeCodeword(t.LATCH_TO_ANSIX12),o.signalEncoderChange(t.X12_ENCODATION);break;case t.TEXT_ENCODATION:o.writeCodeword(t.LATCH_TO_TEXT),o.signalEncoderChange(t.TEXT_ENCODATION);break;case t.EDIFACT_ENCODATION:o.writeCodeword(t.LATCH_TO_EDIFACT),o.signalEncoderChange(t.EDIFACT_ENCODATION);break;default:throw new Error('Illegal mode: '+s)}else n.default.isExtendedASCII(C)?(o.writeCodeword(t.UPPER_SHIFT),o.writeCodeword(C-128+1),o.pos++):(o.writeCodeword(C+1),o.pos++)}},o.prototype.encodeASCIIDigits=function(o,t){if(n.default.isDigit(o)&&n.default.isDigit(t))return 10*(o-48)+(t-48)+130;throw new Error('not digits: '+o+t)},o})()},1267,[17,1265,1266]);
185__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Base256Encoder=void 0;var o=t(r(d[1])),n=t(r(d[2])),i=t(r(d[3])),s=r(d[4]);e.Base256Encoder=(function(){function t(){}return t.prototype.getEncodingMode=function(){return s.BASE256_ENCODATION},t.prototype.encode=function(t){var h=new n.default;for(h.append(0);t.hasMoreCharacters();){var f=t.getCurrentChar();if(h.append(f),t.pos++,i.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode())!==this.getEncodingMode()){t.signalEncoderChange(s.ASCII_ENCODATION);break}}var u=h.length()-1,C=t.getCodewordCount()+u+1;t.updateSymbolInfo(C);var c=t.getSymbolInfo().getDataCapacity()-C>0;if(t.hasMoreCharacters()||c)if(u<=249)h.setCharAt(0,o.default.getCharAt(u));else{if(!(u<=1555))throw new Error('Message length not in valid ranges: '+u);h.setCharAt(0,o.default.getCharAt(Math.floor(u/250)+249)),h.insert(1,o.default.getCharAt(u%250))}var l=0;for(f=h.length();l<f;l++)t.writeCodeword(this.randomize255State(h.charAt(l).charCodeAt(0),t.getCodewordCount()+1))},t.prototype.randomize255State=function(t,o){var n=t+(149*o%255+1);return n<=255?n:n-256},t})()},1268,[17,1105,1104,1266,1265]);
186__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.C40Encoder=void 0;var o=t(r(d[1])),n=t(r(d[2])),h=r(d[3]);e.C40Encoder=(function(){function t(){}return t.prototype.getEncodingMode=function(){return h.C40_ENCODATION},t.prototype.encodeMaximal=function(t){for(var n=new o.default,p=0,C=t.pos,c=0;t.hasMoreCharacters();){var s=t.getCurrentChar();t.pos++,p=this.encodeChar(s,n),n.length()%3==0&&(C=t.pos,c=n.length())}if(c!==n.length()){var f=Math.floor(n.length()/3*2),l=Math.floor(t.getCodewordCount()+f+1);t.updateSymbolInfo(l);var u=t.getSymbolInfo().getDataCapacity()-l,w=Math.floor(n.length()%3);(2===w&&2!==u||1===w&&(p>3||1!==u))&&(t.pos=C)}n.length()>0&&t.writeCodeword(h.LATCH_TO_C40),this.handleEOD(t,n)},t.prototype.encode=function(t){for(var p=new o.default;t.hasMoreCharacters();){var C=t.getCurrentChar();t.pos++;var c=this.encodeChar(C,p),s=2*Math.floor(p.length()/3),f=t.getCodewordCount()+s;t.updateSymbolInfo(f);var l=t.getSymbolInfo().getDataCapacity()-f;if(!t.hasMoreCharacters()){var u=new o.default;for(p.length()%3==2&&2!==l&&(c=this.backtrackOneCharacter(t,p,u,c));p.length()%3==1&&(c>3||1!==l);)c=this.backtrackOneCharacter(t,p,u,c);break}if(p.length()%3==0)if(n.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode())!==this.getEncodingMode()){t.signalEncoderChange(h.ASCII_ENCODATION);break}}this.handleEOD(t,p)},t.prototype.backtrackOneCharacter=function(t,o,n,h){var p=o.length(),C=o.toString().substring(0,p-h);o.setLengthToZero(),o.append(C),t.pos--;var c=t.getCurrentChar();return h=this.encodeChar(c,n),t.resetSymbolInfo(),h},t.prototype.writeNextTriplet=function(t,o){t.writeCodewords(this.encodeToCodewords(o.toString()));var n=o.toString().substring(3);o.setLengthToZero(),o.append(n)},t.prototype.handleEOD=function(t,o){var n=Math.floor(o.length()/3*2),p=o.length()%3,C=t.getCodewordCount()+n;t.updateSymbolInfo(C);var c=t.getSymbolInfo().getDataCapacity()-C;if(2===p){for(o.append('\0');o.length()>=3;)this.writeNextTriplet(t,o);t.hasMoreCharacters()&&t.writeCodeword(h.C40_UNLATCH)}else if(1===c&&1===p){for(;o.length()>=3;)this.writeNextTriplet(t,o);t.hasMoreCharacters()&&t.writeCodeword(h.C40_UNLATCH),t.pos--}else{if(0!==p)throw new Error('Unexpected case. Please report!');for(;o.length()>=3;)this.writeNextTriplet(t,o);(c>0||t.hasMoreCharacters())&&t.writeCodeword(h.C40_UNLATCH)}t.signalEncoderChange(h.ASCII_ENCODATION)},t.prototype.encodeChar=function(t,o){if(t===' '.charCodeAt(0))return o.append(3),1;if(t>='0'.charCodeAt(0)&&t<='9'.charCodeAt(0))return o.append(t-48+4),1;if(t>='A'.charCodeAt(0)&&t<='Z'.charCodeAt(0))return o.append(t-65+14),1;if(t<' '.charCodeAt(0))return o.append(0),o.append(t),2;if(t<='/'.charCodeAt(0))return o.append(1),o.append(t-33),2;if(t<='@'.charCodeAt(0))return o.append(1),o.append(t-58+15),2;if(t<='_'.charCodeAt(0))return o.append(1),o.append(t-91+22),2;if(t<=127)return o.append(2),o.append(t-96),2;o.append("1\x1e");var n=2;return n+=this.encodeChar(t-128,o)},t.prototype.encodeToCodewords=function(t){var n=1600*t.charCodeAt(0)+40*t.charCodeAt(1)+t.charCodeAt(2)+1,h=n/256,p=n%256,C=new o.default;return C.append(h),C.append(p),C.toString()},t})()},1269,[17,1104,1266,1265]);
187__d(function(g,r,i,a,m,e,d){var t=r(d[0]);
187Object.defineProperty(e,"__esModule",{value:!0}),e.EdifactEncoder=void 0;var o=t(r(d[1])),n=t(r(d[2])),C=r(d[3]),c=t(r(d[4]));e.EdifactEncoder=(function(){function t(){}return t.prototype.getEncodingMode=function(){return C.EDIFACT_ENCODATION},t.prototype.encode=function(t){for(var h=new n.default;t.hasMoreCharacters();){var u=t.getCurrentChar();if(this.encodeChar(u,h),t.pos++,h.length()>=4){t.writeCodewords(this.encodeToCodewords(h.toString()));var f=h.toString().substring(4);if(h.setLengthToZero(),h.append(f),c.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode())!==this.getEncodingMode()){t.signalEncoderChange(C.ASCII_ENCODATION);break}}}h.append(o.default.getCharAt(31)),this.handleEOD(t,h)},t.prototype.handleEOD=function(t,o){try{var n=o.length();if(0===n)return;if(1===n){t.updateSymbolInfo();var c=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount(),h=t.getRemainingCharacters();if(h>c&&(t.updateSymbolInfo(t.getCodewordCount()+1),c=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount()),h<=c&&c<=2)return}if(n>4)throw new Error('Count must not exceed 4');var u=n-1,f=this.encodeToCodewords(o.toString()),p=!t.hasMoreCharacters()&&u<=2;if(u<=2)t.updateSymbolInfo(t.getCodewordCount()+u),(c=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount())>=3&&(p=!1,t.updateSymbolInfo(t.getCodewordCount()+f.length));p?(t.resetSymbolInfo(),t.pos-=u):t.writeCodewords(f)}finally{t.signalEncoderChange(C.ASCII_ENCODATION)}},t.prototype.encodeChar=function(t,n){t>=' '.charCodeAt(0)&&t<='?'.charCodeAt(0)?n.append(t):t>='@'.charCodeAt(0)&&t<='^'.charCodeAt(0)?n.append(o.default.getCharAt(t-64)):c.default.illegalCharacter(o.default.getCharAt(t))},t.prototype.encodeToCodewords=function(t){var o=t.length;if(0===o)throw new Error('StringBuilder must not be empty');var C=(t.charAt(0).charCodeAt(0)<<18)+((o>=2?t.charAt(1).charCodeAt(0):0)<<12)+((o>=3?t.charAt(2).charCodeAt(0):0)<<6)+(o>=4?t.charAt(3).charCodeAt(0):0),c=C>>16&255,h=C>>8&255,u=255&C,f=new n.default;return f.append(c),o>=2&&f.append(h),o>=3&&f.append(u),f.toString()},t})()},1270,[17,1105,1104,1265,1266]);
188__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.EncoderContext=void 0;var o=t(r(d[1])),n=t(r(d[2]));e.EncoderContext=(function(){function t(t){this.msg=t,this.pos=0,this.skipAtEnd=0;for(var n=t.split('').map(function(t){return t.charCodeAt(0)}),i=new o.default,s=0,p=n.length;s<p;s++){var h=String.fromCharCode(255&n[s]);if('?'===h&&'?'!==t.charAt(s))throw new Error('Message contains characters outside ISO-8859-1 encoding.');i.append(h)}this.msg=i.toString(),this.shape=0,this.codewords=new o.default,this.newEncoding=-1}return t.prototype.setSymbolShape=function(t){this.shape=t},t.prototype.setSizeConstraints=function(t,o){this.minSize=t,this.maxSize=o},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=n.default.lookup(t,this.shape,this.minSize,this.maxSize,!0))},t.prototype.resetSymbolInfo=function(){this.symbolInfo=null},t})()},1271,[17,1104,1272]);
189__d(function(g,r,_i,a,_m,e,_d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.PROD_SYMBOLS=void 0;var t,n=this&&this.__extends||(t=function(n,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},t(n,o)},function(n,o){function i(){this.constructor=n}t(n,o),n.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}),o=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,o=n&&t[n],i=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},i=(function(){function t(t,n,o,i,u,s,c,l){void 0===c&&(c=0),void 0===l&&(l=0),this.rectangular=t,this.dataCapacity=n,this.errorCodewords=o,this.matrixWidth=i,this.matrixHeight=u,this.dataRegions=s,this.rsBlockData=c,this.rsBlockError=l}return t.lookup=function(t,n,i,u,c){var l,h;void 0===n&&(n=0),void 0===i&&(i=null),void 0===u&&(u=null),void 0===c&&(c=!0);try{for(var d=o(s),f=d.next();!f.done;f=d.next()){var p=f.value;if((1!==n||!p.rectangular)&&((2!==n||p.rectangular)&&(null==i||!(p.getSymbolWidth()<i.getWidth()||p.getSymbolHeight()<i.getHeight()))&&(null==u||!(p.getSymbolWidth()>u.getWidth()||p.getSymbolHeight()>u.getHeight()))&&t<=p.dataCapacity))return p}}catch(t){l={error:t}}finally{try{f&&!f.done&&(h=d.return)&&h.call(d)}finally{if(l)throw l.error}}if(c)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})(),u=(e.default=i,(function(t){function o(){return t.call(this,!1,1558,620,22,22,36,-1,62)||this}return n(o,t),o.prototype.getInterleavedBlockCount=function(){return 10},o.prototype.getDataLengthForInterleavedBlock=function(t){return t<=8?156:155},o})(i)),s=e.PROD_SYMBOLS=[new i(!1,3,5,8,8,1),new i(!1,5,7,10,10,1),new i(!0,5,7,16,6,1),new i(!1,8,10,12,12,1),new i(!0,10,11,14,6,2),new i(!1,12,12,14,14,1),new i(!0,16,14,24,10,1),new i(!1,18,14,16,16,1),new i(!1,22,18,18,18,1),new i(!0,22,18,16,10,2),new i(!1,30,20,20,20,1),new i(!0,32,24,16,14,2),new i(!1,36,24,22,22,1),new i(!1,44,28,24,24,1),new i(!0,49,28,22,14,2),new i(!1,62,36,14,14,4),new i(!1,86,42,16,16,4),new i(!1,114,48,18,18,4),new i(!1,144,56,20,20,4),new i(!1,174,68,22,22,4),new i(!1,204,84,24,24,4,102,42),new i(!1,280,112,14,14,16,140,56),new i(!1,368,144,16,16,16,92,36),new i(!1,456,192,18,18,16,114,48),new i(!1,576,224,20,20,16,144,56),new i(!1,696,272,22,22,16,174,68),new i(!1,816,336,24,24,16,136,56),new i(!1,1050,408,18,18,36,175,68),new i(!1,1304,496,20,20,36,163,62),new u]},1272,[]);
190__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);
190Object.defineProperty(e,"__esModule",{value:!0}),e.X12Encoder=void 0;var n,o=t(r(_d[1])),c=t(r(_d[2])),d=r(_d[3]),p=t(r(_d[4])),h=r(_d[5]),s=this&&this.__extends||(n=function(t,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function c(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(c.prototype=o.prototype,new c)});e.X12Encoder=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.getEncodingMode=function(){return h.X12_ENCODATION},n.prototype.encode=function(t){for(var n=new c.default;t.hasMoreCharacters();){var o=t.getCurrentChar();if(t.pos++,this.encodeChar(o,n),n.length()%3==0)if(this.writeNextTriplet(t,n),p.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode())!==this.getEncodingMode()){t.signalEncoderChange(h.ASCII_ENCODATION);break}}this.handleEOD(t,n)},n.prototype.encodeChar=function(t,n){switch(t){case 13:n.append(0);break;case'*'.charCodeAt(0):n.append(1);break;case'>'.charCodeAt(0):n.append(2);break;case' '.charCodeAt(0):n.append(3);break;default:t>='0'.charCodeAt(0)&&t<='9'.charCodeAt(0)?n.append(t-48+4):t>='A'.charCodeAt(0)&&t<='Z'.charCodeAt(0)?n.append(t-65+14):p.default.illegalCharacter(o.default.getCharAt(t))}return 1},n.prototype.handleEOD=function(t,n){t.updateSymbolInfo();var o=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount(),c=n.length();t.pos-=c,(t.getRemainingCharacters()>1||o>1||t.getRemainingCharacters()!==o)&&t.writeCodeword(h.X12_UNLATCH),t.getNewEncoding()<0&&t.signalEncoderChange(h.ASCII_ENCODATION)},n})(d.C40Encoder)},1273,[17,1105,1104,1269,1266,1265]);
191__d(function(g,r,i,a,m,e,_d){Object.defineProperty(e,"__esModule",{value:!0}),e.TextEncoder=void 0;var t,n=r(_d[0]),o=r(_d[1]),p=this&&this.__extends||(t=function(n,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},t(n,o)},function(n,o){function p(){this.constructor=n}t(n,o),n.prototype=null===o?Object.create(o):(p.prototype=o.prototype,new p)});e.TextEncoder=(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return p(n,t),n.prototype.getEncodingMode=function(){return o.TEXT_ENCODATION},n.prototype.encodeChar=function(t,n){if(t===' '.charCodeAt(0))return n.append(3),1;if(t>='0'.charCodeAt(0)&&t<='9'.charCodeAt(0))return n.append(t-48+4),1;if(t>='a'.charCodeAt(0)&&t<='z'.charCodeAt(0))return n.append(t-97+14),1;if(t<' '.charCodeAt(0))return n.append(0),n.append(t),2;if(t<='/'.charCodeAt(0))return n.append(1),n.append(t-33),2;if(t<='@'.charCodeAt(0))return n.append(1),n.append(t-58+15),2;if(t>='['.charCodeAt(0)&&t<='_'.charCodeAt(0))return n.append(1),n.append(t-91+22),2;if(t==='`'.charCodeAt(0))return n.append(2),n.append(0),2;if(t<='Z'.charCodeAt(0))return n.append(2),n.append(t-65+1),2;if(t<=127)return n.append(2),n.append(t-123+27),2;n.append("1\x1e");var o=2;return o+=this.encodeChar(t-128,n)},n})(n.C40Encoder)},1274,[1269,1265]);
192__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=t(r(d[2])),l=t(r(d[3])),u=t(r(d[4])),f=t(r(d[5])),h=r(d[6]),v=(function(){function t(){}return t.prototype.encode=function(t,n,u,v,A){if(void 0===A&&(A=null),''===t.trim())throw new Error('Found empty contents');if(n!==o.default.DATA_MATRIX)throw new Error('Can only encode DATA_MATRIX, but got '+n);if(u<0||v<0)throw new Error('Requested dimensions can\'t be negative: '+u+'x'+v);var c,M=0,S=null,T=null;if(null!=A){var _=A.get(l.default.DATA_MATRIX_SHAPE);null!=_&&(M=_);var s=A.get(l.default.MIN_SIZE);null!=s&&(S=s);var y=A.get(l.default.MAX_SIZE);null!=y&&(T=y)}if(null!=A&&A.has(l.default.DATA_MATRIX_COMPACT)&&Boolean(A.get(l.default.DATA_MATRIX_COMPACT).toString())){var C=A.has(l.default.GS1_FORMAT)&&Boolean(A.get(l.default.GS1_FORMAT).toString()),E=null;A.has(l.default.CHARACTER_SET)&&(E=f.default.forName(A.get(l.default.CHARACTER_SET).toString())),c=h.MinimalEncoder.encodeHighLevel(t,E,C?29:-1,M)}else{var R=null!=A&&A.has(l.default.FORCE_C40)&&Boolean(A.get(l.default.FORCE_C40).toString());c=h.HighLevelEncoder.encodeHighLevel(t,M,S,T,R)}var x=h.SymbolInfo.lookup(c.length,M,S,T,!0),B=h.ErrorCorrection.encodeECC200(c,x),H=new h.DefaultPlacement(B,x.getSymbolDataWidth(),x.getSymbolDataHeight());return H.place(),this.encodeLowLevel(H,x,u,v)},t.prototype.encodeLowLevel=function(t,o,n,l){for(var f=o.getSymbolDataWidth(),h=o.getSymbolDataHeight(),v=new u.default(o.getSymbolWi
192dth(),o.getSymbolHeight()),A=0,c=0;c<h;c++){var M=void 0;if(c%o.matrixHeight===0){M=0;for(var S=0;S<o.getSymbolWidth();S++)v.setBoolean(M,A,S%2==0),M++;A++}M=0;for(S=0;S<f;S++)S%o.matrixWidth===0&&(v.setBoolean(M,A,!0),M++),v.setBoolean(M,A,t.getBit(S,c)),M++,S%o.matrixWidth===o.matrixWidth-1&&(v.setBoolean(M,A,c%2==0),M++);if(A++,c%o.matrixHeight===o.matrixHeight-1){M=0;for(S=0;S<o.getSymbolWidth();S++)v.setBoolean(M,A,!0),M++;A++}}return this.convertByteMatrixToBitMatrix(v,n,l)},t.prototype.convertByteMatrixToBitMatrix=function(t,o,l){var u,f=t.getWidth(),h=t.getHeight(),v=Math.max(o,f),A=Math.max(l,h),c=Math.min(v/f,A/h),M=(v-f*c)/2,S=(A-h*c)/2;l<h||o<f?(M=0,S=0,u=new n.default(f,h)):u=new n.default(o,l),u.clear();for(var T=0,_=S;T<h;T++,_+=c)for(var s=0,y=M;s<f;s++,y+=c)1===t.get(s,T)&&u.setRegion(y,_,c,c);return u},t})();e.default=v},1275,[17,1118,1103,1246,1250,1261,1276]);
193__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ASCIIEncoder",{enumerable:!0,get:function(){return t.ASCIIEncoder}}),Object.defineProperty(e,"Base256Encoder",{enumerable:!0,get:function(){return o.Base256Encoder}}),Object.defineProperty(e,"C40Encoder",{enumerable:!0,get:function(){return c.C40Encoder}}),Object.defineProperty(e,"DefaultPlacement",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"EdifactEncoder",{enumerable:!0,get:function(){return f.EdifactEncoder}}),Object.defineProperty(e,"EncoderContext",{enumerable:!0,get:function(){return b.EncoderContext}}),Object.defineProperty(e,"ErrorCorrection",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"HighLevelEncoder",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"MinimalEncoder",{enumerable:!0,get:function(){return y.MinimalEncoder}}),Object.defineProperty(e,"SymbolInfo",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"TextEncoder",{enumerable:!0,get:function(){return j.TextEncoder}}),Object.defineProperty(e,"X12Encoder",{enumerable:!0,get:function(){return p.X12Encoder}});var t=r(d[1]),o=r(d[2]),c=r(d[3]),u=n(r(d[4])),f=r(d[5]),b=r(d[6]),l=n(r(d[7])),E=n(r(d[8])),y=r(d[9]),P=n(r(d[10])),j=r(d[11]),p=r(d[12])},1276,[17,1267,1268,1269,1263,1270,1271,1264,1266,1277,1272,1274,1273]);
194__d(function(g,_r,_i,a,_m,_e2,_d2){var t=_r(_d2[0]);Object.defineProperty(_e2,"__esModule",{value:!0}),_e2.MinimalEncoder=void 0;var e,i,r=_r(_d2[1]),n=t(_r(_d2[2])),s=_r(_d2[3]),o=t(_r(_d2[4])),h=this&&this.__extends||(e=function(t,i){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},e(t,i)},function(t,i){function r(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}),u=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],r=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=this&&this.__read||function(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var r,n,s=i.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(t){n={error:t}}finally{try{r&&!r.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return o},d=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(arguments[e]));return t};!(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"})(i||(i={}));var f=['!','"','#','$','%','&',"'",'(',')','*','+',',','-','.','/',':',';','<','=','>','?','@','[','\\',']','^','_'],l=_e2.MinimalEncoder=(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 i,r;try{for(var n=u(f),s=n.next();!s.done;s=n.next()){if(s.value.charCodeAt(0)===t)return!0}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return t===e},t.isInTextShift1Set=function(t){return this.isInC40Shift1Set(t)},t.isInTextShift2Set=function(t,e){return this.isInC40Shift2Set(t,e)}
194,t.encodeHighLevel=function(t,e,i,n){void 0===e&&(e=null),void 0===i&&(i=-1),void 0===n&&(n=0);var s=0;return t.startsWith(r.MACRO_05_HEADER)&&t.endsWith(r.MACRO_TRAILER)?(s=5,t=t.substring(r.MACRO_05_HEADER.length,t.length-2)):t.startsWith(r.MACRO_06_HEADER)&&t.endsWith(r.MACRO_TRAILER)&&(s=6,t=t.substring(r.MACRO_06_HEADER.length,t.length-2)),decodeURIComponent(escape(String.fromCharCode.apply(String,d(this.encode(t,e,i,n,s)))))},t.encode=function(t,e,i,r,n){return this.encodeMinimally(new y(t,e,i,r,n)).getBytes()},t.addEdge=function(t,e){var i=e.fromPosition+e.characterLength;(null===t[i][e.getEndMode()]||t[i][e.getEndMode()].cachedTotalSize>e.cachedTotalSize)&&(t[i][e.getEndMode()]=e)},t.getNumberOfC40Words=function(e,i,r,s){for(var o=0,h=i;h<e.length();h++){if(e.isECI(h))return s[0]=0,0;var u=e.charAt(h);if(r&&n.default.isNativeC40(u)||!r&&n.default.isNativeText(u))o++;else if(t.isExtendedASCII(u,e.getFNC1Character())){var c=255&u;c>=128&&(r&&n.default.isNativeC40(c-128)||!r&&n.default.isNativeText(c-128))?o+=3:o+=4}else o+=2;if(o%3==0||(o-2)%3==0&&h+1===e.length())return s[0]=h-i+1,Math.ceil(o/3)}return s[0]=0,0},t.addEdges=function(e,r,s,o){var h,c;if(e.isECI(s))this.addEdge(r,new C(e,i.ASCII,s,1,o));else{var d,f=e.charAt(s);if(null===o||o.getEndMode()!==i.EDF){n.default.isDigit(f)&&e.haveNCharacters(s,2)&&n.default.isDigit(e.charAt(s+1))?this.addEdge(r,new C(e,i.ASCII,s,2,o)):this.addEdge(r,new C(e,i.ASCII,s,1,o));var l=[i.C40,i.TEXT];try{for(var p=u(l),y=p.next();!y.done;y=p.next()){var v=y.value,A=[];t.getNumberOfC40Words(e,s,v===i.C40,A)>0&&this.addEdge(r,new C(e,v,s,A[0],o))}}catch(t){h={error:t}}finally{try{y&&!y.done&&(c=p.return)&&c.call(p)}finally{if(h)throw h.error}}e.haveNCharacters(s,3)&&n.default.isNativeX12(e.charAt(s))&&n.default.isNativeX12(e.charAt(s+1))&&n.default.isNativeX12(e.charAt(s+2))&&this.addEdge(r,new C(e,i.X12,s,3,o)),this.addEdge(r,new C(e,i.B256,s,1,o))}for(d=0;d<3;d++){var I=s+d;if(!e.haveNCharacters(I,1)||!n.default.isNativeEDIFACT(e.charAt(I)))break;this.addEdge(r,new C(e,i.EDF,s,d+1,o))}3===d&&e.haveNCharacters(s,4)&&n.default.isNativeEDIFACT(e.charAt(s+3))&&this.addEdge(r,new C(e,i.EDF,s,4,o))}},t.encodeMinimally=function(t){var e=t.length(),i=Array(e+1).fill(null).map(function(){return Array(6).fill(0)});this.addEdges(t,i,0,null);for(var r=1;r<=e;r++){for(var n=0;n<6;n++)null!==i[r][n]&&r<e&&this.addEdges(t,i,r,i[r][n]);for(n=0;n<6;n++)i[r-1][n]=null}var s=-1,h=o.default.MAX_VALUE;for(n=0;n<6;n++)if(null!==i[e][n]){var u=i[e][n],c=n>=1&&n<=3?u.cachedTotalSize+1:u.cachedTotalSize;c<h&&(h=c,s=n)}if(s<0)throw new Error('Failed to encode "'+t+'"');return new p(i[e][s])},t})(),p=(function(){function t(t){var e=t.input,r=0,n=[],s=[],o=[];t.mode!==i.C40&&t.mode!==i.TEXT&&t.mode!==i.X12||t.getEndMode()===i.ASCII||(r+=this.prepend(C.getBytes(254),n));for(var h=t;null!==h;)r+=this.prepend(h.getDataBytes(),n),null!==h.previous&&h.getPreviousStartMode()===h.getMode()||(h.getMode()===i.B256&&(r<=249?(n.unshift(r),r++):(n.unshift(r%250),n.unshift(r/250+249),r+=2),s.push(n.length),o.push(r)),this.prepend(h.getLatchBytes(),n),r=0),h=h.previous;5===e.getMacroId()?r+=this.prepend(C.getBytes(236),n):6===e.getMacroId()&&(r+=this.prepend(C.getBytes(237),n)
194),e.getFNC1Character()>0&&(r+=this.prepend(C.getBytes(232),n));for(var u=0;u<s.length;u++)this.applyRandomPattern(n,n.length-s[u],o[u]);var c=t.getMinSymbolSize(n.length);for(n.length<c&&n.push(129);n.length<c;)n.push(this.randomize253State(n.length+1));this.bytes=new Uint8Array(n.length);for(u=0;u<this.bytes.length;u++)this.bytes[u]=n[u]}return t.prototype.prepend=function(t,e){for(var i=t.length-1;i>=0;i--)e.unshift(t[i]);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,i){for(var r=0;r<i;r++){var n=e+r,s=(255&t[n])+(149*(n+1)%255+1);t[n]=s<=255?s:s-256}},t.prototype.getBytes=function(){return this.bytes},t})(),C=(function(){function t(t,e,r,n,s){if(this.input=t,this.mode=e,this.fromPosition=r,this.characterLength=n,this.previous=s,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!==s?s.cachedTotalSize:0,h=this.getPreviousMode();switch(e){case i.ASCII:o++,(t.isECI(r)||l.isExtendedASCII(t.charAt(r),t.getFNC1Character()))&&o++,h!==i.C40&&h!==i.TEXT&&h!==i.X12||o++;break;case i.B256:o++,(h!==i.B256||250===this.getB256Size())&&o++,h===i.ASCII?o++:h!==i.C40&&h!==i.TEXT&&h!==i.X12||(o+=2);break;case i.C40:case i.TEXT:case i.X12:if(e===i.X12)o+=2;else{o+=2*l.getNumberOfC40Words(t,r,e===i.C40,[])}h===i.ASCII||h===i.B256?o++:h===e||h!==i.C40&&h!==i.TEXT&&h!==i.X12||(o+=2);break;case i.EDF:o+=3,h===i.ASCII||h===i.B256?o++:h!==i.C40&&h!==i.TEXT&&h!==i.X12||(o+=2)}this.cachedTotalSize=o}return t.prototype.getB256Size=function(){for(var t=0,e=this;null!==e&&e.mode===i.B256&&t<=250;)t++,e=e.previous;return t},t.prototype.getPreviousStartMode=function(){return null===this.previous?i.ASCII:this.previous.mode},t.prototype.getPreviousMode=function(){return null===this.previous?i.ASCII:this.previous.getEndMode()},t.prototype.getEndMode=function(){if(this.mode===i.EDF){if(this.characterLength<4)return i.ASCII;if((t=this.getLastASCII())>0&&this.getCodewordsRemaining(this.cachedTotalSize+t)<=2-t)return i.ASCII}if(this.mode===i.C40||this.mode===i.TEXT||this.mode===i.X12){if(this.fromPosition+this.characterLength>=this.input.length()&&0===this.getCodewordsRemaining(this.cachedTotalSize))return i.ASCII;var t;if(1===(t=this.getLastASCII())&&0===this.getCodewordsRemaining(this.cachedTotalSize+1))return i.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?l.isExtendedASCII(this.input.charAt(e),this.input.getFNC1Character())?0:1:t-e===2?l.isExtendedASCII(this.input.charAt(e),this.input.getFNC1Character())||l.isExtendedASCII(this.input.charAt(e+1),this.input.getFNC1Character())?0:n.default.isDigit(this.input.charAt(e))&&n.default.isDigit(this.input.charAt(e+1))?1:2:t-e===3?n.default.isDigit(this.input.charAt(e))&&n.default.isDigit(this.input.charAt(e+1))&&!l.isExtendedASCII(this.input.charAt(e+2),this.input.getFNC1Character())||n.default.isDigit(this.input.charAt(e+1))&&n.default.isDigit(this.input.charAt(e+2))&&!l.isExtendedASCII(this.input.charAt(e),this.input.getFNC1Character())?2:0:n.default.isDigit(this.input.charAt(e))&&n.default.isDigit(this.input.charAt(e+1))&&n.default.isDigit(this.input.charAt(e+2))&&n.default.isDigit(this.input.charAt(e+3))?2:0},t.prototype.getMinSymbolSize=function(t){var e,i,r,n,s,o;switch(this.input.getShapeHint()){case 1:try{for(var h=u(this.squareCodewordCapacities),c=h.next();!c.done;c=h.next()){if((C=c.value)>=t)return C}}catch(t){e={error:t}}finally{try{c&&!c.done&&(i=h.return)&&i.call(h)}finally{if(e)throw e.error}}break;case 2:try{for(var d=u(this.rectangularCodewordCapacities),f=d.next();!f.done;f=d.next()){if((C=f.value)>=t)return C}}catch(t){r={error:t}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}}try{for(var l=u(this.allCodewordCapacities),p=l.next();!p.done;p=l.next()){var C;if((C=p.value)>=t)return C}}catch(t){s={error:t}}
194finally{try{p&&!p.done&&(o=l.return)&&o.call(l)}finally{if(s)throw s.error}}return this.allCodewordCapacities[this.allCodewordCapacities.length-1]},t.prototype.getCodewordsRemaining=function(t){return this.getMinSymbolSize(t)-t},t.getBytes=function(t,e){var i=new Uint8Array(e?2:1);return i[0]=t,e&&(i[1]=e),i},t.prototype.setC40Word=function(t,e,i,r,n){var s=1600*(255&i)+40*(255&r)+(255&n)+1;t[e]=s/256,t[e+1]=s%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,i){return e&&l.isInC40Shift1Set(t)||!e&&l.isInTextShift1Set(t)?0:e&&l.isInC40Shift2Set(t,i)||!e&&l.isInTextShift2Set(t,i)?1:2},t.prototype.getC40Value=function(t,e,i,r){if(i===r){if(2!==e)throw new Error('FNC1 cannot be used in C40 shift 2');return 27}return t?i<=31?i:32===i?3:i<=47?i-33:i<=57?i-44:i<=64?i-43:i<=90?i-51:i<=95?i-69:i<=127?i-96:i:0===i?0:0===e&&i<=3?i-1:1===e&&i<=31?i:32===i?3:i>=33&&i<=47?i-33:i>=48&&i<=57?i-44:i>=58&&i<=64?i-43:i>=65&&i<=90?i-64:i>=91&&i<=95?i-69:96===i?0:i>=97&&i<=122?i-83:i>=123&&i<=127?i-96:i},t.prototype.getC40Words=function(t,e){for(var i=[],r=0;r<this.characterLength;r++){var s=this.input.charAt(this.fromPosition+r);if(t&&n.default.isNativeC40(s)||!t&&n.default.isNativeText(s))i.push(this.getC40Value(t,0,s,e));else if(l.isExtendedASCII(s,e)){var o=(255&s)-128;if(t&&n.default.isNativeC40(o)||!t&&n.default.isNativeText(o))i.push(1),i.push(30),i.push(this.getC40Value(t,0,o,e));else{i.push(1),i.push(30);h=this.getShiftValue(o,t,e);i.push(h),i.push(this.getC40Value(t,h,o,e))}}else{var h=this.getShiftValue(s,t,e);i.push(h),i.push(this.getC40Value(t,h,s,e))}}if(i.length%3!=0){if((i.length-2)%3!=0||this.fromPosition+this.characterLength!==this.input.length())throw new Error('C40 words must be a multiple of 3');i.push(0)}var u=new Uint8Array(i.length/3*2),c=0;for(r=0;r<i.length;r+=3)this.setC40Word(u,c,255&i[r],255&i[r+1],255&i[r+2]),c+=2;return u},t.prototype.getEDFBytes=function(){for(var t=Math.ceil(this.characterLength/4),e=new Uint8Array(3*t),i=this.fromPosition,r=Math.min(this.fromPosition+this.characterLength-1,this.input.length()-1),n=0;n<t;n+=3){for(var s=[],o=0;o<4;o++)s[o]=i<=r?63&this.input.charAt(i++):i===r+1?31:0;var h=s[0]<<18;h|=s[1]<<12,h|=s[2]<<6,h|=s[3],e[n]=h>>16&255,e[n+1]=h>>8&255,e[n+2]=255&h}return e},t.prototype.getLatchBytes=function(){switch(this.getPreviousMode()){case i.ASCII:case i.B256:switch(this.mode){case i.B256:return t.getBytes(231);case i.C40:return t.getBytes(230);case i.TEXT:return t.getBytes(239);case i.X12:return t.getBytes(238);case i.EDF:return t.getBytes(240)}break;case i.C40:case i.TEXT:case i.X12:if(this.mode!==this.getPreviousMode())switch(this.mode){case i.ASCII:return t.getBytes(254);case i.B256:return t.getBytes(254,231);case i.C40:return t.getBytes(254,230);case i.TEXT:return t.getBytes(254,239);case i.X12:return t.getBytes(254,238);case i.EDF:return t.getBytes(254,240)}break;case i.EDF:if(this.mode!==i.EDF)throw new Error('Cannot switch from EDF to '+this.mode)}return new Uint8Array(0)},t.prototype.getDataBytes=function(){switch(this.mode){case i.ASCII:return this.input.isECI(this.fromPosition)?t.getBytes(241,this.input.getECIValue(this.fromPosition)+1):l.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 i.B256:return t.getBytes(this.input.charAt(this.fromPosition));case i.C40:return this.getC40Words(!0,this.input.getFNC1Character());case i.TEXT:return this.getC40Words(!1,this.input.getFNC1Character());case i.X12:return this.getX12Words();case i.EDF:return this.getEDFBytes()}},t})(),y=(function(t){function e(e,i,r,n,s){var o=t.call(this,e,i,r)||this;return o.shape=n,o.macroId=s,o}return h(e,t),e.prototype.getMacroId=function(){return this.macroId},e.prototype.getShapeHint=function(){return this.shape},e})(s.MinimalECIInput)},1277,[17,1265,1266,1278,1102]);
195__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);
195Object.defineProperty(e,"__esModule",{value:!0}),e.MinimalECIInput=void 0;var n=r(d[1]),o=t(r(d[2])),i=t(r(d[3])),h=(e.MinimalECIInput=(function(){function t(t,o,i){this.fnc1=i;var h=new n.ECIEncoderSet(t,o,i);if(1===h.length())for(var c=0;c<this.bytes.length;c++){var s=t.charAt(c).charCodeAt(0);this.bytes[c]=s===i?1e3:s}else this.bytes=this.encodeMinimally(t,h,i)}return t.prototype.getFNC1Character=function(){return this.fnc1},t.prototype.length=function(){return this.bytes.length},t.prototype.haveNCharacters=function(t,n){if(t+n-1>=this.bytes.length)return!1;for(var o=0;o<n;o++)if(this.isECI(t+o))return!1;return!0},t.prototype.charAt=function(t){if(t<0||t>=this.length())throw new Error(''+t);if(this.isECI(t))throw new Error('value at '+t+' is not a character but an ECI');return this.isFNC1(t)?this.fnc1:this.bytes[t]},t.prototype.subSequence=function(t,n){if(t<0||t>n||n>this.length())throw new Error(''+t);for(var o=new i.default,h=t;h<n;h++){if(this.isECI(h))throw new Error('value at '+h+' is not a character but an ECI');o.append(this.charAt(h))}return o.toString()},t.prototype.isECI=function(t){if(t<0||t>=this.length())throw new Error(''+t);return this.bytes[t]>255&&this.bytes[t]<=999},t.prototype.isFNC1=function(t){if(t<0||t>=this.length())throw new Error(''+t);return 1e3===this.bytes[t]},t.prototype.getECIValue=function(t){if(t<0||t>=this.length())throw new Error(''+t);if(!this.isECI(t))throw new Error('value at '+t+' is not an ECI but a character');return this.bytes[t]-256},t.prototype.addEdge=function(t,n,o){(null==t[n][o.encoderIndex]||t[n][o.encoderIndex].cachedTotalSize>o.cachedTotalSize)&&(t[n][o.encoderIndex]=o)},t.prototype.addEdges=function(t,n,o,i,c,s){var u=t.charAt(i).charCodeAt(0),l=0,f=n.length();n.getPriorityEncoderIndex()>=0&&(u===s||n.canEncode(u,n.getPriorityEncoderIndex()))&&(f=(l=n.getPriorityEncoderIndex())+1);for(var E=l;E<f;E++)(u===s||n.canEncode(u,E))&&this.addEdge(o,i+1,new h(u,n,E,c,s))},t.prototype.encodeMinimally=function(t,n,i){var c=t.length,s=new(h[c+1][n.length()]);this.addEdges(t,n,s,0,null,i);for(var u=1;u<=c;u++){for(var l=0;l<n.length();l++)null!=s[u][l]&&u<c&&this.addEdges(t,n,s,u,s[u][l],i);for(l=0;l<n.length();l++)s[u-1][l]=null}var f=-1,E=o.default.MAX_VALUE;for(l=0;l<n.length();l++)if(null!=s[c][l]){var p=s[c][l];p.cachedTotalSize<E&&(E=p.cachedTotalSize,f=l)}if(f<0)throw new Error('Failed to encode "'+t+'"');for(var v=[],y=s[c][f];null!=y;){if(y.isFNC1())v.unshift(1e3);else{var I=n.encode(y.c,y.encoderIndex);for(u=I.length-1;u>=0;u--)v.unshift(255&I[u])}(null===y.previous?0:y.previous.encoderIndex)!==y.encoderIndex&&v.unshift(256+n.getECIValue(y.encoderIndex)),y=y.previous}var C=[];for(u=0;u<C.length;u++)C[u]=v[u];return C},t})(),(function(){function t(t,n,o,i,h){this.c=t,this.encoderSet=n,this.encoderIndex=o,this.previous=i,this.fnc1=h,this.c=t===h?1e3:t;var c=this.isFNC1()?1:n.encode(t,o).length;(null===i?0:i.encoderIndex)!==o&&(c+=3),null!=i&&(c+=i.cachedTotalSize),this.cachedTotalSize=c}return t.prototype.isFNC1=function(){return 1e3===this.c},t})())},1278,[17,1279,1102,1104]);
196__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.ECIEncoderSet=void 0;var n=t(r(d[1])),o=t(r(d[2])),i=t(r(d[3])),h=t(r(d[4])),s=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,o=n&&t[n],i=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},c=(function(){function t(t){this.charset=t,this.name=t.name}return t.prototype.canEncode=function(t){try{return null!=i.default.encode(t,this.charset)}catch(t){return!1}},t})();e.ECIEncoderSet=(function(){function t(t,i,h){var l,u,f,y,p,I;this.ENCODERS=['IBM437','ISO-8859-2','ISO-8859-3','ISO-8859-4','ISO-8859-5','ISO-8859-6','ISO-8859-7','ISO-8859-8','ISO-8859-9','ISO-8859-10','ISO-8859-11','ISO-8859-13','ISO-8859-14','ISO-8859-15','ISO-8859-16','windows-1250','windows-1251','windows-1252','windows-1256','Shift_JIS'].map(function(t){return new c(n.default.forName(t))}),this.encoders=[];var S=[];S.push(new c(o.default.ISO_8859_1));for(var v=null!=i&&i.name.startsWith('UTF'),w=0;w<t.length;w++){var E=!1;try{for(var O=(l=void 0,s(S)),m=O.next();!m.done;m=O.next()){var b=m.value,x=t.charAt(w);
196if(x.charCodeAt(0)===h||b.canEncode(x)){E=!0;break}}}catch(t){l={error:t}}finally{try{m&&!m.done&&(u=O.return)&&u.call(O)}finally{if(l)throw l.error}}if(!E)try{for(var C=(f=void 0,s(this.ENCODERS)),_=C.next();!_.done;_=C.next()){if((b=_.value).canEncode(t.charAt(w))){S.push(b),E=!0;break}}}catch(t){f={error:t}}finally{try{_&&!_.done&&(y=C.return)&&y.call(C)}finally{if(f)throw f.error}}E||(v=!0)}if(1!==S.length||v){this.encoders=[];var A=0;try{for(var N=s(S),k=N.next();!k.done;k=N.next()){b=k.value;this.encoders[A++]=b}}catch(t){p={error:t}}finally{try{k&&!k.done&&(I=N.return)&&I.call(N)}finally{if(p)throw p.error}}}else this.encoders=[S[0]];var j=-1;if(null!=i)for(w=0;w<this.encoders.length;w++)if(null!=this.encoders[w]&&i.name===this.encoders[w].name){j=w;break}this.priorityEncoderIndex=j}return t.prototype.length=function(){return this.encoders.length},t.prototype.getCharsetName=function(t){if(!(t<this.length()))throw new Error('index must be less than length');return this.encoders[t].name},t.prototype.getCharset=function(t){if(!(t<this.length()))throw new Error('index must be less than length');return this.encoders[t].charset},t.prototype.getECIValue=function(t){return this.encoders[t].charset.getValueIdentifier()},t.prototype.getPriorityEncoderIndex=function(){return this.priorityEncoderIndex},t.prototype.canEncode=function(t,n){if(!(n<this.length()))throw new Error('index must be less than length');return!0},t.prototype.encode=function(t,n){if(!(n<this.length()))throw new Error('index must be less than length');return i.default.encode(h.default.getCharAt(t),this.encoders[n].name)},t})()},1279,[17,1261,1262,1109,1105]);
197__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),o=t(r(d[4])),l=t(r(d[5])),E=t(r(d[6])),R=t(r(d[7])),C=t(r(d[8])),_=t(r(d[9])),c=t(r(d[10])),s=(function(){function t(){}return t.prototype.encode=function(t,n,u,f){return this.encodeWithHints(t,n,u,f,null)},t.prototype.encodeWithHints=function(n,o,C,_,c){var s=E.default.ISO_8859_1,A=f.default.DEFAULT_EC_PERCENT,T=f.default.DEFAULT_AZTEC_LAYERS;return null!=c&&(c.has(u.default.CHARACTER_SET)&&(s=l.default.forName(c.get(u.default.CHARACTER_SET).toString())),c.has(u.default.ERROR_CORRECTION)&&(A=R.default.parseInt(c.get(u.default.ERROR_CORRECTION).toString())),c.has(u.default.AZTEC_LAYERS)&&(T=R.default.parseInt(c.get(u.default.AZTEC_LAYERS).toString()))),t.encodeLayers(n,o,C,_,s,A,T)},t.encodeLayers=function(u,o,l,E,R,C,s){if(o!==n.default.AZTEC)throw new _.default('Can only encode AZTEC, but got '+o);var A=f.default.encode(c.default.getBytes(u,R),C,s);return t.renderResult(A,l,E)},t.renderResult=function(t,n,u){var f=t.getMatrix();if(null==f)throw new C.default;for(var l=f.getWidth(),E=f.getHeight(),R=Math.max(n,l),_=Math.max(u,E),c=Math.min(R/l,_/E),s=(R-l*c)/2,A=(_-E*c)/2,T=new o.default(R,_),h=0,v=A;h<E;h++,v+=c)for(var S=0,O=s;S<l;S++,O+=c)f.get(S,h)&&T.setRegion(O,v,c,c);return T},t})();e.default=s},1280,[17,1118,1246,1281,1103,1261,1262,1102,1128,1092,1105]);
198__d(function(g,r,_i,a,_m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),i=t(r(d[2])),o=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),f=t(r(d[6])),l=t(r(d[7])),c=t(r(d[8])),v=t(r(d[9])),_=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,i=n&&t[n],o=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},A=(function(){function t(){}return t.encodeBytes=function(n){return t.encode(n,t.DEFAULT_EC_PERCENT,t.DEFAULT_AZTEC_LAYERS)},t.encode=function(n,f,l){var _,A,D,E,w,B=new c.default(n).encode(),T=v.default.truncDivision(B.getSize()*f,100)+11,p=B.getSize()+T;if(l!==t.DEFAULT_AZTEC_LAYERS){if(_=l<0,(A=Math.abs(l))>(_?t.MAX_NB_BITS_COMPACT:t.MAX_NB_BITS))throw new i.default(o.default.format('Illegal value %s for layers',l));var y=(D=t.totalBitsInLayer(A,_))-D%(E=t.WORD_SIZE[A]);if((w=t.stuffBits(B,E)).getSize()+T>y)throw new i.default('Data to large for user specified layer');if(_&&w.getSize()>64*E)throw new i.default('Data to large for user specified layer')}else{E=0,w=null;for(var S=0;;S++){if(S>t.MAX_NB_BITS)throw new i.default('Data too large for an Aztec code');if(A=(_=S<=3)?S+1:S,!(p>(D=t.totalBitsInLayer(A,_)))){null!=w&&E===t.WORD_SIZE[A]||(E=t.WORD_SIZE[A],w=t.stuffBits(B,E));y=D-D%E;if(!(_&&w.getSize()>64*E)&&w.getSize()+T<=y)break}}}var C,h=t.generateCheckWords(w,D,E),M=w.getSize()/E,I=t.generateModeMessage(_,A,M),z=(_?11:14)+4*A,L=new Int32Array(z);if(_){C=z;for(S=0;S<L.length;S++)L[S]=S}else{C=z+1+2*v.default.truncDivision(v.default.truncDivision(z,2)-1,15);var Z=v.default.truncDivision(z,2),b=v.default.truncDivision(C,2);for(S=0;S<Z;S++){var W=S+v.default.truncDivision(S,15);L[Z-S-1]=b-W-1,L[Z+S]=b+W+1}}for(var R=new s.default(C),m=(S=0,0);S<A;S++){for(var O=4*(A-S)+(_?9:12),F=0;F<O;F++)for(var N=2*F,P=0;P<2;P++)h.get(m+N+P)&&R.set(L[2*S+P],L[2*S+F]),h.get(m+2*O+N+P)&&R.set(L[2*S+F],L[z-1-2*S-P]),h.get(m+4*O+N+P)&&R.set(L[z-1-2*S-P],L[z-1-2*S-F]),h.get(m+6*O+N+P)&&R.set(L[z-1-2*S-F],L[2*S+P]);m+=8*O}if(t.drawModeMessage(R,_,C,I),_)t.drawBullsEye(R,v.default.truncDivision(C,2),5);else{t.drawBullsEye(R,v.default.truncDivision(C,2),7);for(S=0,F=0;S<v.default.truncDivision(z,2)-1;S+=15,F+=16)for(P=1&v.default.truncDivision(C,2);P<C;P+=2)R.set(v.default.truncDivision(C,2)-F,P),R.set(v.default.truncDivision(C,2)+F,P),R.set(P,v.default.truncDivision(C,2)-F),R.set(P,v.default.truncDivision(C,2)+F)}var U=new u.default;return U.setCompact(_),U.setSize(C),U.setLayers(A),U.setCodeWords(M),U.setMatrix(R),U},t.drawBullsEye=function(t,n,i){for(var o=0;o<i;o+=2)for(var s=n-o;s<=n+o;s++)t.set(s,n-o),t.set(s,n+o),t.set(n-o,s),t.set(n+o,s);t.set(n-i,n-i),t.set(n-i+1,n-i),t.set(n-i,n-i+1),t.set(n+i,n-i),t.set(n+i,n-i+1),t.set(n+i,n+i-1)},t.generateModeMessage=function(i,o,s){var u=new n.default;return i?(u.appendBits(o-1,2),u.appendBits(s-1,6),u=t.generateCheckWords(u,28,4)):(u.appendBits(o-1,5),u.appendBits(s-1,11),u=t.generateCheckWords(u,40,4)),u},t.drawModeMessage=function(t,n,i,o){var s=v.default.truncDivision(i,2);if(n)for(var u=0;u<7;u++){var f=s-3+u;o.get(u)&&t.set(f,s-5),o.get(u+7)&&t.set(s+5,f),o.get(20-u)&&t.set(f,s+5),o.get(27-u)&&t.set(s-5,f)}else for(u=0;
198u<10;u++){f=s-5+u+v.default.truncDivision(u,5);o.get(u)&&t.set(f,s-7),o.get(u+10)&&t.set(s+7,f),o.get(29-u)&&t.set(f,s+7),o.get(39-u)&&t.set(s-7,f)}},t.generateCheckWords=function(i,o,s){var u,l,c=i.getSize()/s,A=new f.default(t.getGF(s)),D=v.default.truncDivision(o,s),E=t.bitsToWords(i,s,D);A.encode(E,D-c);var w=o%s,B=new n.default;B.appendBits(0,w);try{for(var T=_(Array.from(E)),p=T.next();!p.done;p=T.next()){var y=p.value;B.appendBits(y,s)}}catch(t){u={error:t}}finally{try{p&&!p.done&&(l=T.return)&&l.call(T)}finally{if(u)throw u.error}}return B},t.bitsToWords=function(t,n,i){var o,s,u=new Int32Array(i);for(o=0,s=t.getSize()/n;o<s;o++){for(var f=0,l=0;l<n;l++)f|=t.get(o*n+l)?1<<n-l-1:0;u[o]=f}return u},t.getGF=function(t){switch(t){case 4:return l.default.AZTEC_PARAM;case 6:return l.default.AZTEC_DATA_6;case 8:return l.default.AZTEC_DATA_8;case 10:return l.default.AZTEC_DATA_10;case 12:return l.default.AZTEC_DATA_12;default:throw new i.default('Unsupported word size '+t)}},t.stuffBits=function(t,i){for(var o=new n.default,s=t.getSize(),u=(1<<i)-2,f=0;f<s;f+=i){for(var l=0,c=0;c<i;c++)(f+c>=s||t.get(f+c))&&(l|=1<<i-1-c);(l&u)===u?(o.appendBits(l&u,i),f--):0===(l&u)?(o.appendBits(1|l,i),f--):o.appendBits(l,i)}return o},t.totalBitsInLayer=function(t,n){return((n?88:112)+16*t)*t},t.DEFAULT_EC_PERCENT=33,t.DEFAULT_AZTEC_LAYERS=0,t.MAX_NB_BITS=32,t.MAX_NB_BITS_COMPACT=4,t.WORD_SIZE=Int32Array.from([4,6,6,8,8,8,8,8,8,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,12,12]),t})();e.default=A},1281,[17,1097,1092,1105,1103,1282,1248,1122,1283,1102]);
199__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(){}return t.prototype.isCompact=function(){return this.compact},t.prototype.setCompact=function(t){this.compact=t},t.prototype.getSize=function(){return this.size},t.prototype.setSize=function(t){this.size=t},t.prototype.getLayers=function(){return this.layers},t.prototype.setLayers=function(t){this.layers=t},t.prototype.getCodeWords=function(){return this.codeWords},t.prototype.setCodeWords=function(t){this.codeWords=t},t.prototype.getMatrix=function(){return this.matrix}
199,t.prototype.setMatrix=function(t){this.matrix=t},t})();e.default=t},1282,[]);
200__d(function(g,_r,_i,_a2,_m,_e,d){var t=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=t(_r(d[1])),r=t(_r(d[2])),a=u(_r(d[3])),n=u(_r(d[4])),i=u(_r(d[5])),o=t(_r(d[6]));function u(t,e){if("function"==typeof WeakMap)var r=new WeakMap,a=new WeakMap;return(u=function(t,e){if(!e&&t&&t.__esModule)return t;var n,i,o={__proto__:null,default:t};if(null===t||"object"!=typeof t&&"function"!=typeof t)return o;if(n=e?a:r){if(n.has(t))return n.get(t);n.set(t,o)}for(const e in t)"default"!==e&&{}.hasOwnProperty.call(t,e)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(t,e))&&(i.get||i.set)?n(o,e,i):o[e]=t[e]);return o})(t,e)}var f=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],a=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&a>=t.length&&(t=void 0),{value:t&&t[a++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=(function(){function t(t){this.text=t}return t.prototype.encode=function(){for(var a=o.default.getCharCode(' '),n=o.default.getCharCode('\n'),i=e.default.singletonList(r.default.INITIAL_STATE),u=0;u<this.text.length;u++){var f=void 0,l=u+1<this.text.length?this.text[u+1]:0;switch(this.text[u]){case o.default.getCharCode('\r'):f=l===n?2:0;break;case o.default.getCharCode('.'):f=l===a?3:0;break;case o.default.getCharCode(','):f=l===a?4:0;break;case o.default.getCharCode(':'):f=l===a?5:0;break;default:f=0}f>0?(i=t.updateStateListForPair(i,u,f),u++):i=this.updateStateListForChar(i,u)}return e.default.min(i,function(t,e){return t.getBitCount()-e.getBitCount()}).toBitArray(this.text)},t.prototype.updateStateListForChar=function(e,r){var a,n,i=[];try{for(var o=f(e),u=o.next();!u.done;u=o.next()){var l=u.value;this.updateStateForChar(l,r,i)}}catch(t){a={error:t}}finally{try{u&&!u.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return t.simplifyStates(i)},t.prototype.updateStateForChar=function(t,e,r){for(var o=255&this.text[e],u=n.CHAR_MAP[t.getMode()][o]>0,f=null,l=0;l<=a.MODE_PUNCT;l++){var h=n.CHAR_MAP[l][o];if(h>0){if(null==f&&(f=t.endBinaryShift(e)),!u||l===t.getMode()||l===a.MODE_DIGIT){var s=f.latchAndAppend(l,h);r.push(s)}if(!u&&i.SHIFT_TABLE[t.getMode()][l]>=0){var p=f.shiftAndAppend(l,h);r.push(p)}}}if(t.getBinaryShiftByteCount()>0||0===n.CHAR_MAP[t.getMode()][o]){var c=t.addBinaryShiftChar(e);r.push(c)}},t.updateStateListForPair=function(t,e,r){var a,n,i=[];try{for(var o=f(t),u=o.next();!u.done;u=o.next()){var l=u.value;this.updateStateForPair(l,e,r,i)}}catch(t){a={error:t}}finally{try{u&&!u.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return this.simplifyStates(i)},t.updateStateForPair=function(t,e,r,n){var i=t.endBinaryShift(e);if(n.push(i.latchAndAppend(a.MODE_PUNCT,r)),t.getMode()!==a.MODE_PUNCT&&n.push(i.shiftAndAppend(a.MODE_PUNCT,r)),3===r||4===r){var o=i.latchAndAppend(a.MODE_DIGIT,16-r).latchAndAppend(a.MODE_DIGIT,1);n.push(o)}if(t.getBinaryShiftByteCount()>0){var u=t.addBinaryShiftChar(e).addBinaryShiftChar(e+1);n.push(u)}},t.simplifyStates=function(t){var e,r,a,n,i=[];try{for(var o=f(t),u=o.next();!u.done;u=o.next()){var l=u.value,h=!0,s=function(t){if(t.isBetterThanOrEqualTo(l))return h=!1,"break";l.isBetterThanOrEqualTo(t)&&(i=i.filter(function(e){return e!==t}))};try{for(var p=(a=void 0,f(i)),c=p.next();!c.done;c=p.next()){if("break"===s(c.value))break}}catch(t){a={error:t}}finally{try{c&&!c.done&&(n=p.return)&&n.call(p)}finally{if(a)throw a.error}}h&&i.push(l)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i},t})();_e.default=l},1283,[17,1284,1285,1290,1293,1292,1105]);
201__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(){function n(){}return n.singletonList=function(n){return[n]},n.min=function(n,t){return n.sort(t)[0]},n})();e.default=n},1284,[]);
202__d(function(g,_r,_i,a,_m,_e,d){var t=_r(d[0]);
202Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var n=t(_r(d[1])),e=h(_r(d[2])),i=h(_r(d[3])),r=h(_r(d[4])),o=h(_r(d[5])),u=t(_r(d[6]));function h(t,n){if("function"==typeof WeakMap)var e=new WeakMap,i=new WeakMap;return(h=function(t,n){if(!n&&t&&t.__esModule)return t;var r,o,u={__proto__:null,default:t};if(null===t||"object"!=typeof t&&"function"!=typeof t)return u;if(r=n?i:e){if(r.has(t))return r.get(t);r.set(t,u)}for(const n in t)"default"!==n&&{}.hasOwnProperty.call(t,n)&&((o=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(t,n))&&(o.get||o.set)?r(u,n,o):u[n]=t[n]);return u})(t,n)}var f=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},y=(function(){function t(t,n,e,i){this.token=t,this.mode=n,this.binaryShiftByteCount=e,this.bitCount=i}return t.prototype.getMode=function(){return this.mode},t.prototype.getToken=function(){return this.token},t.prototype.getBinaryShiftByteCount=function(){return this.binaryShiftByteCount},t.prototype.getBitCount=function(){return this.bitCount},t.prototype.latchAndAppend=function(n,o){var u=this.bitCount,h=this.token;if(n!==this.mode){var f=r.LATCH_TABLE[this.mode][n];h=e.add(h,65535&f,f>>16),u+=f>>16}var y=n===i.MODE_DIGIT?4:5;return new t(h=e.add(h,o,y),n,0,u+y)},t.prototype.shiftAndAppend=function(n,r){var u=this.token,h=this.mode===i.MODE_DIGIT?4:5;return u=e.add(u,o.SHIFT_TABLE[this.mode][n],h),new t(u=e.add(u,r,5),this.mode,0,this.bitCount+h+5)},t.prototype.addBinaryShiftChar=function(n){var o=this.token,u=this.mode,h=this.bitCount;if(this.mode===i.MODE_PUNCT||this.mode===i.MODE_DIGIT){var f=r.LATCH_TABLE[u][i.MODE_UPPER];o=e.add(o,65535&f,f>>16),h+=f>>16,u=i.MODE_UPPER}var y=0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8,s=new t(o,u,this.binaryShiftByteCount+1,h+y);return 2078===s.binaryShiftByteCount&&(s=s.endBinaryShift(n+1)),s},t.prototype.endBinaryShift=function(n){if(0===this.binaryShiftByteCount)return this;var i=this.token;return new t(i=e.addBinaryShift(i,n-this.binaryShiftByteCount,this.binaryShiftByteCount),this.mode,0,this.bitCount)},t.prototype.isBetterThanOrEqualTo=function(n){var e=this.bitCount+(r.LATCH_TABLE[this.mode][n.mode]>>16);return this.binaryShiftByteCount<n.binaryShiftByteCount?e+=t.calculateBinaryShiftCost(n)-t.calculateBinaryShiftCost(this):this.binaryShiftByteCount>n.binaryShiftByteCount&&n.binaryShiftByteCount>0&&(e+=10),e<=n.bitCount},t.prototype.toBitArray=function(t){for(var e,i,r=[],o=this.endBinaryShift(t.length).token;null!==o;o=o.getPrevious())r.unshift(o);var u=new n.default;try{for(var h=f(r),y=h.next();!y.done;y=h.next()){y.value.appendTo(u,t)}}catch(t){e={error:t}}finally{try{y&&!y.done&&(i=h.return)&&i.call(h)}finally{if(e)throw e.error}}return u},t.prototype.toString=function(){return u.default.format('%s bits=%d bytes=%d',i.MODE_NAMES[this.mode],this.bitCount,this.binaryShiftByteCount)},t.calculateBinaryShiftCost=function(t){return t.binaryShiftByteCount>62?21:t.binaryShiftByteCount>31?20:t.binaryShiftByteCount>0?10:0},t.INITIAL_STATE=new t(i.EMPTY_TOKEN,i.MODE_UPPER,0,0),t})();_e.default=y},1285,[17,1097,1286,1290,1291,1292,1105]);
203__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.add=function(n,u,f){return new t.default(n,u,f)},e.addBinaryShift=function(n,t,f){return new u.default(n,t,f)};var t=n(r(d[1])),u=n(r(d[2]))},1286,[17,1287,1289]);
204__d(function(g,r,i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(_d[1])),u=t(r(_d[2])),s=this&&this.__extends||(n=function(t,o){return n=Object.
204setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},n(t,o)},function(t,o){function u(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}),p=(function(t){function n(n,o,u){var s=t.call(this,n)||this;return s.value=o,s.bitCount=u,s}return s(n,t),n.prototype.appendTo=function(t,n){t.appendBits(this.value,this.bitCount)},n.prototype.add=function(t,o){return new n(this,t,o)},n.prototype.addBinaryShift=function(t,o){return console.warn('addBinaryShift on SimpleToken, this simply returns a copy of this token'),new n(this,t,o)},n.prototype.toString=function(){var t=this.value&(1<<this.bitCount)-1;return t|=1<<this.bitCount,'<'+u.default.toBinaryString(t|1<<this.bitCount).substring(1)+'>'},n})(o.default);e.default=p},1287,[17,1288,1102]);
205__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(){function t(t){this.previous=t}return t.prototype.getPrevious=function(){return this.previous},t})();e.default=t},1288,[]);
206__d(function(g,r,_i,a,m,e,_d){var t=r(_d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=t(r(_d[1])),o=this&&this.__extends||(n=function(t,i){return n=Object.
206setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i])},n(t,i)},function(t,i){function o(){this.constructor=t}n(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),f=(function(t){function n(n,i,o){var f=t.call(this,n,0,0)||this;return f.binaryShiftStart=i,f.binaryShiftByteCount=o,f}return o(n,t),n.prototype.appendTo=function(t,n){for(var i=0;i<this.binaryShiftByteCount;i++)(0===i||31===i&&this.binaryShiftByteCount<=62)&&(t.appendBits(31,5),this.binaryShiftByteCount>62?t.appendBits(this.binaryShiftByteCount-31,16):0===i?t.appendBits(Math.min(this.binaryShiftByteCount,31),5):t.appendBits(this.binaryShiftByteCount-31,5)),t.appendBits(n[this.binaryShiftStart+i],8)},n.prototype.addBinaryShift=function(t,i){return new n(this,t,i)},n.prototype.toString=function(){return'<'+this.binaryShiftStart+'::'+(this.binaryShiftStart+this.binaryShiftByteCount-1)+'>'},n})(i.default);e.default=f},1289,[17,1287]);
207__d(function(g,r,i,a,m,e,d){var E=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.MODE_UPPER=e.MODE_PUNCT=e.MODE_NAMES=e.MODE_MIXED=e.MODE_LOWER=e.MODE_DIGIT=e.EMPTY_TOKEN=void 0;var M=E(r(d[1]));e.MODE_NAMES=['UPPER','LOWER','DIGIT','MIXED','PUNCT'],e.MODE_UPPER=0,e.MODE_LOWER=1,e.MODE_DIGIT=2,e.MODE_MIXED=3,e.MODE_PUNCT=4,e.EMPTY_TOKEN=new M.default(null,0,0)},1290,[17,1287]);
208__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.LATCH_TABLE=void 0;e.LATCH_TABLE=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,65638
2080,656382,656381,0])]},1291,[]);
209__d(function(g,_r,_i,a,_m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.SHIFT_TABLE=void 0,_e.static_SHIFT_TABLE=o;var t=e(_r(d[1])),r=(function(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(function(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?o(f,t,i):f[t]=e[t]);return f})(e,t)})(_r(d[2]));var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function o(e){var o,i;try{for(var f=n(e),l=f.next();!l.done;l=f.next()){var u=l.value;t.default.fill(u,-1)}}catch(e){o={error:e}}finally{try{l&&!l.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}return e[r.MODE_UPPER][r.MODE_PUNCT]=0,e[r.MODE_LOWER][r.MODE_PUNCT]=0,e[r.MODE_LOWER][r.MODE_UPPER]=28,e[r.MODE_MIXED][r.MODE_PUNCT]=0,e[r.MODE_DIGIT][r.MODE_PUNCT]=0,e[r.MODE_DIGIT][r.MODE_UPPER]=15,e}_e.SHIFT_TABLE=o(t.default.createInt32Array(6,6))},1292,[17,1098,1290]);
210__d(function(g,_r,_i,a,m,_e,d){var e=_r(d[0]);
210Object.defineProperty(_e,"__esModule",{value:!0}),_e.CHAR_MAP=void 0,_e.static_CHAR_MAP=f;var t=(function(e,t){if("function"==typeof WeakMap)var r=new WeakMap,o=new WeakMap;return(function(e,t){if(!t&&e&&e.__esModule)return e;var f,n,u={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return u;if(f=t?o:r){if(f.has(e))return f.get(e);f.set(e,u)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(f=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?f(u,t,n):u[t]=e[t]);return u})(e,t)})(_r(d[1])),r=e(_r(d[2])),o=e(_r(d[3]));function f(e){var r=o.default.getCharCode(' '),f=o.default.getCharCode('.'),n=o.default.getCharCode(',');e[t.MODE_UPPER][r]=1;for(var u=o.default.getCharCode('Z'),C=o.default.getCharCode('A'),l=C;l<=u;l++)e[t.MODE_UPPER][l]=l-C+2;e[t.MODE_LOWER][r]=1;var _=o.default.getCharCode('z'),M=o.default.getCharCode('a');for(l=M;l<=_;l++)e[t.MODE_LOWER][l]=l-M+2;e[t.MODE_DIGIT][r]=1;var i=o.default.getCharCode('9'),O=o.default.getCharCode('0');for(l=O;l<=i;l++)e[t.MODE_DIGIT][l]=l-O+2;e[t.MODE_DIGIT][n]=12,e[t.MODE_DIGIT][f]=13;for(var h=['\0',' ','\x01','\x02','\x03','\x04','\x05','\x06','\x07','\b','\t','\n','\v','\f','\r','\x1b','\x1c','\x1d','\x1e','\x1f','@','\\','^','_','`','|','~','\x7f'],D=0;D<h.length;D++)e[t.MODE_MIXED][o.default.getCharCode(h[D])]=D;var c=['\0','\r','\0','\0','\0','\0','!','\'','#','$','%','&','\'','(',')','*','+',',','-','.','/',':',';','<','=','>','?','[',']','{','}'];for(D=0;D<c.length;D++)o.default.getCharCode(c[D])>0&&(e[t.MODE_PUNCT][o.default.getCharCode(c[D])]=D);return e}_e.CHAR_MAP=f(r.default.createInt32Array(5,256))},1293,[17,1290,1098,1105]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.