imatrix-ui 2.9.0-dw-tmp2 → 2.9.0-dw-tmp4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components.json +29 -2
- package/build/webpack.prod.js +2 -2
- package/lib/breadcrumb.js +2 -0
- package/lib/department-tree.js +8 -0
- package/lib/department-user-tree.js +8 -0
- package/lib/dynamic-source-select.js +8 -0
- package/lib/fs-preview.js +15 -0
- package/lib/fs-upload-list.js +15 -0
- package/lib/fs-upload.js +9 -0
- package/lib/hamburger.js +2 -0
- package/lib/imatrix-ui.min.js +72 -0
- package/lib/inline-department-tree.js +8 -0
- package/lib/inline-department-user-tree.js +8 -0
- package/lib/inline-workgroup-tree.js +8 -0
- package/lib/inline-workgroup-user-treee.js +8 -0
- package/lib/multipart-upload.js +15 -0
- package/lib/organization-input.js +8 -0
- package/lib/remove-department.js +2 -0
- package/lib/remove-user.js +2 -0
- package/lib/remove-workgroup.js +2 -0
- package/lib/rich-editor.js +8 -0
- package/lib/scan-code-input.js +2 -0
- package/lib/secret-info.js +2 -0
- package/lib/super-grid.js +28 -0
- package/lib/super-nine-grid.js +9 -0
- package/lib/svg-icon.js +2 -0
- package/lib/valid-code.js +2 -0
- package/lib/workflow-button.js +8 -0
- package/lib/workflow-history-list.js +8 -0
- package/lib/workgroup-tree.js +8 -0
- package/lib/workgroup-user-tree.js +8 -0
- package/lib/year-range-picker.js +2 -0
- package/package.json +2 -2
- package/lib/DepartmentTree.js +0 -8
- package/lib/SuperGrid.js +0 -28
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/lib/",r(r.s=880)}([function(t,e,r){var n=r(48)("wks"),o=r(34),i=r(1).Symbol,a="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=n},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e,r){var n=r(3);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(1),o=r(17),i=r(12),a=r(9),u=r(23),s=function(t,e,r){var c,f,l,h,d=t&s.F,p=t&s.G,y=t&s.S,g=t&s.P,v=t&s.B,w=p?n:y?n[e]||(n[e]={}):(n[e]||{}).prototype,_=p?o:o[e]||(o[e]={}),m=_.prototype||(_.prototype={});for(c in p&&(r=e),r)l=((f=!d&&w&&void 0!==w[c])?w:r)[c],h=v&&f?u(l,n):g&&"function"==typeof l?u(Function.call,l):l,w&&a(w,c,l,t&s.U),_[c]!=l&&i(_,c,h),g&&m[c]!=l&&(m[c]=l)};n.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,r){t.exports=!r(4)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){var n=r(2),o=r(75),i=r(46),a=Object.defineProperty;e.f=r(6)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(1),o=r(12),i=r(11),a=r(34)("src"),u=r(135),s=(""+u).split("toString");r(17).inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,r,u){var c="function"==typeof r;c&&(i(r,"name")||o(r,"name",e)),t[e]!==r&&(c&&(i(r,a)||o(r,a,t[e]?""+t[e]:s.join(String(e)))),t===n?t[e]=r:u?t[e]?t[e]=r:o(t,e,r):(delete t[e],o(t,e,r)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||u.call(this)}))},function(t,e,r){var n=r(8).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||r(6)&&n(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(8),o=r(39);t.exports=r(6)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(85),o=r(31);t.exports=function(t){return n(o(t))}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r.r(e),r.d(e,"default",(function(){return n}))},,,function(t,e){var r=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=r)},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){"use strict";function n(t,e,r,n,o,i,a,u){var s,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=s):o&&(s=u?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(c.functional){c._injectStyles=s;var f=c.render;c.render=function(t,e){return s.call(e),f(t,e)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,s):[s]}return{exports:t,options:c}}r.d(e,"a",(function(){return n}))},function(t,e,r){var n=r(38),o=r(41);r(96)("keys",(function(){return function(t){return o(n(t))}}))},function(t,e,r){var n=r(51),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},,function(t,e,r){var n=r(33);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},,,,,function(t,e,r){"use strict";var n,o=r(259),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.getNotFoundInstance=function(){return new e},e.kind="NotFoundException",e}(o.a);e.a=a},function(t,e,r){"use strict";var n=r(1),o=r(11),i=r(18),a=r(132),u=r(46),s=r(4),c=r(50).f,f=r(42).f,l=r(8).f,h=r(178).trim,d=n.Number,p=d,y=d.prototype,g="Number"==i(r(52)(y)),v="trim"in String.prototype,w=function(t){var e=u(t,!1);if("string"==typeof e&&e.length>2){var r,n,o,i=(e=v?e.trim():h(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(r=e.charCodeAt(2))||120===r)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+e}for(var a,s=e.slice(2),c=0,f=s.length;c<f;c++)if((a=s.charCodeAt(c))<48||a>o)return NaN;return parseInt(s,n)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof d&&(g?s((function(){y.valueOf.call(r)})):"Number"!=i(r))?a(new p(w(e)),r,d):w(e)};for(var _,m=r(6)?c(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),A=0;m.length>A;A++)o(p,_=m[A])&&!o(d,_)&&l(d,_,f(p,_));d.prototype=y,y.constructor=d,r(9)(n,"Number",d)}},function(t,e,r){"use strict";function n(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}r.r(e),r.d(e,"default",(function(){return n}))},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){for(var n=r(119),o=r(41),i=r(9),a=r(1),u=r(12),s=r(44),c=r(0),f=c("iterator"),l=c("toStringTag"),h=s.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=o(d),y=0;y<p.length;y++){var g,v=p[y],w=d[v],_=a[v],m=_&&_.prototype;if(m&&(m[f]||u(m,f,h),m[l]||u(m,l,v),s[v]=h,w))for(g in n)m[g]||i(m,g,n[g],!0)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e,r){var n=r(5),o=r(186),i=r(13),a=r(42),u=r(140);n(n.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,r,n=i(t),s=a.f,c=o(n),f={},l=0;c.length>l;)void 0!==(r=s(n,e=c[l++]))&&u(f,e,r);return f}})},,,function(t,e,r){var n=r(31);t.exports=function(t){return Object(n(t))}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=!1},function(t,e,r){var n=r(91),o=r(66);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(69),o=r(39),i=r(13),a=r(46),u=r(11),s=r(75),c=Object.getOwnPropertyDescriptor;e.f=r(6)?c:function(t,e){if(t=i(t),e=a(e,!0),s)try{return c(t,e)}catch(t){}if(u(t,e))return o(!n.f.call(t,e),t[e])}},,function(t,e){t.exports={}},,function(t,e,r){var n=r(3);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},,function(t,e,r){var n=r(17),o=r(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(40)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(8).f,o=r(11),i=r(0)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e,r){var n=r(91),o=r(66).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(2),o=r(147),i=r(66),a=r(70)("IE_PROTO"),u=function(){},s=function(){var t,e=r(60)("iframe"),n=i.length;for(e.style.display="none",r(87).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;n--;)delete s.prototype[i[n]];return s()};t.exports=Object.create||function(t,e){var r;return null!==t?(u.prototype=n(t),r=new u,u.prototype=null,r[a]=t):r=s(),void 0===e?r:o(r,e)}},,,,,,function(t,e,r){"use strict";var n=r(5),o=r(133)(2);n(n.P+n.F*!r(142)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},function(t,e,r){var n=r(18),o=r(0)("toStringTag"),i="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,r){var n=r(3),o=r(1).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},,function(t,e,r){"use strict";var n,o=r(259),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.getFormatInstance=function(){return new e},e.kind="FormatException",e}(o.a);e.a=a},function(t,e,r){"use strict";var n=r(1),o=r(11),i=r(6),a=r(5),u=r(9),s=r(125).KEY,c=r(4),f=r(48),l=r(49),h=r(34),d=r(0),p=r(95),y=r(139),g=r(183),v=r(93),w=r(2),_=r(3),m=r(38),A=r(13),E=r(46),C=r(39),I=r(52),S=r(184),b=r(42),O=r(71),T=r(8),R=r(41),N=b.f,D=T.f,P=S.f,M=n.Symbol,B=n.JSON,L=B&&B.stringify,x=d("_hidden"),F=d("toPrimitive"),k={}.propertyIsEnumerable,V=f("symbol-registry"),U=f("symbols"),H=f("op-symbols"),j=Object.prototype,G="function"==typeof M&&!!O.f,X=n.QObject,W=!X||!X.prototype||!X.prototype.findChild,z=i&&c((function(){return 7!=I(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=N(j,e);n&&delete j[e],D(t,e,r),n&&t!==j&&D(j,e,n)}:D,Y=function(t){var e=U[t]=I(M.prototype);return e._k=t,e},Z=G&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},K=function(t,e,r){return t===j&&K(H,e,r),w(t),e=E(e,!0),w(r),o(U,e)?(r.enumerable?(o(t,x)&&t[x][e]&&(t[x][e]=!1),r=I(r,{enumerable:C(0,!1)})):(o(t,x)||D(t,x,C(1,{})),t[x][e]=!0),z(t,e,r)):D(t,e,r)},Q=function(t,e){w(t);for(var r,n=g(e=A(e)),o=0,i=n.length;i>o;)K(t,r=n[o++],e[r]);return t},q=function(t){var e=k.call(this,t=E(t,!0));return!(this===j&&o(U,t)&&!o(H,t))&&(!(e||!o(this,t)||!o(U,t)||o(this,x)&&this[x][t])||e)},J=function(t,e){if(t=A(t),e=E(e,!0),t!==j||!o(U,e)||o(H,e)){var r=N(t,e);return!r||!o(U,e)||o(t,x)&&t[x][e]||(r.enumerable=!0),r}},$=function(t){for(var e,r=P(A(t)),n=[],i=0;r.length>i;)o(U,e=r[i++])||e==x||e==s||n.push(e);return n},tt=function(t){for(var e,r=t===j,n=P(r?H:A(t)),i=[],a=0;n.length>a;)!o(U,e=n[a++])||r&&!o(j,e)||i.push(U[e]);return i};G||(u((M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(r){this===j&&e.call(H,r),o(this,x)&&o(this[x],t)&&(this[x][t]=!1),z(this,t,C(1,r))};return i&&W&&z(j,t,{configurable:!0,set:e}),Y(t)}).prototype,"toString",(function(){return this._k})),b.f=J,T.f=K,r(50).f=S.f=$,r(69).f=q,O.f=tt,i&&!r(40)&&u(j,"propertyIsEnumerable",q,!0),p.f=function(t){return Y(d(t))}),a(a.G+a.W+a.F*!G,{Symbol:M});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;et.length>rt;)d(et[rt++]);for(var nt=R(d.store),ot=0;nt.length>ot;)y(nt[ot++]);a(a.S+a.F*!G,"Symbol",{for:function(t){return o(V,t+="")?V[t]:V[t]=M(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var e in V)if(V[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!G,"Object",{create:function(t,e){return void 0===e?I(t):Q(I(t),e)},defineProperty:K,defineProperties:Q,getOwnPropertyDescriptor:J,getOwnPropertyNames:$,getOwnPropertySymbols:tt});var it=c((function(){O.f(1)}));a(a.S+a.F*it,"Object",{getOwnPropertySymbols:function(t){return O.f(m(t))}}),B&&a(a.S+a.F*(!G||c((function(){var t=M();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))}))),"JSON",{stringify:function(t){for(var e,r,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=e=n[1],(_(e)||void 0!==t)&&!Z(t))return v(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!Z(e))return e}),n[1]=e,L.apply(B,n)}}),M.prototype[F]||r(12)(M.prototype,F,M.prototype.valueOf),l(M,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(14);function o(t){var e=function(t,e){if("object"!==Object(n.default)(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==Object(n.default)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Object(n.default)(e)?e:String(e)}},,function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},,,function(t,e){e.f={}.propertyIsEnumerable},function(t,e,r){var n=r(48)("keys"),o=r(34);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){"use strict";var n,o=r(259),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="IllegalArgumentException",e}(o.a);e.a=a},function(t,e,r){var n=r(13),o=r(42).f;r(96)("getOwnPropertyDescriptor",(function(){return function(t,e){return o(n(t),e)}}))},function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return o}));var n=r(64);function o(t,e,r){return(e=Object(n.a)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){t.exports=!r(6)&&!r(4)((function(){return 7!=Object.defineProperty(r(60)("div"),"a",{get:function(){return 7}}).a}))},,,,,,,,function(t,e,r){"use strict";var n=r(182),o=r(452),i=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.equals=function(e){if(e instanceof t){var r=e;return this.x===r.x&&this.y===r.y}return!1},t.prototype.hashCode=function(){return 31*o.a.floatToIntBits(this.x)+o.a.floatToIntBits(this.y)},t.prototype.toString=function(){return"("+this.x+","+this.y+")"},t.orderBestPatterns=function(t){var e,r,n,o=this.distance(t[0],t[1]),i=this.distance(t[1],t[2]),a=this.distance(t[0],t[2]);if(i>=o&&i>=a?(r=t[0],e=t[1],n=t[2]):a>=i&&a>=o?(r=t[1],e=t[0],n=t[2]):(r=t[2],e=t[0],n=t[1]),this.crossProductZ(e,r,n)<0){var u=e;e=n,n=u}t[0]=e,t[1]=r,t[2]=n},t.distance=function(t,e){return n.a.distance(t.x,t.y,e.x,e.y)},t.crossProductZ=function(t,e,r){var n=e.x,o=e.y;return(r.x-n)*(t.y-o)-(r.y-o)*(t.x-n)},t}();e.a=i},function(t,e,r){"use strict";var n;!function(t){t[t.AZTEC=0]="AZTEC",t[t.CODABAR=1]="CODABAR",t[t.CODE_39=2]="CODE_39",t[t.CODE_93=3]="CODE_93",t[t.CODE_128=4]="CODE_128",t[t.DATA_MATRIX=5]="DATA_MATRIX",t[t.EAN_8=6]="EAN_8",t[t.EAN_13=7]="EAN_13",t[t.ITF=8]="ITF",t[t.MAXICODE=9]="MAXICODE",t[t.PDF_417=10]="PDF_417",t[t.QR_CODE=11]="QR_CODE",t[t.RSS_14=12]="RSS_14",t[t.RSS_EXPANDED=13]="RSS_EXPANDED",t[t.UPC_A=14]="UPC_A",t[t.UPC_E=15]="UPC_E",t[t.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"}(n||(n={})),e.a=n},function(t,e,r){var n=r(18);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},,function(t,e,r){var n=r(1).document;t.exports=n&&n.documentElement},function(t,e,r){"use strict";var n=r(2);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,r){"use strict";var n,o,i=r(88),a=RegExp.prototype.exec,u=String.prototype.replace,s=a,c=(n=/a/,o=/b*/g,a.call(n,"a"),a.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(c||f)&&(s=function(t){var e,r,n,o,s=this;return f&&(r=new RegExp("^"+s.source+"$(?!\\s)",i.call(s))),c&&(e=s.lastIndex),n=a.call(s,t),c&&n&&(s.lastIndex=s.global?n.index+n[0].length:e),f&&n&&n.length>1&&u.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=s},,function(t,e,r){var n=r(11),o=r(13),i=r(97)(!1),a=r(70)("IE_PROTO");t.exports=function(t,e){var r,u=o(t),s=0,c=[];for(r in u)r!=a&&n(u,r)&&c.push(r);for(;e.length>s;)n(u,r=e[s++])&&(~i(c,r)||c.push(r));return c}},,function(t,e,r){var n=r(18);t.exports=Array.isArray||function(t){return"Array"==n(t)}},,function(t,e,r){e.f=r(0)},function(t,e,r){var n=r(5),o=r(17),i=r(4);t.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],a={};a[t]=e(r),n(n.S+n.F*i((function(){r(1)})),"Object",a)}},function(t,e,r){var n=r(13),o=r(21),i=r(123);t.exports=function(t){return function(e,r,a){var u,s=n(e),c=o(s.length),f=i(a,c);if(t&&r!=r){for(;c>f;)if((u=s[f++])!=u)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===r)return t||f||0;return!t&&-1}}},function(t,e,r){"use strict";var n=r(59),o=RegExp.prototype.exec;t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,r){"use strict";r(196);var n=r(9),o=r(12),i=r(4),a=r(31),u=r(0),s=r(89),c=u("species"),f=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();t.exports=function(t,e,r){var h=u(t),d=!i((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=d?!i((function(){var e=!1,r=/a/;return r.exec=function(){return e=!0,null},"split"===t&&(r.constructor={},r.constructor[c]=function(){return r}),r[h](""),!e})):void 0;if(!d||!p||"replace"===t&&!f||"split"===t&&!l){var y=/./[h],g=r(a,h,""[t],(function(t,e,r,n,o){return e.exec===s?d&&!o?{done:!0,value:y.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}})),v=g[0],w=g[1];n(String.prototype,t,v),o(RegExp.prototype,h,2==e?function(t,e){return w.call(t,this,e)}:function(t){return w.call(t,this)})}}},,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n=r(120),o=r(141),i=r(44),a=r(13);t.exports=r(126)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])}),"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},function(t,e,r){var n=r(0)("unscopables"),o=Array.prototype;null==o[n]&&r(12)(o,n,{}),t.exports=function(t){o[n][t]=!0}},,,function(t,e,r){var n=r(51),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=n(t))<0?o(t+e,0):i(t,e)}},function(t,e,r){"use strict";var n=r(187)(!0);t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},function(t,e,r){var n=r(34)("meta"),o=r(3),i=r(11),a=r(8).f,u=0,s=Object.isExtensible||function(){return!0},c=!r(4)((function(){return s(Object.preventExtensions({}))})),f=function(t){a(t,n,{value:{i:"O"+ ++u,w:{}}})},l=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!s(t))return"F";if(!e)return"E";f(t)}return t[n].i},getWeak:function(t,e){if(!i(t,n)){if(!s(t))return!0;if(!e)return!1;f(t)}return t[n].w},onFreeze:function(t){return c&&l.NEED&&s(t)&&!i(t,n)&&f(t),t}}},function(t,e,r){"use strict";var n=r(40),o=r(5),i=r(9),a=r(12),u=r(44),s=r(185),c=r(49),f=r(180),l=r(0)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,r,p,y,g,v){s(r,e,p);var w,_,m,A=function(t){if(!h&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},E=e+" Iterator",C="values"==y,I=!1,S=t.prototype,b=S[l]||S["@@iterator"]||y&&S[y],O=b||A(y),T=y?C?A("entries"):O:void 0,R="Array"==e&&S.entries||b;if(R&&(m=f(R.call(new t)))!==Object.prototype&&m.next&&(c(m,E,!0),n||"function"==typeof m[l]||a(m,l,d)),C&&b&&"values"!==b.name&&(I=!0,O=function(){return b.call(this)}),n&&!v||!h&&!I&&S[l]||a(S,l,O),u[e]=O,u[E]=d,y)if(w={values:C?O:A("values"),keys:g?O:A("keys"),entries:T},v)for(_ in w)_ in S||i(S,_,w[_]);else o(o.P+o.F*(h||I),e,w);return w}},,,,,,function(t,e,r){var n=r(3),o=r(177).set;t.exports=function(t,e,r){var i,a=e.constructor;return a!==r&&"function"==typeof a&&(i=a.prototype)!==r.prototype&&n(i)&&o&&o(t,i),t}},function(t,e,r){var n=r(23),o=r(85),i=r(38),a=r(21),u=r(150);t.exports=function(t,e){var r=1==t,s=2==t,c=3==t,f=4==t,l=6==t,h=5==t||l,d=e||u;return function(e,u,p){for(var y,g,v=i(e),w=o(v),_=n(u,p,3),m=a(w.length),A=0,E=r?d(e,m):s?d(e,0):void 0;m>A;A++)if((h||A in w)&&(g=_(y=w[A],A,v),t))if(r)E[A]=g;else if(g)switch(t){case 3:return!0;case 5:return y;case 6:return A;case 2:E.push(y)}else if(f)return!1;return l?-1:c||f?f:E}}},function(t,e,r){"use strict";var n=function(){function t(){}return t.numberOfTrailingZeros=function(t){var e;if(0===t)return 32;var r=31;return 0!==(e=t<<16)&&(r-=16,t=e),0!==(e=t<<8)&&(r-=8,t=e),0!==(e=t<<4)&&(r-=4,t=e),0!==(e=t<<2)&&(r-=2,t=e),r-(t<<1>>>31)},t.numberOfLeadingZeros=function(t){if(0===t)return 32;var e=1;return t>>>16==0&&(e+=16,t<<=16),t>>>24==0&&(e+=8,t<<=8),t>>>28==0&&(e+=4,t<<=4),t>>>30==0&&(e+=2,t<<=2),e-=t>>>31},t.toHexString=function(t){return t.toString(16)},t.toBinaryString=function(t){return String(parseInt(String(t),2))},t.bitCount=function(t){return t=(t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135,t+=t>>>8,63&(t+=t>>>16)},t.truncDivision=function(t,e){return Math.trunc(t/e)},t.parseInt=function(t,e){return void 0===e&&(e=void 0),parseInt(t,e)},t.MIN_VALUE_32_BITS=-2147483648,t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}();e.a=n},function(t,e,r){t.exports=r(48)("native-function-to-string",Function.toString)},,,,function(t,e,r){var n=r(1),o=r(17),i=r(40),a=r(95),u=r(8).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},function(t,e,r){"use strict";var n=r(8),o=r(39);t.exports=function(t,e,r){e in t?n.f(t,e,o(0,r)):t[e]=r}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,r){"use strict";var n=r(4);t.exports=function(t,e){return!!t&&n((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},,,,function(t,e,r){"use strict";var n=r(195),o=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.a.castAsNonUtf8Char(t,this.encoding):this.value+=String.fromCharCode(t),this},t.prototype.appendChars=function(t,e,r){for(var n=e;e<e+r;n++)this.append(t[n]);return this},t.prototype.length=function(){return this.value.length},t.prototype.charAt=function(t){return this.value.charAt(t)},t.prototype.deleteCharAt=function(t){this.value=this.value.substr(0,t)+this.value.substring(t+1)},t.prototype.setCharAt=function(t,e){this.value=this.value.substr(0,t)+e+this.value.substr(t+1)},t.prototype.substring=function(t,e){return this.value.substring(t,e)},t.prototype.setLengthToZero=function(){this.value=""},t.prototype.toString=function(){return this.value},t.prototype.insert=function(t,e){this.value=this.value.substr(0,t)+e+this.value.substr(t+e.length)},t}();e.a=o},function(t,e,r){var n=r(8),o=r(2),i=r(41);t.exports=r(6)?Object.defineProperties:function(t,e){o(t);for(var r,a=i(e),u=a.length,s=0;u>s;)n.f(t,r=a[s++],e[r]);return t}},,,function(t,e,r){var n=r(151);t.exports=function(t,e){return new(n(t))(e)}},function(t,e,r){var n=r(3),o=r(93),i=r(0)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),n(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){var n=r(3),o=r(2),i=function(t,e){if(o(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{(n=r(23)(Function.call,r(42).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,r){return i(t,r),e?t.__proto__=r:n(t,r),t}}({},!1):void 0),check:i}},function(t,e,r){var n=r(5),o=r(31),i=r(4),a=r(179),u="["+a+"]",s=RegExp("^"+u+u+"*"),c=RegExp(u+u+"*$"),f=function(t,e,r){var o={},u=i((function(){return!!a[t]()||"
"!="
"[t]()})),s=o[t]=u?e(l):a[t];r&&(o[r]=s),n(n.P+n.F*u,"String",o)},l=f.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(s,"")),2&e&&(t=t.replace(c,"")),t};t.exports=f},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,r){var n=r(11),o=r(38),i=r(70)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,r){"use strict";var n=function(){function t(){}return t.arraycopy=function(t,e,r,n,o){for(;o--;)r[n++]=t[e++]},t.currentTimeMillis=function(){return Date.now()},t}();e.a=n},function(t,e,r){"use strict";var n=function(){function t(){}return t.round=function(t){return isNaN(t)?0:t<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:t>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:t+(t<0?-.5:.5)|0},t.distance=function(t,e,r,n){var o=t-r,i=e-n;return Math.sqrt(o*o+i*i)},t.sum=function(t){for(var e=0,r=0,n=t.length;r!==n;r++){e+=t[r]}return e},t}();e.a=n},function(t,e,r){var n=r(41),o=r(71),i=r(69);t.exports=function(t){var e=n(t),r=o.f;if(r)for(var a,u=r(t),s=i.f,c=0;u.length>c;)s.call(t,a=u[c++])&&e.push(a);return e}},function(t,e,r){var n=r(13),o=r(50).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(n(t))}},function(t,e,r){"use strict";var n=r(52),o=r(39),i=r(49),a={};r(12)(a,r(0)("iterator"),(function(){return this})),t.exports=function(t,e,r){t.prototype=n(a,{next:o(1,r)}),i(t,e+" Iterator")}},function(t,e,r){var n=r(50),o=r(71),i=r(2),a=r(1).Reflect;t.exports=a&&a.ownKeys||function(t){var e=n.f(i(t)),r=o.f;return r?e.concat(r(t)):e}},function(t,e,r){var n=r(51),o=r(31);t.exports=function(t){return function(e,r){var i,a,u=String(o(e)),s=n(r),c=u.length;return s<0||s>=c?t?"":void 0:(i=u.charCodeAt(s))<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):i:t?u.slice(s,s+2):a-56320+(i-55296<<10)+65536}}},,,,,function(t,e,r){"use strict";var n=r(272),o=r(182),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(){}return t.prototype.PDF417Common=function(){},t.getBitCountSum=function(t){return o.a.sum(t)},t.toIntArray=function(e){var r,n;if(null==e||!e.length)return t.EMPTY_INT_ARRAY;var o=new Int32Array(e.length),a=0;try{for(var u=i(e),s=u.next();!s.done;s=u.next()){var c=s.value;o[a++]=c}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return o},t.getCodeword=function(e){var r=n.a.binarySearch(t.SYMBOL_TABLE,262143&e);return r<0?-1:(t.CODEWORD_TABLE[r]-1)%t.NUMBER_OF_CODEWORDS},t.NUMBER_OF_CODEWORDS=929,t.MAX_CODEWORDS_IN_BARCODE=t.NUMBER_OF_CODEWORDS-1,t.MIN_ROWS_IN_BARCODE=3,t.MAX_ROWS_IN_BARCODE=90,t.MODULES_IN_CODEWORD=17,t.MODULES_IN_STOP_PATTERN=18,t.BARS_IN_MODULE=8,t.EMPTY_INT_ARRAY=new Int32Array([]),t.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),t.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]),t}();e.a=a},function(t,e,r){"use strict";var n;!function(t){t[t.OTHER=0]="OTHER",t[t.PURE_BARCODE=1]="PURE_BARCODE",t[t.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",t[t.TRY_HARDER=3]="TRY_HARDER",t[t.CHARACTER_SET=4]="CHARACTER_SET",t[t.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",t[t.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",t[t.ASSUME_GS1=7]="ASSUME_GS1",t[t.RETURN_CODABAR_START_END=8]="RETURN_CODABAR_START_END",t[t.NEED_RESULT_POINT_CALLBACK=9]="NEED_RESULT_POINT_CALLBACK",t[t.ALLOWED_EAN_EXTENSIONS=10]="ALLOWED_EAN_EXTENSIONS"}(n||(n={})),e.a=n},,function(t,e,r){"use strict";var n=r(193),o=r(266),i=r(293),a=function(){function t(){}return t.castAsNonUtf8Char=function(t,e){void 0===e&&(e=null);var r=e?e.getName():this.ISO88591;return i.a.decode(new Uint8Array([t]),r)},t.guessEncoding=function(e,r){if(null!=r&&void 0!==r.get(n.a.CHARACTER_SET))return r.get(n.a.CHARACTER_SET).toString();for(var o=e.length,i=!0,a=!0,u=!0,s=0,c=0,f=0,l=0,h=0,d=0,p=0,y=0,g=0,v=0,w=0,_=e.length>3&&239===e[0]&&187===e[1]&&191===e[2],m=0;m<o&&(i||a||u);m++){var A=255&e[m];u&&(s>0?0==(128&A)?u=!1:s--:0!=(128&A)&&(0==(64&A)?u=!1:(s++,0==(32&A)?c++:(s++,0==(16&A)?f++:(s++,0==(8&A)?l++:u=!1))))),i&&(A>127&&A<160?i=!1:A>159&&(A<192||215===A||247===A)&&w++),a&&(h>0?A<64||127===A||A>252?a=!1:h--:128===A||160===A||A>239?a=!1:A>160&&A<224?(d++,y=0,++p>g&&(g=p)):A>127?(h++,p=0,++y>v&&(v=y)):(p=0,y=0))}return u&&s>0&&(u=!1),a&&h>0&&(a=!1),u&&(_||c+f+l>0)?t.UTF8:a&&(t.ASSUME_SHIFT_JIS||g>=3||v>=3)?t.SHIFT_JIS:i&&a?2===g&&2===d||10*w>=o?t.SHIFT_JIS:t.ISO88591:i?t.ISO88591:a?t.SHIFT_JIS:u?t.UTF8:t.PLATFORM_DEFAULT_ENCODING},t.format=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=-1;function o(t,r,o,i,a,u){if("%%"===t)return"%";if(void 0!==e[++n]){t=i?parseInt(i.substr(1)):void 0;var s,c=a?parseInt(a.substr(1)):void 0;switch(u){case"s":s=e[n];break;case"c":s=e[n][0];break;case"f":s=parseFloat(e[n]).toFixed(t);break;case"p":s=parseFloat(e[n]).toPrecision(t);break;case"e":s=parseFloat(e[n]).toExponential(t);break;case"x":s=parseInt(e[n]).toString(c||16);break;case"d":s=parseFloat(parseInt(e[n],c||10).toPrecision(t)).toFixed(0)}s="object"==typeof s?JSON.stringify(s):(+s).toString(c);for(var f=parseInt(o),l=o&&o[0]+""=="0"?"0":" ";s.length<f;)s=void 0!==r?s+l:l+s;return s}}var i=/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g;return t.replace(i,o)},t.getBytes=function(t,e){return i.a.encode(t,e)},t.getCharCode=function(t,e){return void 0===e&&(e=0),t.charCodeAt(e)},t.getCharAt=function(t){return String.fromCharCode(t)},t.SHIFT_JIS=o.a.SJIS.getName(),t.GB2312="GB2312",t.ISO88591=o.a.ISO8859_1.getName(),t.EUC_JP="EUC_JP",t.UTF8=o.a.UTF8.getName(),t.PLATFORM_DEFAULT_ENCODING=t.UTF8,t.ASSUME_SHIFT_JIS=!1,t}();e.a=a},function(t,e,r){"use strict";var n=r(89);r(5)({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n=r(181),o=function(){function t(t,e,r,o,i,a){void 0===r&&(r=null==e?0:8*e.length),void 0===a&&(a=n.a.currentTimeMillis()),this.text=t,this.rawBytes=e,this.numBits=r,this.resultPoints=o,this.format=i,this.timestamp=a,this.text=t,this.rawBytes=e,this.numBits=null==r?null==e?0:8*e.length:r,this.resultPoints=o,this.format=i,this.resultMetadata=null,this.timestamp=null==a?n.a.currentTimeMillis():a}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,e){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(t,e)},t.prototype.putAllMetadata=function(t){null!==t&&(null===this.resultMetadata?this.resultMetadata=t:this.resultMetadata=new Map(t))},t.prototype.addResultPoints=function(t){var e=this.resultPoints;if(null===e)this.resultPoints=t;else if(null!==t&&t.length>0){var r=new Array(e.length+t.length);n.a.arraycopy(e,0,r,0,e.length),n.a.arraycopy(t,0,r,e.length,t.length),this.resultPoints=r}},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.toString=function(){return this.text},t}();e.a=o},function(t,e,r){"use strict";function n(t,e){void 0===e&&(e=t.constructor);var r=Error.captureStackTrace;r&&r(t,e)}var o,i=(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(e,r){var o,i,a,u=this.constructor,s=t.call(this,e,r)||this;return Object.defineProperty(s,"name",{value:u.name,enumerable:!1,configurable:!0}),o=s,i=u.prototype,(a=Object.setPrototypeOf)?a(o,i):o.__proto__=i,n(s),s}return i(e,t),e}(Error);var u,s=(u=function(t,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}u(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),c=function(t){function e(e){void 0===e&&(e=void 0);var r=t.call(this,e)||this;return r.message=e,r}return s(e,t),e.prototype.getKind=function(){return this.constructor.kind},e.kind="Exception",e}(a);e.a=c},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},function(t,e,r){"use strict";var n,o=r(72);!function(t){t[t.TERMINATOR=0]="TERMINATOR",t[t.NUMERIC=1]="NUMERIC",t[t.ALPHANUMERIC=2]="ALPHANUMERIC",t[t.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",t[t.BYTE=4]="BYTE",t[t.ECI=5]="ECI",t[t.KANJI=6]="KANJI",t[t.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",t[t.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",t[t.HANZI=9]="HANZI"}(n||(n={}));var i=function(){function t(e,r,n,o){this.value=e,this.stringValue=r,this.characterCountBitsForVersions=n,this.bits=o,t.FOR_BITS.set(o,this),t.FOR_VALUE.set(e,this)}return t.forBits=function(e){var r=t.FOR_BITS.get(e);if(void 0===r)throw new o.a;return r},t.prototype.getCharacterCountBits=function(t){var e,r=t.getVersionNumber();return e=r<=9?0:r<=26?1:2,this.characterCountBitsForVersions[e]},t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.value===r.value},t.prototype.toString=function(){return this.stringValue},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.TERMINATOR=new t(n.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),t.NUMERIC=new t(n.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),t.ALPHANUMERIC=new t(n.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),t.STRUCTURED_APPEND=new t(n.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),t.BYTE=new t(n.BYTE,"BYTE",Int32Array.from([8,16,16]),4),t.ECI=new t(n.ECI,"ECI",Int32Array.from([0,0,0]),7),t.KANJI=new t(n.KANJI,"KANJI",Int32Array.from([8,10,12]),8),t.FNC1_FIRST_POSITION=new t(n.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),t.FNC1_SECOND_POSITION=new t(n.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),t.HANZI=new t(n.HANZI,"HANZI",Int32Array.from([8,10,12]),13),t}();e.a=i},function(t,e,r){"use strict";var n,o=r(259),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="WriterException",e}(o.a);e.a=a},function(t,e,r){"use strict";var n,o=r(259),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.getChecksumInstance=function(){return new e},e.kind="ChecksumException",e}(o.a);e.a=a},function(t,e,r){"use strict";var n=r(72),o=r(272),i=r(134),a=r(181),u=function(){function t(e,r){void 0===e?(this.size=0,this.bits=new Int32Array(1)):(this.size=e,this.bits=null==r?t.makeArray(e):r)}return t.prototype.getSize=function(){return this.size},t.prototype.getSizeInBytes=function(){return Math.floor((this.size+7)/8)},t.prototype.ensureCapacity=function(e){if(e>32*this.bits.length){var r=t.makeArray(e);a.a.arraycopy(this.bits,0,r,0,this.bits.length),this.bits=r}},t.prototype.get=function(t){return 0!=(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 e=this.size;if(t>=e)return e;var r=this.bits,n=Math.floor(t/32),o=r[n];o&=~((1<<(31&t))-1);for(var a=r.length;0===o;){if(++n===a)return e;o=r[n]}var u=32*n+i.a.numberOfTrailingZeros(o);return u>e?e:u},t.prototype.getNextUnset=function(t){var e=this.size;if(t>=e)return e;var r=this.bits,n=Math.floor(t/32),o=~r[n];o&=~((1<<(31&t))-1);for(var a=r.length;0===o;){if(++n===a)return e;o=~r[n]}var u=32*n+i.a.numberOfTrailingZeros(o);return u>e?e:u},t.prototype.setBulk=function(t,e){this.bits[Math.floor(t/32)]=e},t.prototype.setRange=function(t,e){if(e<t||t<0||e>this.size)throw new n.a;if(e!==t){e--;for(var r=Math.floor(t/32),o=Math.floor(e/32),i=this.bits,a=r;a<=o;a++){var u=(2<<(a<o?31:31&e))-(1<<(a>r?0:31&t));i[a]|=u}}},t.prototype.clear=function(){for(var t=this.bits.length,e=this.bits,r=0;r<t;r++)e[r]=0},t.prototype.isRange=function(t,e,r){if(e<t||t<0||e>this.size)throw new n.a;if(e===t)return!0;e--;for(var o=Math.floor(t/32),i=Math.floor(e/32),a=this.bits,u=o;u<=i;u++){var s=(2<<(u<i?31:31&e))-(1<<(u>o?0:31&t))&4294967295;if((a[u]&s)!==(r?s: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,e){if(e<0||e>32)throw new n.a("Num bits must be between 0 and 32");this.ensureCapacity(this.size+e);for(var r=e;r>0;r--)this.appendBit(1==(t>>r-1&1))},t.prototype.appendBitArray=function(t){var e=t.size;this.ensureCapacity(this.size+e);for(var r=0;r<e;r++)this.appendBit(t.get(r))},t.prototype.xor=function(t){if(this.size!==t.size)throw new n.a("Sizes don't match");for(var e=this.bits,r=0,o=e.length;r<o;r++)e[r]^=t.bits[r]},t.prototype.toBytes=function(t,e,r,n){for(var o=0;o<n;o++){for(var i=0,a=0;a<8;a++)this.get(t)&&(i|=1<<7-a),t++;e[r+o]=i}},t.prototype.getBitArray=function(){return this.bits},t.prototype.reverse=function(){for(var t=new Int32Array(this.bits.length),e=Math.floor((this.size-1)/32),r=e+1,n=this.bits,o=0;o<r;o++){var i=n[o];i=(i=(i=(i=(i=i>>1&1431655765|(1431655765&i)<<1)>>2&858993459|(858993459&i)<<2)>>4&252645135|(252645135&i)<<4)>>8&16711935|(16711935&i)<<8)>>16&65535|(65535&i)<<16,t[e-o]=i}if(this.size!==32*r){var a=32*r-this.size,u=t[0]>>>a;for(o=1;o<r;o++){var s=t[o];u|=s<<32-a,t[o-1]=u,u=s>>>a}t[r-1]=u}this.bits=t},t.makeArray=function(t){return new Int32Array(Math.floor((t+31)/32))},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.size===r.size&&o.a.equals(this.bits,r.bits)},t.prototype.hashCode=function(){return 31*this.size+o.a.hashCode(this.bits)},t.prototype.toString=function(){for(var t="",e=0,r=this.size;e<r;e++)0==(7&e)&&(t+=" "),t+=this.get(e)?"X":".";return t},t.prototype.clone=function(){return new t(this.size,this.bits.slice())},t}();e.a=u},function(t,e,r){"use strict";var n,o=r(62),i=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.")};!function(t){t[t.Cp437=0]="Cp437",t[t.ISO8859_1=1]="ISO8859_1",t[t.ISO8859_2=2]="ISO8859_2",t[t.ISO8859_3=3]="ISO8859_3",t[t.ISO8859_4=4]="ISO8859_4",t[t.ISO8859_5=5]="ISO8859_5",t[t.ISO8859_6=6]="ISO8859_6",t[t.ISO8859_7=7]="ISO8859_7",t[t.ISO8859_8=8]="ISO8859_8",t[t.ISO8859_9=9]="ISO8859_9",t[t.ISO8859_10=10]="ISO8859_10",t[t.ISO8859_11=11]="ISO8859_11",t[t.ISO8859_13=12]="ISO8859_13",t[t.ISO8859_14=13]="ISO8859_14",t[t.ISO8859_15=14]="ISO8859_15",t[t.ISO8859_16=15]="ISO8859_16",t[t.SJIS=16]="SJIS",t[t.Cp1250=17]="Cp1250",t[t.Cp1251=18]="Cp1251",t[t.Cp1252=19]="Cp1252",t[t.Cp1256=20]="Cp1256",t[t.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",t[t.UTF8=22]="UTF8",t[t.ASCII=23]="ASCII",t[t.Big5=24]="Big5",t[t.GB18030=25]="GB18030",t[t.EUC_KR=26]="EUC_KR"}(n||(n={}));var a=function(){function t(e,r,n){for(var o,a,u=[],s=3;s<arguments.length;s++)u[s-3]=arguments[s];this.valueIdentifier=e,this.name=n,this.values="number"==typeof r?Int32Array.from([r]):r,this.otherEncodingNames=u,t.VALUE_IDENTIFIER_TO_ECI.set(e,this),t.NAME_TO_ECI.set(n,this);for(var c=this.values,f=0,l=c.length;f!==l;f++){var h=c[f];t.VALUES_TO_ECI.set(h,this)}try{for(var d=i(u),p=d.next();!p.done;p=d.next()){var y=p.value;t.NAME_TO_ECI.set(y,this)}}catch(t){o={error:t}}finally{try{p&&!p.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}}return t.prototype.getValueIdentifier=function(){return this.valueIdentifier},t.prototype.getName=function(){return this.name},t.prototype.getValue=function(){return this.values[0]},t.getCharacterSetECIByValue=function(e){if(e<0||e>=900)throw new o.a("incorect value");var r=t.VALUES_TO_ECI.get(e);if(void 0===r)throw new o.a("incorect value");return r},t.getCharacterSetECIByName=function(e){var r=t.NAME_TO_ECI.get(e);if(void 0===r)throw new o.a("incorect value");return r},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.getName()===r.getName()},t.VALUE_IDENTIFIER_TO_ECI=new Map,t.VALUES_TO_ECI=new Map,t.NAME_TO_ECI=new Map,t.Cp437=new t(n.Cp437,Int32Array.from([0,2]),"Cp437"),t.ISO8859_1=new t(n.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),t.ISO8859_2=new t(n.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),t.ISO8859_3=new t(n.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),t.ISO8859_4=new t(n.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),t.ISO8859_5=new t(n.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),t.ISO8859_6=new t(n.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),t.ISO8859_7=new t(n.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),t.ISO8859_8=new t(n.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),t.ISO8859_9=new t(n.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),t.ISO8859_10=new t(n.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),t.ISO8859_11=new t(n.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),t.ISO8859_13=new t(n.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),t.ISO8859_14=new t(n.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),t.ISO8859_15=new t(n.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),t.ISO8859_16=new t(n.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),t.SJIS=new t(n.SJIS,20,"SJIS","Shift_JIS"),t.Cp1250=new t(n.Cp1250,21,"Cp1250","windows-1250"),t.Cp1251=new t(n.Cp1251,22,"Cp1251","windows-1251"),t.Cp1252=new t(n.Cp1252,23,"Cp1252","windows-1252"),t.Cp1256=new t(n.Cp1256,24,"Cp1256","windows-1256"),t.UnicodeBigUnmarked=new t(n.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),t.UTF8=new t(n.UTF8,26,"UTF8","UTF-8"),t.ASCII=new t(n.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),t.Big5=new t(n.Big5,28,"Big5"),t.GB18030=new t(n.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),t.EUC_KR=new t(n.EUC_KR,30,"EUC_KR","EUC-KR"),t}();e.a=a},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(364)("wks"),o=r(329),i=r(260).Symbol,a="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=n},function(t,e,r){"use strict";var n;!function(t){t[t.OTHER=0]="OTHER",t[t.ORIENTATION=1]="ORIENTATION",t[t.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",t[t.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",t[t.ISSUE_NUMBER=4]="ISSUE_NUMBER",t[t.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",t[t.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",t[t.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",t[t.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",t[t.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",t[t.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY"}(n||(n={})),e.a=n},function(t,e,r){"use strict";var n=r(265),o=r(193),i=r(269),a=r(83),u=r(28),s=function(){function t(){}return t.prototype.decode=function(t,e){try{return this.doDecode(t,e)}catch(d){if(e&&!0===e.get(o.a.TRY_HARDER)&&t.isRotateSupported()){var r=t.rotateCounterClockwise(),n=this.doDecode(r,e),s=n.getResultMetadata(),c=270;null!==s&&!0===s.get(i.a.ORIENTATION)&&(c+=s.get(i.a.ORIENTATION)%360),n.putMetadata(i.a.ORIENTATION,c);var f=n.getResultPoints();if(null!==f)for(var l=r.getHeight(),h=0;h<f.length;h++)f[h]=new a.a(l-f[h].getY()-1,f[h].getX());return n}throw new u.a}},t.prototype.reset=function(){},t.prototype.doDecode=function(t,e){var r,s=t.getWidth(),c=t.getHeight(),f=new n.a(s),l=e&&!0===e.get(o.a.TRY_HARDER),h=Math.max(1,c>>(l?8:5));r=l?c:15;for(var d=Math.trunc(c/2),p=0;p<r;p++){var y=Math.trunc((p+1)/2),g=d+h*(0==(1&p)?y:-y);if(g<0||g>=c)break;try{f=t.getBlackRow(g,f)}catch(t){continue}for(var v=function(t){if(1===t&&(f.reverse(),e&&!0===e.get(o.a.NEED_RESULT_POINT_CALLBACK))){var r=new Map;e.forEach((function(t,e){return r.set(e,t)})),r.delete(o.a.NEED_RESULT_POINT_CALLBACK),e=r}try{var n=w.decodeRow(g,f,e);if(1===t){n.putMetadata(i.a.ORIENTATION,180);var u=n.getResultPoints();null!==u&&(u[0]=new a.a(s-u[0].getX()-1,u[0].getY()),u[1]=new a.a(s-u[1].getX()-1,u[1].getY()))}return{value:n}}catch(t){}},w=this,_=0;_<2;_++){var m=v(_);if("object"==typeof m)return m.value}}throw new u.a},t.recordPattern=function(t,e,r){for(var n=r.length,o=0;o<n;o++)r[o]=0;var i=t.getSize();if(e>=i)throw new u.a;for(var a=!t.get(e),s=0,c=e;c<i;){if(t.get(c)!==a)r[s]++;else{if(++s===n)break;r[s]=1,a=!a}c++}if(s!==n&&(s!==n-1||c!==i))throw new u.a},t.recordPatternInReverse=function(e,r,n){for(var o=n.length,i=e.get(r);r>0&&o>=0;)e.get(--r)!==i&&(o--,i=!i);if(o>=0)throw new u.a;t.recordPattern(e,r+1,n)},t.patternMatchVariance=function(t,e,r){for(var n=t.length,o=0,i=0,a=0;a<n;a++)o+=t[a],i+=e[a];if(o<i)return Number.POSITIVE_INFINITY;var u=o/i;r*=u;for(var s=0,c=0;c<n;c++){var f=t[c],l=e[c]*u,h=f>l?f-l:l-f;if(h>r)return Number.POSITIVE_INFINITY;s+=h}return s/o},t}();e.a=s},function(t,e,r){"use strict";var n=r(265),o=r(181),i=r(272),a=r(146),u=r(72),s=function(){function t(t,e,r,n){if(this.width=t,this.height=e,this.rowSize=r,this.bits=n,null==e&&(e=t),this.height=e,t<1||e<1)throw new u.a("Both dimensions must be greater than 0");null==r&&(r=Math.floor((t+31)/32)),this.rowSize=r,null==n&&(this.bits=new Int32Array(this.rowSize*this.height))}return t.parseFromBooleanArray=function(e){for(var r=e.length,n=e[0].length,o=new t(n,r),i=0;i<r;i++)for(var a=e[i],u=0;u<n;u++)a[u]&&o.set(u,i);return o},t.parseFromString=function(e,r,n){if(null===e)throw new u.a("stringRepresentation cannot be null");for(var o=new Array(e.length),i=0,a=0,s=-1,c=0,f=0;f<e.length;)if("\n"===e.charAt(f)||"\r"===e.charAt(f)){if(i>a){if(-1===s)s=i-a;else if(i-a!==s)throw new u.a("row lengths do not match");a=i,c++}f++}else if(e.substring(f,f+r.length)===r)f+=r.length,o[i]=!0,i++;else{if(e.substring(f,f+n.length)!==n)throw new u.a("illegal character encountered: "+e.substring(f));f+=n.length,o[i]=!1,i++}if(i>a){if(-1===s)s=i-a;else if(i-a!==s)throw new u.a("row lengths do not match");c++}for(var l=new t(s,c),h=0;h<i;h++)o[h]&&l.set(Math.floor(h%s),Math.floor(h/s));return l},t.prototype.get=function(t,e){var r=e*this.rowSize+Math.floor(t/32);return 0!=(this.bits[r]>>>(31&t)&1)},t.prototype.set=function(t,e){var r=e*this.rowSize+Math.floor(t/32);this.bits[r]|=1<<(31&t)&4294967295},t.prototype.unset=function(t,e){var r=e*this.rowSize+Math.floor(t/32);this.bits[r]&=~(1<<(31&t)&4294967295)},t.prototype.flip=function(t,e){var r=e*this.rowSize+Math.floor(t/32);this.bits[r]^=1<<(31&t)&4294967295},t.prototype.xor=function(t){if(this.width!==t.getWidth()||this.height!==t.getHeight()||this.rowSize!==t.getRowSize())throw new u.a("input matrix dimensions do not match");for(var e=new n.a(Math.floor(this.width/32)+1),r=this.rowSize,o=this.bits,i=0,a=this.height;i<a;i++)for(var s=i*r,c=t.getRow(i,e).getBitArray(),f=0;f<r;f++)o[s+f]^=c[f]},t.prototype.clear=function(){for(var t=this.bits,e=t.length,r=0;r<e;r++)t[r]=0},t.prototype.setRegion=function(t,e,r,n){if(e<0||t<0)throw new u.a("Left and top must be nonnegative");if(n<1||r<1)throw new u.a("Height and width must be at least 1");var o=t+r,i=e+n;if(i>this.height||o>this.width)throw new u.a("The region must fit inside the matrix");for(var a=this.rowSize,s=this.bits,c=e;c<i;c++)for(var f=c*a,l=t;l<o;l++)s[f+Math.floor(l/32)]|=1<<(31&l)&4294967295},t.prototype.getRow=function(t,e){null==e||e.getSize()<this.width?e=new n.a(this.width):e.clear();for(var r=this.rowSize,o=this.bits,i=t*r,a=0;a<r;a++)e.setBulk(32*a,o[i+a]);return e},t.prototype.setRow=function(t,e){o.a.arraycopy(e.getBitArray(),0,this.bits,t*this.rowSize,this.rowSize)},t.prototype.rotate180=function(){for(var t=this.getWidth(),e=this.getHeight(),r=new n.a(t),o=new n.a(t),i=0,a=Math.floor((e+1)/2);i<a;i++)r=this.getRow(i,r),o=this.getRow(e-1-i,o),r.reverse(),o.reverse(),this.setRow(i,o),this.setRow(e-1-i,r)},t.prototype.getEnclosingRectangle=function(){for(var t=this.width,e=this.height,r=this.rowSize,n=this.bits,o=t,i=e,a=-1,u=-1,s=0;s<e;s++)for(var c=0;c<r;c++){var f=n[s*r+c];if(0!==f){if(s<i&&(i=s),s>u&&(u=s),32*c<o){for(var l=0;0==(f<<31-l&4294967295);)l++;32*c+l<o&&(o=32*c+l)}if(32*c+31>a){for(l=31;f>>>l==0;)l--;32*c+l>a&&(a=32*c+l)}}}return a<o||u<i?null:Int32Array.from([o,i,a-o+1,u-i+1])},t.prototype.getTopLeftOnBit=function(){for(var t=this.rowSize,e=this.bits,r=0;r<e.length&&0===e[r];)r++;if(r===e.length)return null;for(var n=r/t,o=r%t*32,i=e[r],a=0;0==(i<<31-a&4294967295);)a++;return o+=a,Int32Array.from([o,n])},t.prototype.getBottomRightOnBit=function(){for(var t=this.rowSize,e=this.bits,r=e.length-1;r>=0&&0===e[r];)r--;if(r<0)return null;for(var n=Math.floor(r/t),o=32*Math.floor(r%t),i=e[r],a=31;i>>>a==0;)a--;return o+=a,Int32Array.from([o,n])},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(e){if(!(e instanceof t))return!1;var r=e;return this.width===r.width&&this.height===r.height&&this.rowSize===r.rowSize&&i.a.equals(this.bits,r.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)+i.a.hashCode(this.bits)},t.prototype.toString=function(t,e,r){return void 0===t&&(t="X "),void 0===e&&(e=" "),void 0===r&&(r="\n"),this.buildToString(t,e,r)},t.prototype.buildToString=function(t,e,r){for(var n=new a.a,o=0,i=this.height;o<i;o++){for(var u=0,s=this.width;u<s;u++)n.append(this.get(u,o)?t:e);n.append(r)}return n.toString()},t.prototype.clone=function(){return new t(this.width,this.height,this.rowSize,this.bits.slice())},t}();e.a=s},function(t,e,r){"use strict";var n,o=r(181),i=r(72),a=r(405),u=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),s=function(t){function e(e,r){void 0===e&&(e=void 0),void 0===r&&(r=void 0);var n=t.call(this,r)||this;return n.index=e,n.message=r,n}return u(e,t),e.kind="ArrayIndexOutOfBoundsException",e}(a.a),c=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.")},f=function(){function t(){}return t.fill=function(t,e){for(var r=0,n=t.length;r<n;r++)t[r]=e},t.fillWithin=function(e,r,n,o){t.rangeCheck(e.length,r,n);for(var i=r;i<n;i++)e[i]=o},t.rangeCheck=function(t,e,r){if(e>r)throw new i.a("fromIndex("+e+") > toIndex("+r+")");if(e<0)throw new s(e);if(r>t)throw new s(r)},t.asList=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t},t.create=function(t,e,r){return Array.from({length:t}).map((function(t){return Array.from({length:e}).fill(r)}))},t.createInt32Array=function(t,e,r){return Array.from({length:t}).map((function(t){return Int32Array.from({length:e}).fill(r)}))},t.equals=function(t,e){if(!t)return!1;if(!e)return!1;if(!t.length)return!1;if(!e.length)return!1;if(t.length!==e.length)return!1;for(var r=0,n=t.length;r<n;r++)if(t[r]!==e[r])return!1;return!0},t.hashCode=function(t){var e,r;if(null===t)return 0;var n=1;try{for(var o=c(t),i=o.next();!i.done;i=o.next()){n=31*n+i.value}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},t.fillUint8Array=function(t,e){for(var r=0;r!==t.length;r++)t[r]=e},t.copyOf=function(t,e){return t.slice(0,e)},t.copyOfUint8Array=function(t,e){if(t.length<=e){var r=new Uint8Array(e);return r.set(t),r}return t.slice(0,e)},t.copyOfRange=function(t,e,r){var n=r-e,i=new Int32Array(n);return o.a.arraycopy(t,e,i,0,n),i},t.binarySearch=function(e,r,n){void 0===n&&(n=t.numberComparator);for(var o=0,i=e.length-1;o<=i;){var a=i+o>>1,u=n(r,e[a]);if(u>0)o=a+1;else{if(!(u<0))return a;i=a-1}}return-o-1},t.numberComparator=function(t,e){return t-e},t}();e.a=f},,function(t,e,r){"use strict";var n;!function(t){t[t.ERROR_CORRECTION=0]="ERROR_CORRECTION",t[t.CHARACTER_SET=1]="CHARACTER_SET",t[t.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",t[t.MIN_SIZE=3]="MIN_SIZE",t[t.MAX_SIZE=4]="MAX_SIZE",t[t.MARGIN=5]="MARGIN",t[t.PDF417_COMPACT=6]="PDF417_COMPACT",t[t.PDF417_COMPACTION=7]="PDF417_COMPACTION",t[t.PDF417_DIMENSIONS=8]="PDF417_DIMENSIONS",t[t.AZTEC_LAYERS=9]="AZTEC_LAYERS",t[t.QR_VERSION=10]="QR_VERSION"}(n||(n={})),e.a=n},,function(t,e,r){"use strict";var n,o=r(303),i=r(396),a=r(134),u=r(72),s=r(398),c=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),f=function(t){function e(e,r,n){var i=t.call(this)||this;i.primitive=e,i.size=r,i.generatorBase=n;for(var a=new Int32Array(r),u=1,s=0;s<r;s++)a[s]=u,(u*=2)>=r&&(u^=e,u&=r-1);i.expTable=a;var c=new Int32Array(r);for(s=0;s<r-1;s++)c[a[s]]=s;return i.logTable=c,i.zero=new o.a(i,Int32Array.from([0])),i.one=new o.a(i,Int32Array.from([1])),i}return c(e,t),e.prototype.getZero=function(){return this.zero},e.prototype.getOne=function(){return this.one},e.prototype.buildMonomial=function(t,e){if(t<0)throw new u.a;if(0===e)return this.zero;var r=new Int32Array(t+1);return r[0]=e,new o.a(this,r)},e.prototype.inverse=function(t){if(0===t)throw new s.a;return this.expTable[this.size-this.logTable[t]-1]},e.prototype.multiply=function(t,e){return 0===t||0===e?0:this.expTable[(this.logTable[t]+this.logTable[e])%(this.size-1)]},e.prototype.getSize=function(){return this.size},e.prototype.getGeneratorBase=function(){return this.generatorBase},e.prototype.toString=function(){return"GF(0x"+a.a.toHexString(this.primitive)+","+this.size+")"},e.prototype.equals=function(t){return t===this},e.AZTEC_DATA_12=new e(4201,4096,1),e.AZTEC_DATA_10=new e(1033,1024,1),e.AZTEC_DATA_6=new e(67,64,1),e.AZTEC_PARAM=new e(19,16,1),e.QR_CODE_FIELD_256=new e(285,256,0),e.DATA_MATRIX_FIELD_256=new e(301,256,1),e.AZTEC_DATA_8=e.DATA_MATRIX_FIELD_256,e.MAXICODE_FIELD_64=e.AZTEC_DATA_6,e}(i.a);e.a=f},function(t,e,r){"use strict";var n,o=r(84),i=r(193),a=r(258),u=r(269),s=r(83),c=r(270),f=r(28),l=r(62),h=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.decodeRowStringBuffer="",e}return h(e,t),e.findStartGuardPattern=function(t){for(var r,n=!1,o=0,i=Int32Array.from([0,0,0]);!n;){i=Int32Array.from([0,0,0]);var a=(r=e.findGuardPattern(t,o,!1,this.START_END_PATTERN,i))[0],u=a-((o=r[1])-a);u>=0&&(n=t.isRange(u,a,!1))}return r},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var r=t.length;if(0===r)return!1;var n=parseInt(t.charAt(r-1),10);return e.getStandardUPCEANChecksum(t.substring(0,r-1))===n},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,r=0,n=e-1;n>=0;n-=2){if((o=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new l.a;r+=o}r*=3;for(n=e-2;n>=0;n-=2){var o;if((o=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new l.a;r+=o}return(1e3-r)%10},e.decodeEnd=function(t,r){return e.findGuardPattern(t,r,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e.findGuardPatternWithoutCounters=function(t,e,r,n){return this.findGuardPattern(t,e,r,n,new Int32Array(n.length))},e.findGuardPattern=function(t,r,n,o,i){for(var a=t.getSize(),u=0,s=r=n?t.getNextUnset(r):t.getNextSet(r),l=o.length,h=n,d=r;d<a;d++)if(t.get(d)!==h)i[u]++;else{if(u===l-1){if(c.a.patternMatchVariance(i,o,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return Int32Array.from([s,d]);s+=i[0]+i[1];for(var p=i.slice(2,i.length-1),y=0;y<u-1;y++)i[y]=p[y];i[u-1]=0,i[u]=0,u--}else u++;i[u]=1,h=!h}throw new f.a},e.decodeDigit=function(t,r,n,o){this.recordPattern(t,n,r);for(var i=this.MAX_AVG_VARIANCE,a=-1,u=o.length,s=0;s<u;s++){var l=o[s],h=c.a.patternMatchVariance(r,l,e.MAX_INDIVIDUAL_VARIANCE);h<i&&(i=h,a=s)}if(a>=0)return a;throw new f.a},e.MAX_AVG_VARIANCE=.48,e.MAX_INDIVIDUAL_VARIANCE=.7,e.START_END_PATTERN=Int32Array.from([1,1,1]),e.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),e.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])],e}(c.a),p=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.")},y=function(){function t(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,r,n){var i=this.decodeRowStringBuffer,u=this.decodeMiddle(r,n,i),c=i.toString(),f=t.parseExtensionString(c),l=[new s.a((n[0]+n[1])/2,e),new s.a(u,e)],h=new a.a(c,null,0,l,o.a.UPC_EAN_EXTENSION,(new Date).getTime());return null!=f&&h.putAllMetadata(f),h},t.prototype.decodeMiddle=function(e,r,n){var o,i,a=this.decodeMiddleCounters;a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var u=e.getSize(),s=r[1],c=0,l=0;l<5&&s<u;l++){var h=d.decodeDigit(e,a,s,d.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+h%10);try{for(var y=(o=void 0,p(a)),g=y.next();!g.done;g=y.next()){s+=g.value}}catch(t){o={error:t}}finally{try{g&&!g.done&&(i=y.return)&&i.call(y)}finally{if(o)throw o.error}}h>=10&&(c|=1<<4-l),4!==l&&(s=e.getNextSet(s),s=e.getNextUnset(s))}if(5!==n.length)throw new f.a;var v=this.determineCheckDigit(c);if(t.extensionChecksum(n.toString())!==v)throw new f.a;return s},t.extensionChecksum=function(t){for(var e=t.length,r=0,n=e-2;n>=0;n-=2)r+=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);r*=3;for(n=e-1;n>=0;n-=2)r+=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);return(r*=3)%10},t.prototype.determineCheckDigit=function(t){for(var e=0;e<10;e++)if(t===this.CHECK_DIGIT_ENCODINGS[e])return e;throw new f.a},t.parseExtensionString=function(e){if(5!==e.length)return null;var r=t.parseExtension5String(e);return null==r?null:new Map([[u.a.SUGGESTED_PRICE,r]])},t.parseExtension5String=function(t){var e;switch(t.charAt(0)){case"0":e="£";break;case"5":e="$";break;case"9":switch(t){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}e="";break;default:e=""}var r=parseInt(t.substring(1)),n=r%100;return e+(r/100).toString()+"."+(n<10?"0"+n:n.toString())},t}(),g=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.")},v=function(){function t(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,r,n){var i=this.decodeRowStringBuffer,u=this.decodeMiddle(r,n,i),c=i.toString(),f=t.parseExtensionString(c),l=[new s.a((n[0]+n[1])/2,e),new s.a(u,e)],h=new a.a(c,null,0,l,o.a.UPC_EAN_EXTENSION,(new Date).getTime());return null!=f&&h.putAllMetadata(f),h},t.prototype.decodeMiddle=function(t,e,r){var n,o,i=this.decodeMiddleCounters;i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var a=t.getSize(),u=e[1],s=0,c=0;c<2&&u<a;c++){var l=d.decodeDigit(t,i,u,d.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+l%10);try{for(var h=(n=void 0,g(i)),p=h.next();!p.done;p=h.next()){u+=p.value}}catch(t){n={error:t}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}l>=10&&(s|=1<<1-c),1!==c&&(u=t.getNextSet(u),u=t.getNextUnset(u))}if(2!==r.length)throw new f.a;if(parseInt(r.toString())%4!==s)throw new f.a;return u},t.parseExtensionString=function(t){return 2!==t.length?null:new Map([[u.a.ISSUE_NUMBER,parseInt(t)]])},t}(),w=function(){function t(){}return t.decodeRow=function(t,e,r){var n=d.findGuardPattern(e,r,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new y).decodeRow(t,e,n)}catch(r){return(new v).decodeRow(t,e,n)}},t.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),t}(),_=r(264),m=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),A=function(t){function e(){var r=t.call(this)||this;r.decodeRowStringBuffer="",e.L_AND_G_PATTERNS=e.L_PATTERNS.map((function(t){return Int32Array.from(t)}));for(var n=10;n<20;n++){for(var o=e.L_PATTERNS[n-10],i=new Int32Array(o.length),a=0;a<o.length;a++)i[a]=o[o.length-a-1];e.L_AND_G_PATTERNS[n]=i}return r}return m(e,t),e.prototype.decodeRow=function(t,r,n){var c=e.findStartGuardPattern(r),h=null==n?null:n.get(i.a.NEED_RESULT_POINT_CALLBACK);if(null!=h){var d=new s.a((c[0]+c[1])/2,t);h.foundPossibleResultPoint(d)}var p=this.decodeMiddle(r,c,this.decodeRowStringBuffer),y=p.rowOffset,g=p.resultString;if(null!=h){var v=new s.a(y,t);h.foundPossibleResultPoint(v)}var m=e.decodeEnd(r,y);if(null!=h){var A=new s.a((m[0]+m[1])/2,t);h.foundPossibleResultPoint(A)}var E=m[1],C=E+(E-m[0]);if(C>=r.getSize()||!r.isRange(E,C,!1))throw new f.a;var I=g.toString();if(I.length<8)throw new l.a;if(!e.checkChecksum(I))throw new _.a;var S=(c[1]+c[0])/2,b=(m[1]+m[0])/2,O=this.getBarcodeFormat(),T=[new s.a(S,t),new s.a(b,t)],R=new a.a(I,null,0,T,O,(new Date).getTime()),N=0;try{var D=w.decodeRow(t,r,m[1]);R.putMetadata(u.a.UPC_EAN_EXTENSION,D.getText()),R.putAllMetadata(D.getResultMetadata()),R.addResultPoints(D.getResultPoints()),N=D.getText().length}catch(t){}var P=null==n?null:n.get(i.a.ALLOWED_EAN_EXTENSIONS);if(null!=P){var M=!1;for(var B in P)if(N.toString()===B){M=!0;break}if(!M)throw new f.a}return O===o.a.EAN_13||o.a.UPC_A,R},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var r=t.length;if(0===r)return!1;var n=parseInt(t.charAt(r-1),10);return e.getStandardUPCEANChecksum(t.substring(0,r-1))===n},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,r=0,n=e-1;n>=0;n-=2){if((o=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new l.a;r+=o}r*=3;for(n=e-2;n>=0;n-=2){var o;if((o=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new l.a;r+=o}return(1e3-r)%10},e.decodeEnd=function(t,r){return e.findGuardPattern(t,r,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e}(d);e.a=A},,,,,,,function(t,e,r){var n=r(260),o=r(261),i=r(310),a=r(296),u=r(295),s=function(t,e,r){var c,f,l,h=t&s.F,d=t&s.G,p=t&s.S,y=t&s.P,g=t&s.B,v=t&s.W,w=d?o:o[e]||(o[e]={}),_=w.prototype,m=d?n:p?n[e]:(n[e]||{}).prototype;for(c in d&&(r=e),r)(f=!h&&m&&void 0!==m[c])&&u(w,c)||(l=f?m[c]:r[c],w[c]=d&&"function"!=typeof m[c]?r[c]:g&&f?i(l,n):v&&m[c]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):y&&"function"==typeof l?i(Function.call,l):l,y&&((w.virtual||(w.virtual={}))[c]=l,t&s.R&&_&&!_[c]&&a(_,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,r){var n=r(292);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},,,,function(t,e,r){"use strict";var n,o=r(259),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="IllegalStateException",e}(o.a);e.a=a},function(t,e,r){t.exports=!r(309)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(285),o=r(425),i=r(363),a=Object.defineProperty;e.f=r(290)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){"use strict";var n=r(359),o=r(266),i=function(){function t(){}return t.decode=function(t,e){var r=this.encodingName(e);return this.customDecoder?this.customDecoder(t,r):"undefined"==typeof TextDecoder||this.shouldDecodeOnFallback(r)?this.decodeFallback(t,r):new TextDecoder(r).decode(t)},t.shouldDecodeOnFallback=function(e){return!t.isBrowser()&&"ISO-8859-1"===e},t.encode=function(t,e){var r=this.encodingName(e);return this.customEncoder?this.customEncoder(t,r):"undefined"==typeof TextEncoder?this.encodeFallback(t):(new TextEncoder).encode(t)},t.isBrowser=function(){return"undefined"!=typeof window&&"[object Window]"==={}.toString.call(window)},t.encodingName=function(t){return"string"==typeof t?t:t.getName()},t.encodingCharacterSet=function(t){return t instanceof o.a?t:o.a.getCharacterSetECIByName(t)},t.decodeFallback=function(e,r){var i=this.encodingCharacterSet(r);if(t.isDecodeFallbackSupported(i)){for(var a="",u=0,s=e.length;u<s;u++){var c=e[u].toString(16);c.length<2&&(c="0"+c),a+="%"+c}return decodeURIComponent(a)}if(i.equals(o.a.UnicodeBigUnmarked))return String.fromCharCode.apply(null,new Uint16Array(e.buffer));throw new n.a("Encoding "+this.encodingName(r)+" not supported by fallback.")},t.isDecodeFallbackSupported=function(t){return t.equals(o.a.UTF8)||t.equals(o.a.ISO8859_1)||t.equals(o.a.ASCII)},t.encodeFallback=function(t){for(var e=btoa(unescape(encodeURIComponent(t))).split(""),r=[],n=0;n<e.length;n++)r.push(e[n].charCodeAt(0));return new Uint8Array(r)},t}();e.a=i},,function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(291),o=r(328);t.exports=r(290)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},,function(t,e,r){"use strict";var n,o=r(259),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="ArgumentException",e}(o.a);e.a=a},,,function(t,e,r){"use strict";r.d(e,"a",(function(){return p}));var n=r(298),o=r(548),i=r(264),a=r(549),u=r(62),s=r(28),c=r(552),f=r(553),l=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{s(n.next(t))}catch(t){i(t)}}function u(t){try{s(n.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}s((n=n.apply(t,e||[])).next())}))},h=function(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},d=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.")},p=function(){function t(t,e,r){void 0===e&&(e=500),this.reader=t,this.timeBetweenScansMillis=e,this._hints=r,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}return Object.defineProperty(t.prototype,"hasNavigator",{get:function(){return"undefined"!=typeof navigator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMediaDevicesSuported",{get:function(){return this.hasNavigator&&!!navigator.mediaDevices},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canEnumerateDevices",{get:function(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timeBetweenDecodingAttempts",{get:function(){return this._timeBetweenDecodingAttempts},set:function(t){this._timeBetweenDecodingAttempts=t<0?0:t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hints",{get:function(){return this._hints},set:function(t){this._hints=t||null},enumerable:!1,configurable:!0}),t.prototype.listVideoInputDevices=function(){return l(this,void 0,void 0,(function(){var t,e,r,n,o,i,a,u,s,c,f,l;return h(this,(function(h){switch(h.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:t=h.sent(),e=[];try{for(r=d(t),n=r.next();!n.done;n=r.next())o=n.value,"videoinput"===(i="video"===o.kind?"videoinput":o.kind)&&(a=o.deviceId||o.id,u=o.label||"Video device "+(e.length+1),s=o.groupId,c={deviceId:a,label:u,kind:i,groupId:s},e.push(c))}catch(t){f={error:t}}finally{try{n&&!n.done&&(l=r.return)&&l.call(r)}finally{if(f)throw f.error}}return[2,e]}}))}))},t.prototype.getVideoInputDevices=function(){return l(this,void 0,void 0,(function(){return h(this,(function(t){switch(t.label){case 0:return[4,this.listVideoInputDevices()];case 1:return[2,t.sent().map((function(t){return new f.a(t.deviceId,t.label)}))]}}))}))},t.prototype.findDeviceById=function(t){return l(this,void 0,void 0,(function(){var e;return h(this,(function(r){switch(r.label){case 0:return[4,this.listVideoInputDevices()];case 1:return(e=r.sent())?[2,e.find((function(e){return e.deviceId===t}))]:[2,null]}}))}))},t.prototype.decodeFromInputVideoDevice=function(t,e){return l(this,void 0,void 0,(function(){return h(this,(function(r){switch(r.label){case 0:return[4,this.decodeOnceFromVideoDevice(t,e)];case 1:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromVideoDevice=function(t,e){return l(this,void 0,void 0,(function(){var r;return h(this,(function(n){switch(n.label){case 0:return this.reset(),r={video:t?{deviceId:{exact:t}}:{facingMode:"environment"}},[4,this.decodeOnceFromConstraints(r,e)];case 1:return[2,n.sent()]}}))}))},t.prototype.decodeOnceFromConstraints=function(t,e){return l(this,void 0,void 0,(function(){var r;return h(this,(function(n){switch(n.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return r=n.sent(),[4,this.decodeOnceFromStream(r,e)];case 2:return[2,n.sent()]}}))}))},t.prototype.decodeOnceFromStream=function(t,e){return l(this,void 0,void 0,(function(){var r;return h(this,(function(n){switch(n.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return r=n.sent(),[4,this.decodeOnce(r)];case 2:return[2,n.sent()]}}))}))},t.prototype.decodeFromInputVideoDeviceContinuously=function(t,e,r){return l(this,void 0,void 0,(function(){return h(this,(function(n){switch(n.label){case 0:return[4,this.decodeFromVideoDevice(t,e,r)];case 1:return[2,n.sent()]}}))}))},t.prototype.decodeFromVideoDevice=function(t,e,r){return l(this,void 0,void 0,(function(){var n;return h(this,(function(o){switch(o.label){case 0:return n={video:t?{deviceId:{exact:t}}:{facingMode:"environment"}},[4,this.decodeFromConstraints(n,e,r)];case 1:return[2,o.sent()]}}))}))},t.prototype.decodeFromConstraints=function(t,e,r){return l(this,void 0,void 0,(function(){var n;return h(this,(function(o){switch(o.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return n=o.sent(),[4,this.decodeFromStream(n,e,r)];case 2:return[2,o.sent()]}}))}))},t.prototype.decodeFromStream=function(t,e,r){return l(this,void 0,void 0,(function(){var n;return h(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return n=o.sent(),[4,this.decodeContinuously(n,r)];case 2:return[2,o.sent()]}}))}))},t.prototype.stopAsyncDecode=function(){this._stopAsyncDecode=!0},t.prototype.stopContinuousDecode=function(){this._stopContinuousDecode=!0},t.prototype.attachStreamToVideo=function(t,e){return l(this,void 0,void 0,(function(){var r;return h(this,(function(n){switch(n.label){case 0:return r=this.prepareVideoElement(e),this.addVideoSource(r,t),this.videoElement=r,this.stream=t,[4,this.playVideoOnLoadAsync(r)];case 1:return n.sent(),[2,r]}}))}))},t.prototype.playVideoOnLoadAsync=function(t){var e=this;return new Promise((function(r,n){return e.playVideoOnLoad(t,(function(){return r()}))}))},t.prototype.playVideoOnLoad=function(t,e){var r=this;this.videoEndedListener=function(){return r.stopStreams()},this.videoCanPlayListener=function(){return r.tryPlayVideo(t)},t.addEventListener("ended",this.videoEndedListener),t.addEventListener("canplay",this.videoCanPlayListener),t.addEventListener("playing",e),this.tryPlayVideo(t)},t.prototype.isVideoPlaying=function(t){return t.currentTime>0&&!t.paused&&!t.ended&&t.readyState>2},t.prototype.tryPlayVideo=function(t){return l(this,void 0,void 0,(function(){return h(this,(function(e){switch(e.label){case 0:if(this.isVideoPlaying(t))return console.warn("Trying to play video that is already playing."),[2];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,t.play()];case 2:return e.sent(),[3,4];case 3:return e.sent(),console.warn("It was not possible to play the video."),[3,4];case 4:return[2]}}))}))},t.prototype.getMediaElement=function(t,e){var r=document.getElementById(t);if(!r)throw new n.a("element with id '"+t+"' not found");if(r.nodeName.toLowerCase()!==e.toLowerCase())throw new n.a("element with id '"+t+"' must be an "+e+" element");return r},t.prototype.decodeFromImage=function(t,e){if(!t&&!e)throw new n.a("either imageElement with a src set or an url must be provided");return e&&!t?this.decodeFromImageUrl(e):this.decodeFromImageElement(t)},t.prototype.decodeFromVideo=function(t,e){if(!t&&!e)throw new n.a("Either an element with a src set or an URL must be provided");return e&&!t?this.decodeFromVideoUrl(e):this.decodeFromVideoElement(t)},t.prototype.decodeFromVideoContinuously=function(t,e,r){if(void 0===t&&void 0===e)throw new n.a("Either an element with a src set or an URL must be provided");return e&&!t?this.decodeFromVideoUrlContinuously(e,r):this.decodeFromVideoElementContinuously(t,r)},t.prototype.decodeFromImageElement=function(t){if(!t)throw new n.a("An image element must be provided.");this.reset();var e=this.prepareImageElement(t);return this.imageElement=e,this.isImageLoaded(e)?this.decodeOnce(e,!1,!0):this._decodeOnLoadImage(e)},t.prototype.decodeFromVideoElement=function(t){var e=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideo(e)},t.prototype.decodeFromVideoElementContinuously=function(t,e){var r=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideoContinuously(r,e)},t.prototype._decodeFromVideoElementSetup=function(t){if(!t)throw new n.a("A video element must be provided.");this.reset();var e=this.prepareVideoElement(t);return this.videoElement=e,e},t.prototype.decodeFromImageUrl=function(t){if(!t)throw new n.a("An URL must be provided.");this.reset();var e=this.prepareImageElement();this.imageElement=e;var r=this._decodeOnLoadImage(e);return e.src=t,r},t.prototype.decodeFromVideoUrl=function(t){if(!t)throw new n.a("An URL must be provided.");this.reset();var e=this.prepareVideoElement(),r=this.decodeFromVideoElement(e);return e.src=t,r},t.prototype.decodeFromVideoUrlContinuously=function(t,e){if(!t)throw new n.a("An URL must be provided.");this.reset();var r=this.prepareVideoElement(),o=this.decodeFromVideoElementContinuously(r,e);return r.src=t,o},t.prototype._decodeOnLoadImage=function(t){var e=this;return new Promise((function(r,n){e.imageLoadedListener=function(){return e.decodeOnce(t,!1,!0).then(r,n)},t.addEventListener("load",e.imageLoadedListener)}))},t.prototype._decodeOnLoadVideo=function(t){return l(this,void 0,void 0,(function(){return h(this,(function(e){switch(e.label){case 0:return[4,this.playVideoOnLoadAsync(t)];case 1:return e.sent(),[4,this.decodeOnce(t)];case 2:return[2,e.sent()]}}))}))},t.prototype._decodeOnLoadVideoContinuously=function(t,e){return l(this,void 0,void 0,(function(){return h(this,(function(r){switch(r.label){case 0:return[4,this.playVideoOnLoadAsync(t)];case 1:return r.sent(),this.decodeContinuously(t,e),[2]}}))}))},t.prototype.isImageLoaded=function(t){return!!t.complete&&0!==t.naturalWidth},t.prototype.prepareImageElement=function(t){var e;return void 0===t&&((e=document.createElement("img")).width=200,e.height=200),"string"==typeof t&&(e=this.getMediaElement(t,"img")),t instanceof HTMLImageElement&&(e=t),e},t.prototype.prepareVideoElement=function(t){var e;return t||"undefined"==typeof document||((e=document.createElement("video")).width=200,e.height=200),"string"==typeof t&&(e=this.getMediaElement(t,"video")),t instanceof HTMLVideoElement&&(e=t),e.setAttribute("autoplay","true"),e.setAttribute("muted","true"),e.setAttribute("playsinline","true"),e},t.prototype.decodeOnce=function(t,e,r){var n=this;void 0===e&&(e=!0),void 0===r&&(r=!0),this._stopAsyncDecode=!1;var o=function(a,c){if(n._stopAsyncDecode)return c(new s.a("Video stream has ended before any code could be detected.")),void(n._stopAsyncDecode=void 0);try{a(n.decode(t))}catch(t){var f=e&&t instanceof s.a,l=t instanceof i.a||t instanceof u.a;if(f||l&&r)return setTimeout(o,n._timeBetweenDecodingAttempts,a,c);c(t)}};return new Promise((function(t,e){return o(t,e)}))},t.prototype.decodeContinuously=function(t,e){var r=this;this._stopContinuousDecode=!1;var n=function(){if(r._stopContinuousDecode)r._stopContinuousDecode=void 0;else try{var o=r.decode(t);e(o,null),setTimeout(n,r.timeBetweenScansMillis)}catch(t){e(null,t);var a=t instanceof i.a||t instanceof u.a,c=t instanceof s.a;(a||c)&&setTimeout(n,r._timeBetweenDecodingAttempts)}};n()},t.prototype.decode=function(t){var e=this.createBinaryBitmap(t);return this.decodeBitmap(e)},t.prototype._isHTMLVideoElement=function(t){return 0!==t.videoWidth},t.prototype.createBinaryBitmap=function(t){this.getCaptureCanvasContext(t);this._isHTMLVideoElement(t)?this.drawFrameOnCanvas(t):this.drawImageOnCanvas(t);var e=this.getCaptureCanvas(t),r=new c.a(e),n=new a.a(r);return new o.a(n)},t.prototype.getCaptureCanvasContext=function(t){if(!this.captureCanvasContext){var e=this.getCaptureCanvas(t),r=void 0;try{r=e.getContext("2d",{willReadFrequently:!0})}catch(t){r=e.getContext("2d")}this.captureCanvasContext=r}return this.captureCanvasContext},t.prototype.getCaptureCanvas=function(t){if(!this.captureCanvas){var e=this.createCaptureCanvas(t);this.captureCanvas=e}return this.captureCanvas},t.prototype.drawFrameOnCanvas=function(t,e,r){void 0===e&&(e={sx:0,sy:0,sWidth:t.videoWidth,sHeight:t.videoHeight,dx:0,dy:0,dWidth:t.videoWidth,dHeight:t.videoHeight}),void 0===r&&(r=this.captureCanvasContext),r.drawImage(t,e.sx,e.sy,e.sWidth,e.sHeight,e.dx,e.dy,e.dWidth,e.dHeight)},t.prototype.drawImageOnCanvas=function(t,e,r){void 0===e&&(e={sx:0,sy:0,sWidth:t.naturalWidth,sHeight:t.naturalHeight,dx:0,dy:0,dWidth:t.naturalWidth,dHeight:t.naturalHeight}),void 0===r&&(r=this.captureCanvasContext),r.drawImage(t,e.sx,e.sy,e.sWidth,e.sHeight,e.dx,e.dy,e.dWidth,e.dHeight)},t.prototype.decodeBitmap=function(t){return this.reader.decode(t,this._hints)},t.prototype.createCaptureCanvas=function(t){if("undefined"==typeof document)return this._destroyCaptureCanvas(),null;var e,r,n=document.createElement("canvas");return void 0!==t&&(t instanceof HTMLVideoElement?(e=t.videoWidth,r=t.videoHeight):t instanceof HTMLImageElement&&(e=t.naturalWidth||t.width,r=t.naturalHeight||t.height)),n.style.width=e+"px",n.style.height=r+"px",n.width=e,n.height=r,n},t.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach((function(t){return t.stop()})),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()},t.prototype.reset=function(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()},t.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)},t.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)},t.prototype._destroyCaptureCanvas=function(){this.captureCanvasContext=void 0,this.captureCanvas=void 0},t.prototype.addVideoSource=function(t,e){try{t.srcObject=e}catch(r){t.src=URL.createObjectURL(e)}},t.prototype.cleanVideoSource=function(t){try{t.srcObject=null}catch(e){t.src=""}this.videoElement.removeAttribute("src")},t}()},function(t,e,r){var n=r(628),o=r(368);t.exports=function(t){return n(o(t))}},function(t,e,r){"use strict";var n=r(396),o=r(181),i=r(72),a=function(){function t(t,e){if(0===e.length)throw new i.a;this.field=t;var r=e.length;if(r>1&&0===e[0]){for(var n=1;n<r&&0===e[n];)n++;n===r?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(r-n),o.a.arraycopy(e,n,this.coefficients,0,this.coefficients.length))}else this.coefficients=e}return t.prototype.getCoefficients=function(){return this.coefficients},t.prototype.getDegree=function(){return this.coefficients.length-1},t.prototype.isZero=function(){return 0===this.coefficients[0]},t.prototype.getCoefficient=function(t){return this.coefficients[this.coefficients.length-1-t]},t.prototype.evaluateAt=function(t){if(0===t)return this.getCoefficient(0);var e,r=this.coefficients;if(1===t){e=0;for(var o=0,i=r.length;o!==i;o++){var a=r[o];e=n.a.addOrSubtract(e,a)}return e}e=r[0];var u=r.length,s=this.field;for(o=1;o<u;o++)e=n.a.addOrSubtract(s.multiply(t,e),r[o]);return e},t.prototype.addOrSubtract=function(e){if(!this.field.equals(e.field))throw new i.a("GenericGFPolys do not have same GenericGF field");if(this.isZero())return e;if(e.isZero())return this;var r=this.coefficients,a=e.coefficients;if(r.length>a.length){var u=r;r=a,a=u}var s=new Int32Array(a.length),c=a.length-r.length;o.a.arraycopy(a,0,s,0,c);for(var f=c;f<a.length;f++)s[f]=n.a.addOrSubtract(r[f-c],a[f]);return new t(this.field,s)},t.prototype.multiply=function(e){if(!this.field.equals(e.field))throw new i.a("GenericGFPolys do not have same GenericGF field");if(this.isZero()||e.isZero())return this.field.getZero();for(var r=this.coefficients,o=r.length,a=e.coefficients,u=a.length,s=new Int32Array(o+u-1),c=this.field,f=0;f<o;f++)for(var l=r[f],h=0;h<u;h++)s[f+h]=n.a.addOrSubtract(s[f+h],c.multiply(l,a[h]));return new t(c,s)},t.prototype.multiplyScalar=function(e){if(0===e)return this.field.getZero();if(1===e)return this;for(var r=this.coefficients.length,n=this.field,o=new Int32Array(r),i=this.coefficients,a=0;a<r;a++)o[a]=n.multiply(i[a],e);return new t(n,o)},t.prototype.multiplyByMonomial=function(e,r){if(e<0)throw new i.a;if(0===r)return this.field.getZero();for(var n=this.coefficients,o=n.length,a=new Int32Array(o+e),u=this.field,s=0;s<o;s++)a[s]=u.multiply(n[s],r);return new t(u,a)},t.prototype.divide=function(t){if(!this.field.equals(t.field))throw new i.a("GenericGFPolys do not have same GenericGF field");if(t.isZero())throw new i.a("Divide by 0");for(var e=this.field,r=e.getZero(),n=this,o=t.getCoefficient(t.getDegree()),a=e.inverse(o);n.getDegree()>=t.getDegree()&&!n.isZero();){var u=n.getDegree()-t.getDegree(),s=e.multiply(n.getCoefficient(n.getDegree()),a),c=t.multiplyByMonomial(u,s),f=e.buildMonomial(u,s);r=r.addOrSubtract(f),n=n.addOrSubtract(c)}return[r,n]},t.prototype.toString=function(){for(var t="",e=this.getDegree();e>=0;e--){var r=this.getCoefficient(e);if(0!==r){if(r<0?(t+=" - ",r=-r):t.length>0&&(t+=" + "),0===e||1!==r){var n=this.field.log(r);0===n?t+="1":1===n?t+="a":(t+="a^",t+=n)}0!==e&&(1===e?t+="x":(t+="x^",t+=e))}}return t},t}();e.a=a},function(t,e,r){"use strict";var n=r(271),o=r(402),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];this.ecCodewordsPerBlock=t,this.ecBlocks=e}return t.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},t.prototype.getNumBlocks=function(){var t,e,r=0,n=this.ecBlocks;try{for(var o=i(n),a=o.next();!a.done;a=o.next()){r+=a.value.getCount()}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return r},t.prototype.getTotalECCodewords=function(){return this.ecCodewordsPerBlock*this.getNumBlocks()},t.prototype.getECBlocks=function(){return this.ecBlocks},t}(),u=function(){function t(t,e){this.count=t,this.dataCodewords=e}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t}(),s=r(62),c=r(72),f=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.")},l=function(){function t(t,e){for(var r,n,o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];this.versionNumber=t,this.alignmentPatternCenters=e,this.ecBlocks=o;var a=0,u=o[0].getECCodewordsPerBlock(),s=o[0].getECBlocks();try{for(var c=f(s),l=c.next();!l.done;l=c.next()){var h=l.value;a+=h.getCount()*(h.getDataCodewords()+u)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}this.totalCodewords=a}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getAlignmentPatternCenters=function(){return this.alignmentPatternCenters},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getDimensionForVersion=function(){return 17+4*this.versionNumber},t.prototype.getECBlocksForLevel=function(t){return this.ecBlocks[t.getValue()]},t.getProvisionalVersionForDimension=function(t){if(t%4!=1)throw new s.a;try{return this.getVersionForNumber((t-17)/4)}catch(t){throw new s.a}},t.getVersionForNumber=function(e){if(e<1||e>40)throw new c.a;return t.VERSIONS[e-1]},t.decodeVersionInformation=function(e){for(var r=Number.MAX_SAFE_INTEGER,n=0,i=0;i<t.VERSION_DECODE_INFO.length;i++){var a=t.VERSION_DECODE_INFO[i];if(a===e)return t.getVersionForNumber(i+7);var u=o.a.numBitsDiffering(e,a);u<r&&(n=i+7,r=u)}return r<=3?t.getVersionForNumber(n):null},t.prototype.buildFunctionPattern=function(){var t=this.getDimensionForVersion(),e=new n.a(t);e.setRegion(0,0,9,9),e.setRegion(t-8,0,8,9),e.setRegion(0,t-8,9,8);for(var r=this.alignmentPatternCenters.length,o=0;o<r;o++)for(var i=this.alignmentPatternCenters[o]-2,a=0;a<r;a++)0===o&&(0===a||a===r-1)||o===r-1&&0===a||e.setRegion(this.alignmentPatternCenters[a]-2,i,5,5);return e.setRegion(6,9,1,t-17),e.setRegion(9,6,t-17,1),this.versionNumber>6&&(e.setRegion(t-11,0,3,6),e.setRegion(0,t-11,6,3)),e},t.prototype.toString=function(){return""+this.versionNumber},t.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),t.VERSIONS=[new t(1,new Int32Array(0),new a(7,new u(1,19)),new a(10,new u(1,16)),new a(13,new u(1,13)),new a(17,new u(1,9))),new t(2,Int32Array.from([6,18]),new a(10,new u(1,34)),new a(16,new u(1,28)),new a(22,new u(1,22)),new a(28,new u(1,16))),new t(3,Int32Array.from([6,22]),new a(15,new u(1,55)),new a(26,new u(1,44)),new a(18,new u(2,17)),new a(22,new u(2,13))),new t(4,Int32Array.from([6,26]),new a(20,new u(1,80)),new a(18,new u(2,32)),new a(26,new u(2,24)),new a(16,new u(4,9))),new t(5,Int32Array.from([6,30]),new a(26,new u(1,108)),new a(24,new u(2,43)),new a(18,new u(2,15),new u(2,16)),new a(22,new u(2,11),new u(2,12))),new t(6,Int32Array.from([6,34]),new a(18,new u(2,68)),new a(16,new u(4,27)),new a(24,new u(4,19)),new a(28,new u(4,15))),new t(7,Int32Array.from([6,22,38]),new a(20,new u(2,78)),new a(18,new u(4,31)),new a(18,new u(2,14),new u(4,15)),new a(26,new u(4,13),new u(1,14))),new t(8,Int32Array.from([6,24,42]),new a(24,new u(2,97)),new a(22,new u(2,38),new u(2,39)),new a(22,new u(4,18),new u(2,19)),new a(26,new u(4,14),new u(2,15))),new t(9,Int32Array.from([6,26,46]),new a(30,new u(2,116)),new a(22,new u(3,36),new u(2,37)),new a(20,new u(4,16),new u(4,17)),new a(24,new u(4,12),new u(4,13))),new t(10,Int32Array.from([6,28,50]),new a(18,new u(2,68),new u(2,69)),new a(26,new u(4,43),new u(1,44)),new a(24,new u(6,19),new u(2,20)),new a(28,new u(6,15),new u(2,16))),new t(11,Int32Array.from([6,30,54]),new a(20,new u(4,81)),new a(30,new u(1,50),new u(4,51)),new a(28,new u(4,22),new u(4,23)),new a(24,new u(3,12),new u(8,13))),new t(12,Int32Array.from([6,32,58]),new a(24,new u(2,92),new u(2,93)),new a(22,new u(6,36),new u(2,37)),new a(26,new u(4,20),new u(6,21)),new a(28,new u(7,14),new u(4,15))),new t(13,Int32Array.from([6,34,62]),new a(26,new u(4,107)),new a(22,new u(8,37),new u(1,38)),new a(24,new u(8,20),new u(4,21)),new a(22,new u(12,11),new u(4,12))),new t(14,Int32Array.from([6,26,46,66]),new a(30,new u(3,115),new u(1,116)),new a(24,new u(4,40),new u(5,41)),new a(20,new u(11,16),new u(5,17)),new a(24,new u(11,12),new u(5,13))),new t(15,Int32Array.from([6,26,48,70]),new a(22,new u(5,87),new u(1,88)),new a(24,new u(5,41),new u(5,42)),new a(30,new u(5,24),new u(7,25)),new a(24,new u(11,12),new u(7,13))),new t(16,Int32Array.from([6,26,50,74]),new a(24,new u(5,98),new u(1,99)),new a(28,new u(7,45),new u(3,46)),new a(24,new u(15,19),new u(2,20)),new a(30,new u(3,15),new u(13,16))),new t(17,Int32Array.from([6,30,54,78]),new a(28,new u(1,107),new u(5,108)),new a(28,new u(10,46),new u(1,47)),new a(28,new u(1,22),new u(15,23)),new a(28,new u(2,14),new u(17,15))),new t(18,Int32Array.from([6,30,56,82]),new a(30,new u(5,120),new u(1,121)),new a(26,new u(9,43),new u(4,44)),new a(28,new u(17,22),new u(1,23)),new a(28,new u(2,14),new u(19,15))),new t(19,Int32Array.from([6,30,58,86]),new a(28,new u(3,113),new u(4,114)),new a(26,new u(3,44),new u(11,45)),new a(26,new u(17,21),new u(4,22)),new a(26,new u(9,13),new u(16,14))),new t(20,Int32Array.from([6,34,62,90]),new a(28,new u(3,107),new u(5,108)),new a(26,new u(3,41),new u(13,42)),new a(30,new u(15,24),new u(5,25)),new a(28,new u(15,15),new u(10,16))),new t(21,Int32Array.from([6,28,50,72,94]),new a(28,new u(4,116),new u(4,117)),new a(26,new u(17,42)),new a(28,new u(17,22),new u(6,23)),new a(30,new u(19,16),new u(6,17))),new t(22,Int32Array.from([6,26,50,74,98]),new a(28,new u(2,111),new u(7,112)),new a(28,new u(17,46)),new a(30,new u(7,24),new u(16,25)),new a(24,new u(34,13))),new t(23,Int32Array.from([6,30,54,78,102]),new a(30,new u(4,121),new u(5,122)),new a(28,new u(4,47),new u(14,48)),new a(30,new u(11,24),new u(14,25)),new a(30,new u(16,15),new u(14,16))),new t(24,Int32Array.from([6,28,54,80,106]),new a(30,new u(6,117),new u(4,118)),new a(28,new u(6,45),new u(14,46)),new a(30,new u(11,24),new u(16,25)),new a(30,new u(30,16),new u(2,17))),new t(25,Int32Array.from([6,32,58,84,110]),new a(26,new u(8,106),new u(4,107)),new a(28,new u(8,47),new u(13,48)),new a(30,new u(7,24),new u(22,25)),new a(30,new u(22,15),new u(13,16))),new t(26,Int32Array.from([6,30,58,86,114]),new a(28,new u(10,114),new u(2,115)),new a(28,new u(19,46),new u(4,47)),new a(28,new u(28,22),new u(6,23)),new a(30,new u(33,16),new u(4,17))),new t(27,Int32Array.from([6,34,62,90,118]),new a(30,new u(8,122),new u(4,123)),new a(28,new u(22,45),new u(3,46)),new a(30,new u(8,23),new u(26,24)),new a(30,new u(12,15),new u(28,16))),new t(28,Int32Array.from([6,26,50,74,98,122]),new a(30,new u(3,117),new u(10,118)),new a(28,new u(3,45),new u(23,46)),new a(30,new u(4,24),new u(31,25)),new a(30,new u(11,15),new u(31,16))),new t(29,Int32Array.from([6,30,54,78,102,126]),new a(30,new u(7,116),new u(7,117)),new a(28,new u(21,45),new u(7,46)),new a(30,new u(1,23),new u(37,24)),new a(30,new u(19,15),new u(26,16))),new t(30,Int32Array.from([6,26,52,78,104,130]),new a(30,new u(5,115),new u(10,116)),new a(28,new u(19,47),new u(10,48)),new a(30,new u(15,24),new u(25,25)),new a(30,new u(23,15),new u(25,16))),new t(31,Int32Array.from([6,30,56,82,108,134]),new a(30,new u(13,115),new u(3,116)),new a(28,new u(2,46),new u(29,47)),new a(30,new u(42,24),new u(1,25)),new a(30,new u(23,15),new u(28,16))),new t(32,Int32Array.from([6,34,60,86,112,138]),new a(30,new u(17,115)),new a(28,new u(10,46),new u(23,47)),new a(30,new u(10,24),new u(35,25)),new a(30,new u(19,15),new u(35,16))),new t(33,Int32Array.from([6,30,58,86,114,142]),new a(30,new u(17,115),new u(1,116)),new a(28,new u(14,46),new u(21,47)),new a(30,new u(29,24),new u(19,25)),new a(30,new u(11,15),new u(46,16))),new t(34,Int32Array.from([6,34,62,90,118,146]),new a(30,new u(13,115),new u(6,116)),new a(28,new u(14,46),new u(23,47)),new a(30,new u(44,24),new u(7,25)),new a(30,new u(59,16),new u(1,17))),new t(35,Int32Array.from([6,30,54,78,102,126,150]),new a(30,new u(12,121),new u(7,122)),new a(28,new u(12,47),new u(26,48)),new a(30,new u(39,24),new u(14,25)),new a(30,new u(22,15),new u(41,16))),new t(36,Int32Array.from([6,24,50,76,102,128,154]),new a(30,new u(6,121),new u(14,122)),new a(28,new u(6,47),new u(34,48)),new a(30,new u(46,24),new u(10,25)),new a(30,new u(2,15),new u(64,16))),new t(37,Int32Array.from([6,28,54,80,106,132,158]),new a(30,new u(17,122),new u(4,123)),new a(28,new u(29,46),new u(14,47)),new a(30,new u(49,24),new u(10,25)),new a(30,new u(24,15),new u(46,16))),new t(38,Int32Array.from([6,32,58,84,110,136,162]),new a(30,new u(4,122),new u(18,123)),new a(28,new u(13,46),new u(32,47)),new a(30,new u(48,24),new u(14,25)),new a(30,new u(42,15),new u(32,16))),new t(39,Int32Array.from([6,26,54,82,110,138,166]),new a(30,new u(20,117),new u(4,118)),new a(28,new u(40,47),new u(7,48)),new a(30,new u(43,24),new u(22,25)),new a(30,new u(10,15),new u(67,16))),new t(40,Int32Array.from([6,30,58,86,114,142,170]),new a(30,new u(19,118),new u(6,119)),new a(28,new u(18,47),new u(31,48)),new a(30,new u(34,24),new u(34,25)),new a(30,new u(20,15),new u(61,16)))],t}();e.a=l},,,,,function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(327);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=!0},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports={}},,function(t,e,r){"use strict";var n=r(146),o=r(359),i=function(){function t(t,e){this.width=t,this.height=e}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,e,r,n){throw new o.a("This luminance source does not support cropping.")},t.prototype.isRotateSupported=function(){return!1},t.prototype.rotateCounterClockwise=function(){throw new o.a("This luminance source does not support rotation by 90 degrees.")},t.prototype.rotateCounterClockwise45=function(){throw new o.a("This luminance source does not support rotation by 45 degrees.")},t.prototype.toString=function(){for(var t=new Uint8ClampedArray(this.width),e=new n.a,r=0;r<this.height;r++){for(var o=this.getRow(r,t),i=0;i<this.width;i++){var a=255&o[i],u=void 0;u=a<64?"#":a<128?"+":a<192?".":" ",e.append(u)}e.append("\n")}return e.toString()},t}();e.a=i},function(t,e,r){"use strict";var n=function(){function t(t,e,r,n,o,i){void 0===o&&(o=-1),void 0===i&&(i=-1),this.rawBytes=t,this.text=e,this.byteSegments=r,this.ecLevel=n,this.structuredAppendSequenceNumber=o,this.structuredAppendParity=i,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.a=n},function(t,e,r){"use strict";var n=r(276),o=r(303),i=r(383),a=r(289),u=function(){function t(t){this.field=t}return t.prototype.decode=function(t,e){for(var r=this.field,a=new o.a(r,t),u=new Int32Array(e),s=!0,c=0;c<e;c++){var f=a.evaluateAt(r.exp(c+r.getGeneratorBase()));u[u.length-1-c]=f,0!==f&&(s=!1)}if(!s){var l=new o.a(r,u),h=this.runEuclideanAlgorithm(r.buildMonomial(e,1),l,e),d=h[0],p=h[1],y=this.findErrorLocations(d),g=this.findErrorMagnitudes(p,y);for(c=0;c<y.length;c++){var v=t.length-1-r.log(y[c]);if(v<0)throw new i.a("Bad error location");t[v]=n.a.addOrSubtract(t[v],g[c])}}},t.prototype.runEuclideanAlgorithm=function(t,e,r){if(t.getDegree()<e.getDegree()){var n=t;t=e,e=n}for(var o=this.field,u=t,s=e,c=o.getZero(),f=o.getOne();s.getDegree()>=(r/2|0);){var l=u,h=c;if(c=f,(u=s).isZero())throw new i.a("r_{i-1} was zero");s=l;for(var d=o.getZero(),p=u.getCoefficient(u.getDegree()),y=o.inverse(p);s.getDegree()>=u.getDegree()&&!s.isZero();){var g=s.getDegree()-u.getDegree(),v=o.multiply(s.getCoefficient(s.getDegree()),y);d=d.addOrSubtract(o.buildMonomial(g,v)),s=s.addOrSubtract(u.multiplyByMonomial(g,v))}if(f=d.multiply(c).addOrSubtract(h),s.getDegree()>=u.getDegree())throw new a.a("Division algorithm failed to reduce polynomial?")}var w=f.getCoefficient(0);if(0===w)throw new i.a("sigmaTilde(0) was zero");var _=o.inverse(w);return[f.multiplyScalar(_),s.multiplyScalar(_)]},t.prototype.findErrorLocations=function(t){var e=t.getDegree();if(1===e)return Int32Array.from([t.getCoefficient(1)]);for(var r=new Int32Array(e),n=0,o=this.field,a=1;a<o.getSize()&&n<e;a++)0===t.evaluateAt(a)&&(r[n]=o.inverse(a),n++);if(n!==e)throw new i.a("Error locator degree does not match number of roots");return r},t.prototype.findErrorMagnitudes=function(t,e){for(var r=e.length,n=new Int32Array(r),o=this.field,i=0;i<r;i++){for(var a=o.inverse(e[i]),u=1,s=0;s<r;s++)if(i!==s){var c=o.multiply(e[s],a),f=0==(1&c)?1|c:-2&c;u=o.multiply(u,f)}n[i]=o.multiply(t.evaluateAt(a),o.inverse(u)),0!==o.getGeneratorBase()&&(n[i]=o.multiply(n[i],a))}return n},t}();e.a=u},function(t,e,r){"use strict";var n,o=r(298),i=r(72);!function(t){t[t.L=0]="L",t[t.M=1]="M",t[t.Q=2]="Q",t[t.H=3]="H"}(n||(n={}));var a=function(){function t(e,r,n){this.value=e,this.stringValue=r,this.bits=n,t.FOR_BITS.set(n,this),t.FOR_VALUE.set(e,this)}return t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.fromString=function(e){switch(e){case"L":return t.L;case"M":return t.M;case"Q":return t.Q;case"H":return t.H;default:throw new o.a(e+"not available")}},t.prototype.toString=function(){return this.stringValue},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.value===r.value},t.forBits=function(e){if(e<0||e>=t.FOR_BITS.size)throw new i.a;return t.FOR_BITS.get(e)},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.L=new t(n.L,"L",1),t.M=new t(n.M,"M",0),t.Q=new t(n.Q,"Q",3),t.H=new t(n.H,"H",2),t}();e.a=a},,,,,,,,,function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e,r){var n=r(291).f,o=r(295),i=r(268)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n,o=r(315),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(e){var r=t.call(this,e.getWidth(),e.getHeight())||this;return r.delegate=e,r}return i(e,t),e.prototype.getRow=function(t,e){for(var r=this.delegate.getRow(t,e),n=this.getWidth(),o=0;o<n;o++)r[o]=255-(255&r[o]);return r},e.prototype.getMatrix=function(){for(var t=this.delegate.getMatrix(),e=this.getWidth()*this.getHeight(),r=new Uint8ClampedArray(e),n=0;n<e;n++)r[n]=255-(255&t[n]);return r},e.prototype.isCropSupported=function(){return this.delegate.isCropSupported()},e.prototype.crop=function(t,r,n,o){return new e(this.delegate.crop(t,r,n,o))},e.prototype.isRotateSupported=function(){return this.delegate.isRotateSupported()},e.prototype.invert=function(){return this.delegate},e.prototype.rotateCounterClockwise=function(){return new e(this.delegate.rotateCounterClockwise())},e.prototype.rotateCounterClockwise45=function(){return new e(this.delegate.rotateCounterClockwise45())},e}(o.a);e.a=a},function(t,e,r){"use strict";var n=r(72),o=function(){function t(){}return t.applyMaskPenaltyRule1=function(e){return t.applyMaskPenaltyRule1Internal(e,!0)+t.applyMaskPenaltyRule1Internal(e,!1)},t.applyMaskPenaltyRule2=function(e){for(var r=0,n=e.getArray(),o=e.getWidth(),i=e.getHeight(),a=0;a<i-1;a++)for(var u=n[a],s=0;s<o-1;s++){var c=u[s];c===u[s+1]&&c===n[a+1][s]&&c===n[a+1][s+1]&&r++}return t.N2*r},t.applyMaskPenaltyRule3=function(e){for(var r=0,n=e.getArray(),o=e.getWidth(),i=e.getHeight(),a=0;a<i;a++)for(var u=0;u<o;u++){var s=n[a];u+6<o&&1===s[u]&&0===s[u+1]&&1===s[u+2]&&1===s[u+3]&&1===s[u+4]&&0===s[u+5]&&1===s[u+6]&&(t.isWhiteHorizontal(s,u-4,u)||t.isWhiteHorizontal(s,u+7,u+11))&&r++,a+6<i&&1===n[a][u]&&0===n[a+1][u]&&1===n[a+2][u]&&1===n[a+3][u]&&1===n[a+4][u]&&0===n[a+5][u]&&1===n[a+6][u]&&(t.isWhiteVertical(n,u,a-4,a)||t.isWhiteVertical(n,u,a+7,a+11))&&r++}return r*t.N3},t.isWhiteHorizontal=function(t,e,r){e=Math.max(e,0),r=Math.min(r,t.length);for(var n=e;n<r;n++)if(1===t[n])return!1;return!0},t.isWhiteVertical=function(t,e,r,n){r=Math.max(r,0),n=Math.min(n,t.length);for(var o=r;o<n;o++)if(1===t[o][e])return!1;return!0},t.applyMaskPenaltyRule4=function(e){for(var r=0,n=e.getArray(),o=e.getWidth(),i=e.getHeight(),a=0;a<i;a++)for(var u=n[a],s=0;s<o;s++)1===u[s]&&r++;var c=e.getHeight()*e.getWidth();return Math.floor(10*Math.abs(2*r-c)/c)*t.N4},t.getDataMaskBit=function(t,e,r){var o,i;switch(t){case 0:o=r+e&1;break;case 1:o=1&r;break;case 2:o=e%3;break;case 3:o=(r+e)%3;break;case 4:o=Math.floor(r/2)+Math.floor(e/3)&1;break;case 5:o=(1&(i=r*e))+i%3;break;case 6:o=(1&(i=r*e))+i%3&1;break;case 7:o=(i=r*e)%3+(r+e&1)&1;break;default:throw new n.a("Invalid mask pattern: "+t)}return 0===o},t.applyMaskPenaltyRule1Internal=function(e,r){for(var n=0,o=r?e.getHeight():e.getWidth(),i=r?e.getWidth():e.getHeight(),a=e.getArray(),u=0;u<o;u++){for(var s=0,c=-1,f=0;f<i;f++){var l=r?a[u][f]:a[f][u];l===c?s++:(s>=5&&(n+=t.N1+(s-5)),s=1,c=l)}s>=5&&(n+=t.N1+(s-5))}return n},t.N1=3,t.N2=3,t.N3=40,t.N4=10,t}();e.a=o},function(t,e,r){"use strict";var n,o=r(84),i=r(193),a=r(28),u=r(445),s=r(446),c=r(447),f=r(258),l=r(270),h=r(378),d=r(277),p=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),y=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.")},g=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return p(e,t),e.prototype.decodeMiddle=function(t,e,r){var n,o,i,a,u=this.decodeMiddleCounters;u[0]=0,u[1]=0,u[2]=0,u[3]=0;for(var s=t.getSize(),c=e[1],f=0;f<4&&c<s;f++){var l=d.a.decodeDigit(t,u,c,d.a.L_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+l);try{for(var h=(n=void 0,y(u)),p=h.next();!p.done;p=h.next()){c+=p.value}}catch(t){n={error:t}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}}c=d.a.findGuardPattern(t,c,!0,d.a.MIDDLE_PATTERN,new Int32Array(d.a.MIDDLE_PATTERN.length).fill(0))[1];for(f=0;f<4&&c<s;f++){l=d.a.decodeDigit(t,u,c,d.a.L_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+l);try{for(var g=(i=void 0,y(u)),v=g.next();!v.done;v=g.next()){c+=v.value}}catch(t){i={error:t}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}}return{rowOffset:c,resultString:r}},e.prototype.getBarcodeFormat=function(){return o.a.EAN_8},e}(d.a),v=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),w=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ean13Reader=new h.a,e}return v(e,t),e.prototype.getBarcodeFormat=function(){return o.a.UPC_A},e.prototype.decode=function(t,e){return this.maybeReturnResult(this.ean13Reader.decode(t))},e.prototype.decodeRow=function(t,e,r){return this.maybeReturnResult(this.ean13Reader.decodeRow(t,e,r))},e.prototype.decodeMiddle=function(t,e,r){return this.ean13Reader.decodeMiddle(t,e,r)},e.prototype.maybeReturnResult=function(t){var e=t.getText();if("0"===e.charAt(0)){var r=new f.a(e.substring(1),null,null,t.getResultPoints(),o.a.UPC_A);return null!=t.getResultMetadata()&&r.putAllMetadata(t.getResultMetadata()),r}throw new a.a},e.prototype.reset=function(){this.ean13Reader.reset()},e}(d.a),_=r(146),m=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),A=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.")},E=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=new Int32Array(4),e}return m(e,t),e.prototype.decodeMiddle=function(t,r,n){var o,i,a=this.decodeMiddleCounters.map((function(t){return t}));a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var u=t.getSize(),s=r[1],c=0,f=0;f<6&&s<u;f++){var l=e.decodeDigit(t,a,s,e.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+l%10);try{for(var h=(o=void 0,A(a)),d=h.next();!d.done;d=h.next()){s+=d.value}}catch(t){o={error:t}}finally{try{d&&!d.done&&(i=h.return)&&i.call(h)}finally{if(o)throw o.error}}l>=10&&(c|=1<<5-f)}return e.determineNumSysAndCheckDigit(new _.a(n),c),s},e.prototype.decodeEnd=function(t,r){return e.findGuardPatternWithoutCounters(t,r,!0,e.MIDDLE_END_PATTERN)},e.prototype.checkChecksum=function(t){return d.a.checkChecksum(e.convertUPCEtoUPCA(t))},e.determineNumSysAndCheckDigit=function(t,e){for(var r=0;r<=1;r++)for(var n=0;n<10;n++)if(e===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[r][n])return t.insert(0,"0"+r),void t.append("0"+n);throw a.a.getNotFoundInstance()},e.prototype.getBarcodeFormat=function(){return o.a.UPC_E},e.convertUPCEtoUPCA=function(t){var e=t.slice(1,7).split("").map((function(t){return t.charCodeAt(0)})),r=new _.a;r.append(t.charAt(0));var n=e[5];switch(n){case 0:case 1:case 2:r.appendChars(e,0,2),r.append(n),r.append("0000"),r.appendChars(e,2,3);break;case 3:r.appendChars(e,0,3),r.append("00000"),r.appendChars(e,3,2);break;case 4:r.appendChars(e,0,4),r.append("00000"),r.append(e[4]);break;default:r.appendChars(e,0,5),r.append("0000"),r.append(n)}return t.length>=8&&r.append(t.charAt(7)),r.toString()},e.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,1])],e}(d.a),C=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),I=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.")},S=function(t){function e(e){var r=t.call(this)||this,n=null==e?null:e.get(i.a.POSSIBLE_FORMATS),a=[];return null!=n&&(n.indexOf(o.a.EAN_13)>-1&&a.push(new h.a),n.indexOf(o.a.UPC_A)>-1&&a.push(new w),n.indexOf(o.a.EAN_8)>-1&&a.push(new g),n.indexOf(o.a.UPC_E)>-1&&a.push(new E)),0===a.length&&(a.push(new h.a),a.push(new w),a.push(new g),a.push(new E)),r.readers=a,r}return C(e,t),e.prototype.decodeRow=function(t,e,r){var n,u;try{for(var s=I(this.readers),c=s.next();!c.done;c=s.next()){var l=c.value;try{var h=l.decodeRow(t,e,r),d=h.getBarcodeFormat()===o.a.EAN_13&&"0"===h.getText().charAt(0),p=null==r?null:r.get(i.a.POSSIBLE_FORMATS),y=null==p||p.includes(o.a.UPC_A);if(d&&y){var g=h.getRawBytes(),v=new f.a(h.getText().substring(1),g,g?g.length:null,h.getResultPoints(),o.a.UPC_A);return v.putAllMetadata(h.getResultMetadata()),v}return h}catch(t){}}}catch(t){n={error:t}}finally{try{c&&!c.done&&(u=s.return)&&u.call(s)}finally{if(n)throw n.error}}throw new a.a},e.prototype.reset=function(){var t,e;try{for(var r=I(this.readers),n=r.next();!n.done;n=r.next()){n.value.reset()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},e}(l.a),b=r(582),O=r(451),T=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),R=function(t){function e(e){var r=t.call(this)||this;r.readers=[];var n=e?e.get(i.a.POSSIBLE_FORMATS):null,a=e&&void 0!==e.get(i.a.ASSUME_CODE_39_CHECK_DIGIT);return n&&((n.includes(o.a.EAN_13)||n.includes(o.a.UPC_A)||n.includes(o.a.EAN_8)||n.includes(o.a.UPC_E))&&r.readers.push(new S(e)),n.includes(o.a.CODE_39)&&r.readers.push(new s.a(a)),n.includes(o.a.CODE_128)&&r.readers.push(new u.a),n.includes(o.a.ITF)&&r.readers.push(new c.a),n.includes(o.a.RSS_14)&&r.readers.push(new O.a),n.includes(o.a.RSS_EXPANDED)&&(console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."),r.readers.push(new b.a))),0===r.readers.length&&(r.readers.push(new S(e)),r.readers.push(new s.a),r.readers.push(new S(e)),r.readers.push(new u.a),r.readers.push(new c.a),r.readers.push(new O.a)),r}return T(e,t),e.prototype.decodeRow=function(t,e,r){for(var n=0;n<this.readers.length;n++)try{return this.readers[n].decodeRow(t,e,r)}catch(t){}throw new a.a},e.prototype.reset=function(){this.readers.forEach((function(t){return t.reset()}))},e}(l.a);e.a=R},function(t,e,r){"use strict";var n,o=r(182),i=r(28),a=r(270),u=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),s=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.")},c=function(t){function e(){var e=t.call(this)||this;return e.decodeFinderCounters=new Int32Array(4),e.dataCharacterCounters=new Int32Array(8),e.oddRoundingErrors=new Array(4),e.evenRoundingErrors=new Array(4),e.oddCounts=new Array(e.dataCharacterCounters.length/2),e.evenCounts=new Array(e.dataCharacterCounters.length/2),e}return u(e,t),e.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},e.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},e.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},e.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},e.prototype.getOddCounts=function(){return this.oddCounts},e.prototype.getEvenCounts=function(){return this.evenCounts},e.prototype.parseFinderValue=function(t,r){for(var n=0;n<r.length;n++)if(a.a.patternMatchVariance(t,r[n],e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return n;throw new i.a},e.count=function(t){return o.a.sum(new Int32Array(t))},e.increment=function(t,e){for(var r=0,n=e[0],o=1;o<t.length;o++)e[o]>n&&(n=e[o],r=o);t[r]++},e.decrement=function(t,e){for(var r=0,n=e[0],o=1;o<t.length;o++)e[o]<n&&(n=e[o],r=o);t[r]--},e.isFinderPattern=function(t){var r,n,o=t[0]+t[1],i=o/(o+t[2]+t[3]);if(i>=e.MIN_FINDER_PATTERN_RATIO&&i<=e.MAX_FINDER_PATTERN_RATIO){var a=Number.MAX_SAFE_INTEGER,u=Number.MIN_SAFE_INTEGER;try{for(var c=s(t),f=c.next();!f.done;f=c.next()){var l=f.value;l>u&&(u=l),l<a&&(a=l)}}catch(t){r={error:t}}finally{try{f&&!f.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return u<10*a}return!1},e.MAX_AVG_VARIANCE=.2,e.MAX_INDIVIDUAL_VARIANCE=.45,e.MIN_FINDER_PATTERN_RATIO=9.5/12,e.MAX_FINDER_PATTERN_RATIO=12.5/14,e}(a.a);e.a=c},,,function(t,e,r){"use strict";var n=function(){function t(t,e){this.bits=t,this.points=e}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t}();e.a=n},function(t,e,r){"use strict";var n=r(555),o=function(){function t(){}return t.setGridSampler=function(e){t.gridSampler=e},t.getInstance=function(){return t.gridSampler},t.gridSampler=new n.a,t}();e.a=o},function(t,e,r){"use strict";var n,o=r(259),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="UnsupportedOperationException",e}(o.a);e.a=a},function(t,e,r){"use strict";var n=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.")},o=function(){function t(){}return t.getRSSvalue=function(e,r,o){var i,a,u=0;try{for(var s=n(e),c=s.next();!c.done;c=s.next()){u+=c.value}}catch(t){i={error:t}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}for(var f=0,l=0,h=e.length,d=0;d<h-1;d++){var p=void 0;for(p=1,l|=1<<d;p<e[d];p++,l&=~(1<<d)){var y=t.combins(u-p-1,h-d-2);if(o&&0===l&&u-p-(h-d-1)>=h-d-1&&(y-=t.combins(u-p-(h-d),h-d-2)),h-d-1>1){for(var g=0,v=u-p-(h-d-2);v>r;v--)g+=t.combins(u-p-v-1,h-d-3);y-=g*(h-1-d)}else u-p>r&&y--;f+=y}u-=p}return f},t.combins=function(t,e){var r,n;t-e>e?(n=e,r=t-e):(n=t-e,r=e);for(var o=1,i=1,a=t;a>r;a--)o*=a,i<=n&&(o/=i,i++);for(;i<=n;)o/=i,i++;return o},t}();e.a=o},,function(t,e,r){var n=r(292),o=r(260).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,r){var n=r(292);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){var n=r(261),o=r(260),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(311)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){e.f=r(268)},function(t,e,r){var n=r(260),o=r(261),i=r(311),a=r(365),u=r(291).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},function(t,e,r){var n=r(427),o=r(371);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(364)("keys"),o=r(329);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,r){var n=r(368);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(285),o=r(632),i=r(371),a=r(370)("IE_PROTO"),u=function(){},s=function(){var t,e=r(362)("iframe"),n=i.length;for(e.style.display="none",r(430).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;n--;)delete s.prototype[i[n]];return s()};t.exports=Object.create||function(t,e){var r;return null!==t?(u.prototype=n(t),r=new u,u.prototype=null,r[a]=t):r=s(),void 0===e?r:o(r,e)}},function(t,e,r){"use strict";var n=r(327);function o(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)}t.exports.f=function(t){return new o(t)}},function(t,e,r){"use strict";var n=r(258),o=r(84),i=r(193),a=r(269),u=r(181),s=r(443),c=r(397),f=function(){function t(){}return t.prototype.decode=function(t,e){void 0===e&&(e=null);var r=null,i=new c.b(t.getBlackMatrix()),f=null,l=null;try{f=(h=i.detectMirror(!1)).getPoints(),this.reportFoundResultPoints(e,f),l=(new s.a).decode(h)}catch(t){r=t}if(null==l)try{var h;f=(h=i.detectMirror(!0)).getPoints(),this.reportFoundResultPoints(e,f),l=(new s.a).decode(h)}catch(t){if(null!=r)throw r;throw t}var d=new n.a(l.getText(),l.getRawBytes(),l.getNumBits(),f,o.a.AZTEC,u.a.currentTimeMillis()),p=l.getByteSegments();null!=p&&d.putMetadata(a.a.BYTE_SEGMENTS,p);var y=l.getECLevel();return null!=y&&d.putMetadata(a.a.ERROR_CORRECTION_LEVEL,y),d},t.prototype.reportFoundResultPoints=function(t,e){if(null!=t){var r=t.get(i.a.NEED_RESULT_POINT_CALLBACK);null!=r&&e.forEach((function(t,e,n){r.foundPossibleResultPoint(t)}))}},t.prototype.reset=function(){},t}();e.a=f},function(t,e,r){"use strict";var n=r(83),o=r(182),i=r(28),a=function(){function t(e,r,n,o){this.image=e,this.height=e.getHeight(),this.width=e.getWidth(),null==r&&(r=t.INIT_SIZE),null==n&&(n=e.getWidth()/2|0),null==o&&(o=e.getHeight()/2|0);var a=r/2|0;if(this.leftInit=n-a,this.rightInit=n+a,this.upInit=o-a,this.downInit=o+a,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new i.a}return t.prototype.detect=function(){for(var t=this.leftInit,e=this.rightInit,r=this.upInit,n=this.downInit,o=!1,a=!0,u=!1,s=!1,c=!1,f=!1,l=!1,h=this.width,d=this.height;a;){a=!1;for(var p=!0;(p||!s)&&e<h;)(p=this.containsBlackPoint(r,n,e,!1))?(e++,a=!0,s=!0):s||e++;if(e>=h){o=!0;break}for(var y=!0;(y||!c)&&n<d;)(y=this.containsBlackPoint(t,e,n,!0))?(n++,a=!0,c=!0):c||n++;if(n>=d){o=!0;break}for(var g=!0;(g||!f)&&t>=0;)(g=this.containsBlackPoint(r,n,t,!1))?(t--,a=!0,f=!0):f||t--;if(t<0){o=!0;break}for(var v=!0;(v||!l)&&r>=0;)(v=this.containsBlackPoint(t,e,r,!0))?(r--,a=!0,l=!0):l||r--;if(r<0){o=!0;break}a&&(u=!0)}if(!o&&u){for(var w=e-t,_=null,m=1;null===_&&m<w;m++)_=this.getBlackPointOnSegment(t,n-m,t+m,n);if(null==_)throw new i.a;var A=null;for(m=1;null===A&&m<w;m++)A=this.getBlackPointOnSegment(t,r+m,t+m,r);if(null==A)throw new i.a;var E=null;for(m=1;null===E&&m<w;m++)E=this.getBlackPointOnSegment(e,r+m,e-m,r);if(null==E)throw new i.a;var C=null;for(m=1;null===C&&m<w;m++)C=this.getBlackPointOnSegment(e,n-m,e-m,n);if(null==C)throw new i.a;return this.centerEdges(C,_,E,A)}throw new i.a},t.prototype.getBlackPointOnSegment=function(t,e,r,i){for(var a=o.a.round(o.a.distance(t,e,r,i)),u=(r-t)/a,s=(i-e)/a,c=this.image,f=0;f<a;f++){var l=o.a.round(t+f*u),h=o.a.round(e+f*s);if(c.get(l,h))return new n.a(l,h)}return null},t.prototype.centerEdges=function(e,r,o,i){var a=e.getX(),u=e.getY(),s=r.getX(),c=r.getY(),f=o.getX(),l=o.getY(),h=i.getX(),d=i.getY(),p=t.CORR;return a<this.width/2?[new n.a(h-p,d+p),new n.a(s+p,c+p),new n.a(f-p,l-p),new n.a(a+p,u-p)]:[new n.a(h+p,d+p),new n.a(s+p,c-p),new n.a(f-p,l+p),new n.a(a-p,u-p)]},t.prototype.containsBlackPoint=function(t,e,r,n){var o=this.image;if(n){for(var i=t;i<=e;i++)if(o.get(i,r))return!0}else for(var a=t;a<=e;a++)if(o.get(r,a))return!0;return!1},t.INIT_SIZE=10,t.CORR=1,t}();e.a=a},function(t,e,r){"use strict";var n,o=r(84),i=r(277),a=r(28),u=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),s=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.")},c=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return u(e,t),e.prototype.decodeMiddle=function(t,r,n){var o,a,u,c,f=this.decodeMiddleCounters;f[0]=0,f[1]=0,f[2]=0,f[3]=0;for(var l=t.getSize(),h=r[1],d=0,p=0;p<6&&h<l;p++){var y=i.a.decodeDigit(t,f,h,i.a.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+y%10);try{for(var g=(o=void 0,s(f)),v=g.next();!v.done;v=g.next()){h+=v.value}}catch(t){o={error:t}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(o)throw o.error}}y>=10&&(d|=1<<5-p)}n=e.determineFirstDigit(n,d),h=i.a.findGuardPattern(t,h,!0,i.a.MIDDLE_PATTERN,new Int32Array(i.a.MIDDLE_PATTERN.length).fill(0))[1];for(p=0;p<6&&h<l;p++){y=i.a.decodeDigit(t,f,h,i.a.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+y);try{for(var w=(u=void 0,s(f)),_=w.next();!_.done;_=w.next()){h+=_.value}}catch(t){u={error:t}}finally{try{_&&!_.done&&(c=w.return)&&c.call(w)}finally{if(u)throw u.error}}}return{rowOffset:h,resultString:n}},e.prototype.getBarcodeFormat=function(){return o.a.EAN_13},e.determineFirstDigit=function(t,e){for(var r=0;r<10;r++)if(e===this.FIRST_DIGIT_ENCODINGS[r])return t=String.fromCharCode("0".charCodeAt(0)+r)+t;throw new a.a},e.FIRST_DIGIT_ENCODINGS=[0,11,13,14,19,25,28,21,22,26],e}(i.a);e.a=c},function(t,e,r){"use strict";var n=r(146),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.a;return t.append("<<\n"),t.append(" mode: "),t.append(this.mode?this.mode.toString():"null"),t.append("\n ecLevel: "),t.append(this.ecLevel?this.ecLevel.toString():"null"),t.append("\n version: "),t.append(this.version?this.version.toString():"null"),t.append("\n maskPattern: "),t.append(this.maskPattern.toString()),this.matrix?(t.append("\n matrix:\n"),t.append(this.matrix.toString())):t.append("\n matrix: null\n"),t.append(">>\n"),t.toString()},t.prototype.setMode=function(t){this.mode=t},t.prototype.setECLevel=function(t){this.ecLevel=t},t.prototype.setVersion=function(t){this.version=t},t.prototype.setMaskPattern=function(t){this.maskPattern=t},t.prototype.setMatrix=function(t){this.matrix=t},t.isValidMaskPattern=function(e){return e>=0&&e<t.NUM_MASK_PATTERNS},t.NUM_MASK_PATTERNS=8,t}();e.a=o},function(t,e,r){"use strict";var n,o=r(84),i=r(264),a=r(62),u=r(28),s=r(258),c=r(192),f=r(134),l=r(269),h=r(83),d=r(181),p=r(272),y=function(){function t(t,e){this.bits=t,this.points=e}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t}(),g=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.")},v=function(){function t(){}return t.detectMultiple=function(e,r,n){var o=e.getBlackMatrix(),i=t.detect(n,o);return i.length||((o=o.clone()).rotate180(),i=t.detect(n,o)),new y(o,i)},t.detect=function(e,r){for(var n,o,i=new Array,a=0,u=0,s=!1;a<r.getHeight();){var c=t.findVertices(r,a,u);if(null!=c[0]||null!=c[3]){if(s=!0,i.push(c),!e)break;null!=c[2]?(u=Math.trunc(c[2].getX()),a=Math.trunc(c[2].getY())):(u=Math.trunc(c[4].getX()),a=Math.trunc(c[4].getY()))}else{if(!s)break;s=!1,u=0;try{for(var f=(n=void 0,g(i)),l=f.next();!l.done;l=f.next()){var h=l.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){n={error:t}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}a+=t.ROW_STEP}}return i},t.findVertices=function(e,r,n){var o=e.getHeight(),i=e.getWidth(),a=new Array(8);return t.copyToResult(a,t.findRowsWithPattern(e,o,i,r,n,t.START_PATTERN),t.INDEXES_START_PATTERN),null!=a[4]&&(n=Math.trunc(a[4].getX()),r=Math.trunc(a[4].getY())),t.copyToResult(a,t.findRowsWithPattern(e,o,i,r,n,t.STOP_PATTERN),t.INDEXES_STOP_PATTERN),a},t.copyToResult=function(t,e,r){for(var n=0;n<r.length;n++)t[r[n]]=e[n]},t.findRowsWithPattern=function(e,r,n,o,i,a){for(var u=new Array(4),s=!1,c=new Int32Array(a.length);o<r;o+=t.ROW_STEP){if(null!=(y=t.findGuardPattern(e,i,o,n,!1,a,c))){for(;o>0;){if(null==(d=t.findGuardPattern(e,i,--o,n,!1,a,c))){o++;break}y=d}u[0]=new h.a(y[0],o),u[1]=new h.a(y[1],o),s=!0;break}}var f=o+1;if(s){for(var l=0,d=Int32Array.from([Math.trunc(u[0].getX()),Math.trunc(u[1].getX())]);f<r;f++){var y;if(null!=(y=t.findGuardPattern(e,d[0],f,n,!1,a,c))&&Math.abs(d[0]-y[0])<t.MAX_PATTERN_DRIFT&&Math.abs(d[1]-y[1])<t.MAX_PATTERN_DRIFT)d=y,l=0;else{if(l>t.SKIPPED_ROW_COUNT_MAX)break;l++}}f-=l+1,u[2]=new h.a(d[0],f),u[3]=new h.a(d[1],f)}return f-o<t.BARCODE_MIN_HEIGHT&&p.a.fill(u,null),u},t.findGuardPattern=function(e,r,n,o,i,a,u){p.a.fillWithin(u,0,u.length,0);for(var s=r,c=0;e.get(s,n)&&s>0&&c++<t.MAX_PIXEL_DRIFT;)s--;for(var f=s,l=0,h=a.length,y=i;f<o;f++){if(e.get(f,n)!==y)u[l]++;else{if(l===h-1){if(t.patternMatchVariance(u,a,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return new Int32Array([s,f]);s+=u[0]+u[1],d.a.arraycopy(u,2,u,0,l-1),u[l-1]=0,u[l]=0,l--}else l++;u[l]=1,y=!y}}return l===h-1&&t.patternMatchVariance(u,a,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE?new Int32Array([s,f-1]):null},t.patternMatchVariance=function(t,e,r){for(var n=t.length,o=0,i=0,a=0;a<n;a++)o+=t[a],i+=e[a];if(o<i)return 1/0;var u=o/i;r*=u;for(var s=0,c=0;c<n;c++){var f=t[c],l=e[c]*u,h=f>l?f-l:l-f;if(h>r)return 1/0;s+=h}return s/o},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}(),w=r(182),_=r(583),m=function(){function t(e,r,n,o,i){e instanceof t?this.constructor_2(e):this.constructor_1(e,r,n,o,i)}return t.prototype.constructor_1=function(t,e,r,n,o){var i=null==e||null==r,a=null==n||null==o;if(i&&a)throw new u.a;i?(e=new h.a(0,n.getY()),r=new h.a(0,o.getY())):a&&(n=new h.a(t.getWidth()-1,e.getY()),o=new h.a(t.getWidth()-1,r.getY())),this.image=t,this.topLeft=e,this.bottomLeft=r,this.topRight=n,this.bottomRight=o,this.minX=Math.trunc(Math.min(e.getX(),r.getX())),this.maxX=Math.trunc(Math.max(n.getX(),o.getX())),this.minY=Math.trunc(Math.min(e.getY(),n.getY())),this.maxY=Math.trunc(Math.max(r.getY(),o.getY()))},t.prototype.constructor_2=function(t){this.image=t.image,this.topLeft=t.getTopLeft(),this.bottomLeft=t.getBottomLeft(),this.topRight=t.getTopRight(),this.bottomRight=t.getBottomRight(),this.minX=t.getMinX(),this.maxX=t.getMaxX(),this.minY=t.getMinY(),this.maxY=t.getMaxY()},t.merge=function(e,r){return null==e?r:null==r?e:new t(e.image,e.topLeft,e.bottomLeft,r.topRight,r.bottomRight)},t.prototype.addMissingRows=function(e,r,n){var o=this.topLeft,i=this.bottomLeft,a=this.topRight,u=this.bottomRight;if(e>0){var s=n?this.topLeft:this.topRight,c=Math.trunc(s.getY()-e);c<0&&(c=0);var f=new h.a(s.getX(),c);n?o=f:a=f}if(r>0){var l=n?this.bottomLeft:this.bottomRight,d=Math.trunc(l.getY()+r);d>=this.image.getHeight()&&(d=this.image.getHeight()-1);var p=new h.a(l.getX(),d);n?i=p:u=p}return new t(this.image,o,i,a,u)},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}(),A=function(){function t(t,e,r,n){this.columnCount=t,this.errorCorrectionLevel=n,this.rowCountUpperPart=e,this.rowCountLowerPart=r,this.rowCount=e+r}return t.prototype.getColumnCount=function(){return this.columnCount},t.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},t.prototype.getRowCount=function(){return this.rowCount},t.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},t.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},t}(),E=function(){function t(){this.buffer=""}return t.form=function(t,e){var r=-1;return t.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,(function(t,n,o,i,a,u){if("%%"===t)return"%";if(void 0!==e[++r]){t=i?parseInt(i.substr(1)):void 0;var s,c=a?parseInt(a.substr(1)):void 0;switch(u){case"s":s=e[r];break;case"c":s=e[r][0];break;case"f":s=parseFloat(e[r]).toFixed(t);break;case"p":s=parseFloat(e[r]).toPrecision(t);break;case"e":s=parseFloat(e[r]).toExponential(t);break;case"x":s=parseInt(e[r]).toString(c||16);break;case"d":s=parseFloat(parseInt(e[r],c||10).toPrecision(t)).toFixed(0)}s="object"==typeof s?JSON.stringify(s):(+s).toString(c);for(var f=parseInt(o),l=o&&o[0]+""=="0"?"0":" ";s.length<f;)s=void 0!==n?s+l:l+s;return s}}))},t.prototype.format=function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];this.buffer+=t.form(e,r)},t.prototype.toString=function(){return this.buffer},t}(),C=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},I=function(){function t(t){this.boundingBox=new m(t),this.codewords=new Array(t.getMaxY()-t.getMinY()+1)}return t.prototype.getCodewordNearby=function(e){var r=this.getCodeword(e);if(null!=r)return r;for(var n=1;n<t.MAX_NEARBY_DISTANCE;n++){var o=this.imageRowToCodewordIndex(e)-n;if(o>=0&&null!=(r=this.codewords[o]))return r;if((o=this.imageRowToCodewordIndex(e)+n)<this.codewords.length&&null!=(r=this.codewords[o]))return r}return null},t.prototype.imageRowToCodewordIndex=function(t){return t-this.boundingBox.getMinY()},t.prototype.setCodeword=function(t,e){this.codewords[this.imageRowToCodewordIndex(t)]=e},t.prototype.getCodeword=function(t){return this.codewords[this.imageRowToCodewordIndex(t)]},t.prototype.getBoundingBox=function(){return this.boundingBox},t.prototype.getCodewords=function(){return this.codewords},t.prototype.toString=function(){var t,e,r=new E,n=0;try{for(var o=C(this.codewords),i=o.next();!i.done;i=o.next()){var a=i.value;null!=a?r.format("%3d: %3d|%3d%n",n++,a.getRowNumber(),a.getValue()):r.format("%3d: | %n",n++)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return r.toString()},t.MAX_NEARBY_DISTANCE=5,t}(),S=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.")},b=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},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,e,r=-1,n=new Array,o=function(t,e){var o=function(){return t},i=function(){return e};i()>r?(r=i(),(n=[]).push(o())):i()===r&&n.push(o())};try{for(var i=S(this.values.entries()),a=i.next();!a.done;a=i.next()){var u=b(a.value,2);o(u[0],u[1])}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return c.a.toIntArray(n)},t.prototype.getConfidence=function(t){return this.values.get(t)},t}(),T=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),R=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=function(t){function e(e,r){var n=t.call(this,e)||this;return n._isLeft=r,n}return T(e,t),e.prototype.setRowNumbers=function(){var t,e;try{for(var r=R(this.getCodewords()),n=r.next();!n.done;n=r.next()){var o=n.value;null!=o&&o.setRowNumberAsRowIndicatorColumn()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},e.prototype.adjustCompleteIndicatorColumnRowNumbers=function(t){var e=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(e,t);for(var r=this.getBoundingBox(),n=this._isLeft?r.getTopLeft():r.getTopRight(),o=this._isLeft?r.getBottomLeft():r.getBottomRight(),i=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.imageRowToCodewordIndex(Math.trunc(o.getY())),u=-1,s=1,c=0,f=i;f<a;f++)if(null!=e[f]){var l=e[f],h=l.getRowNumber()-u;if(0===h)c++;else if(1===h)s=Math.max(s,c),c=1,u=l.getRowNumber();else if(h<0||l.getRowNumber()>=t.getRowCount()||h>f)e[f]=null;else{for(var d=void 0,p=(d=s>2?(s-2)*h:h)>=f,y=1;y<=d&&!p;y++)p=null!=e[f-y];p?e[f]=null:(u=l.getRowNumber(),c=1)}}},e.prototype.getRowHeights=function(){var t,e,r=this.getBarcodeMetadata();if(null==r)return null;this.adjustIncompleteIndicatorColumnRowNumbers(r);var n=new Int32Array(r.getRowCount());try{for(var o=R(this.getCodewords()),i=o.next();!i.done;i=o.next()){var a=i.value;if(null!=a){var u=a.getRowNumber();if(u>=n.length)continue;n[u]++}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return n},e.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(t){for(var e=this.getBoundingBox(),r=this._isLeft?e.getTopLeft():e.getTopRight(),n=this._isLeft?e.getBottomLeft():e.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(r.getY())),i=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.getCodewords(),u=-1,s=1,c=0,f=o;f<i;f++)if(null!=a[f]){var l=a[f];l.setRowNumberAsRowIndicatorColumn();var h=l.getRowNumber()-u;0===h?c++:1===h?(s=Math.max(s,c),c=1,u=l.getRowNumber()):l.getRowNumber()>=t.getRowCount()?a[f]=null:(u=l.getRowNumber(),c=1)}},e.prototype.getBarcodeMetadata=function(){var t,e,r=this.getCodewords(),n=new O,o=new O,i=new O,a=new O;try{for(var u=R(r),s=u.next();!s.done;s=u.next()){var f=s.value;if(null!=f){f.setRowNumberAsRowIndicatorColumn();var l=f.getValue()%30,h=f.getRowNumber();switch(this._isLeft||(h+=2),h%3){case 0:o.setValue(3*l+1);break;case 1:a.setValue(l/3),i.setValue(l%3);break;case 2:n.setValue(l+1)}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}if(0===n.getValue().length||0===o.getValue().length||0===i.getValue().length||0===a.getValue().length||n.getValue()[0]<1||o.getValue()[0]+i.getValue()[0]<c.a.MIN_ROWS_IN_BARCODE||o.getValue()[0]+i.getValue()[0]>c.a.MAX_ROWS_IN_BARCODE)return null;var d=new A(n.getValue()[0],o.getValue()[0],i.getValue()[0],a.getValue()[0]);return this.removeIncorrectCodewords(r,d),d},e.prototype.removeIncorrectCodewords=function(t,e){for(var r=0;r<t.length;r++){var n=t[r];if(null!=t[r]){var o=n.getValue()%30,i=n.getRowNumber();if(i>e.getRowCount())t[r]=null;else switch(this._isLeft||(i+=2),i%3){case 0:3*o+1!==e.getRowCountUpperPart()&&(t[r]=null);break;case 1:Math.trunc(o/3)===e.getErrorCorrectionLevel()&&o%3===e.getRowCountLowerPart()||(t[r]=null);break;case 2:o+1!==e.getColumnCount()&&(t[r]=null)}}}},e.prototype.isLeft=function(){return this._isLeft},e.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+t.prototype.toString.call(this)},e}(I),D=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.")},P=function(){function t(t,e){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=t,this.barcodeColumnCount=t.getColumnCount(),this.boundingBox=e,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}return t.prototype.getDetectionResultColumns=function(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);var t,e=c.a.MAX_CODEWORDS_IN_BARCODE;do{t=e,e=this.adjustRowNumbersAndGetCount()}while(e>0&&e<t);return this.detectionResultColumns},t.prototype.adjustIndicatorColumnRowNumbers=function(t){null!=t&&t.adjustCompleteIndicatorColumnRowNumbers(this.barcodeMetadata)},t.prototype.adjustRowNumbersAndGetCount=function(){var t=this.adjustRowNumbersByRow();if(0===t)return 0;for(var e=1;e<this.barcodeColumnCount+1;e++)for(var r=this.detectionResultColumns[e].getCodewords(),n=0;n<r.length;n++)null!=r[n]&&(r[n].hasValidRowNumber()||this.adjustRowNumbers(e,n,r));return t},t.prototype.adjustRowNumbersByRow=function(){return this.adjustRowNumbersFromBothRI(),this.adjustRowNumbersFromLRI()+this.adjustRowNumbersFromRRI()},t.prototype.adjustRowNumbersFromBothRI=function(){if(null!=this.detectionResultColumns[0]&&null!=this.detectionResultColumns[this.barcodeColumnCount+1])for(var t=this.detectionResultColumns[0].getCodewords(),e=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),r=0;r<t.length;r++)if(null!=t[r]&&null!=e[r]&&t[r].getRowNumber()===e[r].getRowNumber())for(var n=1;n<=this.barcodeColumnCount;n++){var o=this.detectionResultColumns[n].getCodewords()[r];null!=o&&(o.setRowNumber(t[r].getRowNumber()),o.hasValidRowNumber()||(this.detectionResultColumns[n].getCodewords()[r]=null))}},t.prototype.adjustRowNumbersFromRRI=function(){if(null==this.detectionResultColumns[this.barcodeColumnCount+1])return 0;for(var e=0,r=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),n=0;n<r.length;n++)if(null!=r[n])for(var o=r[n].getRowNumber(),i=0,a=this.barcodeColumnCount+1;a>0&&i<this.ADJUST_ROW_NUMBER_SKIP;a--){var u=this.detectionResultColumns[a].getCodewords()[n];null!=u&&(i=t.adjustRowNumberIfValid(o,i,u),u.hasValidRowNumber()||e++)}return e},t.prototype.adjustRowNumbersFromLRI=function(){if(null==this.detectionResultColumns[0])return 0;for(var e=0,r=this.detectionResultColumns[0].getCodewords(),n=0;n<r.length;n++)if(null!=r[n])for(var o=r[n].getRowNumber(),i=0,a=1;a<this.barcodeColumnCount+1&&i<this.ADJUST_ROW_NUMBER_SKIP;a++){var u=this.detectionResultColumns[a].getCodewords()[n];null!=u&&(i=t.adjustRowNumberIfValid(o,i,u),u.hasValidRowNumber()||e++)}return e},t.adjustRowNumberIfValid=function(t,e,r){return null==r||r.hasValidRowNumber()||(r.isValidRowNumber(t)?(r.setRowNumber(t),e=0):++e),e},t.prototype.adjustRowNumbers=function(e,r,n){var o,i;if(null!=this.detectionResultColumns[e-1]){var a=n[r],u=this.detectionResultColumns[e-1].getCodewords(),s=u;null!=this.detectionResultColumns[e+1]&&(s=this.detectionResultColumns[e+1].getCodewords());var c=new Array(14);c[2]=u[r],c[3]=s[r],r>0&&(c[0]=n[r-1],c[4]=u[r-1],c[5]=s[r-1]),r>1&&(c[8]=n[r-2],c[10]=u[r-2],c[11]=s[r-2]),r<n.length-1&&(c[1]=n[r+1],c[6]=u[r+1],c[7]=s[r+1]),r<n.length-2&&(c[9]=n[r+2],c[12]=u[r+2],c[13]=s[r+2]);try{for(var f=D(c),l=f.next();!l.done;l=f.next()){var h=l.value;if(t.adjustRowNumber(a,h))return}}catch(t){o={error:t}}finally{try{l&&!l.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}}},t.adjustRowNumber=function(t,e){return null!=e&&(!(!e.hasValidRowNumber()||e.getBucket()!==t.getBucket())&&(t.setRowNumber(e.getRowNumber()),!0))},t.prototype.getBarcodeColumnCount=function(){return this.barcodeColumnCount},t.prototype.getBarcodeRowCount=function(){return this.barcodeMetadata.getRowCount()},t.prototype.getBarcodeECLevel=function(){return this.barcodeMetadata.getErrorCorrectionLevel()},t.prototype.setBoundingBox=function(t){this.boundingBox=t},t.prototype.getBoundingBox=function(){return this.boundingBox},t.prototype.setDetectionResultColumn=function(t,e){this.detectionResultColumns[t]=e},t.prototype.getDetectionResultColumn=function(t){return this.detectionResultColumns[t]},t.prototype.toString=function(){var t=this.detectionResultColumns[0];null==t&&(t=this.detectionResultColumns[this.barcodeColumnCount+1]);for(var e=new E,r=0;r<t.getCodewords().length;r++){e.format("CW %3d:",r);for(var n=0;n<this.barcodeColumnCount+2;n++)if(null!=this.detectionResultColumns[n]){var o=this.detectionResultColumns[n].getCodewords()[r];null!=o?e.format(" %3d|%3d",o.getRowNumber(),o.getValue()):e.format(" | ")}else e.format(" | ");e.format("%n")}return e.toString()},t}(),M=function(){function t(e,r,n,o){this.rowNumber=t.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(e),this.endX=Math.trunc(r),this.bucket=Math.trunc(n),this.value=Math.trunc(o)}return t.prototype.hasValidRowNumber=function(){return this.isValidRowNumber(this.rowNumber)},t.prototype.isValidRowNumber=function(e){return e!==t.BARCODE_ROW_UNKNOWN&&this.bucket===e%3*3},t.prototype.setRowNumberAsRowIndicatorColumn=function(){this.rowNumber=Math.trunc(3*Math.trunc(this.value/30)+Math.trunc(this.bucket/3))},t.prototype.getWidth=function(){return this.endX-this.startX},t.prototype.getStartX=function(){return this.startX},t.prototype.getEndX=function(){return this.endX},t.prototype.getBucket=function(){return this.bucket},t.prototype.getValue=function(){return this.value},t.prototype.getRowNumber=function(){return this.rowNumber},t.prototype.setRowNumber=function(t){this.rowNumber=t},t.prototype.toString=function(){return this.rowNumber+"|"+this.value},t.BARCODE_ROW_UNKNOWN=-1,t}(),B=r(452),L=function(){function t(){}return t.initialize=function(){for(var e=0;e<c.a.SYMBOL_TABLE.length;e++)for(var r=c.a.SYMBOL_TABLE[e],n=1&r,o=0;o<c.a.BARS_IN_MODULE;o++){for(var i=0;(1&r)===n;)i+=1,r>>=1;n=1&r,t.RATIOS_TABLE[e]||(t.RATIOS_TABLE[e]=new Array(c.a.BARS_IN_MODULE)),t.RATIOS_TABLE[e][c.a.BARS_IN_MODULE-o-1]=Math.fround(i/c.a.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},t.getDecodedValue=function(e){var r=t.getDecodedCodewordValue(t.sampleBitCounts(e));return-1!==r?r:t.getClosestDecodedValue(e)},t.sampleBitCounts=function(t){for(var e=w.a.sum(t),r=new Int32Array(c.a.BARS_IN_MODULE),n=0,o=0,i=0;i<c.a.MODULES_IN_CODEWORD;i++){var a=e/(2*c.a.MODULES_IN_CODEWORD)+i*e/c.a.MODULES_IN_CODEWORD;o+t[n]<=a&&(o+=t[n],n++),r[n]++}return r},t.getDecodedCodewordValue=function(e){var r=t.getBitValue(e);return-1===c.a.getCodeword(r)?-1:r},t.getBitValue=function(t){for(var e=0,r=0;r<t.length;r++)for(var n=0;n<t[r];n++)e=e<<1|(r%2==0?1:0);return Math.trunc(e)},t.getClosestDecodedValue=function(e){var r=w.a.sum(e),n=new Array(c.a.BARS_IN_MODULE);if(r>1)for(var o=0;o<n.length;o++)n[o]=Math.fround(e[o]/r);var i=B.a.MAX_VALUE,a=-1;this.bSymbolTableReady||t.initialize();for(var u=0;u<t.RATIOS_TABLE.length;u++){for(var s=0,f=t.RATIOS_TABLE[u],l=0;l<c.a.BARS_IN_MODULE;l++){var h=Math.fround(f[l]-n[l]);if((s+=Math.fround(h*h))>=i)break}s<i&&(i=s,a=c.a.SYMBOL_TABLE[u])}return a},t.bSymbolTableReady=!1,t.RATIOS_TABLE=new Array(c.a.SYMBOL_TABLE.length).map((function(t){return new Array(c.a.BARS_IN_MODULE)})),t}(),x=r(559),F=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.")},k=function(){function t(){}return t.decode=function(e,r,n,o,i,a,s){for(var c,f=new m(e,r,n,o,i),l=null,h=null,d=!0;;d=!1){if(null!=r&&(l=t.getRowIndicatorColumn(e,f,r,!0,a,s)),null!=o&&(h=t.getRowIndicatorColumn(e,f,o,!1,a,s)),null==(c=t.merge(l,h)))throw u.a.getNotFoundInstance();var p=c.getBoundingBox();if(!d||null==p||!(p.getMinY()<f.getMinY()||p.getMaxY()>f.getMaxY()))break;f=p}c.setBoundingBox(f);var y=c.getBarcodeColumnCount()+1;c.setDetectionResultColumn(0,l),c.setDetectionResultColumn(y,h);for(var g=null!=l,v=1;v<=y;v++){var w=g?v:y-v;if(void 0===c.getDetectionResultColumn(w)){var _=void 0;_=0===w||w===y?new N(f,0===w):new I(f),c.setDetectionResultColumn(w,_);for(var A=-1,E=A,C=f.getMinY();C<=f.getMaxY();C++){if((A=t.getStartColumn(c,w,C,g))<0||A>f.getMaxX()){if(-1===E)continue;A=E}var S=t.detectCodeword(e,f.getMinX(),f.getMaxX(),g,A,C,a,s);null!=S&&(_.setCodeword(C,S),E=A,a=Math.min(a,S.getWidth()),s=Math.max(s,S.getWidth()))}}}return t.createDecoderResult(c)},t.merge=function(e,r){if(null==e&&null==r)return null;var n=t.getBarcodeMetadata(e,r);if(null==n)return null;var o=m.merge(t.adjustBoundingBox(e),t.adjustBoundingBox(r));return new P(n,o)},t.adjustBoundingBox=function(e){var r,n;if(null==e)return null;var o=e.getRowHeights();if(null==o)return null;var i=t.getMax(o),a=0;try{for(var u=F(o),s=u.next();!s.done;s=u.next()){var c=s.value;if(a+=i-c,c>0)break}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}for(var f=e.getCodewords(),l=0;a>0&&null==f[l];l++)a--;var h=0;for(l=o.length-1;l>=0&&(h+=i-o[l],!(o[l]>0));l--);for(l=f.length-1;h>0&&null==f[l];l--)h--;return e.getBoundingBox().addMissingRows(a,h,e.isLeft())},t.getMax=function(t){var e,r,n=-1;try{for(var o=F(t),i=o.next();!i.done;i=o.next()){var a=i.value;n=Math.max(n,a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},t.getBarcodeMetadata=function(t,e){var r,n;return null==t||null==(r=t.getBarcodeMetadata())?null==e?null:e.getBarcodeMetadata():null==e||null==(n=e.getBarcodeMetadata())?r:r.getColumnCount()!==n.getColumnCount()&&r.getErrorCorrectionLevel()!==n.getErrorCorrectionLevel()&&r.getRowCount()!==n.getRowCount()?null:r},t.getRowIndicatorColumn=function(e,r,n,o,i,a){for(var u=new N(r,o),s=0;s<2;s++)for(var c=0===s?1:-1,f=Math.trunc(Math.trunc(n.getX())),l=Math.trunc(Math.trunc(n.getY()));l<=r.getMaxY()&&l>=r.getMinY();l+=c){var h=t.detectCodeword(e,0,e.getWidth(),o,f,l,i,a);null!=h&&(u.setCodeword(l,h),f=o?h.getStartX():h.getEndX())}return u},t.adjustCodewordCount=function(e,r){var n=r[0][1],o=n.getValue(),i=e.getBarcodeColumnCount()*e.getBarcodeRowCount()-t.getNumberOfECCodeWords(e.getBarcodeECLevel());if(0===o.length){if(i<1||i>c.a.MAX_CODEWORDS_IN_BARCODE)throw u.a.getNotFoundInstance();n.setValue(i)}else o[0]!==i&&n.setValue(i)},t.createDecoderResult=function(e){var r=t.createBarcodeMatrix(e);t.adjustCodewordCount(e,r);for(var n=new Array,o=new Int32Array(e.getBarcodeRowCount()*e.getBarcodeColumnCount()),i=[],a=new Array,u=0;u<e.getBarcodeRowCount();u++)for(var s=0;s<e.getBarcodeColumnCount();s++){var f=r[u][s+1].getValue(),l=u*e.getBarcodeColumnCount()+s;0===f.length?n.push(l):1===f.length?o[l]=f[0]:(a.push(l),i.push(f))}for(var h=new Array(i.length),d=0;d<h.length;d++)h[d]=i[d];return t.createDecoderResultFromAmbiguousValues(e.getBarcodeECLevel(),o,c.a.toIntArray(n),c.a.toIntArray(a),h)},t.createDecoderResultFromAmbiguousValues=function(e,r,n,o,a){for(var u=new Int32Array(o.length),s=100;s-- >0;){for(var c=0;c<u.length;c++)r[o[c]]=a[c][u[c]];try{return t.decodeCodewords(r,e,n)}catch(t){if(!(t instanceof i.a))throw t}if(0===u.length)throw i.a.getChecksumInstance();for(c=0;c<u.length;c++){if(u[c]<a[c].length-1){u[c]++;break}if(u[c]=0,c===u.length-1)throw i.a.getChecksumInstance()}}throw i.a.getChecksumInstance()},t.createBarcodeMatrix=function(t){for(var e,r,n,o,i=Array.from({length:t.getBarcodeRowCount()},(function(){return new Array(t.getBarcodeColumnCount()+2)})),a=0;a<i.length;a++)for(var u=0;u<i[a].length;u++)i[a][u]=new O;var s=0;try{for(var c=F(t.getDetectionResultColumns()),f=c.next();!f.done;f=c.next()){var l=f.value;if(null!=l)try{for(var h=(n=void 0,F(l.getCodewords())),d=h.next();!d.done;d=h.next()){var p=d.value;if(null!=p){var y=p.getRowNumber();if(y>=0){if(y>=i.length)continue;i[y][s].setValue(p.getValue())}}}}catch(t){n={error:t}}finally{try{d&&!d.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}s++}}catch(t){e={error:t}}finally{try{f&&!f.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}return i},t.isValidBarcodeColumn=function(t,e){return e>=0&&e<=t.getBarcodeColumnCount()+1},t.getStartColumn=function(e,r,n,o){var i,a,u=o?1:-1,s=null;if(t.isValidBarcodeColumn(e,r-u)&&(s=e.getDetectionResultColumn(r-u).getCodeword(n)),null!=s)return o?s.getEndX():s.getStartX();if(null!=(s=e.getDetectionResultColumn(r).getCodewordNearby(n)))return o?s.getStartX():s.getEndX();if(t.isValidBarcodeColumn(e,r-u)&&(s=e.getDetectionResultColumn(r-u).getCodewordNearby(n)),null!=s)return o?s.getEndX():s.getStartX();for(var c=0;t.isValidBarcodeColumn(e,r-u);){r-=u;try{for(var f=(i=void 0,F(e.getDetectionResultColumn(r).getCodewords())),l=f.next();!l.done;l=f.next()){var h=l.value;if(null!=h)return(o?h.getEndX():h.getStartX())+u*c*(h.getEndX()-h.getStartX())}}catch(t){i={error:t}}finally{try{l&&!l.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}c++}return o?e.getBoundingBox().getMinX():e.getBoundingBox().getMaxX()},t.detectCodeword=function(e,r,n,o,i,a,u,s){i=t.adjustCodewordStartColumn(e,r,n,o,i,a);var f,l=t.getModuleBitCount(e,r,n,o,i,a);if(null==l)return null;var h=w.a.sum(l);if(o)f=i+h;else{for(var d=0;d<l.length/2;d++){var p=l[d];l[d]=l[l.length-1-d],l[l.length-1-d]=p}i=(f=i)-h}if(!t.checkCodewordSkew(h,u,s))return null;var y=L.getDecodedValue(l),g=c.a.getCodeword(y);return-1===g?null:new M(i,f,t.getCodewordBucketNumber(y),g)},t.getModuleBitCount=function(t,e,r,n,o,i){for(var a=o,u=new Int32Array(8),s=0,c=n?1:-1,f=n;(n?a<r:a>=e)&&s<u.length;)t.get(a,i)===f?(u[s]++,a+=c):(s++,f=!f);return s===u.length||a===(n?r:e)&&s===u.length-1?u:null},t.getNumberOfECCodeWords=function(t){return 2<<t},t.adjustCodewordStartColumn=function(e,r,n,o,i,a){for(var u=i,s=o?-1:1,c=0;c<2;c++){for(;(o?u>=r:u<n)&&o===e.get(u,a);){if(Math.abs(i-u)>t.CODEWORD_SKEW_SIZE)return i;u+=s}s=-s,o=!o}return u},t.checkCodewordSkew=function(e,r,n){return r-t.CODEWORD_SKEW_SIZE<=e&&e<=n+t.CODEWORD_SKEW_SIZE},t.decodeCodewords=function(e,r,n){if(0===e.length)throw a.a.getFormatInstance();var o=1<<r+1,i=t.correctErrors(e,n,o);t.verifyCodewordCount(e,o);var u=x.a.decode(e,""+r);return u.setErrorsCorrected(i),u.setErasures(n.length),u},t.correctErrors=function(e,r,n){if(null!=r&&r.length>n/2+t.MAX_ERRORS||n<0||n>t.MAX_EC_CODEWORDS)throw i.a.getChecksumInstance();return t.errorCorrection.decode(e,n,r)},t.verifyCodewordCount=function(t,e){if(t.length<4)throw a.a.getFormatInstance();var r=t[0];if(r>t.length)throw a.a.getFormatInstance();if(0===r){if(!(e<t.length))throw a.a.getFormatInstance();t[0]=t.length-e}},t.getBitCountForCodeword=function(t){for(var e=new Int32Array(8),r=0,n=e.length-1;!((1&t)!==r&&(r=1&t,--n<0));)e[n]++,t>>=1;return e},t.getCodewordBucketNumber=function(t){return t instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(t):this.getCodewordBucketNumber_number(t)},t.getCodewordBucketNumber_number=function(e){return t.getCodewordBucketNumber(t.getBitCountForCodeword(e))},t.getCodewordBucketNumber_Int32Array=function(t){return(t[0]-t[2]+t[4]-t[6]+9)%9},t.toString=function(t){for(var e=new E,r=0;r<t.length;r++){e.format("Row %2d: ",r);for(var n=0;n<t[r].length;n++){var o=t[r][n];0===o.getValue().length?e.format(" ",null):e.format("%4d(%2d)",o.getValue()[0],o.getConfidence(o.getValue()[0]))}e.format("%n")}return e.toString()},t.CODEWORD_SKEW_SIZE=2,t.MAX_ERRORS=3,t.MAX_EC_CODEWORDS=512,t.errorCorrection=new _.a,t}(),V=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.")},U=function(){function t(){}return t.prototype.decode=function(e,r){void 0===r&&(r=null);var n=t.decode(e,r,!1);if(null==n||0===n.length||null==n[0])throw u.a.getNotFoundInstance();return n[0]},t.prototype.decodeMultiple=function(e,r){void 0===r&&(r=null);try{return t.decode(e,r,!0)}catch(t){if(t instanceof a.a||t instanceof i.a)throw u.a.getNotFoundInstance();throw t}},t.decode=function(e,r,n){var i,a,u=new Array,c=v.detectMultiple(e,r,n);try{for(var f=V(c.getPoints()),h=f.next();!h.done;h=f.next()){var d=h.value,p=k.decode(c.getBits(),d[4],d[5],d[6],d[7],t.getMinCodewordWidth(d),t.getMaxCodewordWidth(d)),y=new s.a(p.getText(),p.getRawBytes(),void 0,d,o.a.PDF_417);y.putMetadata(l.a.ERROR_CORRECTION_LEVEL,p.getECLevel());var g=p.getOther();null!=g&&y.putMetadata(l.a.PDF417_EXTRA_METADATA,g),u.push(y)}}catch(t){i={error:t}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}return u.map((function(t){return t}))},t.getMaxWidth=function(t,e){return null==t||null==e?0:Math.trunc(Math.abs(t.getX()-e.getX()))},t.getMinWidth=function(t,e){return null==t||null==e?f.a.MAX_VALUE:Math.trunc(Math.abs(t.getX()-e.getX()))},t.getMaxCodewordWidth=function(e){return Math.floor(Math.max(Math.max(t.getMaxWidth(e[0],e[4]),t.getMaxWidth(e[6],e[2])*c.a.MODULES_IN_CODEWORD/c.a.MODULES_IN_STOP_PATTERN),Math.max(t.getMaxWidth(e[1],e[5]),t.getMaxWidth(e[7],e[3])*c.a.MODULES_IN_CODEWORD/c.a.MODULES_IN_STOP_PATTERN)))},t.getMinCodewordWidth=function(e){return Math.floor(Math.min(Math.min(t.getMinWidth(e[0],e[4]),t.getMinWidth(e[6],e[2])*c.a.MODULES_IN_CODEWORD/c.a.MODULES_IN_STOP_PATTERN),Math.min(t.getMinWidth(e[1],e[5]),t.getMinWidth(e[7],e[3])*c.a.MODULES_IN_CODEWORD/c.a.MODULES_IN_STOP_PATTERN)))},t.prototype.reset=function(){},t}();e.a=U},function(t,e,r){"use strict";var n,o=r(84),i=r(271),a=r(193),u=r(28),s=r(258),c=r(269),f=r(264),l=r(276),h=r(317),d=r(304),p=r(402),y=r(448),g=r(62),v=function(){function t(t){var e=t.getHeight();if(e<21||1!=(3&e))throw new g.a;this.bitMatrix=t}return t.prototype.readFormatInformation=function(){if(null!==this.parsedFormatInfo&&void 0!==this.parsedFormatInfo)return this.parsedFormatInfo;for(var t=0,e=0;e<6;e++)t=this.copyBit(e,8,t);t=this.copyBit(7,8,t),t=this.copyBit(8,8,t),t=this.copyBit(8,7,t);for(var r=5;r>=0;r--)t=this.copyBit(8,r,t);var n=this.bitMatrix.getHeight(),o=0,i=n-7;for(r=n-1;r>=i;r--)o=this.copyBit(8,r,o);for(e=n-8;e<n;e++)o=this.copyBit(e,8,o);if(this.parsedFormatInfo=p.a.decodeFormatInformation(t,o),null!==this.parsedFormatInfo)return this.parsedFormatInfo;throw new g.a},t.prototype.readVersion=function(){if(null!==this.parsedVersion&&void 0!==this.parsedVersion)return this.parsedVersion;var t=this.bitMatrix.getHeight(),e=Math.floor((t-17)/4);if(e<=6)return d.a.getVersionForNumber(e);for(var r=0,n=t-11,o=5;o>=0;o--)for(var i=t-9;i>=n;i--)r=this.copyBit(i,o,r);var a=d.a.decodeVersionInformation(r);if(null!==a&&a.getDimensionForVersion()===t)return this.parsedVersion=a,a;r=0;for(i=5;i>=0;i--)for(o=t-9;o>=n;o--)r=this.copyBit(i,o,r);if(null!==(a=d.a.decodeVersionInformation(r))&&a.getDimensionForVersion()===t)return this.parsedVersion=a,a;throw new g.a},t.prototype.copyBit=function(t,e,r){return(this.isMirror?this.bitMatrix.get(e,t):this.bitMatrix.get(t,e))?r<<1|1:r<<1},t.prototype.readCodewords=function(){var t=this.readFormatInformation(),e=this.readVersion(),r=y.a.values.get(t.getDataMask()),n=this.bitMatrix.getHeight();r.unmaskBitMatrix(this.bitMatrix,n);for(var o=e.buildFunctionPattern(),i=!0,a=new Uint8Array(e.getTotalCodewords()),u=0,s=0,c=0,f=n-1;f>0;f-=2){6===f&&f--;for(var l=0;l<n;l++)for(var h=i?n-1-l:l,d=0;d<2;d++)o.get(f-d,h)||(c++,s<<=1,this.bitMatrix.get(f-d,h)&&(s|=1),8===c&&(a[u++]=s,c=0,s=0));i=!i}if(u!==e.getTotalCodewords())throw new g.a;return a},t.prototype.remask=function(){if(null!==this.parsedFormatInfo){var t=y.a.values[this.parsedFormatInfo.getDataMask()],e=this.bitMatrix.getHeight();t.unmaskBitMatrix(this.bitMatrix,e)}},t.prototype.setMirror=function(t){this.parsedVersion=null,this.parsedFormatInfo=null,this.isMirror=t},t.prototype.mirror=function(){for(var t=this.bitMatrix,e=0,r=t.getWidth();e<r;e++)for(var n=e+1,o=t.getHeight();n<o;n++)t.get(e,n)!==t.get(n,e)&&(t.flip(n,e),t.flip(e,n))},t}(),w=r(72),_=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.")},m=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,r,n){var o,i,a,u;if(e.length!==r.getTotalCodewords())throw new w.a;var s=r.getECBlocksForLevel(n),c=0,f=s.getECBlocks();try{for(var l=_(f),h=l.next();!h.done;h=l.next()){c+=(v=h.value).getCount()}}catch(t){o={error:t}}finally{try{h&&!h.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}var d=new Array(c),p=0;try{for(var y=_(f),g=y.next();!g.done;g=y.next())for(var v=g.value,m=0;m<v.getCount();m++){var A=v.getDataCodewords(),E=s.getECCodewordsPerBlock()+A;d[p++]=new t(A,new Uint8Array(E))}}catch(t){a={error:t}}finally{try{g&&!g.done&&(u=y.return)&&u.call(y)}finally{if(a)throw a.error}}for(var C=d[0].codewords.length,I=d.length-1;I>=0;){if(d[I].codewords.length===C)break;I--}I++;var S=C-s.getECCodewordsPerBlock(),b=0;for(m=0;m<S;m++)for(var O=0;O<p;O++)d[O].codewords[m]=e[b++];for(O=I;O<p;O++)d[O].codewords[S]=e[b++];var T=d[0].codewords.length;for(m=S;m<T;m++)for(O=0;O<p;O++){var R=O<I?m:m+1;d[O].codewords[R]=e[b++]}return d},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}(),A=r(558),E=function(){function t(t){this.mirrored=t}return t.prototype.isMirrored=function(){return this.mirrored},t.prototype.applyMirroredCorrection=function(t){if(this.mirrored&&null!==t&&!(t.length<3)){var e=t[0];t[0]=t[2],t[2]=e}},t}(),C=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},I=function(){function t(){this.rsDecoder=new h.a(l.a.QR_CODE_FIELD_256)}return t.prototype.decodeBooleanArray=function(t,e){return this.decodeBitMatrix(i.a.parseFromBooleanArray(t),e)},t.prototype.decodeBitMatrix=function(t,e){var r=new v(t),n=null;try{return this.decodeBitMatrixParser(r,e)}catch(t){n=t}try{r.remask(),r.setMirror(!0),r.readVersion(),r.readFormatInformation(),r.mirror();var o=this.decodeBitMatrixParser(r,e);return o.setOther(new E(!0)),o}catch(t){if(null!==n)throw n;throw t}},t.prototype.decodeBitMatrixParser=function(t,e){var r,n,o,i,a=t.readVersion(),u=t.readFormatInformation().getErrorCorrectionLevel(),s=t.readCodewords(),c=m.getDataBlocks(s,a,u),f=0;try{for(var l=C(c),h=l.next();!h.done;h=l.next()){f+=(v=h.value).getNumDataCodewords()}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}var d=new Uint8Array(f),p=0;try{for(var y=C(c),g=y.next();!g.done;g=y.next()){var v,w=(v=g.value).getCodewords(),_=v.getNumDataCodewords();this.correctErrors(w,_);for(var E=0;E<_;E++)d[p++]=w[E]}}catch(t){o={error:t}}finally{try{g&&!g.done&&(i=y.return)&&i.call(y)}finally{if(o)throw o.error}}return A.a.decode(d,a,u,e)},t.prototype.correctErrors=function(t,e){var r=new Int32Array(t);try{this.rsDecoder.decode(r,t.length-e)}catch(t){throw new f.a}for(var n=0;n<e;n++)t[n]=r[n]},t}(),S=r(182),b=r(357),O=r(358),T=r(399),R=r(83),N=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),D=function(t){function e(e,r,n){var o=t.call(this,e,r)||this;return o.estimatedModuleSize=n,o}return N(e,t),e.prototype.aboutEquals=function(t,e,r){if(Math.abs(e-this.getY())<=t&&Math.abs(r-this.getX())<=t){var n=Math.abs(t-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,r,n){return new e((this.getX()+r)/2,(this.getY()+t)/2,(this.estimatedModuleSize+n)/2)},e}(R.a),P=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.")},M=function(){function t(t,e,r,n,o,i,a){this.image=t,this.startX=e,this.startY=r,this.width=n,this.height=o,this.moduleSize=i,this.resultPointCallback=a,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return t.prototype.find=function(){for(var t=this.startX,e=this.height,r=t+this.width,n=this.startY+e/2,o=new Int32Array(3),i=this.image,a=0;a<e;a++){var s=n+(0==(1&a)?Math.floor((a+1)/2):-Math.floor((a+1)/2));o[0]=0,o[1]=0,o[2]=0;for(var c=t;c<r&&!i.get(c,s);)c++;for(var f=0;c<r;){if(i.get(c,s))if(1===f)o[1]++;else if(2===f){var l;if(this.foundPatternCross(o))if(null!==(l=this.handlePossibleCenter(o,s,c)))return l;o[0]=o[2],o[1]=1,o[2]=0,f=1}else o[++f]++;else 1===f&&f++,o[f]++;c++}if(this.foundPatternCross(o))if(null!==(l=this.handlePossibleCenter(o,s,r)))return l}if(0!==this.possibleCenters.length)return this.possibleCenters[0];throw new u.a},t.centerFromEnd=function(t,e){return e-t[2]-t[1]/2},t.prototype.foundPatternCross=function(t){for(var e=this.moduleSize,r=e/2,n=0;n<3;n++)if(Math.abs(e-t[n])>=r)return!1;return!0},t.prototype.crossCheckVertical=function(e,r,n,o){var i=this.image,a=i.getHeight(),u=this.crossCheckStateCount;u[0]=0,u[1]=0,u[2]=0;for(var s=e;s>=0&&i.get(r,s)&&u[1]<=n;)u[1]++,s--;if(s<0||u[1]>n)return NaN;for(;s>=0&&!i.get(r,s)&&u[0]<=n;)u[0]++,s--;if(u[0]>n)return NaN;for(s=e+1;s<a&&i.get(r,s)&&u[1]<=n;)u[1]++,s++;if(s===a||u[1]>n)return NaN;for(;s<a&&!i.get(r,s)&&u[2]<=n;)u[2]++,s++;if(u[2]>n)return NaN;var c=u[0]+u[1]+u[2];return 5*Math.abs(c-o)>=2*o?NaN:this.foundPatternCross(u)?t.centerFromEnd(u,s):NaN},t.prototype.handlePossibleCenter=function(e,r,n){var o,i,a=e[0]+e[1]+e[2],u=t.centerFromEnd(e,n),s=this.crossCheckVertical(r,u,2*e[1],a);if(!isNaN(s)){var c=(e[0]+e[1]+e[2])/3;try{for(var f=P(this.possibleCenters),l=f.next();!l.done;l=f.next()){var h=l.value;if(h.aboutEquals(c,s,u))return h.combineEstimate(s,u,c)}}catch(t){o={error:t}}finally{try{l&&!l.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}var d=new D(u,s,c);this.possibleCenters.push(d),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(d)}return null},t}(),B=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),L=function(t){function e(e,r,n,o){var i=t.call(this,e,r)||this;return i.estimatedModuleSize=n,i.count=o,void 0===o&&(i.count=1),i}return B(e,t),e.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},e.prototype.getCount=function(){return this.count},e.prototype.aboutEquals=function(t,e,r){if(Math.abs(e-this.getY())<=t&&Math.abs(r-this.getX())<=t){var n=Math.abs(t-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,r,n){var o=this.count+1;return new e((this.count*this.getX()+r)/o,(this.count*this.getY()+t)/o,(this.count*this.estimatedModuleSize+n)/o,o)},e}(R.a),x=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}(),F=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.")},k=function(){function t(t,e){this.image=t,this.resultPointCallback=e,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=e}return t.prototype.getImage=function(){return this.image},t.prototype.getPossibleCenters=function(){return this.possibleCenters},t.prototype.find=function(e){var r=null!=e&&void 0!==e.get(a.a.TRY_HARDER),n=null!=e&&void 0!==e.get(a.a.PURE_BARCODE),o=this.image,i=o.getHeight(),u=o.getWidth(),s=Math.floor(3*i/(4*t.MAX_MODULES));(s<t.MIN_SKIP||r)&&(s=t.MIN_SKIP);for(var c=!1,f=new Int32Array(5),l=s-1;l<i&&!c;l+=s){f[0]=0,f[1]=0,f[2]=0,f[3]=0,f[4]=0;for(var h=0,d=0;d<u;d++)if(o.get(d,l))1==(1&h)&&h++,f[h]++;else if(0==(1&h))if(4===h)if(t.foundPatternCross(f)){if(!0!==this.handlePossibleCenter(f,l,d,n)){f[0]=f[2],f[1]=f[3],f[2]=f[4],f[3]=1,f[4]=0,h=3;continue}if(s=2,!0===this.hasSkipped)c=this.haveMultiplyConfirmedCenters();else{var p=this.findRowSkip();p>f[2]&&(l+=p-f[2]-s,d=u-1)}h=0,f[0]=0,f[1]=0,f[2]=0,f[3]=0,f[4]=0}else f[0]=f[2],f[1]=f[3],f[2]=f[4],f[3]=1,f[4]=0,h=3;else f[++h]++;else f[h]++;if(t.foundPatternCross(f))!0===this.handlePossibleCenter(f,l,u,n)&&(s=f[0],this.hasSkipped&&(c=this.haveMultiplyConfirmedCenters()))}var y=this.selectBestPatterns();return R.a.orderBestPatterns(y),new x(y)},t.centerFromEnd=function(t,e){return e-t[4]-t[3]-t[2]/2},t.foundPatternCross=function(t){for(var e=0,r=0;r<5;r++){var n=t[r];if(0===n)return!1;e+=n}if(e<7)return!1;var o=e/7,i=o/2;return Math.abs(o-t[0])<i&&Math.abs(o-t[1])<i&&Math.abs(3*o-t[2])<3*i&&Math.abs(o-t[3])<i&&Math.abs(o-t[4])<i},t.prototype.getCrossCheckStateCount=function(){var t=this.crossCheckStateCount;return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t},t.prototype.crossCheckDiagonal=function(e,r,n,o){for(var i=this.getCrossCheckStateCount(),a=0,u=this.image;e>=a&&r>=a&&u.get(r-a,e-a);)i[2]++,a++;if(e<a||r<a)return!1;for(;e>=a&&r>=a&&!u.get(r-a,e-a)&&i[1]<=n;)i[1]++,a++;if(e<a||r<a||i[1]>n)return!1;for(;e>=a&&r>=a&&u.get(r-a,e-a)&&i[0]<=n;)i[0]++,a++;if(i[0]>n)return!1;var s=u.getHeight(),c=u.getWidth();for(a=1;e+a<s&&r+a<c&&u.get(r+a,e+a);)i[2]++,a++;if(e+a>=s||r+a>=c)return!1;for(;e+a<s&&r+a<c&&!u.get(r+a,e+a)&&i[3]<n;)i[3]++,a++;if(e+a>=s||r+a>=c||i[3]>=n)return!1;for(;e+a<s&&r+a<c&&u.get(r+a,e+a)&&i[4]<n;)i[4]++,a++;if(i[4]>=n)return!1;var f=i[0]+i[1]+i[2]+i[3]+i[4];return Math.abs(f-o)<2*o&&t.foundPatternCross(i)},t.prototype.crossCheckVertical=function(e,r,n,o){for(var i=this.image,a=i.getHeight(),u=this.getCrossCheckStateCount(),s=e;s>=0&&i.get(r,s);)u[2]++,s--;if(s<0)return NaN;for(;s>=0&&!i.get(r,s)&&u[1]<=n;)u[1]++,s--;if(s<0||u[1]>n)return NaN;for(;s>=0&&i.get(r,s)&&u[0]<=n;)u[0]++,s--;if(u[0]>n)return NaN;for(s=e+1;s<a&&i.get(r,s);)u[2]++,s++;if(s===a)return NaN;for(;s<a&&!i.get(r,s)&&u[3]<n;)u[3]++,s++;if(s===a||u[3]>=n)return NaN;for(;s<a&&i.get(r,s)&&u[4]<n;)u[4]++,s++;if(u[4]>=n)return NaN;var c=u[0]+u[1]+u[2]+u[3]+u[4];return 5*Math.abs(c-o)>=2*o?NaN:t.foundPatternCross(u)?t.centerFromEnd(u,s):NaN},t.prototype.crossCheckHorizontal=function(e,r,n,o){for(var i=this.image,a=i.getWidth(),u=this.getCrossCheckStateCount(),s=e;s>=0&&i.get(s,r);)u[2]++,s--;if(s<0)return NaN;for(;s>=0&&!i.get(s,r)&&u[1]<=n;)u[1]++,s--;if(s<0||u[1]>n)return NaN;for(;s>=0&&i.get(s,r)&&u[0]<=n;)u[0]++,s--;if(u[0]>n)return NaN;for(s=e+1;s<a&&i.get(s,r);)u[2]++,s++;if(s===a)return NaN;for(;s<a&&!i.get(s,r)&&u[3]<n;)u[3]++,s++;if(s===a||u[3]>=n)return NaN;for(;s<a&&i.get(s,r)&&u[4]<n;)u[4]++,s++;if(u[4]>=n)return NaN;var c=u[0]+u[1]+u[2]+u[3]+u[4];return 5*Math.abs(c-o)>=o?NaN:t.foundPatternCross(u)?t.centerFromEnd(u,s):NaN},t.prototype.handlePossibleCenter=function(e,r,n,o){var i=e[0]+e[1]+e[2]+e[3]+e[4],a=t.centerFromEnd(e,n),u=this.crossCheckVertical(r,Math.floor(a),e[2],i);if(!isNaN(u)&&(a=this.crossCheckHorizontal(Math.floor(a),Math.floor(u),e[2],i),!isNaN(a)&&(!o||this.crossCheckDiagonal(Math.floor(u),Math.floor(a),e[2],i)))){for(var s=i/7,c=!1,f=this.possibleCenters,l=0,h=f.length;l<h;l++){var d=f[l];if(d.aboutEquals(s,u,a)){f[l]=d.combineEstimate(u,a,s),c=!0;break}}if(!c){var p=new L(a,u,s);f.push(p),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(p)}return!0}return!1},t.prototype.findRowSkip=function(){var e,r;if(this.possibleCenters.length<=1)return 0;var n=null;try{for(var o=F(this.possibleCenters),i=o.next();!i.done;i=o.next()){var a=i.value;if(a.getCount()>=t.CENTER_QUORUM){if(null!=n)return this.hasSkipped=!0,Math.floor((Math.abs(n.getX()-a.getX())-Math.abs(n.getY()-a.getY()))/2);n=a}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return 0},t.prototype.haveMultiplyConfirmedCenters=function(){var e,r,n,o,i=0,a=0,u=this.possibleCenters.length;try{for(var s=F(this.possibleCenters),c=s.next();!c.done;c=s.next()){(p=c.value).getCount()>=t.CENTER_QUORUM&&(i++,a+=p.getEstimatedModuleSize())}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}if(i<3)return!1;var f=a/u,l=0;try{for(var h=F(this.possibleCenters),d=h.next();!d.done;d=h.next()){var p=d.value;l+=Math.abs(p.getEstimatedModuleSize()-f)}}catch(t){n={error:t}}finally{try{d&&!d.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}return l<=.05*a},t.prototype.selectBestPatterns=function(){var t,e,r,n,o=this.possibleCenters.length;if(o<3)throw new u.a;var i,a=this.possibleCenters;if(o>3){var s=0,c=0;try{for(var f=F(this.possibleCenters),l=f.next();!l.done;l=f.next()){var h=l.value.getEstimatedModuleSize();s+=h,c+=h*h}}catch(e){t={error:e}}finally{try{l&&!l.done&&(e=f.return)&&e.call(f)}finally{if(t)throw t.error}}i=s/o;var d=Math.sqrt(c/o-i*i);a.sort((function(t,e){var r=Math.abs(e.getEstimatedModuleSize()-i),n=Math.abs(t.getEstimatedModuleSize()-i);return r<n?-1:r>n?1:0}));for(var p=Math.max(.2*i,d),y=0;y<a.length&&a.length>3;y++){var g=a[y];Math.abs(g.getEstimatedModuleSize()-i)>p&&(a.splice(y,1),y--)}}if(a.length>3){s=0;try{for(var v=F(a),w=v.next();!w.done;w=v.next()){s+=w.value.getEstimatedModuleSize()}}catch(t){r={error:t}}finally{try{w&&!w.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}i=s/a.length,a.sort((function(t,e){if(e.getCount()===t.getCount()){var r=Math.abs(e.getEstimatedModuleSize()-i),n=Math.abs(t.getEstimatedModuleSize()-i);return r<n?1:r>n?-1:0}return e.getCount()-t.getCount()})),a.splice(3)}return[a[0],a[1],a[2]]},t.CENTER_QUORUM=2,t.MIN_SKIP=3,t.MAX_MODULES=57,t}(),V=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(a.a.NEED_RESULT_POINT_CALLBACK);var e=new k(this.image,this.resultPointCallback).find(t);return this.processFinderPatternInfo(e)},t.prototype.processFinderPatternInfo=function(e){var r=e.getTopLeft(),n=e.getTopRight(),o=e.getBottomLeft(),i=this.calculateModuleSize(r,n,o);if(i<1)throw new u.a("No pattern found in proccess finder.");var a=t.computeDimension(r,n,o,i),s=d.a.getProvisionalVersionForDimension(a),c=s.getDimensionForVersion()-7,f=null;if(s.getAlignmentPatternCenters().length>0)for(var l=n.getX()-r.getX()+o.getX(),h=n.getY()-r.getY()+o.getY(),p=1-3/c,y=Math.floor(r.getX()+p*(l-r.getX())),g=Math.floor(r.getY()+p*(h-r.getY())),v=4;v<=16;v<<=1)try{f=this.findAlignmentInRegion(i,y,g,v);break}catch(t){if(!(t instanceof u.a))throw t}var w,_=t.createTransform(r,n,o,f,a),m=t.sampleGrid(this.image,_,a);return w=null===f?[o,r,n]:[o,r,n,f],new b.a(m,w)},t.createTransform=function(t,e,r,n,o){var i,a,u,s,c=o-3.5;return null!==n?(i=n.getX(),a=n.getY(),s=u=c-3):(i=e.getX()-t.getX()+r.getX(),a=e.getY()-t.getY()+r.getY(),u=c,s=c),T.a.quadrilateralToQuadrilateral(3.5,3.5,c,3.5,u,s,3.5,c,t.getX(),t.getY(),e.getX(),e.getY(),i,a,r.getX(),r.getY())},t.sampleGrid=function(t,e,r){return O.a.getInstance().sampleGridWithTransform(t,r,r,e)},t.computeDimension=function(t,e,r,n){var o=S.a.round(R.a.distance(t,e)/n),i=S.a.round(R.a.distance(t,r)/n),a=Math.floor((o+i)/2)+7;switch(3&a){case 0:a++;break;case 2:a--;break;case 3:throw new u.a("Dimensions could be not found.")}return a},t.prototype.calculateModuleSize=function(t,e,r){return(this.calculateModuleSizeOneWay(t,e)+this.calculateModuleSizeOneWay(t,r))/2},t.prototype.calculateModuleSizeOneWay=function(t,e){var r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY())),n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY()));return isNaN(r)?n/7:isNaN(n)?r/7:(r+n)/14},t.prototype.sizeOfBlackWhiteBlackRunBothWays=function(t,e,r,n){var o=this.sizeOfBlackWhiteBlackRun(t,e,r,n),i=1,a=t-(r-t);a<0?(i=t/(t-a),a=0):a>=this.image.getWidth()&&(i=(this.image.getWidth()-1-t)/(a-t),a=this.image.getWidth()-1);var u=Math.floor(e-(n-e)*i);return i=1,u<0?(i=e/(e-u),u=0):u>=this.image.getHeight()&&(i=(this.image.getHeight()-1-e)/(u-e),u=this.image.getHeight()-1),a=Math.floor(t+(a-t)*i),(o+=this.sizeOfBlackWhiteBlackRun(t,e,a,u))-1},t.prototype.sizeOfBlackWhiteBlackRun=function(t,e,r,n){var o=Math.abs(n-e)>Math.abs(r-t);if(o){var i=t;t=e,e=i,i=r,r=n,n=i}for(var a=Math.abs(r-t),u=Math.abs(n-e),s=-a/2,c=t<r?1:-1,f=e<n?1:-1,l=0,h=r+c,d=t,p=e;d!==h;d+=c){var y=o?p:d,g=o?d:p;if(1===l===this.image.get(y,g)){if(2===l)return S.a.distance(d,p,t,e);l++}if((s+=u)>0){if(p===n)break;p+=f,s-=a}}return 2===l?S.a.distance(r+c,n,t,e):NaN},t.prototype.findAlignmentInRegion=function(t,e,r,n){var o=Math.floor(n*t),i=Math.max(0,e-o),a=Math.min(this.image.getWidth()-1,e+o);if(a-i<3*t)throw new u.a("Alignment top exceeds estimated module size.");var s=Math.max(0,r-o),c=Math.min(this.image.getHeight()-1,r+o);if(c-s<3*t)throw new u.a("Alignment bottom exceeds estimated module size.");return new M(this.image,i,s,a-i,c-s,t,this.resultPointCallback).find()},t}(),U=function(){function t(){this.decoder=new I}return t.prototype.getDecoder=function(){return this.decoder},t.prototype.decode=function(e,r){var n,i;if(null!=r&&void 0!==r.get(a.a.PURE_BARCODE)){var u=t.extractPureBits(e.getBlackMatrix());n=this.decoder.decodeBitMatrix(u,r),i=t.NO_POINTS}else{var f=new V(e.getBlackMatrix()).detect(r);n=this.decoder.decodeBitMatrix(f.getBits(),r),i=f.getPoints()}n.getOther()instanceof E&&n.getOther().applyMirroredCorrection(i);var l=new s.a(n.getText(),n.getRawBytes(),void 0,i,o.a.QR_CODE,void 0),h=n.getByteSegments();null!==h&&l.putMetadata(c.a.BYTE_SEGMENTS,h);var d=n.getECLevel();return null!==d&&l.putMetadata(c.a.ERROR_CORRECTION_LEVEL,d),n.hasStructuredAppend()&&(l.putMetadata(c.a.STRUCTURED_APPEND_SEQUENCE,n.getStructuredAppendSequenceNumber()),l.putMetadata(c.a.STRUCTURED_APPEND_PARITY,n.getStructuredAppendParity())),l},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),r=t.getBottomRightOnBit();if(null===e||null===r)throw new u.a;var n=this.moduleSize(e,t),o=e[1],a=r[1],s=e[0],c=r[0];if(s>=c||o>=a)throw new u.a;if(a-o!=c-s&&(c=s+(a-o))>=t.getWidth())throw new u.a;var f=Math.round((c-s+1)/n),l=Math.round((a-o+1)/n);if(f<=0||l<=0)throw new u.a;if(l!==f)throw new u.a;var h=Math.floor(n/2);o+=h;var d=(s+=h)+Math.floor((f-1)*n)-c;if(d>0){if(d>h)throw new u.a;s-=d}var p=o+Math.floor((l-1)*n)-a;if(p>0){if(p>h)throw new u.a;o-=p}for(var y=new i.a(f,l),g=0;g<l;g++)for(var v=o+Math.floor(g*n),w=0;w<f;w++)t.get(s+Math.floor(w*n),v)&&y.set(w,g);return y},t.moduleSize=function(t,e){for(var r=e.getHeight(),n=e.getWidth(),o=t[0],i=t[1],a=!0,s=0;o<n&&i<r;){if(a!==e.get(o,i)){if(5==++s)break;a=!a}o++,i++}if(o===n||i===r)throw new u.a;return(o-t[0])/7},t.NO_POINTS=new Array,t}();e.a=U},function(t,e,r){"use strict";var n=r(84),o=r(271),i=r(193),a=r(28),u=r(258),s=r(269),c=r(181),f=r(264),l=r(276),h=r(317),d=r(62),p=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.")},y=function(){function t(t,e,r){this.ecCodewords=t,this.ecBlocks=[e],r&&this.ecBlocks.push(r)}return t.prototype.getECCodewords=function(){return this.ecCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t}(),g=function(){function t(t,e){this.count=t,this.dataCodewords=e}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t}(),v=function(){function t(t,e,r,n,o,i){var a,u;this.versionNumber=t,this.symbolSizeRows=e,this.symbolSizeColumns=r,this.dataRegionSizeRows=n,this.dataRegionSizeColumns=o,this.ecBlocks=i;var s=0,c=i.getECCodewords(),f=i.getECBlocks();try{for(var l=p(f),h=l.next();!h.done;h=l.next()){var d=h.value;s+=d.getCount()*(d.getDataCodewords()+c)}}catch(t){a={error:t}}finally{try{h&&!h.done&&(u=l.return)&&u.call(l)}finally{if(a)throw a.error}}this.totalCodewords=s}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},t.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},t.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},t.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t.getVersionForDimensions=function(e,r){var n,o;if(0!=(1&e)||0!=(1&r))throw new d.a;try{for(var i=p(t.VERSIONS),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.symbolSizeRows===e&&u.symbolSizeColumns===r)return u}}catch(t){n={error:t}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}throw new d.a},t.prototype.toString=function(){return""+this.versionNumber},t.buildVersions=function(){return[new t(1,10,10,8,8,new y(5,new g(1,3))),new t(2,12,12,10,10,new y(7,new g(1,5))),new t(3,14,14,12,12,new y(10,new g(1,8))),new t(4,16,16,14,14,new y(12,new g(1,12))),new t(5,18,18,16,16,new y(14,new g(1,18))),new t(6,20,20,18,18,new y(18,new g(1,22))),new t(7,22,22,20,20,new y(20,new g(1,30))),new t(8,24,24,22,22,new y(24,new g(1,36))),new t(9,26,26,24,24,new y(28,new g(1,44))),new t(10,32,32,14,14,new y(36,new g(1,62))),new t(11,36,36,16,16,new y(42,new g(1,86))),new t(12,40,40,18,18,new y(48,new g(1,114))),new t(13,44,44,20,20,new y(56,new g(1,144))),new t(14,48,48,22,22,new y(68,new g(1,174))),new t(15,52,52,24,24,new y(42,new g(2,102))),new t(16,64,64,14,14,new y(56,new g(2,140))),new t(17,72,72,16,16,new y(36,new g(4,92))),new t(18,80,80,18,18,new y(48,new g(4,114))),new t(19,88,88,20,20,new y(56,new g(4,144))),new t(20,96,96,22,22,new y(68,new g(4,174))),new t(21,104,104,24,24,new y(56,new g(6,136))),new t(22,120,120,18,18,new y(68,new g(6,175))),new t(23,132,132,20,20,new y(62,new g(8,163))),new t(24,144,144,22,22,new y(62,new g(8,156),new g(2,155))),new t(25,8,18,6,16,new y(7,new g(1,5))),new t(26,8,32,6,14,new y(11,new g(1,10))),new t(27,12,26,10,24,new y(14,new g(1,16))),new t(28,12,36,10,16,new y(18,new g(1,22))),new t(29,16,36,14,16,new y(24,new g(1,32))),new t(30,16,48,14,22,new y(28,new g(1,49)))]},t.VERSIONS=t.buildVersions(),t}(),w=r(72),_=function(){function t(e){var r=e.getHeight();if(r<8||r>144||0!=(1&r))throw new d.a;this.version=t.readVersion(e),this.mappingBitMatrix=this.extractDataRegion(e),this.readMappingMatrix=new o.a(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return t.prototype.getVersion=function(){return this.version},t.readVersion=function(t){var e=t.getHeight(),r=t.getWidth();return v.getVersionForDimensions(e,r)},t.prototype.readCodewords=function(){var t=new Int8Array(this.version.getTotalCodewords()),e=0,r=4,n=0,o=this.mappingBitMatrix.getHeight(),i=this.mappingBitMatrix.getWidth(),a=!1,u=!1,s=!1,c=!1;do{if(r!==o||0!==n||a)if(r!==o-2||0!==n||0==(3&i)||u)if(r!==o+4||2!==n||0!=(7&i)||s)if(r!==o-2||0!==n||4!=(7&i)||c){do{r<o&&n>=0&&!this.readMappingMatrix.get(n,r)&&(t[e++]=255&this.readUtah(r,n,o,i)),r-=2,n+=2}while(r>=0&&n<i);r+=1,n+=3;do{r>=0&&n<i&&!this.readMappingMatrix.get(n,r)&&(t[e++]=255&this.readUtah(r,n,o,i)),r+=2,n-=2}while(r<o&&n>=0);r+=3,n+=1}else t[e++]=255&this.readCorner4(o,i),r-=2,n+=2,c=!0;else t[e++]=255&this.readCorner3(o,i),r-=2,n+=2,s=!0;else t[e++]=255&this.readCorner2(o,i),r-=2,n+=2,u=!0;else t[e++]=255&this.readCorner1(o,i),r-=2,n+=2,a=!0}while(r<o||n<i);if(e!==this.version.getTotalCodewords())throw new d.a;return t},t.prototype.readModule=function(t,e,r,n){return t<0&&(t+=r,e+=4-(r+4&7)),e<0&&(e+=n,t+=4-(n+4&7)),this.readMappingMatrix.set(e,t),this.mappingBitMatrix.get(e,t)},t.prototype.readUtah=function(t,e,r,n){var o=0;return this.readModule(t-2,e-2,r,n)&&(o|=1),o<<=1,this.readModule(t-2,e-1,r,n)&&(o|=1),o<<=1,this.readModule(t-1,e-2,r,n)&&(o|=1),o<<=1,this.readModule(t-1,e-1,r,n)&&(o|=1),o<<=1,this.readModule(t-1,e,r,n)&&(o|=1),o<<=1,this.readModule(t,e-2,r,n)&&(o|=1),o<<=1,this.readModule(t,e-1,r,n)&&(o|=1),o<<=1,this.readModule(t,e,r,n)&&(o|=1),o},t.prototype.readCorner1=function(t,e){var r=0;return this.readModule(t-1,0,t,e)&&(r|=1),r<<=1,this.readModule(t-1,1,t,e)&&(r|=1),r<<=1,this.readModule(t-1,2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-1,t,e)&&(r|=1),r<<=1,this.readModule(1,e-1,t,e)&&(r|=1),r<<=1,this.readModule(2,e-1,t,e)&&(r|=1),r<<=1,this.readModule(3,e-1,t,e)&&(r|=1),r},t.prototype.readCorner2=function(t,e){var r=0;return this.readModule(t-3,0,t,e)&&(r|=1),r<<=1,this.readModule(t-2,0,t,e)&&(r|=1),r<<=1,this.readModule(t-1,0,t,e)&&(r|=1),r<<=1,this.readModule(0,e-4,t,e)&&(r|=1),r<<=1,this.readModule(0,e-3,t,e)&&(r|=1),r<<=1,this.readModule(0,e-2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-1,t,e)&&(r|=1),r<<=1,this.readModule(1,e-1,t,e)&&(r|=1),r},t.prototype.readCorner3=function(t,e){var r=0;return this.readModule(t-1,0,t,e)&&(r|=1),r<<=1,this.readModule(t-1,e-1,t,e)&&(r|=1),r<<=1,this.readModule(0,e-3,t,e)&&(r|=1),r<<=1,this.readModule(0,e-2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-1,t,e)&&(r|=1),r<<=1,this.readModule(1,e-3,t,e)&&(r|=1),r<<=1,this.readModule(1,e-2,t,e)&&(r|=1),r<<=1,this.readModule(1,e-1,t,e)&&(r|=1),r},t.prototype.readCorner4=function(t,e){var r=0;return this.readModule(t-3,0,t,e)&&(r|=1),r<<=1,this.readModule(t-2,0,t,e)&&(r|=1),r<<=1,this.readModule(t-1,0,t,e)&&(r|=1),r<<=1,this.readModule(0,e-2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-1,t,e)&&(r|=1),r<<=1,this.readModule(1,e-1,t,e)&&(r|=1),r<<=1,this.readModule(2,e-1,t,e)&&(r|=1),r<<=1,this.readModule(3,e-1,t,e)&&(r|=1),r},t.prototype.extractDataRegion=function(t){var e=this.version.getSymbolSizeRows(),r=this.version.getSymbolSizeColumns();if(t.getHeight()!==e)throw new w.a("Dimension of bitMatrix must match the version size");for(var n=this.version.getDataRegionSizeRows(),i=this.version.getDataRegionSizeColumns(),a=e/n|0,u=r/i|0,s=a*n,c=u*i,f=new o.a(c,s),l=0;l<a;++l)for(var h=l*n,d=0;d<u;++d)for(var p=d*i,y=0;y<n;++y)for(var g=l*(n+2)+1+y,v=h+y,_=0;_<i;++_){var m=d*(i+2)+1+_;if(t.get(m,g)){var A=p+_;f.set(A,v)}}return f},t}(),m=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,r){var n,o,i,a,u=r.getECBlocks(),s=0,c=u.getECBlocks();try{for(var f=m(c),l=f.next();!l.done;l=f.next()){s+=(g=l.value).getCount()}}catch(t){n={error:t}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}var h=new Array(s),d=0;try{for(var p=m(c),y=p.next();!y.done;y=p.next())for(var g=y.value,v=0;v<g.getCount();v++){var _=g.getDataCodewords(),A=u.getECCodewords()+_;h[d++]=new t(_,new Uint8Array(A))}}catch(t){i={error:t}}finally{try{y&&!y.done&&(a=p.return)&&a.call(p)}finally{if(i)throw i.error}}var E=h[0].codewords.length-u.getECCodewords(),C=E-1,I=0;for(v=0;v<C;v++)for(var S=0;S<d;S++)h[S].codewords[v]=e[I++];var b=24===r.getVersionNumber(),O=b?8:d;for(S=0;S<O;S++)h[S].codewords[E-1]=e[I++];var T=h[0].codewords.length;for(v=E;v<T;v++)for(S=0;S<d;S++){var R=b?(S+8)%d:S,N=b&&R>7?v-1:v;h[R].codewords[N]=e[I++]}if(I!==e.length)throw new w.a;return h},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}(),E=r(556),C=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},I=function(){function t(){this.rsDecoder=new h.a(l.a.DATA_MATRIX_FIELD_256)}return t.prototype.decode=function(t){var e,r,n=new _(t),o=n.getVersion(),i=n.readCodewords(),a=A.getDataBlocks(i,o),u=0;try{for(var s=C(a),c=s.next();!c.done;c=s.next()){u+=c.value.getNumDataCodewords()}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}for(var f=new Uint8Array(u),l=a.length,h=0;h<l;h++){var d=a[h],p=d.getCodewords(),y=d.getNumDataCodewords();this.correctErrors(p,y);for(var g=0;g<y;g++)f[g*l+h]=p[g]}return E.a.decode(f)},t.prototype.correctErrors=function(t,e){var r=new Int32Array(t);try{this.rsDecoder.decode(r,t.length-e)}catch(t){throw new f.a}for(var n=0;n<e;n++)t[n]=r[n]},t}(),S=r(377),b=r(357),O=r(358),T=r(83),R=function(){function t(t){this.image=t,this.rectangleDetector=new S.a(this.image)}return t.prototype.detect=function(){var e=this.rectangleDetector.detect(),r=this.detectSolid1(e);if((r=this.detectSolid2(r))[3]=this.correctTopRight(r),!r[3])throw new a.a;var n=(r=this.shiftToModuleCenter(r))[0],o=r[1],i=r[2],u=r[3],s=this.transitionsBetween(n,u)+1,c=this.transitionsBetween(i,u)+1;1==(1&s)&&(s+=1),1==(1&c)&&(c+=1),4*s<7*c&&4*c<7*s&&(s=c=Math.max(s,c));var f=t.sampleGrid(this.image,n,o,i,u,s,c);return new b.a(f,[n,o,i,u])},t.shiftPoint=function(t,e,r){var n=(e.getX()-t.getX())/(r+1),o=(e.getY()-t.getY())/(r+1);return new T.a(t.getX()+n,t.getY()+o)},t.moveAway=function(t,e,r){var n=t.getX(),o=t.getY();return n<e?n-=1:n+=1,o<r?o-=1:o+=1,new T.a(n,o)},t.prototype.detectSolid1=function(t){var e=t[0],r=t[1],n=t[3],o=t[2],i=this.transitionsBetween(e,r),a=this.transitionsBetween(r,n),u=this.transitionsBetween(n,o),s=this.transitionsBetween(o,e),c=i,f=[o,e,r,n];return c>a&&(c=a,f[0]=e,f[1]=r,f[2]=n,f[3]=o),c>u&&(c=u,f[0]=r,f[1]=n,f[2]=o,f[3]=e),c>s&&(f[0]=n,f[1]=o,f[2]=e,f[3]=r),f},t.prototype.detectSolid2=function(e){var r=e[0],n=e[1],o=e[2],i=e[3],a=this.transitionsBetween(r,i),u=t.shiftPoint(n,o,4*(a+1)),s=t.shiftPoint(o,n,4*(a+1));return this.transitionsBetween(u,r)<this.transitionsBetween(s,i)?(e[0]=r,e[1]=n,e[2]=o,e[3]=i):(e[0]=n,e[1]=o,e[2]=i,e[3]=r),e},t.prototype.correctTopRight=function(e){var r=e[0],n=e[1],o=e[2],i=e[3],a=this.transitionsBetween(r,i),u=this.transitionsBetween(n,i),s=t.shiftPoint(r,n,4*(u+1)),c=t.shiftPoint(o,n,4*(a+1));a=this.transitionsBetween(s,i),u=this.transitionsBetween(c,i);var f=new T.a(i.getX()+(o.getX()-n.getX())/(a+1),i.getY()+(o.getY()-n.getY())/(a+1)),l=new T.a(i.getX()+(r.getX()-n.getX())/(u+1),i.getY()+(r.getY()-n.getY())/(u+1));return this.isValid(f)?this.isValid(l)?this.transitionsBetween(s,f)+this.transitionsBetween(c,f)>this.transitionsBetween(s,l)+this.transitionsBetween(c,l)?f:l:f:this.isValid(l)?l:null},t.prototype.shiftToModuleCenter=function(e){var r=e[0],n=e[1],o=e[2],i=e[3],a=this.transitionsBetween(r,i)+1,u=this.transitionsBetween(o,i)+1,s=t.shiftPoint(r,n,4*u),c=t.shiftPoint(o,n,4*a);1==(1&(a=this.transitionsBetween(s,i)+1))&&(a+=1),1==(1&(u=this.transitionsBetween(c,i)+1))&&(u+=1);var f,l,h=(r.getX()+n.getX()+o.getX()+i.getX())/4,d=(r.getY()+n.getY()+o.getY()+i.getY())/4;return r=t.moveAway(r,h,d),n=t.moveAway(n,h,d),o=t.moveAway(o,h,d),i=t.moveAway(i,h,d),s=t.shiftPoint(r,n,4*u),s=t.shiftPoint(s,i,4*a),f=t.shiftPoint(n,r,4*u),f=t.shiftPoint(f,o,4*a),c=t.shiftPoint(o,i,4*u),c=t.shiftPoint(c,n,4*a),l=t.shiftPoint(i,o,4*u),[s,f,c,l=t.shiftPoint(l,r,4*a)]},t.prototype.isValid=function(t){return t.getX()>=0&&t.getX()<this.image.getWidth()&&t.getY()>0&&t.getY()<this.image.getHeight()},t.sampleGrid=function(t,e,r,n,o,i,a){return O.a.getInstance().sampleGrid(t,i,a,.5,.5,i-.5,.5,i-.5,a-.5,.5,a-.5,e.getX(),e.getY(),o.getX(),o.getY(),n.getX(),n.getY(),r.getX(),r.getY())},t.prototype.transitionsBetween=function(t,e){var r=Math.trunc(t.getX()),n=Math.trunc(t.getY()),o=Math.trunc(e.getX()),i=Math.trunc(e.getY()),a=Math.abs(i-n)>Math.abs(o-r);if(a){var u=r;r=n,n=u,u=o,o=i,i=u}for(var s=Math.abs(o-r),c=Math.abs(i-n),f=-s/2,l=n<i?1:-1,h=r<o?1:-1,d=0,p=this.image.get(a?n:r,a?r:n),y=r,g=n;y!==o;y+=h){var v=this.image.get(a?g:y,a?y:g);if(v!==p&&(d++,p=v),(f+=c)>0){if(g===i)break;g+=l,f-=s}}return d},t}(),N=function(){function t(){this.decoder=new I}return t.prototype.decode=function(e,r){var o,a;if(void 0===r&&(r=null),null!=r&&r.has(i.a.PURE_BARCODE)){var f=t.extractPureBits(e.getBlackMatrix());o=this.decoder.decode(f),a=t.NO_POINTS}else{var l=new R(e.getBlackMatrix()).detect();o=this.decoder.decode(l.getBits()),a=l.getPoints()}var h=o.getRawBytes(),d=new u.a(o.getText(),h,8*h.length,a,n.a.DATA_MATRIX,c.a.currentTimeMillis()),p=o.getByteSegments();null!=p&&d.putMetadata(s.a.BYTE_SEGMENTS,p);var y=o.getECLevel();return null!=y&&d.putMetadata(s.a.ERROR_CORRECTION_LEVEL,y),d},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),r=t.getBottomRightOnBit();if(null==e||null==r)throw new a.a;var n=this.moduleSize(e,t),i=e[1],u=r[1],s=e[0],c=(r[0]-s+1)/n,f=(u-i+1)/n;if(c<=0||f<=0)throw new a.a;var l=n/2;i+=l,s+=l;for(var h=new o.a(c,f),d=0;d<f;d++)for(var p=i+d*n,y=0;y<c;y++)t.get(s+y*n,p)&&h.set(y,d);return h},t.moduleSize=function(t,e){for(var r=e.getWidth(),n=t[0],o=t[1];n<r&&e.get(n,o);)n++;if(n===r)throw new a.a;var i=n-t[0];if(0===i)throw new a.a;return i},t.NO_POINTS=[],t}();e.a=N},function(t,e,r){"use strict";var n,o=r(259),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="ReedSolomonException",e}(o.a);e.a=a},function(t,e,r){"use strict";var n=function(){function t(t,e){this.value=t,this.checksumPortion=e}return t.prototype.getValue=function(){return this.value},t.prototype.getChecksumPortion=function(){return this.checksumPortion},t.prototype.toString=function(){return this.value+"("+this.checksumPortion+")"},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.value===r.value&&this.checksumPortion===r.checksumPortion},t.prototype.hashCode=function(){return this.value^this.checksumPortion},t}();e.a=n},,,,,,,,,,,,function(t,e,r){"use strict";var n=r(72),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.a;return this.logTable[t]},t.addOrSubtract=function(t,e){return t^e},t}();e.a=o},function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r(83),o=r(554),i=r(182),a=r(377),u=r(276),s=r(317),c=r(28),f=r(358),l=r(134),h=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.toResultPoint=function(){return new n.a(this.getX(),this.getY())},t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t}(),d=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(),r=this.getBullsEyeCorners(e);if(t){var n=r[0];r[0]=r[2],r[2]=n}this.extractParameters(r);var i=this.sampleGrid(this.image,r[this.shift%4],r[(this.shift+1)%4],r[(this.shift+2)%4],r[(this.shift+3)%4]),a=this.getMatrixCornerPoints(r);return new o.a(i,a,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 c.a;var e=2*this.nbCenterLayers,r=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(r,e);for(var n=0,o=0;o<4;o++){var i=r[(this.shift+o)%4];this.compact?(n<<=7,n+=i>>1&127):(n<<=10,n+=(i>>2&992)+(i>>1&31))}var a=this.getCorrectedParameterData(n,this.compact);this.compact?(this.nbLayers=1+(a>>6),this.nbDataBlocks=1+(63&a)):(this.nbLayers=1+(a>>11),this.nbDataBlocks=1+(2047&a))},t.prototype.getRotation=function(t,e){var r=0;t.forEach((function(t,n,o){r=(r<<3)+((t>>e-2<<1)+(1&t))})),r=((1&r)<<11)+(r>>1);for(var n=0;n<4;n++)if(l.a.bitCount(r^this.EXPECTED_CORNER_BITS[n])<=2)return n;throw new c.a},t.prototype.getCorrectedParameterData=function(t,e){var r,n;e?(r=7,n=2):(r=10,n=4);for(var o=r-n,i=new Int32Array(r),a=r-1;a>=0;--a)i[a]=15&t,t>>=4;try{new s.a(u.a.AZTEC_PARAM).decode(i,o)}catch(t){throw new c.a}var f=0;for(a=0;a<n;a++)f=(f<<4)+i[a];return f},t.prototype.getBullsEyeCorners=function(t){var e=t,r=t,o=t,i=t,a=!0;for(this.nbCenterLayers=1;this.nbCenterLayers<9;this.nbCenterLayers++){var u=this.getFirstDifferent(e,a,1,-1),s=this.getFirstDifferent(r,a,1,1),f=this.getFirstDifferent(o,a,-1,1),l=this.getFirstDifferent(i,a,-1,-1);if(this.nbCenterLayers>2){var h=this.distancePoint(l,u)*this.nbCenterLayers/(this.distancePoint(i,e)*(this.nbCenterLayers+2));if(h<.75||h>1.25||!this.isWhiteOrBlackRectangle(u,s,f,l))break}e=u,r=s,o=f,i=l,a=!a}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new c.a;this.compact=5===this.nbCenterLayers;var d=new n.a(e.getX()+.5,e.getY()-.5),p=new n.a(r.getX()+.5,r.getY()+.5),y=new n.a(o.getX()-.5,o.getY()+.5),g=new n.a(i.getX()-.5,i.getY()-.5);return this.expandSquare([d,p,y,g],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},t.prototype.getMatrixCenter=function(){var t,e,r,n;try{t=(f=new a.a(this.image).detect())[0],e=f[1],r=f[2],n=f[3]}catch(i){var o=this.image.getWidth()/2,u=this.image.getHeight()/2;t=this.getFirstDifferent(new h(o+7,u-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new h(o+7,u+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new h(o-7,u+7),!1,-1,1).toResultPoint(),n=this.getFirstDifferent(new h(o-7,u-7),!1,-1,-1).toResultPoint()}var s=i.a.round((t.getX()+n.getX()+e.getX()+r.getX())/4),c=i.a.round((t.getY()+n.getY()+e.getY()+r.getY())/4);try{var f;t=(f=new a.a(this.image,15,s,c).detect())[0],e=f[1],r=f[2],n=f[3]}catch(o){t=this.getFirstDifferent(new h(s+7,c-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new h(s+7,c+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new h(s-7,c+7),!1,-1,1).toResultPoint(),n=this.getFirstDifferent(new h(s-7,c-7),!1,-1,-1).toResultPoint()}return s=i.a.round((t.getX()+n.getX()+e.getX()+r.getX())/4),c=i.a.round((t.getY()+n.getY()+e.getY()+r.getY())/4),new h(s,c)},t.prototype.getMatrixCornerPoints=function(t){return this.expandSquare(t,2*this.nbCenterLayers,this.getDimension())},t.prototype.sampleGrid=function(t,e,r,n,o){var i=f.a.getInstance(),a=this.getDimension(),u=a/2-this.nbCenterLayers,s=a/2+this.nbCenterLayers;return i.sampleGrid(t,a,a,u,u,s,u,s,s,u,s,e.getX(),e.getY(),r.getX(),r.getY(),n.getX(),n.getY(),o.getX(),o.getY())},t.prototype.sampleLine=function(t,e,r){for(var n=0,o=this.distanceResultPoint(t,e),a=o/r,u=t.getX(),s=t.getY(),c=a*(e.getX()-t.getX())/o,f=a*(e.getY()-t.getY())/o,l=0;l<r;l++)this.image.get(i.a.round(u+l*c),i.a.round(s+l*f))&&(n|=1<<r-l-1);return n},t.prototype.isWhiteOrBlackRectangle=function(t,e,r,n){t=new h(t.getX()-3,t.getY()+3),e=new h(e.getX()-3,e.getY()-3),r=new h(r.getX()+3,r.getY()-3),n=new h(n.getX()+3,n.getY()+3);var o=this.getColor(n,t);if(0===o)return!1;var i=this.getColor(t,e);return i===o&&((i=this.getColor(e,r))===o&&(i=this.getColor(r,n))===o)},t.prototype.getColor=function(t,e){for(var r=this.distancePoint(t,e),n=(e.getX()-t.getX())/r,o=(e.getY()-t.getY())/r,a=0,u=t.getX(),s=t.getY(),c=this.image.get(t.getX(),t.getY()),f=Math.ceil(r),l=0;l<f;l++)u+=n,s+=o,this.image.get(i.a.round(u),i.a.round(s))!==c&&a++;var h=a/r;return h>.1&&h<.9?0:h<=.1===c?1:-1},t.prototype.getFirstDifferent=function(t,e,r,n){for(var o=t.getX()+r,i=t.getY()+n;this.isValid(o,i)&&this.image.get(o,i)===e;)o+=r,i+=n;for(o-=r,i-=n;this.isValid(o,i)&&this.image.get(o,i)===e;)o+=r;for(o-=r;this.isValid(o,i)&&this.image.get(o,i)===e;)i+=n;return new h(o,i-=n)},t.prototype.expandSquare=function(t,e,r){var o=r/(2*e),i=t[0].getX()-t[2].getX(),a=t[0].getY()-t[2].getY(),u=(t[0].getX()+t[2].getX())/2,s=(t[0].getY()+t[2].getY())/2,c=new n.a(u+o*i,s+o*a),f=new n.a(u-o*i,s-o*a);return i=t[1].getX()-t[3].getX(),a=t[1].getY()-t[3].getY(),u=(t[1].getX()+t[3].getX())/2,s=(t[1].getY()+t[3].getY())/2,[c,new n.a(u+o*i,s+o*a),f,new n.a(u-o*i,s-o*a)]},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=i.a.round(t.getX()),r=i.a.round(t.getY());return this.isValid(e,r)},t.prototype.distancePoint=function(t,e){return i.a.distance(t.getX(),t.getY(),e.getX(),e.getY())},t.prototype.distanceResultPoint=function(t,e){return i.a.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*(l.a.truncDivision(this.nbLayers-4,8)+1)+15},t}();e.b=d},function(t,e,r){"use strict";var n,o=r(259),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="ArithmeticException",e}(o.a);e.a=a},function(t,e,r){"use strict";var n=function(){function t(t,e,r,n,o,i,a,u,s){this.a11=t,this.a21=e,this.a31=r,this.a12=n,this.a22=o,this.a32=i,this.a13=a,this.a23=u,this.a33=s}return t.quadrilateralToQuadrilateral=function(e,r,n,o,i,a,u,s,c,f,l,h,d,p,y,g){var v=t.quadrilateralToSquare(e,r,n,o,i,a,u,s);return t.squareToQuadrilateral(c,f,l,h,d,p,y,g).times(v)},t.prototype.transformPoints=function(t){for(var e=t.length,r=this.a11,n=this.a12,o=this.a13,i=this.a21,a=this.a22,u=this.a23,s=this.a31,c=this.a32,f=this.a33,l=0;l<e;l+=2){var h=t[l],d=t[l+1],p=o*h+u*d+f;t[l]=(r*h+i*d+s)/p,t[l+1]=(n*h+a*d+c)/p}},t.prototype.transformPointsWithValues=function(t,e){for(var r=this.a11,n=this.a12,o=this.a13,i=this.a21,a=this.a22,u=this.a23,s=this.a31,c=this.a32,f=this.a33,l=t.length,h=0;h<l;h++){var d=t[h],p=e[h],y=o*d+u*p+f;t[h]=(r*d+i*p+s)/y,e[h]=(n*d+a*p+c)/y}},t.squareToQuadrilateral=function(e,r,n,o,i,a,u,s){var c=e-n+i-u,f=r-o+a-s;if(0===c&&0===f)return new t(n-e,i-n,e,o-r,a-o,r,0,0,1);var l=n-i,h=u-i,d=o-a,p=s-a,y=l*p-h*d,g=(c*p-h*f)/y,v=(l*f-c*d)/y;return new t(n-e+g*n,u-e+v*u,e,o-r+g*o,s-r+v*s,r,g,v,1)},t.quadrilateralToSquare=function(e,r,n,o,i,a,u,s){return t.squareToQuadrilateral(e,r,n,o,i,a,u,s).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(e){return new t(this.a11*e.a11+this.a21*e.a12+this.a31*e.a13,this.a11*e.a21+this.a21*e.a22+this.a31*e.a23,this.a11*e.a31+this.a21*e.a32+this.a31*e.a33,this.a12*e.a11+this.a22*e.a12+this.a32*e.a13,this.a12*e.a21+this.a22*e.a22+this.a32*e.a23,this.a12*e.a31+this.a22*e.a32+this.a32*e.a33,this.a13*e.a11+this.a23*e.a12+this.a33*e.a13,this.a13*e.a21+this.a23*e.a22+this.a33*e.a23,this.a13*e.a31+this.a23*e.a32+this.a33*e.a33)},t}();e.a=n},function(t,e,r){"use strict";var n=r(407),o=function(){function t(t){this.information=t,this.generalDecoder=new n.a(t)}return t.prototype.getInformation=function(){return this.information},t.prototype.getGeneralDecoder=function(){return this.generalDecoder},t}();e.a=o},function(t,e,r){"use strict";var n=r(72),o=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 n.a(""+t);var e=0,r=this.bitOffset,o=this.byteOffset,i=this.bytes;if(r>0){var a=8-r,u=t<a?t:a,s=255>>8-u<<(c=a-u);e=(i[o]&s)>>c,t-=u,8===(r+=u)&&(r=0,o++)}if(t>0){for(;t>=8;)e=e<<8|255&i[o],o++,t-=8;if(t>0){var c;s=255>>(c=8-t)<<c;e=e<<t|(i[o]&s)>>c,r+=t}}return this.bitOffset=r,this.byteOffset=o,e},t.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},t}();e.a=o},function(t,e,r){"use strict";var n=r(318),o=r(134),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(t){this.errorCorrectionLevel=n.a.forBits(t>>3&3),this.dataMask=7&t}return t.numBitsDiffering=function(t,e){return o.a.bitCount(t^e)},t.decodeFormatInformation=function(e,r){var n=t.doDecodeFormatInformation(e,r);return null!==n?n:t.doDecodeFormatInformation(e^t.FORMAT_INFO_MASK_QR,r^t.FORMAT_INFO_MASK_QR)},t.doDecodeFormatInformation=function(e,r){var n,o,a=Number.MAX_SAFE_INTEGER,u=0;try{for(var s=i(t.FORMAT_INFO_DECODE_LOOKUP),c=s.next();!c.done;c=s.next()){var f=c.value,l=f[0];if(l===e||l===r)return new t(f[1]);var h=t.numBitsDiffering(e,l);h<a&&(u=f[1],a=h),e!==r&&(h=t.numBitsDiffering(r,l))<a&&(u=f[1],a=h)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return a<=3?new t(u):null},t.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},t.prototype.getDataMask=function(){return this.dataMask},t.prototype.hashCode=function(){return this.errorCorrectionLevel.getBits()<<3|this.dataMask},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.errorCorrectionLevel===r.errorCorrectionLevel&&this.dataMask===r.dataMask},t.FORMAT_INFO_MASK_QR=21522,t.FORMAT_INFO_DECODE_LOOKUP=[Int32Array.from([21522,0]),Int32Array.from([20773,1]),Int32Array.from([24188,2]),Int32Array.from([23371,3]),Int32Array.from([17913,4]),Int32Array.from([16590,5]),Int32Array.from([20375,6]),Int32Array.from([19104,7]),Int32Array.from([30660,8]),Int32Array.from([29427,9]),Int32Array.from([32170,10]),Int32Array.from([30877,11]),Int32Array.from([26159,12]),Int32Array.from([25368,13]),Int32Array.from([27713,14]),Int32Array.from([26998,15]),Int32Array.from([5769,16]),Int32Array.from([5054,17]),Int32Array.from([7399,18]),Int32Array.from([6608,19]),Int32Array.from([1890,20]),Int32Array.from([597,21]),Int32Array.from([3340,22]),Int32Array.from([2107,23]),Int32Array.from([13663,24]),Int32Array.from([12392,25]),Int32Array.from([16177,26]),Int32Array.from([14854,27]),Int32Array.from([9396,28]),Int32Array.from([8579,29]),Int32Array.from([11994,30]),Int32Array.from([11245,31])],t}();e.a=a},function(t,e,r){"use strict";var n=r(303),o=r(181),i=r(72),a=function(){function t(t){this.field=t,this.cachedGenerators=[],this.cachedGenerators.push(new n.a(t,Int32Array.from([1])))}return t.prototype.buildGenerator=function(t){var e=this.cachedGenerators;if(t>=e.length)for(var r=e[e.length-1],o=this.field,i=e.length;i<=t;i++){var a=r.multiply(new n.a(o,Int32Array.from([1,o.exp(i-1+o.getGeneratorBase())])));e.push(a),r=a}return e[t]},t.prototype.encode=function(t,e){if(0===e)throw new i.a("No error correction bytes");var r=t.length-e;if(r<=0)throw new i.a("No data bytes provided");var a=this.buildGenerator(e),u=new Int32Array(r);o.a.arraycopy(t,0,u,0,r);for(var s=new n.a(this.field,u),c=(s=s.multiplyByMonomial(e,1)).divide(a)[1].getCoefficients(),f=e-c.length,l=0;l<f;l++)t[r+l]=0;o.a.arraycopy(c,0,t,r+f,c.length)},t}();e.a=a},function(t,e,r){"use strict";var n=r(274),o=r(265),i=r(266),a=r(276),u=r(403),s=r(262),c=r(304),f=r(352),l=r(561),h=r(379),d=r(450),p=r(293),y=function(){function t(t,e){this.dataBytes=t,this.errorCorrectionBytes=e}return t.prototype.getDataBytes=function(){return this.dataBytes},t.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},t}(),g=r(263),v=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.")},w=function(){function t(){}return t.calculateMaskPenalty=function(t){return f.a.applyMaskPenaltyRule1(t)+f.a.applyMaskPenaltyRule2(t)+f.a.applyMaskPenaltyRule3(t)+f.a.applyMaskPenaltyRule4(t)},t.encode=function(e,r,a){void 0===a&&(a=null);var u=t.DEFAULT_BYTE_MODE_ENCODING,f=null!==a&&void 0!==a.get(n.a.CHARACTER_SET);f&&(u=a.get(n.a.CHARACTER_SET).toString());var p=this.chooseMode(e,u),y=new o.a;if(p===s.a.BYTE&&(f||t.DEFAULT_BYTE_MODE_ENCODING!==u)){var v=i.a.getCharacterSetECIByName(u);void 0!==v&&this.appendECI(v,y)}this.appendModeInfo(p,y);var w,_=new o.a;if(this.appendBytes(e,p,_,u),null!==a&&void 0!==a.get(n.a.QR_VERSION)){var m=Number.parseInt(a.get(n.a.QR_VERSION).toString(),10);w=c.a.getVersionForNumber(m);var A=this.calculateBitsNeeded(p,y,_,w);if(!this.willFit(A,w,r))throw new g.a("Data too big for requested version")}else w=this.recommendVersion(r,p,y,_);var E=new o.a;E.appendBitArray(y);var C=p===s.a.BYTE?_.getSizeInBytes():e.length;this.appendLengthInfo(C,w,p,E),E.appendBitArray(_);var I=w.getECBlocksForLevel(r),S=w.getTotalCodewords()-I.getTotalECCodewords();this.terminateBits(S,E);var b=this.interleaveWithECBytes(E,w.getTotalCodewords(),S,I.getNumBlocks()),O=new h.a;O.setECLevel(r),O.setMode(p),O.setVersion(w);var T=w.getDimensionForVersion(),R=new l.a(T,T),N=this.chooseMaskPattern(b,r,w,R);return O.setMaskPattern(N),d.a.buildMatrix(b,r,w,N,R),O.setMatrix(R),O},t.recommendVersion=function(t,e,r,n){var o=this.calculateBitsNeeded(e,r,n,c.a.getVersionForNumber(1)),i=this.chooseVersion(o,t),a=this.calculateBitsNeeded(e,r,n,i);return this.chooseVersion(a,t)},t.calculateBitsNeeded=function(t,e,r,n){return e.getSize()+t.getCharacterCountBits(n)+r.getSize()},t.getAlphanumericCode=function(e){return e<t.ALPHANUMERIC_TABLE.length?t.ALPHANUMERIC_TABLE[e]:-1},t.chooseMode=function(e,r){if(void 0===r&&(r=null),i.a.SJIS.getName()===r&&this.isOnlyDoubleByteKanji(e))return s.a.KANJI;for(var n=!1,o=!1,a=0,u=e.length;a<u;++a){var c=e.charAt(a);if(t.isDigit(c))n=!0;else{if(-1===this.getAlphanumericCode(c.charCodeAt(0)))return s.a.BYTE;o=!0}}return o?s.a.ALPHANUMERIC:n?s.a.NUMERIC:s.a.BYTE},t.isOnlyDoubleByteKanji=function(t){var e;try{e=p.a.encode(t,i.a.SJIS)}catch(t){return!1}var r=e.length;if(r%2!=0)return!1;for(var n=0;n<r;n+=2){var o=255&e[n];if((o<129||o>159)&&(o<224||o>235))return!1}return!0},t.chooseMaskPattern=function(t,e,r,n){for(var o=Number.MAX_SAFE_INTEGER,i=-1,a=0;a<h.a.NUM_MASK_PATTERNS;a++){d.a.buildMatrix(t,e,r,a,n);var u=this.calculateMaskPenalty(n);u<o&&(o=u,i=a)}return i},t.chooseVersion=function(e,r){for(var n=1;n<=40;n++){var o=c.a.getVersionForNumber(n);if(t.willFit(e,o,r))return o}throw new g.a("Data too big")},t.willFit=function(t,e,r){return e.getTotalCodewords()-e.getECBlocksForLevel(r).getTotalECCodewords()>=(t+7)/8},t.terminateBits=function(t,e){var r=8*t;if(e.getSize()>r)throw new g.a("data bits cannot fit in the QR Code"+e.getSize()+" > "+r);for(var n=0;n<4&&e.getSize()<r;++n)e.appendBit(!1);var o=7&e.getSize();if(o>0)for(n=o;n<8;n++)e.appendBit(!1);var i=t-e.getSizeInBytes();for(n=0;n<i;++n)e.appendBits(0==(1&n)?236:17,8);if(e.getSize()!==r)throw new g.a("Bits size does not equal capacity")},t.getNumDataBytesAndNumECBytesForBlockID=function(t,e,r,n,o,i){if(n>=r)throw new g.a("Block ID too large");var a=t%r,u=r-a,s=Math.floor(t/r),c=s+1,f=Math.floor(e/r),l=f+1,h=s-f,d=c-l;if(h!==d)throw new g.a("EC bytes mismatch");if(r!==u+a)throw new g.a("RS blocks mismatch");if(t!==(f+h)*u+(l+d)*a)throw new g.a("Total bytes mismatch");n<u?(o[0]=f,i[0]=h):(o[0]=l,i[0]=d)},t.interleaveWithECBytes=function(e,r,n,i){var a,u,s,c;if(e.getSizeInBytes()!==n)throw new g.a("Number of bits and data bytes does not match");for(var f=0,l=0,h=0,d=new Array,p=0;p<i;++p){var w=new Int32Array(1),_=new Int32Array(1);t.getNumDataBytesAndNumECBytesForBlockID(r,n,i,p,w,_);var m=w[0],A=new Uint8Array(m);e.toBytes(8*f,A,0,m);var E=t.generateECBytes(A,_[0]);d.push(new y(A,E)),l=Math.max(l,m),h=Math.max(h,E.length),f+=w[0]}if(n!==f)throw new g.a("Data bytes does not match offset");var C=new o.a;for(p=0;p<l;++p)try{for(var I=(a=void 0,v(d)),S=I.next();!S.done;S=I.next()){p<(A=S.value.getDataBytes()).length&&C.appendBits(A[p],8)}}catch(t){a={error:t}}finally{try{S&&!S.done&&(u=I.return)&&u.call(I)}finally{if(a)throw a.error}}for(p=0;p<h;++p)try{for(var b=(s=void 0,v(d)),O=b.next();!O.done;O=b.next()){p<(E=O.value.getErrorCorrectionBytes()).length&&C.appendBits(E[p],8)}}catch(t){s={error:t}}finally{try{O&&!O.done&&(c=b.return)&&c.call(b)}finally{if(s)throw s.error}}if(r!==C.getSizeInBytes())throw new g.a("Interleaving error: "+r+" and "+C.getSizeInBytes()+" differ.");return C},t.generateECBytes=function(t,e){for(var r=t.length,n=new Int32Array(r+e),o=0;o<r;o++)n[o]=255&t[o];new u.a(a.a.QR_CODE_FIELD_256).encode(n,e);var i=new Uint8Array(e);for(o=0;o<e;o++)i[o]=n[r+o];return i},t.appendModeInfo=function(t,e){e.appendBits(t.getBits(),4)},t.appendLengthInfo=function(t,e,r,n){var o=r.getCharacterCountBits(e);if(t>=1<<o)throw new g.a(t+" is bigger than "+((1<<o)-1));n.appendBits(t,o)},t.appendBytes=function(e,r,n,o){switch(r){case s.a.NUMERIC:t.appendNumericBytes(e,n);break;case s.a.ALPHANUMERIC:t.appendAlphanumericBytes(e,n);break;case s.a.BYTE:t.append8BitBytes(e,n,o);break;case s.a.KANJI:t.appendKanjiBytes(e,n);break;default:throw new g.a("Invalid mode: "+r)}},t.getDigit=function(t){return t.charCodeAt(0)-48},t.isDigit=function(e){var r=t.getDigit(e);return r>=0&&r<=9},t.appendNumericBytes=function(e,r){for(var n=e.length,o=0;o<n;){var i=t.getDigit(e.charAt(o));if(o+2<n){var a=t.getDigit(e.charAt(o+1)),u=t.getDigit(e.charAt(o+2));r.appendBits(100*i+10*a+u,10),o+=3}else if(o+1<n){a=t.getDigit(e.charAt(o+1));r.appendBits(10*i+a,7),o+=2}else r.appendBits(i,4),o++}},t.appendAlphanumericBytes=function(e,r){for(var n=e.length,o=0;o<n;){var i=t.getAlphanumericCode(e.charCodeAt(o));if(-1===i)throw new g.a;if(o+1<n){var a=t.getAlphanumericCode(e.charCodeAt(o+1));if(-1===a)throw new g.a;r.appendBits(45*i+a,11),o+=2}else r.appendBits(i,6),o++}},t.append8BitBytes=function(t,e,r){var n;try{n=p.a.encode(t,r)}catch(t){throw new g.a(t)}for(var o=0,i=n.length;o!==i;o++){var a=n[o];e.appendBits(a,8)}},t.appendKanjiBytes=function(t,e){var r;try{r=p.a.encode(t,i.a.SJIS)}catch(t){throw new g.a(t)}for(var n=r.length,o=0;o<n;o+=2){var a=(255&r[o])<<8&4294967295|255&r[o+1],u=-1;if(a>=33088&&a<=40956?u=a-33088:a>=57408&&a<=60351&&(u=a-49472),-1===u)throw new g.a("Invalid byte sequence");var s=192*(u>>8)+(255&u);e.appendBits(s,13)}},t.appendECI=function(t,e){e.appendBits(s.a.ECI.getBits(),4),e.appendBits(t.getValue(),8)},t.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),t.DEFAULT_BYTE_MODE_ENCODING=i.a.UTF8.getName(),t}();e.a=w},function(t,e,r){"use strict";var n,o=r(259),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="IndexOutOfBoundsException",e}(o.a);e.a=a},function(t,e,r){"use strict";var n=r(265),o=r(72),i=r(195),a=r(271),u=r(565),s=r(403),c=r(276),f=r(581),l=r(134),h=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.")},d=function(){function t(){}return t.encodeBytes=function(e){return t.encode(e,t.DEFAULT_EC_PERCENT,t.DEFAULT_AZTEC_LAYERS)},t.encode=function(e,r,n){var s,c,h,d,p,y=new f.a(e).encode(),g=l.a.truncDivision(y.getSize()*r,100)+11,v=y.getSize()+g;if(n!==t.DEFAULT_AZTEC_LAYERS){if(s=n<0,(c=Math.abs(n))>(s?t.MAX_NB_BITS_COMPACT:t.MAX_NB_BITS))throw new o.a(i.a.format("Illegal value %s for layers",n));var w=(h=t.totalBitsInLayer(c,s))-h%(d=t.WORD_SIZE[c]);if((p=t.stuffBits(y,d)).getSize()+g>w)throw new o.a("Data to large for user specified layer");if(s&&p.getSize()>64*d)throw new o.a("Data to large for user specified layer")}else{d=0,p=null;for(var _=0;;_++){if(_>t.MAX_NB_BITS)throw new o.a("Data too large for an Aztec code");if(c=(s=_<=3)?_+1:_,!(v>(h=t.totalBitsInLayer(c,s)))){null!=p&&d===t.WORD_SIZE[c]||(d=t.WORD_SIZE[c],p=t.stuffBits(y,d));w=h-h%d;if(!(s&&p.getSize()>64*d)&&p.getSize()+g<=w)break}}}var m,A=t.generateCheckWords(p,h,d),E=p.getSize()/d,C=t.generateModeMessage(s,c,E),I=(s?11:14)+4*c,S=new Int32Array(I);if(s){m=I;for(_=0;_<S.length;_++)S[_]=_}else{m=I+1+2*l.a.truncDivision(l.a.truncDivision(I,2)-1,15);var b=l.a.truncDivision(I,2),O=l.a.truncDivision(m,2);for(_=0;_<b;_++){var T=_+l.a.truncDivision(_,15);S[b-_-1]=O-T-1,S[b+_]=O+T+1}}for(var R=new a.a(m),N=(_=0,0);_<c;_++){for(var D=4*(c-_)+(s?9:12),P=0;P<D;P++)for(var M=2*P,B=0;B<2;B++)A.get(N+M+B)&&R.set(S[2*_+B],S[2*_+P]),A.get(N+2*D+M+B)&&R.set(S[2*_+P],S[I-1-2*_-B]),A.get(N+4*D+M+B)&&R.set(S[I-1-2*_-B],S[I-1-2*_-P]),A.get(N+6*D+M+B)&&R.set(S[I-1-2*_-P],S[2*_+B]);N+=8*D}if(t.drawModeMessage(R,s,m,C),s)t.drawBullsEye(R,l.a.truncDivision(m,2),5);else{t.drawBullsEye(R,l.a.truncDivision(m,2),7);for(_=0,P=0;_<l.a.truncDivision(I,2)-1;_+=15,P+=16)for(B=1&l.a.truncDivision(m,2);B<m;B+=2)R.set(l.a.truncDivision(m,2)-P,B),R.set(l.a.truncDivision(m,2)+P,B),R.set(B,l.a.truncDivision(m,2)-P),R.set(B,l.a.truncDivision(m,2)+P)}var L=new u.a;return L.setCompact(s),L.setSize(m),L.setLayers(c),L.setCodeWords(E),L.setMatrix(R),L},t.drawBullsEye=function(t,e,r){for(var n=0;n<r;n+=2)for(var o=e-n;o<=e+n;o++)t.set(o,e-n),t.set(o,e+n),t.set(e-n,o),t.set(e+n,o);t.set(e-r,e-r),t.set(e-r+1,e-r),t.set(e-r,e-r+1),t.set(e+r,e-r),t.set(e+r,e-r+1),t.set(e+r,e+r-1)},t.generateModeMessage=function(e,r,o){var i=new n.a;return e?(i.appendBits(r-1,2),i.appendBits(o-1,6),i=t.generateCheckWords(i,28,4)):(i.appendBits(r-1,5),i.appendBits(o-1,11),i=t.generateCheckWords(i,40,4)),i},t.drawModeMessage=function(t,e,r,n){var o=l.a.truncDivision(r,2);if(e)for(var i=0;i<7;i++){var a=o-3+i;n.get(i)&&t.set(a,o-5),n.get(i+7)&&t.set(o+5,a),n.get(20-i)&&t.set(a,o+5),n.get(27-i)&&t.set(o-5,a)}else for(i=0;i<10;i++){a=o-5+i+l.a.truncDivision(i,5);n.get(i)&&t.set(a,o-7),n.get(i+10)&&t.set(o+7,a),n.get(29-i)&&t.set(a,o+7),n.get(39-i)&&t.set(o-7,a)}},t.generateCheckWords=function(e,r,o){var i,a,u=e.getSize()/o,c=new s.a(t.getGF(o)),f=l.a.truncDivision(r,o),d=t.bitsToWords(e,o,f);c.encode(d,f-u);var p=r%o,y=new n.a;y.appendBits(0,p);try{for(var g=h(Array.from(d)),v=g.next();!v.done;v=g.next()){var w=v.value;y.appendBits(w,o)}}catch(t){i={error:t}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}return y},t.bitsToWords=function(t,e,r){var n,o,i=new Int32Array(r);for(n=0,o=t.getSize()/e;n<o;n++){for(var a=0,u=0;u<e;u++)a|=t.get(n*e+u)?1<<e-u-1:0;i[n]=a}return i},t.getGF=function(t){switch(t){case 4:return c.a.AZTEC_PARAM;case 6:return c.a.AZTEC_DATA_6;case 8:return c.a.AZTEC_DATA_8;case 10:return c.a.AZTEC_DATA_10;case 12:return c.a.AZTEC_DATA_12;default:throw new o.a("Unsupported word size "+t)}},t.stuffBits=function(t,e){for(var r=new n.a,o=t.getSize(),i=(1<<e)-2,a=0;a<o;a+=e){for(var u=0,s=0;s<e;s++)(a+s>=o||t.get(a+s))&&(u|=1<<e-1-s);(u&i)===i?(r.appendBits(u&i,e),a--):0==(u&i)?(r.appendBits(1|u,e),a--):r.appendBits(u,e)}return r},t.totalBitsInLayer=function(t,e){return((e?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.a=d},function(t,e,r){"use strict";var n,o=r(62),i=r(289),a=r(146),u=function(){function t(t,e){e?this.decodedInformation=null:(this.finished=t,this.decodedInformation=e)}return t.prototype.getDecodedInformation=function(){return this.decodedInformation},t.prototype.isFinished=function(){return this.finished},t}(),s=function(){function t(t){this.newPosition=t}return t.prototype.getNewPosition=function(){return this.newPosition},t}(),c=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),f=function(t){function e(e,r){var n=t.call(this,e)||this;return n.value=r,n}return c(e,t),e.prototype.getValue=function(){return this.value},e.prototype.isFNC1=function(){return this.value===e.FNC1},e.FNC1="$",e}(s),l=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),h=function(t){function e(e,r,n){var o=t.call(this,e)||this;return n?(o.remaining=!0,o.remainingValue=o.remainingValue):(o.remaining=!1,o.remainingValue=0),o.newString=r,o}return l(e,t),e.prototype.getNewString=function(){return this.newString},e.prototype.isRemaining=function(){return this.remaining},e.prototype.getRemainingValue=function(){return this.remainingValue},e}(s),d=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),p=function(t){function e(e,r,n){var i=t.call(this,e)||this;if(r<0||r>10||n<0||n>10)throw new o.a;return i.firstDigit=r,i.secondDigit=n,i}return d(e,t),e.prototype.getFirstDigit=function(){return this.firstDigit},e.prototype.getSecondDigit=function(){return this.secondDigit},e.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},e.prototype.isFirstDigitFNC1=function(){return this.firstDigit===e.FNC1},e.prototype.isSecondDigitFNC1=function(){return this.secondDigit===e.FNC1},e.prototype.isAnyFNC1=function(){return this.firstDigit===e.FNC1||this.secondDigit===e.FNC1},e.FNC1=10,e}(s),y=r(28),g=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.")},v=function(){function t(){}return t.parseFieldsInGeneralPurpose=function(e){var r,n,o,i,a,u,s,c;if(!e)return null;if(e.length<2)throw new y.a;var f=e.substring(0,2);try{for(var l=g(t.TWO_DIGIT_DATA_LENGTH),h=l.next();!h.done;h=l.next()){if((C=h.value)[0]===f)return C[1]===t.VARIABLE_LENGTH?t.processVariableAI(2,C[2],e):t.processFixedAI(2,C[1],e)}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}if(e.length<3)throw new y.a;var d=e.substring(0,3);try{for(var p=g(t.THREE_DIGIT_DATA_LENGTH),v=p.next();!v.done;v=p.next()){if((C=v.value)[0]===d)return C[1]===t.VARIABLE_LENGTH?t.processVariableAI(3,C[2],e):t.processFixedAI(3,C[1],e)}}catch(t){o={error:t}}finally{try{v&&!v.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}try{for(var w=g(t.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),_=w.next();!_.done;_=w.next()){if((C=_.value)[0]===d)return C[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,C[2],e):t.processFixedAI(4,C[1],e)}}catch(t){a={error:t}}finally{try{_&&!_.done&&(u=w.return)&&u.call(w)}finally{if(a)throw a.error}}if(e.length<4)throw new y.a;var m=e.substring(0,4);try{for(var A=g(t.FOUR_DIGIT_DATA_LENGTH),E=A.next();!E.done;E=A.next()){var C;if((C=E.value)[0]===m)return C[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,C[2],e):t.processFixedAI(4,C[1],e)}}catch(t){s={error:t}}finally{try{E&&!E.done&&(c=A.return)&&c.call(A)}finally{if(s)throw s.error}}throw new y.a},t.processFixedAI=function(e,r,n){if(n.length<e)throw new y.a;var o=n.substring(0,e);if(n.length<e+r)throw new y.a;var i=n.substring(e,e+r),a=n.substring(e+r),u="("+o+")"+i,s=t.parseFieldsInGeneralPurpose(a);return null==s?u:u+s},t.processVariableAI=function(e,r,n){var o,i=n.substring(0,e);o=n.length<e+r?n.length:e+r;var a=n.substring(e,o),u=n.substring(o),s="("+i+")"+a,c=t.parseFieldsInGeneralPurpose(u);return null==c?s:s+c},t.VARIABLE_LENGTH=[],t.TWO_DIGIT_DATA_LENGTH=[["00",18],["01",14],["02",14],["10",t.VARIABLE_LENGTH,20],["11",6],["12",6],["13",6],["15",6],["17",6],["20",2],["21",t.VARIABLE_LENGTH,20],["22",t.VARIABLE_LENGTH,29],["30",t.VARIABLE_LENGTH,8],["37",t.VARIABLE_LENGTH,8],["90",t.VARIABLE_LENGTH,30],["91",t.VARIABLE_LENGTH,30],["92",t.VARIABLE_LENGTH,30],["93",t.VARIABLE_LENGTH,30],["94",t.VARIABLE_LENGTH,30],["95",t.VARIABLE_LENGTH,30],["96",t.VARIABLE_LENGTH,30],["97",t.VARIABLE_LENGTH,3],["98",t.VARIABLE_LENGTH,30],["99",t.VARIABLE_LENGTH,30]],t.THREE_DIGIT_DATA_LENGTH=[["240",t.VARIABLE_LENGTH,30],["241",t.VARIABLE_LENGTH,30],["242",t.VARIABLE_LENGTH,6],["250",t.VARIABLE_LENGTH,30],["251",t.VARIABLE_LENGTH,30],["253",t.VARIABLE_LENGTH,17],["254",t.VARIABLE_LENGTH,20],["400",t.VARIABLE_LENGTH,30],["401",t.VARIABLE_LENGTH,30],["402",17],["403",t.VARIABLE_LENGTH,30],["410",13],["411",13],["412",13],["413",13],["414",13],["420",t.VARIABLE_LENGTH,20],["421",t.VARIABLE_LENGTH,15],["422",3],["423",t.VARIABLE_LENGTH,15],["424",3],["425",3],["426",3]],t.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH=[["310",6],["311",6],["312",6],["313",6],["314",6],["315",6],["316",6],["320",6],["321",6],["322",6],["323",6],["324",6],["325",6],["326",6],["327",6],["328",6],["329",6],["330",6],["331",6],["332",6],["333",6],["334",6],["335",6],["336",6],["340",6],["341",6],["342",6],["343",6],["344",6],["345",6],["346",6],["347",6],["348",6],["349",6],["350",6],["351",6],["352",6],["353",6],["354",6],["355",6],["356",6],["357",6],["360",6],["361",6],["362",6],["363",6],["364",6],["365",6],["366",6],["367",6],["368",6],["369",6],["390",t.VARIABLE_LENGTH,15],["391",t.VARIABLE_LENGTH,18],["392",t.VARIABLE_LENGTH,15],["393",t.VARIABLE_LENGTH,18],["703",t.VARIABLE_LENGTH,30]],t.FOUR_DIGIT_DATA_LENGTH=[["7001",13],["7002",t.VARIABLE_LENGTH,30],["7003",10],["8001",14],["8002",t.VARIABLE_LENGTH,20],["8003",t.VARIABLE_LENGTH,30],["8004",t.VARIABLE_LENGTH,30],["8005",6],["8006",18],["8007",t.VARIABLE_LENGTH,30],["8008",t.VARIABLE_LENGTH,12],["8018",18],["8020",t.VARIABLE_LENGTH,25],["8100",6],["8101",10],["8102",2],["8110",t.VARIABLE_LENGTH,70],["8200",t.VARIABLE_LENGTH,70]],t}(),w=function(){function t(t){this.buffer=new a.a,this.information=t}return t.prototype.decodeAllCodes=function(t,e){for(var r=e,n=null;;){var o=this.decodeGeneralPurposeField(r,n),i=v.parseFieldsInGeneralPurpose(o.getNewString());if(null!=i&&t.append(i),n=o.isRemaining()?""+o.getRemainingValue():null,r===o.getNewPosition())break;r=o.getNewPosition()}return t.toString()},t.prototype.isStillNumeric=function(t){if(t+7>this.information.getSize())return t+4<=this.information.getSize();for(var e=t;e<t+3;++e)if(this.information.get(e))return!0;return this.information.get(t+3)},t.prototype.decodeNumeric=function(t){if(t+7>this.information.getSize()){var e=this.extractNumericValueFromBitArray(t,4);return new p(this.information.getSize(),0===e?p.FNC1:e-1,p.FNC1)}var r=this.extractNumericValueFromBitArray(t,7);return new p(t+7,(r-8)/11,(r-8)%11)},t.prototype.extractNumericValueFromBitArray=function(e,r){return t.extractNumericValueFromBitArray(this.information,e,r)},t.extractNumericValueFromBitArray=function(t,e,r){for(var n=0,o=0;o<r;++o)t.get(e+o)&&(n|=1<<r-o-1);return n},t.prototype.decodeGeneralPurposeField=function(t,e){this.buffer.setLengthToZero(),null!=e&&this.buffer.append(e),this.current.setPosition(t);var r=this.parseBlocks();return null!=r&&r.isRemaining()?new h(this.current.getPosition(),this.buffer.toString(),r.getRemainingValue()):new h(this.current.getPosition(),this.buffer.toString())},t.prototype.parseBlocks=function(){var t,e;do{var r=this.current.getPosition();if(t=this.current.isAlpha()?(e=this.parseAlphaBlock()).isFinished():this.current.isIsoIec646()?(e=this.parseIsoIec646Block()).isFinished():(e=this.parseNumericBlock()).isFinished(),!(r!==this.current.getPosition())&&!t)break}while(!t);return e.getDecodedInformation()},t.prototype.parseNumericBlock=function(){for(;this.isStillNumeric(this.current.getPosition());){var t=this.decodeNumeric(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFirstDigitFNC1()){var e=void 0;return e=t.isSecondDigitFNC1()?new h(this.current.getPosition(),this.buffer.toString()):new h(this.current.getPosition(),this.buffer.toString(),t.getSecondDigit()),new u(!0,e)}if(this.buffer.append(t.getFirstDigit()),t.isSecondDigitFNC1()){e=new h(this.current.getPosition(),this.buffer.toString());return new u(!0,e)}this.buffer.append(t.getSecondDigit())}return this.isNumericToAlphaNumericLatch(this.current.getPosition())&&(this.current.setAlpha(),this.current.incrementPosition(4)),new u(!1)},t.prototype.parseIsoIec646Block=function(){for(;this.isStillIsoIec646(this.current.getPosition());){var t=this.decodeIsoIec646(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFNC1()){var e=new h(this.current.getPosition(),this.buffer.toString());return new u(!0,e)}this.buffer.append(t.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setAlpha()),new u(!1)},t.prototype.parseAlphaBlock=function(){for(;this.isStillAlpha(this.current.getPosition());){var t=this.decodeAlphanumeric(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFNC1()){var e=new h(this.current.getPosition(),this.buffer.toString());return new u(!0,e)}this.buffer.append(t.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setIsoIec646()),new u(!1)},t.prototype.isStillIsoIec646=function(t){if(t+5>this.information.getSize())return!1;var e=this.extractNumericValueFromBitArray(t,5);if(e>=5&&e<16)return!0;if(t+7>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(t,7);if(r>=64&&r<116)return!0;if(t+8>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(t,8);return n>=232&&n<253},t.prototype.decodeIsoIec646=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new f(t+5,f.FNC1);if(e>=5&&e<15)return new f(t+5,"0"+(e-5));var r,n=this.extractNumericValueFromBitArray(t,7);if(n>=64&&n<90)return new f(t+7,""+(n+1));if(n>=90&&n<116)return new f(t+7,""+(n+7));switch(this.extractNumericValueFromBitArray(t,8)){case 232:r="!";break;case 233:r='"';break;case 234:r="%";break;case 235:r="&";break;case 236:r="'";break;case 237:r="(";break;case 238:r=")";break;case 239:r="*";break;case 240:r="+";break;case 241:r=",";break;case 242:r="-";break;case 243:r=".";break;case 244:r="/";break;case 245:r=":";break;case 246:r=";";break;case 247:r="<";break;case 248:r="=";break;case 249:r=">";break;case 250:r="?";break;case 251:r="_";break;case 252:r=" ";break;default:throw new o.a}return new f(t+8,r)},t.prototype.isStillAlpha=function(t){if(t+5>this.information.getSize())return!1;var e=this.extractNumericValueFromBitArray(t,5);if(e>=5&&e<16)return!0;if(t+6>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(t,6);return r>=16&&r<63},t.prototype.decodeAlphanumeric=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new f(t+5,f.FNC1);if(e>=5&&e<15)return new f(t+5,"0"+(e-5));var r,n=this.extractNumericValueFromBitArray(t,6);if(n>=32&&n<58)return new f(t+6,""+(n+33));switch(n){case 58:r="*";break;case 59:r=",";break;case 60:r="-";break;case 61:r=".";break;case 62:r="/";break;default:throw new i.a("Decoding invalid alphanumeric value: "+n)}return new f(t+6,r)},t.prototype.isAlphaTo646ToAlphaLatch=function(t){if(t+1>this.information.getSize())return!1;for(var e=0;e<5&&e+t<this.information.getSize();++e)if(2===e){if(!this.information.get(t+2))return!1}else if(this.information.get(t+e))return!1;return!0},t.prototype.isAlphaOr646ToNumericLatch=function(t){if(t+3>this.information.getSize())return!1;for(var e=t;e<t+3;++e)if(this.information.get(e))return!1;return!0},t.prototype.isNumericToAlphaNumericLatch=function(t){if(t+1>this.information.getSize())return!1;for(var e=0;e<4&&e+t<this.information.getSize();++e)if(this.information.get(t+e))return!1;return!0},t}();e.a=w},,,,,,,,,,,,,,,,,function(t,e,r){r(625),r(433),r(634),r(635),t.exports=r(261).Symbol},function(t,e,r){t.exports=!r(290)&&!r(309)((function(){return 7!=Object.defineProperty(r(362)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){t.exports=r(296)},function(t,e,r){var n=r(295),o=r(302),i=r(629)(!1),a=r(370)("IE_PROTO");t.exports=function(t,e){var r,u=o(t),s=0,c=[];for(r in u)r!=a&&n(u,r)&&c.push(r);for(;e.length>s;)n(u,r=e[s++])&&(~i(c,r)||c.push(r));return c}},function(t,e,r){var n=r(369),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){var n=r(260).document;t.exports=n&&n.documentElement},function(t,e,r){var n=r(427),o=r(371).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,r){var n=r(372),o=r(328),i=r(302),a=r(363),u=r(295),s=r(425),c=Object.getOwnPropertyDescriptor;e.f=r(290)?c:function(t,e){if(t=i(t),e=a(e,!0),s)try{return c(t,e)}catch(t){}if(u(t,e))return o(!n.f.call(t,e),t[e])}},function(t,e){},function(t,e,r){"use strict";var n=r(637)(!0);r(435)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})}))},function(t,e,r){"use strict";var n=r(311),o=r(284),i=r(426),a=r(296),u=r(313),s=r(638),c=r(330),f=r(436),l=r(268)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,r,p,y,g,v){s(r,e,p);var w,_,m,A=function(t){if(!h&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},E=e+" Iterator",C="values"==y,I=!1,S=t.prototype,b=S[l]||S["@@iterator"]||y&&S[y],O=b||A(y),T=y?C?A("entries"):O:void 0,R="Array"==e&&S.entries||b;if(R&&(m=f(R.call(new t)))!==Object.prototype&&m.next&&(c(m,E,!0),n||"function"==typeof m[l]||a(m,l,d)),C&&b&&"values"!==b.name&&(I=!0,O=function(){return b.call(this)}),n&&!v||!h&&!I&&S[l]||a(S,l,O),u[e]=O,u[E]=d,y)if(w={values:C?O:A("values"),keys:g?O:A("keys"),entries:T},v)for(_ in w)_ in S||i(S,_,w[_]);else o(o.P+o.F*(h||I),e,w);return w}},function(t,e,r){var n=r(295),o=r(373),i=r(370)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,r){r(639);for(var n=r(260),o=r(296),i=r(313),a=r(268)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var c=u[s],f=n[c],l=f&&f.prototype;l&&!l[a]&&o(l,a,c),i[c]=i.Array}},function(t,e,r){var n=r(312),o=r(268)("toStringTag"),i="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,r){var n=r(285),o=r(327),i=r(268)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[i])?e:o(r)}},function(t,e,r){var n,o,i,a=r(310),u=r(659),s=r(430),c=r(362),f=r(260),l=f.process,h=f.setImmediate,d=f.clearImmediate,p=f.MessageChannel,y=f.Dispatch,g=0,v={},w=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},_=function(t){w.call(t.data)};h&&d||(h=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return v[++g]=function(){u("function"==typeof t?t:Function(t),e)},n(g),g},d=function(t){delete v[t]},"process"==r(312)(l)?n=function(t){l.nextTick(a(w,t,1))}:y&&y.now?n=function(t){y.now(a(w,t,1))}:p?(i=(o=new p).port2,o.port1.onmessage=_,n=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",_,!1)):n="onreadystatechange"in c("script")?function(t){s.appendChild(c("script")).onreadystatechange=function(){s.removeChild(this),w.call(t)}}:function(t){setTimeout(a(w,t,1),0)}),t.exports={set:h,clear:d}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,r){var n=r(285),o=r(292),i=r(375);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},function(t,e,r){"use strict";var n,o=r(316),i=r(276),a=r(317),u=r(289),s=r(62),c=r(195),f=r(134);!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 l=function(){function t(){}return t.prototype.decode=function(e){this.ddata=e;var r=e.getBits(),n=this.extractBits(r),i=this.correctBits(n),a=t.convertBoolArrayToByteArray(i),u=t.getEncodedData(i),s=new o.a(a,u,null,null);return s.setNumBits(i.length),s},t.highLevelDecode=function(t){return this.getEncodedData(t)},t.getEncodedData=function(e){for(var r=e.length,o=n.UPPER,i=n.UPPER,a="",u=0;u<r;)if(i===n.BINARY){if(r-u<5)break;var s=t.readCode(e,u,5);if(u+=5,0===s){if(r-u<11)break;s=t.readCode(e,u,11)+31,u+=11}for(var f=0;f<s;f++){if(r-u<8){u=r;break}var l=t.readCode(e,u,8);a+=c.a.castAsNonUtf8Char(l),u+=8}i=o}else{var h=i===n.DIGIT?4:5;if(r-u<h)break;l=t.readCode(e,u,h);u+=h;var d=t.getCharacter(i,l);d.startsWith("CTRL_")?(o=i,i=t.getTable(d.charAt(5)),"L"===d.charAt(6)&&(o=i)):(a+=d,i=o)}return a},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;case"U":default:return n.UPPER}},t.getCharacter=function(e,r){switch(e){case n.UPPER:return t.UPPER_TABLE[r];case n.LOWER:return t.LOWER_TABLE[r];case n.MIXED:return t.MIXED_TABLE[r];case n.PUNCT:return t.PUNCT_TABLE[r];case n.DIGIT:return t.DIGIT_TABLE[r];default:throw new u.a("Bad table")}},t.prototype.correctBits=function(e){var r,n;this.ddata.getNbLayers()<=2?(n=6,r=i.a.AZTEC_DATA_6):this.ddata.getNbLayers()<=8?(n=8,r=i.a.AZTEC_DATA_8):this.ddata.getNbLayers()<=22?(n=10,r=i.a.AZTEC_DATA_10):(n=12,r=i.a.AZTEC_DATA_12);var o=this.ddata.getNbDatablocks(),u=e.length/n;if(u<o)throw new s.a;for(var c=e.length%n,f=new Int32Array(u),l=0;l<u;l++,c+=n)f[l]=t.readCode(e,c,n);try{new a.a(r).decode(f,u-o)}catch(t){throw new s.a(t)}var h=(1<<n)-1,d=0;for(l=0;l<o;l++){if(0===(g=f[l])||g===h)throw new s.a;1!==g&&g!==h-1||d++}var p=new Array(o*n-d),y=0;for(l=0;l<o;l++){var g;if(1===(g=f[l])||g===h-1)p.fill(g>1,y,y+n-1),y+=n-1;else for(var v=n-1;v>=0;--v)p[y++]=0!=(g&1<<v)}return p},t.prototype.extractBits=function(t){var e=this.ddata.isCompact(),r=this.ddata.getNbLayers(),n=(e?11:14)+4*r,o=new Int32Array(n),i=new Array(this.totalBitsInLayer(r,e));if(e)for(var a=0;a<o.length;a++)o[a]=a;else{var u=n+1+2*f.a.truncDivision(f.a.truncDivision(n,2)-1,15),s=n/2,c=f.a.truncDivision(u,2);for(a=0;a<s;a++){var l=a+f.a.truncDivision(a,15);o[s-a-1]=c-l-1,o[s+a]=c+l+1}}a=0;for(var h=0;a<r;a++){for(var d=4*(r-a)+(e?9:12),p=2*a,y=n-1-p,g=0;g<d;g++)for(var v=2*g,w=0;w<2;w++)i[h+v+w]=t.get(o[p+w],o[p+g]),i[h+2*d+v+w]=t.get(o[p+g],o[y-w]),i[h+4*d+v+w]=t.get(o[y-w],o[y-g]),i[h+6*d+v+w]=t.get(o[y-g],o[p+w]);h+=8*d}return i},t.readCode=function(t,e,r){for(var n=0,o=e;o<e+r;o++)n<<=1,t[o]&&(n|=1);return n},t.readByte=function(e,r){var n=e.length-r;return n>=8?t.readCode(e,r,8):t.readCode(e,r,n)<<8-n},t.convertBoolArrayToByteArray=function(e){for(var r=new Uint8Array((e.length+7)/8),n=0;n<r.length;n++)r[n]=t.readByte(e,8*n);return r},t.prototype.totalBitsInLayer=function(t,e){return((e?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","i","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"," ","\\1","\\2","\\3","\\4","\\5","\\6","\\7","\b","\t","\n","\\13","\f","\r","\\33","\\34","\\35","\\36","\\37","@","\\","^","_","`","|","~","\\177","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.a=l},function(t,e,r){"use strict";var n=r(28),o=function(){function t(){}return t.checkAndNudgePoints=function(t,e){for(var r=t.getWidth(),o=t.getHeight(),i=!0,a=0;a<e.length&&i;a+=2){var u=Math.floor(e[a]),s=Math.floor(e[a+1]);if(u<-1||u>r||s<-1||s>o)throw new n.a;i=!1,-1===u?(e[a]=0,i=!0):u===r&&(e[a]=r-1,i=!0),-1===s?(e[a+1]=0,i=!0):s===o&&(e[a+1]=o-1,i=!0)}i=!0;for(a=e.length-2;a>=0&&i;a-=2){u=Math.floor(e[a]),s=Math.floor(e[a+1]);if(u<-1||u>r||s<-1||s>o)throw new n.a;i=!1,-1===u?(e[a]=0,i=!0):u===r&&(e[a]=r-1,i=!0),-1===s?(e[a+1]=0,i=!0):s===o&&(e[a+1]=o-1,i=!0)}},t}();e.a=o},function(t,e,r){"use strict";var n,o=r(84),i=r(264),a=r(193),u=r(62),s=r(28),c=r(258),f=r(83),l=r(270),h=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.findStartPattern=function(t){for(var r=t.getSize(),n=t.getNextSet(0),o=0,i=Int32Array.from([0,0,0,0,0,0]),a=n,u=!1,c=n;c<r;c++)if(t.get(c)!==u)i[o]++;else{if(5===o){for(var f=e.MAX_AVG_VARIANCE,h=-1,d=e.CODE_START_A;d<=e.CODE_START_C;d++){var p=l.a.patternMatchVariance(i,e.CODE_PATTERNS[d],e.MAX_INDIVIDUAL_VARIANCE);p<f&&(f=p,h=d)}if(h>=0&&t.isRange(Math.max(0,a-(c-a)/2),a,!1))return Int32Array.from([a,c,h]);a+=i[0]+i[1],(i=i.slice(2,i.length-1))[o-1]=0,i[o]=0,o--}else o++;i[o]=1,u=!u}throw new s.a},e.decodeCode=function(t,r,n){l.a.recordPattern(t,n,r);for(var o=e.MAX_AVG_VARIANCE,i=-1,a=0;a<e.CODE_PATTERNS.length;a++){var u=e.CODE_PATTERNS[a],c=this.patternMatchVariance(r,u,e.MAX_INDIVIDUAL_VARIANCE);c<o&&(o=c,i=a)}if(i>=0)return i;throw new s.a},e.prototype.decodeRow=function(t,r,n){var l,h=n&&!0===n.get(a.a.ASSUME_GS1),d=e.findStartPattern(r),p=d[2],y=0,g=new Uint8Array(20);switch(g[y++]=p,p){case e.CODE_START_A:l=e.CODE_CODE_A;break;case e.CODE_START_B:l=e.CODE_CODE_B;break;case e.CODE_START_C:l=e.CODE_CODE_C;break;default:throw new u.a}for(var v=!1,w=!1,_="",m=d[0],A=d[1],E=Int32Array.from([0,0,0,0,0,0]),C=0,I=0,S=p,b=0,O=!0,T=!1,R=!1;!v;){var N=w;switch(w=!1,C=I,I=e.decodeCode(r,E,A),g[y++]=I,I!==e.CODE_STOP&&(O=!0),I!==e.CODE_STOP&&(S+=++b*I),m=A,A+=E.reduce((function(t,e){return t+e}),0),I){case e.CODE_START_A:case e.CODE_START_B:case e.CODE_START_C:throw new u.a}switch(l){case e.CODE_CODE_A:if(I<64)_+=R===T?String.fromCharCode(" ".charCodeAt(0)+I):String.fromCharCode(" ".charCodeAt(0)+I+128),R=!1;else if(I<96)_+=R===T?String.fromCharCode(I-64):String.fromCharCode(I+64),R=!1;else switch(I!==e.CODE_STOP&&(O=!1),I){case e.CODE_FNC_1:h&&(0===_.length?_+="]C1":_+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_A:!T&&R?(T=!0,R=!1):T&&R?(T=!1,R=!1):R=!0;break;case e.CODE_SHIFT:w=!0,l=e.CODE_CODE_B;break;case e.CODE_CODE_B:l=e.CODE_CODE_B;break;case e.CODE_CODE_C:l=e.CODE_CODE_C;break;case e.CODE_STOP:v=!0}break;case e.CODE_CODE_B:if(I<96)_+=R===T?String.fromCharCode(" ".charCodeAt(0)+I):String.fromCharCode(" ".charCodeAt(0)+I+128),R=!1;else switch(I!==e.CODE_STOP&&(O=!1),I){case e.CODE_FNC_1:h&&(0===_.length?_+="]C1":_+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_B:!T&&R?(T=!0,R=!1):T&&R?(T=!1,R=!1):R=!0;break;case e.CODE_SHIFT:w=!0,l=e.CODE_CODE_A;break;case e.CODE_CODE_A:l=e.CODE_CODE_A;break;case e.CODE_CODE_C:l=e.CODE_CODE_C;break;case e.CODE_STOP:v=!0}break;case e.CODE_CODE_C:if(I<100)I<10&&(_+="0"),_+=I;else switch(I!==e.CODE_STOP&&(O=!1),I){case e.CODE_FNC_1:h&&(0===_.length?_+="]C1":_+=String.fromCharCode(29));break;case e.CODE_CODE_A:l=e.CODE_CODE_A;break;case e.CODE_CODE_B:l=e.CODE_CODE_B;break;case e.CODE_STOP:v=!0}}N&&(l=l===e.CODE_CODE_A?e.CODE_CODE_B:e.CODE_CODE_A)}var D=A-m;if(A=r.getNextUnset(A),!r.isRange(A,Math.min(r.getSize(),A+(A-m)/2),!1))throw new s.a;if((S-=b*C)%103!==C)throw new i.a;var P=_.length;if(0===P)throw new s.a;P>0&&O&&(_=l===e.CODE_CODE_C?_.substring(0,P-2):_.substring(0,P-1));for(var M=(d[1]+d[0])/2,B=m+D/2,L=g.length,x=new Uint8Array(L),F=0;F<L;F++)x[F]=g[F];var k=[new f.a(M,t),new f.a(B,t)];return new c.a(_,x,0,k,o.a.CODE_128,(new Date).getTime())},e.CODE_PATTERNS=[Int32Array.from([2,1,2,2,2,2]),Int32Array.from([2,2,2,1,2,2]),Int32Array.from([2,2,2,2,2,1]),Int32Array.from([1,2,1,2,2,3]),Int32Array.from([1,2,1,3,2,2]),Int32Array.from([1,3,1,2,2,2]),Int32Array.from([1,2,2,2,1,3]),Int32Array.from([1,2,2,3,1,2]),Int32Array.from([1,3,2,2,1,2]),Int32Array.from([2,2,1,2,1,3]),Int32Array.from([2,2,1,3,1,2]),Int32Array.from([2,3,1,2,1,2]),Int32Array.from([1,1,2,2,3,2]),Int32Array.from([1,2,2,1,3,2]),Int32Array.from([1,2,2,2,3,1]),Int32Array.from([1,1,3,2,2,2]),Int32Array.from([1,2,3,1,2,2]),Int32Array.from([1,2,3,2,2,1]),Int32Array.from([2,2,3,2,1,1]),Int32Array.from([2,2,1,1,3,2]),Int32Array.from([2,2,1,2,3,1]),Int32Array.from([2,1,3,2,1,2]),Int32Array.from([2,2,3,1,1,2]),Int32Array.from([3,1,2,1,3,1]),Int32Array.from([3,1,1,2,2,2]),Int32Array.from([3,2,1,1,2,2]),Int32Array.from([3,2,1,2,2,1]),Int32Array.from([3,1,2,2,1,2]),Int32Array.from([3,2,2,1,1,2]),Int32Array.from([3,2,2,2,1,1]),Int32Array.from([2,1,2,1,2,3]),Int32Array.from([2,1,2,3,2,1]),Int32Array.from([2,3,2,1,2,1]),Int32Array.from([1,1,1,3,2,3]),Int32Array.from([1,3,1,1,2,3]),Int32Array.from([1,3,1,3,2,1]),Int32Array.from([1,1,2,3,1,3]),Int32Array.from([1,3,2,1,1,3]),Int32Array.from([1,3,2,3,1,1]),Int32Array.from([2,1,1,3,1,3]),Int32Array.from([2,3,1,1,1,3]),Int32Array.from([2,3,1,3,1,1]),Int32Array.from([1,1,2,1,3,3]),Int32Array.from([1,1,2,3,3,1]),Int32Array.from([1,3,2,1,3,1]),Int32Array.from([1,1,3,1,2,3]),Int32Array.from([1,1,3,3,2,1]),Int32Array.from([1,3,3,1,2,1]),Int32Array.from([3,1,3,1,2,1]),Int32Array.from([2,1,1,3,3,1]),Int32Array.from([2,3,1,1,3,1]),Int32Array.from([2,1,3,1,1,3]),Int32Array.from([2,1,3,3,1,1]),Int32Array.from([2,1,3,1,3,1]),Int32Array.from([3,1,1,1,2,3]),Int32Array.from([3,1,1,3,2,1]),Int32Array.from([3,3,1,1,2,1]),Int32Array.from([3,1,2,1,1,3]),Int32Array.from([3,1,2,3,1,1]),Int32Array.from([3,3,2,1,1,1]),Int32Array.from([3,1,4,1,1,1]),Int32Array.from([2,2,1,4,1,1]),Int32Array.from([4,3,1,1,1,1]),Int32Array.from([1,1,1,2,2,4]),Int32Array.from([1,1,1,4,2,2]),Int32Array.from([1,2,1,1,2,4]),Int32Array.from([1,2,1,4,2,1]),Int32Array.from([1,4,1,1,2,2]),Int32Array.from([1,4,1,2,2,1]),Int32Array.from([1,1,2,2,1,4]),Int32Array.from([1,1,2,4,1,2]),Int32Array.from([1,2,2,1,1,4]),Int32Array.from([1,2,2,4,1,1]),Int32Array.from([1,4,2,1,1,2]),Int32Array.from([1,4,2,2,1,1]),Int32Array.from([2,4,1,2,1,1]),Int32Array.from([2,2,1,1,1,4]),Int32Array.from([4,1,3,1,1,1]),Int32Array.from([2,4,1,1,1,2]),Int32Array.from([1,3,4,1,1,1]),Int32Array.from([1,1,1,2,4,2]),Int32Array.from([1,2,1,1,4,2]),Int32Array.from([1,2,1,2,4,1]),Int32Array.from([1,1,4,2,1,2]),Int32Array.from([1,2,4,1,1,2]),Int32Array.from([1,2,4,2,1,1]),Int32Array.from([4,1,1,2,1,2]),Int32Array.from([4,2,1,1,1,2]),Int32Array.from([4,2,1,2,1,1]),Int32Array.from([2,1,2,1,4,1]),Int32Array.from([2,1,4,1,2,1]),Int32Array.from([4,1,2,1,2,1]),Int32Array.from([1,1,1,1,4,3]),Int32Array.from([1,1,1,3,4,1]),Int32Array.from([1,3,1,1,4,1]),Int32Array.from([1,1,4,1,1,3]),Int32Array.from([1,1,4,3,1,1]),Int32Array.from([4,1,1,1,1,3]),Int32Array.from([4,1,1,3,1,1]),Int32Array.from([1,1,3,1,4,1]),Int32Array.from([1,1,4,1,3,1]),Int32Array.from([3,1,1,1,4,1]),Int32Array.from([4,1,1,1,3,1]),Int32Array.from([2,1,1,4,1,2]),Int32Array.from([2,1,1,2,1,4]),Int32Array.from([2,1,1,2,3,2]),Int32Array.from([2,3,3,1,1,1,2])],e.MAX_AVG_VARIANCE=.25,e.MAX_INDIVIDUAL_VARIANCE=.7,e.CODE_SHIFT=98,e.CODE_CODE_C=99,e.CODE_CODE_B=100,e.CODE_CODE_A=101,e.CODE_FNC_1=102,e.CODE_FNC_2=97,e.CODE_FNC_3=96,e.CODE_FNC_4_A=101,e.CODE_FNC_4_B=100,e.CODE_START_A=103,e.CODE_START_B=104,e.CODE_START_C=105,e.CODE_STOP=106,e}(l.a);e.a=d},function(t,e,r){"use strict";var n,o=r(84),i=r(264),a=r(62),u=r(28),s=r(270),c=r(258),f=r(83),l=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),h=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.")},d=function(t){function e(e,r){void 0===e&&(e=!1),void 0===r&&(r=!1);var n=t.call(this)||this;return n.usingCheckDigit=e,n.extendedMode=r,n.decodeRowResult="",n.counters=new Int32Array(9),n}return l(e,t),e.prototype.decodeRow=function(t,r,n){var a,s,l,d,p=this.counters;p.fill(0),this.decodeRowResult="";var y,g,v=e.findAsteriskPattern(r,p),w=r.getNextSet(v[1]),_=r.getSize();do{e.recordPattern(r,w,p);var m=e.toNarrowWidePattern(p);if(m<0)throw new u.a;y=e.patternToChar(m),this.decodeRowResult+=y,g=w;try{for(var A=(a=void 0,h(p)),E=A.next();!E.done;E=A.next()){w+=E.value}}catch(t){a={error:t}}finally{try{E&&!E.done&&(s=A.return)&&s.call(A)}finally{if(a)throw a.error}}w=r.getNextSet(w)}while("*"!==y);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var C,I=0;try{for(var S=h(p),b=S.next();!b.done;b=S.next()){I+=b.value}}catch(t){l={error:t}}finally{try{b&&!b.done&&(d=S.return)&&d.call(S)}finally{if(l)throw l.error}}if(w!==_&&2*(w-g-I)<I)throw new u.a;if(this.usingCheckDigit){for(var O=this.decodeRowResult.length-1,T=0,R=0;R<O;R++)T+=e.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(R));if(this.decodeRowResult.charAt(O)!==e.ALPHABET_STRING.charAt(T%43))throw new i.a;this.decodeRowResult=this.decodeRowResult.substring(0,O)}if(0===this.decodeRowResult.length)throw new u.a;C=this.extendedMode?e.decodeExtended(this.decodeRowResult):this.decodeRowResult;var N=(v[1]+v[0])/2,D=g+I/2;return new c.a(C,null,0,[new f.a(N,t),new f.a(D,t)],o.a.CODE_39,(new Date).getTime())},e.findAsteriskPattern=function(t,r){for(var n=t.getSize(),o=t.getNextSet(0),i=0,a=o,s=!1,c=r.length,f=o;f<n;f++)if(t.get(f)!==s)r[i]++;else{if(i===c-1){if(this.toNarrowWidePattern(r)===e.ASTERISK_ENCODING&&t.isRange(Math.max(0,a-Math.floor((f-a)/2)),a,!1))return[a,f];a+=r[0]+r[1],r.copyWithin(0,2,2+i-1),r[i-1]=0,r[i]=0,i--}else i++;r[i]=1,s=!s}throw new u.a},e.toNarrowWidePattern=function(t){var e,r,n,o=t.length,i=0;do{var a=2147483647;try{for(var u=(e=void 0,h(t)),s=u.next();!s.done;s=u.next()){(d=s.value)<a&&d>i&&(a=d)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}i=a,n=0;for(var c=0,f=0,l=0;l<o;l++){(d=t[l])>i&&(f|=1<<o-1-l,n++,c+=d)}if(3===n){for(l=0;l<o&&n>0;l++){var d;if((d=t[l])>i&&(n--,2*d>=c))return-1}return f}}while(n>3);return-1},e.patternToChar=function(t){for(var r=0;r<e.CHARACTER_ENCODINGS.length;r++)if(e.CHARACTER_ENCODINGS[r]===t)return e.ALPHABET_STRING.charAt(r);if(t===e.ASTERISK_ENCODING)return"*";throw new u.a},e.decodeExtended=function(t){for(var e=t.length,r="",n=0;n<e;n++){var o=t.charAt(n);if("+"===o||"$"===o||"%"===o||"/"===o){var i=t.charAt(n+1),u="\0";switch(o){case"+":if(!(i>="A"&&i<="Z"))throw new a.a;u=String.fromCharCode(i.charCodeAt(0)+32);break;case"$":if(!(i>="A"&&i<="Z"))throw new a.a;u=String.fromCharCode(i.charCodeAt(0)-64);break;case"%":if(i>="A"&&i<="E")u=String.fromCharCode(i.charCodeAt(0)-38);else if(i>="F"&&i<="J")u=String.fromCharCode(i.charCodeAt(0)-11);else if(i>="K"&&i<="O")u=String.fromCharCode(i.charCodeAt(0)+16);else if(i>="P"&&i<="T")u=String.fromCharCode(i.charCodeAt(0)+43);else if("U"===i)u="\0";else if("V"===i)u="@";else if("W"===i)u="`";else{if("X"!==i&&"Y"!==i&&"Z"!==i)throw new a.a;u=""}break;case"/":if(i>="A"&&i<="O")u=String.fromCharCode(i.charCodeAt(0)-32);else{if("Z"!==i)throw new a.a;u=":"}}r+=u,n++}else r+=o}return r},e.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",e.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],e.ASTERISK_ENCODING=148,e}(s.a);e.a=d},function(t,e,r){"use strict";var n,o=r(84),i=r(193),a=r(62),u=r(28),s=r(258),c=r(83),f=r(146),l=r(181),h=r(270),d=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=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.")},y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.narrowLineWidth=-1,e}return d(e,t),e.prototype.decodeRow=function(t,r,n){var u,l,h=this.decodeStart(r),d=this.decodeEnd(r),y=new f.a;e.decodeMiddle(r,h[1],d[0],y);var g=y.toString(),v=null;null!=n&&(v=n.get(i.a.ALLOWED_LENGTHS)),null==v&&(v=e.DEFAULT_ALLOWED_LENGTHS);var w=g.length,_=!1,m=0;try{for(var A=p(v),E=A.next();!E.done;E=A.next()){var C=E.value;if(w===C){_=!0;break}C>m&&(m=C)}}catch(t){u={error:t}}finally{try{E&&!E.done&&(l=A.return)&&l.call(A)}finally{if(u)throw u.error}}if(!_&&w>m&&(_=!0),!_)throw new a.a;var I=[new c.a(h[1],t),new c.a(d[0],t)];return new s.a(g,null,0,I,o.a.ITF,(new Date).getTime())},e.decodeMiddle=function(t,r,n,o){var i=new Int32Array(10),a=new Int32Array(5),u=new Int32Array(5);for(i.fill(0),a.fill(0),u.fill(0);r<n;){h.a.recordPattern(t,r,i);for(var s=0;s<5;s++){var c=2*s;a[s]=i[c],u[s]=i[c+1]}var f=e.decodeDigit(a);o.append(f.toString()),f=this.decodeDigit(u),o.append(f.toString()),i.forEach((function(t){r+=t}))}},e.prototype.decodeStart=function(t){var r=e.skipWhiteSpace(t),n=e.findGuardPattern(t,r,e.START_PATTERN);return this.narrowLineWidth=(n[1]-n[0])/4,this.validateQuietZone(t,n[0]),n},e.prototype.validateQuietZone=function(t,e){var r=10*this.narrowLineWidth;r=r<e?r:e;for(var n=e-1;r>0&&n>=0&&!t.get(n);n--)r--;if(0!==r)throw new u.a},e.skipWhiteSpace=function(t){var e=t.getSize(),r=t.getNextSet(0);if(r===e)throw new u.a;return r},e.prototype.decodeEnd=function(t){t.reverse();try{var r=e.skipWhiteSpace(t),n=void 0;try{n=e.findGuardPattern(t,r,e.END_PATTERN_REVERSED[0])}catch(o){o instanceof u.a&&(n=e.findGuardPattern(t,r,e.END_PATTERN_REVERSED[1]))}this.validateQuietZone(t,n[0]);var o=n[0];return n[0]=t.getSize()-n[1],n[1]=t.getSize()-o,n}finally{t.reverse()}},e.findGuardPattern=function(t,r,n){var o=n.length,i=new Int32Array(o),a=t.getSize(),s=!1,c=0,f=r;i.fill(0);for(var d=r;d<a;d++)if(t.get(d)!==s)i[c]++;else{if(c===o-1){if(h.a.patternMatchVariance(i,n,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return[f,d];f+=i[0]+i[1],l.a.arraycopy(i,2,i,0,c-1),i[c-1]=0,i[c]=0,c--}else c++;i[c]=1,s=!s}throw new u.a},e.decodeDigit=function(t){for(var r=e.MAX_AVG_VARIANCE,n=-1,o=e.PATTERNS.length,i=0;i<o;i++){var a=e.PATTERNS[i],s=h.a.patternMatchVariance(t,a,e.MAX_INDIVIDUAL_VARIANCE);s<r?(r=s,n=i):s===r&&(n=-1)}if(n>=0)return n%10;throw new u.a},e.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],e.MAX_AVG_VARIANCE=.38,e.MAX_INDIVIDUAL_VARIANCE=.5,e.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],e.START_PATTERN=Int32Array.from([1,1,1,1]),e.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])],e}(h.a);e.a=y},function(t,e,r){"use strict";var n;!function(t){t[t.DATA_MASK_000=0]="DATA_MASK_000",t[t.DATA_MASK_001=1]="DATA_MASK_001",t[t.DATA_MASK_010=2]="DATA_MASK_010",t[t.DATA_MASK_011=3]="DATA_MASK_011",t[t.DATA_MASK_100=4]="DATA_MASK_100",t[t.DATA_MASK_101=5]="DATA_MASK_101",t[t.DATA_MASK_110=6]="DATA_MASK_110",t[t.DATA_MASK_111=7]="DATA_MASK_111"}(n||(n={}));var o=function(){function t(t,e){this.value=t,this.isMasked=e}return t.prototype.unmaskBitMatrix=function(t,e){for(var r=0;r<e;r++)for(var n=0;n<e;n++)this.isMasked(r,n)&&t.flip(n,r)},t.values=new Map([[n.DATA_MASK_000,new t(n.DATA_MASK_000,(function(t,e){return 0==(t+e&1)}))],[n.DATA_MASK_001,new t(n.DATA_MASK_001,(function(t,e){return 0==(1&t)}))],[n.DATA_MASK_010,new t(n.DATA_MASK_010,(function(t,e){return e%3==0}))],[n.DATA_MASK_011,new t(n.DATA_MASK_011,(function(t,e){return(t+e)%3==0}))],[n.DATA_MASK_100,new t(n.DATA_MASK_100,(function(t,e){return 0==(Math.floor(t/2)+Math.floor(e/3)&1)}))],[n.DATA_MASK_101,new t(n.DATA_MASK_101,(function(t,e){return t*e%6==0}))],[n.DATA_MASK_110,new t(n.DATA_MASK_110,(function(t,e){return t*e%6<3}))],[n.DATA_MASK_111,new t(n.DATA_MASK_111,(function(t,e){return 0==(t+e+t*e%3&1)}))]]),t}();e.a=o},function(t,e,r){"use strict";var n,o=r(259),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="ReaderException",e}(o.a);e.a=a},function(t,e,r){"use strict";var n=r(265),o=r(134),i=r(379),a=r(352),u=r(263),s=r(72),c=function(){function t(){}return t.clearMatrix=function(t){t.clear(255)},t.buildMatrix=function(e,r,n,o,i){t.clearMatrix(i),t.embedBasicPatterns(n,i),t.embedTypeInfo(r,o,i),t.maybeEmbedVersionInfo(n,i),t.embedDataBits(e,o,i)},t.embedBasicPatterns=function(e,r){t.embedPositionDetectionPatternsAndSeparators(r),t.embedDarkDotAtLeftBottomCorner(r),t.maybeEmbedPositionAdjustmentPatterns(e,r),t.embedTimingPatterns(r)},t.embedTypeInfo=function(e,r,o){var i=new n.a;t.makeTypeInfoBits(e,r,i);for(var a=0,u=i.getSize();a<u;++a){var s=i.get(i.getSize()-1-a),c=t.TYPE_INFO_COORDINATES[a],f=c[0],l=c[1];if(o.setBoolean(f,l,s),a<8){var h=o.getWidth()-a-1,d=8;o.setBoolean(h,d,s)}else{h=8,d=o.getHeight()-7+(a-8);o.setBoolean(h,d,s)}}},t.maybeEmbedVersionInfo=function(e,r){if(!(e.getVersionNumber()<7)){var o=new n.a;t.makeVersionInfoBits(e,o);for(var i=17,a=0;a<6;++a)for(var u=0;u<3;++u){var s=o.get(i);i--,r.setBoolean(a,r.getHeight()-11+u,s),r.setBoolean(r.getHeight()-11+u,a,s)}}},t.embedDataBits=function(e,r,n){for(var o=0,i=-1,s=n.getWidth()-1,c=n.getHeight()-1;s>0;){for(6===s&&(s-=1);c>=0&&c<n.getHeight();){for(var f=0;f<2;++f){var l=s-f;if(t.isEmpty(n.get(l,c))){var h=void 0;o<e.getSize()?(h=e.get(o),++o):h=!1,255!==r&&a.a.getDataMaskBit(r,l,c)&&(h=!h),n.setBoolean(l,c,h)}}c+=i}c+=i=-i,s-=2}if(o!==e.getSize())throw new u.a("Not all bits consumed: "+o+"/"+e.getSize())},t.findMSBSet=function(t){return 32-o.a.numberOfLeadingZeros(t)},t.calculateBCHCode=function(e,r){if(0===r)throw new s.a("0 polynomial");var n=t.findMSBSet(r);for(e<<=n-1;t.findMSBSet(e)>=n;)e^=r<<t.findMSBSet(e)-n;return e},t.makeTypeInfoBits=function(e,r,o){if(!i.a.isValidMaskPattern(r))throw new u.a("Invalid mask pattern");var a=e.getBits()<<3|r;o.appendBits(a,5);var s=t.calculateBCHCode(a,t.TYPE_INFO_POLY);o.appendBits(s,10);var c=new n.a;if(c.appendBits(t.TYPE_INFO_MASK_PATTERN,15),o.xor(c),15!==o.getSize())throw new u.a("should not happen but we got: "+o.getSize())},t.makeVersionInfoBits=function(e,r){r.appendBits(e.getVersionNumber(),6);var n=t.calculateBCHCode(e.getVersionNumber(),t.VERSION_INFO_POLY);if(r.appendBits(n,12),18!==r.getSize())throw new u.a("should not happen but we got: "+r.getSize())},t.isEmpty=function(t){return 255===t},t.embedTimingPatterns=function(e){for(var r=8;r<e.getWidth()-8;++r){var n=(r+1)%2;t.isEmpty(e.get(r,6))&&e.setNumber(r,6,n),t.isEmpty(e.get(6,r))&&e.setNumber(6,r,n)}},t.embedDarkDotAtLeftBottomCorner=function(t){if(0===t.get(8,t.getHeight()-8))throw new u.a;t.setNumber(8,t.getHeight()-8,1)},t.embedHorizontalSeparationPattern=function(e,r,n){for(var o=0;o<8;++o){if(!t.isEmpty(n.get(e+o,r)))throw new u.a;n.setNumber(e+o,r,0)}},t.embedVerticalSeparationPattern=function(e,r,n){for(var o=0;o<7;++o){if(!t.isEmpty(n.get(e,r+o)))throw new u.a;n.setNumber(e,r+o,0)}},t.embedPositionAdjustmentPattern=function(e,r,n){for(var o=0;o<5;++o)for(var i=t.POSITION_ADJUSTMENT_PATTERN[o],a=0;a<5;++a)n.setNumber(e+a,r+o,i[a])},t.embedPositionDetectionPattern=function(e,r,n){for(var o=0;o<7;++o)for(var i=t.POSITION_DETECTION_PATTERN[o],a=0;a<7;++a)n.setNumber(e+a,r+o,i[a])},t.embedPositionDetectionPatternsAndSeparators=function(e){var r=t.POSITION_DETECTION_PATTERN[0].length;t.embedPositionDetectionPattern(0,0,e),t.embedPositionDetectionPattern(e.getWidth()-r,0,e),t.embedPositionDetectionPattern(0,e.getWidth()-r,e);t.embedHorizontalSeparationPattern(0,7,e),t.embedHorizontalSeparationPattern(e.getWidth()-8,7,e),t.embedHorizontalSeparationPattern(0,e.getWidth()-8,e);t.embedVerticalSeparationPattern(7,0,e),t.embedVerticalSeparationPattern(e.getHeight()-7-1,0,e),t.embedVerticalSeparationPattern(7,e.getHeight()-7,e)},t.maybeEmbedPositionAdjustmentPatterns=function(e,r){if(!(e.getVersionNumber()<2))for(var n=e.getVersionNumber()-1,o=t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[n],i=0,a=o.length;i!==a;i++){var u=o[i];if(u>=0)for(var s=0;s!==a;s++){var c=o[s];c>=0&&t.isEmpty(r.get(c,u))&&t.embedPositionAdjustmentPattern(c-2,u-2,r)}}},t.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),t.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),t.VERSION_INFO_POLY=7973,t.TYPE_INFO_POLY=1335,t.TYPE_INFO_MASK_PATTERN=21522,t}();e.a=c},function(t,e,r){"use strict";var n,o=r(354),i=r(384),a=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),u=function(t){function e(e,r,n){var o=t.call(this,e,r)||this;return o.count=0,o.finderPattern=n,o}return a(e,t),e.prototype.getFinderPattern=function(){return this.finderPattern},e.prototype.getCount=function(){return this.count},e.prototype.incrementCount=function(){this.count++},e}(i.a),s=r(258),c=r(193),f=r(28),l=r(146),h=r(84),d=r(83),p=r(584),y=r(182),g=r(360),v=r(181),w=r(270),_=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),m=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.possibleLeftPairs=[],e.possibleRightPairs=[],e}return _(e,t),e.prototype.decodeRow=function(t,r,n){var o,i,a,u,s=this.decodePair(r,!1,t,n);e.addOrTally(this.possibleLeftPairs,s),r.reverse();var c=this.decodePair(r,!0,t,n);e.addOrTally(this.possibleRightPairs,c),r.reverse();try{for(var l=m(this.possibleLeftPairs),h=l.next();!h.done;h=l.next()){var d=h.value;if(d.getCount()>1)try{for(var p=(a=void 0,m(this.possibleRightPairs)),y=p.next();!y.done;y=p.next()){var g=y.value;if(g.getCount()>1&&e.checkChecksum(d,g))return e.constructResult(d,g)}}catch(t){a={error:t}}finally{try{y&&!y.done&&(u=p.return)&&u.call(p)}finally{if(a)throw a.error}}}}catch(t){o={error:t}}finally{try{h&&!h.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}throw new f.a},e.addOrTally=function(t,e){var r,n;if(null!=e){var o=!1;try{for(var i=m(t),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.getValue()===e.getValue()){u.incrementCount(),o=!0;break}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}o||t.push(e)}},e.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},e.constructResult=function(t,e){for(var r=4537077*t.getValue()+e.getValue(),n=new String(r).toString(),o=new l.a,i=13-n.length;i>0;i--)o.append("0");o.append(n);var a=0;for(i=0;i<13;i++){var u=o.charAt(i).charCodeAt(0)-"0".charCodeAt(0);a+=0==(1&i)?3*u:u}10===(a=10-a%10)&&(a=0),o.append(a.toString());var c=t.getFinderPattern().getResultPoints(),f=e.getFinderPattern().getResultPoints();return new s.a(o.toString(),null,0,[c[0],c[1],f[0],f[1]],h.a.RSS_14,(new Date).getTime())},e.checkChecksum=function(t,e){var r=(t.getChecksumPortion()+16*e.getChecksumPortion())%79,n=9*t.getFinderPattern().getValue()+e.getFinderPattern().getValue();return n>72&&n--,n>8&&n--,r===n},e.prototype.decodePair=function(t,e,r,n){try{var o=this.findFinderPattern(t,e),i=this.parseFoundFinderPattern(t,r,e,o),a=null==n?null:n.get(c.a.NEED_RESULT_POINT_CALLBACK);if(null!=a){var s=(o[0]+o[1])/2;e&&(s=t.getSize()-1-s),a.foundPossibleResultPoint(new d.a(s,r))}var f=this.decodeDataCharacter(t,i,!0),l=this.decodeDataCharacter(t,i,!1);return new u(1597*f.getValue()+l.getValue(),f.getChecksumPortion()+4*l.getChecksumPortion(),i)}catch(t){return null}},e.prototype.decodeDataCharacter=function(t,r,n){for(var o=this.getDataCharacterCounters(),a=0;a<o.length;a++)o[a]=0;if(n)w.a.recordPatternInReverse(t,r.getStartEnd()[0],o);else{w.a.recordPattern(t,r.getStartEnd()[1]+1,o);for(var u=0,s=o.length-1;u<s;u++,s--){var c=o[u];o[u]=o[s],o[s]=c}}var l=n?16:15,h=y.a.sum(new Int32Array(o))/l,d=this.getOddCounts(),p=this.getEvenCounts(),v=this.getOddRoundingErrors(),_=this.getEvenRoundingErrors();for(u=0;u<o.length;u++){var m=o[u]/h,A=Math.floor(m+.5);A<1?A=1:A>8&&(A=8);var E=Math.floor(u/2);0==(1&u)?(d[E]=A,v[E]=m-A):(p[E]=A,_[E]=m-A)}this.adjustOddEvenCounts(n,l);var C=0,I=0;for(u=d.length-1;u>=0;u--)I*=9,I+=d[u],C+=d[u];var S=0,b=0;for(u=p.length-1;u>=0;u--)S*=9,S+=p[u],b+=p[u];var O=I+3*S;if(n){if(0!=(1&C)||C>12||C<4)throw new f.a;var T=(12-C)/2,R=9-(B=e.OUTSIDE_ODD_WIDEST[T]),N=g.a.getRSSvalue(d,B,!1),D=g.a.getRSSvalue(p,R,!0),P=e.OUTSIDE_EVEN_TOTAL_SUBSET[T],M=e.OUTSIDE_GSUM[T];return new i.a(N*P+D+M,O)}if(0!=(1&b)||b>10||b<4)throw new f.a;T=(10-b)/2,R=9-(B=e.INSIDE_ODD_WIDEST[T]),N=g.a.getRSSvalue(d,B,!0),D=g.a.getRSSvalue(p,R,!1);var B,L=e.INSIDE_ODD_TOTAL_SUBSET[T];M=e.INSIDE_GSUM[T];return new i.a(D*L+N+M,O)},e.prototype.findFinderPattern=function(t,e){var r=this.getDecodeFinderCounters();r[0]=0,r[1]=0,r[2]=0,r[3]=0;for(var n=t.getSize(),i=!1,a=0;a<n&&e!==(i=!t.get(a));)a++;for(var u=0,s=a,c=a;c<n;c++)if(t.get(c)!==i)r[u]++;else{if(3===u){if(o.a.isFinderPattern(r))return[s,c];s+=r[0]+r[1],r[0]=r[2],r[1]=r[3],r[2]=0,r[3]=0,u--}else u++;r[u]=1,i=!i}throw new f.a},e.prototype.parseFoundFinderPattern=function(t,r,n,o){for(var i=t.get(o[0]),a=o[0]-1;a>=0&&i!==t.get(a);)a--;a++;var u=o[0]-a,s=this.getDecodeFinderCounters(),c=new Int32Array(s.length);v.a.arraycopy(s,0,c,1,s.length-1),c[0]=u;var f=this.parseFinderValue(c,e.FINDER_PATTERNS),l=a,h=o[1];return n&&(l=t.getSize()-1-l,h=t.getSize()-1-h),new p.a(f,[a,o[1]],l,h,r)},e.prototype.adjustOddEvenCounts=function(t,e){var r=y.a.sum(new Int32Array(this.getOddCounts())),n=y.a.sum(new Int32Array(this.getEvenCounts())),i=!1,a=!1,u=!1,s=!1;t?(r>12?a=!0:r<4&&(i=!0),n>12?s=!0:n<4&&(u=!0)):(r>11?a=!0:r<5&&(i=!0),n>10?s=!0:n<4&&(u=!0));var c=r+n-e,l=(1&r)==(t?1:0),h=1==(1&n);if(1===c)if(l){if(h)throw new f.a;a=!0}else{if(!h)throw new f.a;s=!0}else if(-1===c)if(l){if(h)throw new f.a;i=!0}else{if(!h)throw new f.a;u=!0}else{if(0!==c)throw new f.a;if(l){if(!h)throw new f.a;r<n?(i=!0,s=!0):(a=!0,u=!0)}else if(h)throw new f.a}if(i){if(a)throw new f.a;o.a.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(a&&o.a.decrement(this.getOddCounts(),this.getOddRoundingErrors()),u){if(s)throw new f.a;o.a.increment(this.getEvenCounts(),this.getOddRoundingErrors())}s&&o.a.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},e.OUTSIDE_EVEN_TOTAL_SUBSET=[1,10,34,70,126],e.INSIDE_ODD_TOTAL_SUBSET=[4,20,48,81],e.OUTSIDE_GSUM=[0,161,961,2015,2715],e.INSIDE_GSUM=[0,336,1036,1516],e.OUTSIDE_ODD_WIDEST=[8,6,4,3,1],e.INSIDE_ODD_WIDEST=[2,4,6,8],e.FINDER_PATTERNS=[Int32Array.from([3,8,2,1]),Int32Array.from([3,5,5,1]),Int32Array.from([3,3,7,1]),Int32Array.from([3,1,9,1]),Int32Array.from([2,7,4,1]),Int32Array.from([2,5,6,1]),Int32Array.from([2,3,8,1]),Int32Array.from([1,5,7,1]),Int32Array.from([1,3,9,1])],e}(o.a);e.a=A},function(t,e,r){"use strict";var n=function(){function t(){}return t.floatToIntBits=function(t){return t},t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}();e.a=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.r(e);var n=r(545),o=r.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(i);e.default=o.a},function(t,e,r){"use strict";r(20),r(63),r(58),r(73),r(35);var n=r(7);r(35),r(32),r(20),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r(748);var o=n(r(74));r(29),r(29),r(748);var i=n(r(882)),a=n(r(884));function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var c={name:"ScanCodeInput",components:{scanCodeInputColse:i.default},model:{prop:"value",event:"input"},props:{colseVideo:{type:Boolean,default:!1},value:{type:String,default:null},disable:{type:Boolean,default:!1},placeholder:{type:String,default:null},clearable:{type:Boolean,default:null},readonly:{type:Boolean,default:!1},maxlength:{type:Number,default:null}},data:function(){return{isMobile:!1,isShow:!1,scanCode:""}},watch:{value:{deep:!0,handler:function(t){this.scanCode=this.value}}},created:function(){this.isMobile=this.equipment(),this.scanCode=this.value},beforeDestroy:function(){},methods:s(s({},a.default),{},{equipment:function(){var t=navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);if(t)return t;try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}},openVideo:function(){this.isShow?this.isShow=!1:this.isShow=!0},closeVideo:function(t){this.isShow=!1,this.value=t,this.$emit("colse",t)}})};e.default=c},function(t,e,r){"use strict";r.r(e);var n=r(547),o=r.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(i);e.default=o.a},function(t,e,r){"use strict";var n=r(7);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(622)),i=n(r(30));r(667);var a=n(r(668)),u=r(883),s={name:"ScanCodeInputColse",components:{},props:{colseVideo:{type:Boolean,default:!1}},data:function(){return{loadingShow:!1,codeReader:new u.BrowserMultiFormatReader,textContent:null,vin:null,tipMsg:this.$t("messageVideo.attemptingToIdentify"),tipShow:!1,isVideo:!1}},created:function(){this.openScan()},beforeDestroy:function(){console.log("销毁定时器"),this.codeReader.reset()},methods:{openScan:function(){var t=this;return(0,a.default)(o.default.mark((function e(){var r,n=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(r=t).codeReader.listVideoInputDevices().then(function(e){(0,i.default)(this,n),r.tipShow=!0,r.tipMsg=t.$t("messageVideo.callingRearCamera"),console.log("videoInputDevices",e);var o=e[0].deviceId,a=JSON.stringify(e[0].label);e.length>1&&(o=a.indexOf("back")>-1?e[0].deviceId:e[1].deviceId),r.decodeFromInputVideoFunc(o)}.bind(this)).catch(function(t){(0,i.default)(this,n),r.tipShow=!1,console.error(t)}.bind(this));case 2:case"end":return e.stop()}}),e,this)})))()},openScanTwo:function(){var t=this;return(0,a.default)(o.default.mark((function e(){var r,n=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t,e.next=3,new u.BrowserMultiFormatReader;case 3:r.codeReader=e.sent,r.codeReader.listVideoInputDevices().then(function(e){(0,i.default)(this,n),r.tipShow=!0,r.tipMsg=t.$t("messageVideo.callingRearCamera"),console.log("videoInputDevices",e);var o=e[0].deviceId,a=JSON.stringify(e[0].label);e.length>1&&(o=a.indexOf("back")>-1?e[0].deviceId:e[1].deviceId),r.decodeFromInputVideoFunc(o)}.bind(this)).catch(function(t){(0,i.default)(this,n),r.tipShow=!1,console.error(t)}.bind(this));case 5:case"end":return e.stop()}}),e,this)})))()},decodeFromInputVideoFunc:function(t){var e=this,r=this;r.codeReader.reset(),r.textContent=null,r.codeReader.decodeFromVideoDevice(t,"video",function(t,n){var o=this;(0,i.default)(this,e),r.tipMsg=this.$t("messageVideo.attemptingToIdentify"),r.textContent=null,t&&(console.log(t),r.textContent=t.text,r.textContent&&(r.tipShow=!1,r.msgBoxFunc(r.textContent))),n&&!n&&(r.tipMsg=this.$t("messageVideo.identificationFailed"),setTimeout(function(){(0,i.default)(this,o),r.tipShow=!1}.bind(this),2e3),console.error(n))}.bind(this))},msgBoxFunc:function(t){this.vin=t,this.$emit("close",this.vin),this.codeReader.reset()},clickVideo:function(){this.colseVideo&&(this.$emit("close",this.vin),this.codeReader.reset())}}};e.default=s},function(t,e,r){"use strict";var n=r(72),o=function(){function t(t){if(this.binarizer=t,null===t)throw new n.a("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,r,n,o){var i=this.binarizer.getLuminanceSource().crop(e,r,n,o);return new t(this.binarizer.createBinarizer(i))},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.a=o},function(t,e,r){"use strict";var n,o=r(550),i=r(271),a=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),u=function(t){function e(e){var r=t.call(this,e)||this;return r.matrix=null,r}return a(e,t),e.prototype.getBlackMatrix=function(){if(null!==this.matrix)return this.matrix;var r=this.getLuminanceSource(),n=r.getWidth(),o=r.getHeight();if(n>=e.MINIMUM_DIMENSION&&o>=e.MINIMUM_DIMENSION){var a=r.getMatrix(),u=n>>e.BLOCK_SIZE_POWER;0!=(n&e.BLOCK_SIZE_MASK)&&u++;var s=o>>e.BLOCK_SIZE_POWER;0!=(o&e.BLOCK_SIZE_MASK)&&s++;var c=e.calculateBlackPoints(a,u,s,n,o),f=new i.a(n,o);e.calculateThresholdForBlock(a,u,s,n,o,c,f),this.matrix=f}else this.matrix=t.prototype.getBlackMatrix.call(this);return this.matrix},e.prototype.createBinarizer=function(t){return new e(t)},e.calculateThresholdForBlock=function(t,r,n,o,i,a,u){for(var s=i-e.BLOCK_SIZE,c=o-e.BLOCK_SIZE,f=0;f<n;f++){var l=f<<e.BLOCK_SIZE_POWER;l>s&&(l=s);for(var h=e.cap(f,2,n-3),d=0;d<r;d++){var p=d<<e.BLOCK_SIZE_POWER;p>c&&(p=c);for(var y=e.cap(d,2,r-3),g=0,v=-2;v<=2;v++){var w=a[h+v];g+=w[y-2]+w[y-1]+w[y]+w[y+1]+w[y+2]}var _=g/25;e.thresholdBlock(t,p,l,_,o,u)}}},e.cap=function(t,e,r){return t<e?e:t>r?r:t},e.thresholdBlock=function(t,r,n,o,i,a){for(var u=0,s=n*i+r;u<e.BLOCK_SIZE;u++,s+=i)for(var c=0;c<e.BLOCK_SIZE;c++)(255&t[s+c])<=o&&a.set(r+c,n+u)},e.calculateBlackPoints=function(t,r,n,o,i){for(var a=i-e.BLOCK_SIZE,u=o-e.BLOCK_SIZE,s=new Array(n),c=0;c<n;c++){s[c]=new Int32Array(r);var f=c<<e.BLOCK_SIZE_POWER;f>a&&(f=a);for(var l=0;l<r;l++){var h=l<<e.BLOCK_SIZE_POWER;h>u&&(h=u);for(var d=0,p=255,y=0,g=0,v=f*o+h;g<e.BLOCK_SIZE;g++,v+=o){for(var w=0;w<e.BLOCK_SIZE;w++){var _=255&t[v+w];d+=_,_<p&&(p=_),_>y&&(y=_)}if(y-p>e.MIN_DYNAMIC_RANGE)for(g++,v+=o;g<e.BLOCK_SIZE;g++,v+=o)for(w=0;w<e.BLOCK_SIZE;w++)d+=255&t[v+w]}var m=d>>2*e.BLOCK_SIZE_POWER;if(y-p<=e.MIN_DYNAMIC_RANGE&&(m=p/2,c>0&&l>0)){var A=(s[c-1][l]+2*s[c][l-1]+s[c-1][l-1])/4;p<A&&(m=A)}s[c][l]=m}}return s},e.BLOCK_SIZE_POWER=3,e.BLOCK_SIZE=1<<e.BLOCK_SIZE_POWER,e.BLOCK_SIZE_MASK=e.BLOCK_SIZE-1,e.MINIMUM_DIMENSION=5*e.BLOCK_SIZE,e.MIN_DYNAMIC_RANGE=24,e}(o.a);e.a=u},function(t,e,r){"use strict";var n,o=r(551),i=r(265),a=r(271),u=r(28),s=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),c=function(t){function e(r){var n=t.call(this,r)||this;return n.luminances=e.EMPTY,n.buckets=new Int32Array(e.LUMINANCE_BUCKETS),n}return s(e,t),e.prototype.getBlackRow=function(t,r){var n=this.getLuminanceSource(),o=n.getWidth();null==r||r.getSize()<o?r=new i.a(o):r.clear(),this.initArrays(o);for(var a=n.getRow(t,this.luminances),u=this.buckets,s=0;s<o;s++)u[(255&a[s])>>e.LUMINANCE_SHIFT]++;var c=e.estimateBlackPoint(u);if(o<3)for(s=0;s<o;s++)(255&a[s])<c&&r.set(s);else{var f=255&a[0],l=255&a[1];for(s=1;s<o-1;s++){var h=255&a[s+1];(4*l-f-h)/2<c&&r.set(s),f=l,l=h}}return r},e.prototype.getBlackMatrix=function(){var t=this.getLuminanceSource(),r=t.getWidth(),n=t.getHeight(),o=new a.a(r,n);this.initArrays(r);for(var i=this.buckets,u=1;u<5;u++)for(var s=Math.floor(n*u/5),c=t.getRow(s,this.luminances),f=Math.floor(4*r/5),l=Math.floor(r/5);l<f;l++){i[(255&c[l])>>e.LUMINANCE_SHIFT]++}var h=e.estimateBlackPoint(i),d=t.getMatrix();for(u=0;u<n;u++){var p=u*r;for(l=0;l<r;l++){(255&d[p+l])<h&&o.set(l,u)}}return o},e.prototype.createBinarizer=function(t){return new e(t)},e.prototype.initArrays=function(t){this.luminances.length<t&&(this.luminances=new Uint8ClampedArray(t));for(var r=this.buckets,n=0;n<e.LUMINANCE_BUCKETS;n++)r[n]=0},e.estimateBlackPoint=function(t){for(var r=t.length,n=0,o=0,i=0,a=0;a<r;a++)t[a]>i&&(o=a,i=t[a]),t[a]>n&&(n=t[a]);var s=0,c=0;for(a=0;a<r;a++){var f=a-o;(p=t[a]*f*f)>c&&(s=a,c=p)}if(o>s){var l=o;o=s,s=l}if(s-o<=r/16)throw new u.a;var h=s-1,d=-1;for(a=s-1;a>o;a--){var p,y=a-o;(p=y*y*(s-a)*(n-t[a]))>d&&(h=a,d=p)}return h<<e.LUMINANCE_SHIFT},e.LUMINANCE_BITS=5,e.LUMINANCE_SHIFT=8-e.LUMINANCE_BITS,e.LUMINANCE_BUCKETS=1<<e.LUMINANCE_BITS,e.EMPTY=Uint8ClampedArray.from([0]),e}(o.a);e.a=c},function(t,e,r){"use strict";var n=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.a=n},function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n,o=r(351),i=r(315),a=r(72),u=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),s=function(t){function e(r){var n=t.call(this,r.width,r.height)||this;return n.canvas=r,n.tempCanvasElement=null,n.buffer=e.makeBufferFromCanvasImageData(r),n}return u(e,t),e.makeBufferFromCanvasImageData=function(t){var r=t.getContext("2d").getImageData(0,0,t.width,t.height);return e.toGrayscaleBuffer(r.data,t.width,t.height)},e.toGrayscaleBuffer=function(t,e,r){for(var n=new Uint8ClampedArray(e*r),o=0,i=0,a=t.length;o<a;o+=4,i++){var u=void 0;if(0===t[o+3])u=255;else u=306*t[o]+601*t[o+1]+117*t[o+2]+512>>10;n[i]=u}return n},e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new a.a("Requested row is outside the image: "+t);var r=this.getWidth(),n=t*r;return null===e?e=this.buffer.slice(n,n+r):(e.length<r&&(e=new Uint8ClampedArray(r)),e.set(this.buffer.slice(n,n+r))),e},e.prototype.getMatrix=function(){return this.buffer},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(e,r,n,o){return t.prototype.crop.call(this,e,r,n,o),this},e.prototype.isRotateSupported=function(){return!0},e.prototype.rotateCounterClockwise=function(){return this.rotate(-90),this},e.prototype.rotateCounterClockwise45=function(){return this.rotate(-45),this},e.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},e.prototype.rotate=function(t){var r=this.getTempCanvasElement(),n=r.getContext("2d"),o=t*e.DEGREE_TO_RADIANS,i=this.canvas.width,a=this.canvas.height,u=Math.ceil(Math.abs(Math.cos(o))*i+Math.abs(Math.sin(o))*a),s=Math.ceil(Math.abs(Math.sin(o))*i+Math.abs(Math.cos(o))*a);return r.width=u,r.height=s,n.translate(u/2,s/2),n.rotate(o),n.drawImage(this.canvas,i/-2,a/-2),this.buffer=e.makeBufferFromCanvasImageData(r),this},e.prototype.invert=function(){return new o.a(this)},e.DEGREE_TO_RADIANS=Math.PI/180,e}(i.a)},function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(){function t(t,e,r){this.deviceId=t,this.label=e,this.kind="videoinput",this.groupId=r||void 0}return t.prototype.toJSON=function(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}},t}()},function(t,e,r){"use strict";var n,o=r(357),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(e,r,n,o,i){var a=t.call(this,e,r)||this;return a.compact=n,a.nbDatablocks=o,a.nbLayers=i,a}return i(e,t),e.prototype.getNbLayers=function(){return this.nbLayers},e.prototype.getNbDatablocks=function(){return this.nbDatablocks},e.prototype.isCompact=function(){return this.compact},e}(o.a);e.a=a},function(t,e,r){"use strict";var n,o=r(444),i=r(271),a=r(399),u=r(28),s=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.sampleGrid=function(t,e,r,n,o,i,u,s,c,f,l,h,d,p,y,g,v,w,_){var m=a.a.quadrilateralToQuadrilateral(n,o,i,u,s,c,f,l,h,d,p,y,g,v,w,_);return this.sampleGridWithTransform(t,e,r,m)},e.prototype.sampleGridWithTransform=function(t,e,r,n){if(e<=0||r<=0)throw new u.a;for(var a=new i.a(e,r),s=new Float32Array(2*e),c=0;c<r;c++){for(var f=s.length,l=c+.5,h=0;h<f;h+=2)s[h]=h/2+.5,s[h+1]=l;n.transformPoints(s),o.a.checkAndNudgePoints(t,s);try{for(h=0;h<f;h+=2)t.get(Math.floor(s[h]),Math.floor(s[h+1]))&&a.set(h/2,c)}catch(t){throw new u.a}}return a},e}(o.a);e.a=c},function(t,e,r){"use strict";var n,o=r(316),i=r(401),a=r(146),u=r(293),s=r(195),c=r(62),f=r(289);!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 l=function(){function t(){}return t.decode=function(t){var e=new i.a(t),r=new a.a,u=new a.a,s=new Array,f=n.ASCII_ENCODE;do{if(f===n.ASCII_ENCODE)f=this.decodeAsciiSegment(e,r,u);else{switch(f){case n.C40_ENCODE:this.decodeC40Segment(e,r);break;case n.TEXT_ENCODE:this.decodeTextSegment(e,r);break;case n.ANSIX12_ENCODE:this.decodeAnsiX12Segment(e,r);break;case n.EDIFACT_ENCODE:this.decodeEdifactSegment(e,r);break;case n.BASE256_ENCODE:this.decodeBase256Segment(e,r,s);break;default:throw new c.a}f=n.ASCII_ENCODE}}while(f!==n.PAD_ENCODE&&e.available()>0);return u.length()>0&&r.append(u.toString()),new o.a(t,r.toString(),0===s.length?null:s,null)},t.decodeAsciiSegment=function(t,e,r){var o=!1;do{var i=t.readBits(8);if(0===i)throw new c.a;if(i<=128)return o&&(i+=128),e.append(String.fromCharCode(i-1)),n.ASCII_ENCODE;if(129===i)return n.PAD_ENCODE;if(i<=229){var a=i-130;a<10&&e.append("0"),e.append(""+a)}else switch(i){case 230:return n.C40_ENCODE;case 231:return n.BASE256_ENCODE;case 232:e.append(String.fromCharCode(29));break;case 233:case 234:break;case 235:o=!0;break;case 236:e.append("[)>05"),r.insert(0,"");break;case 237:e.append("[)>06"),r.insert(0,"");break;case 238:return n.ANSIX12_ENCODE;case 239:return n.TEXT_ENCODE;case 240:return n.EDIFACT_ENCODE;case 241:break;default:if(254!==i||0!==t.available())throw new c.a}}while(t.available()>0);return n.ASCII_ENCODE},t.decodeC40Segment=function(t,e){var r=!1,n=[],o=0;do{if(8===t.available())return;var i=t.readBits(8);if(254===i)return;this.parseTwoBytes(i,t.readBits(8),n);for(var a=0;a<3;a++){var u=n[a];switch(o){case 0:if(u<3)o=u+1;else{if(!(u<this.C40_BASIC_SET_CHARS.length))throw new c.a;var s=this.C40_BASIC_SET_CHARS[u];r?(e.append(String.fromCharCode(s.charCodeAt(0)+128)),r=!1):e.append(s)}break;case 1:r?(e.append(String.fromCharCode(u+128)),r=!1):e.append(String.fromCharCode(u)),o=0;break;case 2:if(u<this.C40_SHIFT2_SET_CHARS.length){s=this.C40_SHIFT2_SET_CHARS[u];r?(e.append(String.fromCharCode(s.charCodeAt(0)+128)),r=!1):e.append(s)}else switch(u){case 27:e.append(String.fromCharCode(29));break;case 30:r=!0;break;default:throw new c.a}o=0;break;case 3:r?(e.append(String.fromCharCode(u+224)),r=!1):e.append(String.fromCharCode(u+96)),o=0;break;default:throw new c.a}}}while(t.available()>0)},t.decodeTextSegment=function(t,e){var r=!1,n=[],o=0;do{if(8===t.available())return;var i=t.readBits(8);if(254===i)return;this.parseTwoBytes(i,t.readBits(8),n);for(var a=0;a<3;a++){var u=n[a];switch(o){case 0:if(u<3)o=u+1;else{if(!(u<this.TEXT_BASIC_SET_CHARS.length))throw new c.a;var s=this.TEXT_BASIC_SET_CHARS[u];r?(e.append(String.fromCharCode(s.charCodeAt(0)+128)),r=!1):e.append(s)}break;case 1:r?(e.append(String.fromCharCode(u+128)),r=!1):e.append(String.fromCharCode(u)),o=0;break;case 2:if(u<this.TEXT_SHIFT2_SET_CHARS.length){s=this.TEXT_SHIFT2_SET_CHARS[u];r?(e.append(String.fromCharCode(s.charCodeAt(0)+128)),r=!1):e.append(s)}else switch(u){case 27:e.append(String.fromCharCode(29));break;case 30:r=!0;break;default:throw new c.a}o=0;break;case 3:if(!(u<this.TEXT_SHIFT3_SET_CHARS.length))throw new c.a;s=this.TEXT_SHIFT3_SET_CHARS[u];r?(e.append(String.fromCharCode(s.charCodeAt(0)+128)),r=!1):e.append(s),o=0;break;default:throw new c.a}}}while(t.available()>0)},t.decodeAnsiX12Segment=function(t,e){var r=[];do{if(8===t.available())return;var n=t.readBits(8);if(254===n)return;this.parseTwoBytes(n,t.readBits(8),r);for(var o=0;o<3;o++){var i=r[o];switch(i){case 0:e.append("\r");break;case 1:e.append("*");break;case 2:e.append(">");break;case 3:e.append(" ");break;default:if(i<14)e.append(String.fromCharCode(i+44));else{if(!(i<40))throw new c.a;e.append(String.fromCharCode(i+51))}}}}while(t.available()>0)},t.parseTwoBytes=function(t,e,r){var n=(t<<8)+e-1,o=Math.floor(n/1600);r[0]=o,n-=1600*o,o=Math.floor(n/40),r[1]=o,r[2]=n-40*o},t.decodeEdifactSegment=function(t,e){do{if(t.available()<=16)return;for(var r=0;r<4;r++){var n=t.readBits(6);if(31===n){var o=8-t.getBitOffset();return void(8!==o&&t.readBits(o))}0==(32&n)&&(n|=64),e.append(String.fromCharCode(n))}}while(t.available()>0)},t.decodeBase256Segment=function(t,e,r){var n,o=1+t.getByteOffset(),i=this.unrandomize255State(t.readBits(8),o++);if((n=0===i?t.available()/8|0:i<250?i:250*(i-249)+this.unrandomize255State(t.readBits(8),o++))<0)throw new c.a;for(var a=new Uint8Array(n),l=0;l<n;l++){if(t.available()<8)throw new c.a;a[l]=this.unrandomize255State(t.readBits(8),o++)}r.push(a);try{e.append(u.a.decode(a,s.a.ISO88591))}catch(t){throw new f.a("Platform does not support required encoding: "+t.message)}},t.unrandomize255State=function(t,e){var r=t-(149*e%255+1);return r>=0?r:r+256},t.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],t.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],t.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],t.TEXT_SHIFT2_SET_CHARS=t.C40_SHIFT2_SET_CHARS,t.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)],t}();e.a=l},function(t,e,r){"use strict";var n=r(193),o=r(84),i=r(381),a=r(376),u=r(353),s=r(382),c=r(28),f=r(380),l=r(449),h=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.")},d=function(){function t(){}return t.prototype.decode=function(t,e){return this.setHints(e),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 e=null!=t&&void 0!==t.get(n.a.TRY_HARDER),r=null==t?null:t.get(n.a.POSSIBLE_FORMATS),c=new Array;if(null!=r){var l=r.some((function(t){return t===o.a.UPC_A||t===o.a.UPC_E||t===o.a.EAN_13||t===o.a.EAN_8||t===o.a.CODABAR||t===o.a.CODE_39||t===o.a.CODE_93||t===o.a.CODE_128||t===o.a.ITF||t===o.a.RSS_14||t===o.a.RSS_EXPANDED}));l&&!e&&c.push(new u.a(t)),r.includes(o.a.QR_CODE)&&c.push(new i.a),r.includes(o.a.DATA_MATRIX)&&c.push(new s.a),r.includes(o.a.AZTEC)&&c.push(new a.a),r.includes(o.a.PDF_417)&&c.push(new f.a),l&&e&&c.push(new u.a(t))}0===c.length&&(e||c.push(new u.a(t)),c.push(new i.a),c.push(new s.a),c.push(new a.a),c.push(new f.a),e&&c.push(new u.a(t))),this.readers=c},t.prototype.reset=function(){var t,e;if(null!==this.readers)try{for(var r=h(this.readers),n=r.next();!n.done;n=r.next()){n.value.reset()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},t.prototype.decodeInternal=function(t){var e,r;if(null===this.readers)throw new l.a("No readers where selected, nothing can be read.");try{for(var n=h(this.readers),o=n.next();!o.done;o=n.next()){var i=o.value;try{return i.decode(t,this.hints)}catch(t){if(t instanceof l.a)continue}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}throw new c.a("No MultiFormat Readers were able to detect the code.")},t}();e.a=d},function(t,e,r){"use strict";var n=r(401),o=r(266),i=r(316),a=r(195),u=r(62),s=r(146),c=r(293),f=r(262),l=function(){function t(){}return t.decode=function(e,r,a,c){var l=new n.a(e),h=new s.a,d=new Array,p=-1,y=-1;try{var g=null,v=!1,w=void 0;do{if(l.available()<4)w=f.a.TERMINATOR;else{var _=l.readBits(4);w=f.a.forBits(_)}switch(w){case f.a.TERMINATOR:break;case f.a.FNC1_FIRST_POSITION:case f.a.FNC1_SECOND_POSITION:v=!0;break;case f.a.STRUCTURED_APPEND:if(l.available()<16)throw new u.a;p=l.readBits(8),y=l.readBits(8);break;case f.a.ECI:var m=t.parseECIValue(l);if(null===(g=o.a.getCharacterSetECIByValue(m)))throw new u.a;break;case f.a.HANZI:var A=l.readBits(4),E=l.readBits(w.getCharacterCountBits(r));A===t.GB2312_SUBSET&&t.decodeHanziSegment(l,h,E);break;default:var C=l.readBits(w.getCharacterCountBits(r));switch(w){case f.a.NUMERIC:t.decodeNumericSegment(l,h,C);break;case f.a.ALPHANUMERIC:t.decodeAlphanumericSegment(l,h,C,v);break;case f.a.BYTE:t.decodeByteSegment(l,h,C,g,d,c);break;case f.a.KANJI:t.decodeKanjiSegment(l,h,C);break;default:throw new u.a}}}while(w!==f.a.TERMINATOR)}catch(t){throw new u.a}return new i.a(e,h.toString(),0===d.length?null:d,null===a?null:a.toString(),p,y)},t.decodeHanziSegment=function(t,e,r){if(13*r>t.available())throw new u.a;for(var n=new Uint8Array(2*r),o=0;r>0;){var i=t.readBits(13),s=i/96<<8&4294967295|i%96;s+=s<959?41377:42657,n[o]=s>>8&255,n[o+1]=255&s,o+=2,r--}try{e.append(c.a.decode(n,a.a.GB2312))}catch(t){throw new u.a(t)}},t.decodeKanjiSegment=function(t,e,r){if(13*r>t.available())throw new u.a;for(var n=new Uint8Array(2*r),o=0;r>0;){var i=t.readBits(13),s=i/192<<8&4294967295|i%192;s+=s<7936?33088:49472,n[o]=s>>8,n[o+1]=s,o+=2,r--}try{e.append(c.a.decode(n,a.a.SHIFT_JIS))}catch(t){throw new u.a(t)}},t.decodeByteSegment=function(t,e,r,n,o,i){if(8*r>t.available())throw new u.a;for(var s,f=new Uint8Array(r),l=0;l<r;l++)f[l]=t.readBits(8);s=null===n?a.a.guessEncoding(f,i):n.getName();try{e.append(c.a.decode(f,s))}catch(t){throw new u.a(t)}o.push(f)},t.toAlphaNumericChar=function(e){if(e>=t.ALPHANUMERIC_CHARS.length)throw new u.a;return t.ALPHANUMERIC_CHARS[e]},t.decodeAlphanumericSegment=function(e,r,n,o){for(var i=r.length();n>1;){if(e.available()<11)throw new u.a;var a=e.readBits(11);r.append(t.toAlphaNumericChar(Math.floor(a/45))),r.append(t.toAlphaNumericChar(a%45)),n-=2}if(1===n){if(e.available()<6)throw new u.a;r.append(t.toAlphaNumericChar(e.readBits(6)))}if(o)for(var s=i;s<r.length();s++)"%"===r.charAt(s)&&(s<r.length()-1&&"%"===r.charAt(s+1)?r.deleteCharAt(s+1):r.setCharAt(s,String.fromCharCode(29)))},t.decodeNumericSegment=function(e,r,n){for(;n>=3;){if(e.available()<10)throw new u.a;var o=e.readBits(10);if(o>=1e3)throw new u.a;r.append(t.toAlphaNumericChar(Math.floor(o/100))),r.append(t.toAlphaNumericChar(Math.floor(o/10)%10)),r.append(t.toAlphaNumericChar(o%10)),n-=3}if(2===n){if(e.available()<7)throw new u.a;var i=e.readBits(7);if(i>=100)throw new u.a;r.append(t.toAlphaNumericChar(Math.floor(i/10))),r.append(t.toAlphaNumericChar(i%10))}else if(1===n){if(e.available()<4)throw new u.a;var a=e.readBits(4);if(a>=10)throw new u.a;r.append(t.toAlphaNumericChar(a))}},t.parseECIValue=function(t){var e=t.readBits(8);if(0==(128&e))return 127&e;if(128==(192&e))return(63&e)<<8&4294967295|t.readBits(8);if(192==(224&e))return(31&e)<<16&4294967295|t.readBits(16);throw new u.a},t.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",t.GB2312_SUBSET=1,t}();e.a=l},function(t,e,r){"use strict";(function(t){var n,o,i=r(62),a=r(266),u=r(316),s=r(560),c=r(272),f=r(146),l=r(134),h=r(669),d=r(768),p=r(293);function y(){if("undefined"!=typeof window)return window.BigInt||null;if(void 0!==t)return t.BigInt||null;if("undefined"!=typeof self)return self.BigInt||null;throw new Error("Can't search globals for BigInt!")}function g(t){if(void 0===o&&(o=y()),null===o)throw new Error("BigInt is not supported!");return o(t)}!function(t){t[t.ALPHA=0]="ALPHA",t[t.LOWER=1]="LOWER",t[t.MIXED=2]="MIXED",t[t.PUNCT=3]="PUNCT",t[t.ALPHA_SHIFT=4]="ALPHA_SHIFT",t[t.PUNCT_SHIFT=5]="PUNCT_SHIFT"}(n||(n={}));var v=function(){function t(){}return t.decode=function(e,r){var n=new f.a(""),o=a.a.ISO8859_1;n.enableDecoding(o);for(var c=1,l=e[c++],h=new s.a;c<e[0];){switch(l){case t.TEXT_COMPACTION_MODE_LATCH:c=t.textCompaction(e,c,n);break;case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:c=t.byteCompaction(l,e,o,c,n);break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:n.append(e[c++]);break;case t.NUMERIC_COMPACTION_MODE_LATCH:c=t.numericCompaction(e,c,n);break;case t.ECI_CHARSET:a.a.getCharacterSetECIByValue(e[c++]);break;case t.ECI_GENERAL_PURPOSE:c+=2;break;case t.ECI_USER_DEFINED:c++;break;case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:c=t.decodeMacroBlock(e,c,h);break;case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:throw new i.a;default:c--,c=t.textCompaction(e,c,n)}if(!(c<e.length))throw i.a.getFormatInstance();l=e[c++]}if(0===n.length())throw i.a.getFormatInstance();var d=new u.a(null,n.toString(),null,r);return d.setOther(h),d},t.decodeMacroBlock=function(e,r,n){if(r+t.NUMBER_OF_SEQUENCE_CODEWORDS>e[0])throw i.a.getFormatInstance();for(var o=new Int32Array(t.NUMBER_OF_SEQUENCE_CODEWORDS),a=0;a<t.NUMBER_OF_SEQUENCE_CODEWORDS;a++,r++)o[a]=e[r];n.setSegmentIndex(l.a.parseInt(t.decodeBase900toBase10(o,t.NUMBER_OF_SEQUENCE_CODEWORDS)));var u=new f.a;r=t.textCompaction(e,r,u),n.setFileId(u.toString());var s=-1;for(e[r]===t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD&&(s=r+1);r<e[0];)switch(e[r]){case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:switch(e[++r]){case t.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME:var d=new f.a;r=t.textCompaction(e,r+1,d),n.setFileName(d.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_SENDER:var p=new f.a;r=t.textCompaction(e,r+1,p),n.setSender(p.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE:var y=new f.a;r=t.textCompaction(e,r+1,y),n.setAddressee(y.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT:var g=new f.a;r=t.numericCompaction(e,r+1,g),n.setSegmentCount(l.a.parseInt(g.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP:var v=new f.a;r=t.numericCompaction(e,r+1,v),n.setTimestamp(h.a.parseLong(v.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM:var w=new f.a;r=t.numericCompaction(e,r+1,w),n.setChecksum(l.a.parseInt(w.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE:var _=new f.a;r=t.numericCompaction(e,r+1,_),n.setFileSize(h.a.parseLong(_.toString()));break;default:throw i.a.getFormatInstance()}break;case t.MACRO_PDF417_TERMINATOR:r++,n.setLastSegment(!0);break;default:throw i.a.getFormatInstance()}if(-1!==s){var m=r-s;n.isLastSegment()&&m--,n.setOptionalData(c.a.copyOfRange(e,s,s+m))}return r},t.textCompaction=function(e,r,n){for(var o=new Int32Array(2*(e[0]-r)),i=new Int32Array(2*(e[0]-r)),a=0,u=!1;r<e[0]&&!u;){var s=e[r++];if(s<t.TEXT_COMPACTION_MODE_LATCH)o[a]=s/30,o[a+1]=s%30,a+=2;else switch(s){case t.TEXT_COMPACTION_MODE_LATCH:o[a++]=t.TEXT_COMPACTION_MODE_LATCH;break;case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:r--,u=!0;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o[a]=t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE,s=e[r++],i[a]=s,a++}}return t.decodeTextCompaction(o,i,a,n),r},t.decodeTextCompaction=function(e,r,o,i){for(var a=n.ALPHA,u=n.ALPHA,s=0;s<o;){var c=e[s],f="";switch(a){case n.ALPHA:if(c<26)f=String.fromCharCode(65+c);else switch(c){case 26:f=" ";break;case t.LL:a=n.LOWER;break;case t.ML:a=n.MIXED;break;case t.PS:u=a,a=n.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(r[s]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA}break;case n.LOWER:if(c<26)f=String.fromCharCode(97+c);else switch(c){case 26:f=" ";break;case t.AS:u=a,a=n.ALPHA_SHIFT;break;case t.ML:a=n.MIXED;break;case t.PS:u=a,a=n.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(r[s]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA}break;case n.MIXED:if(c<t.PL)f=t.MIXED_CHARS[c];else switch(c){case t.PL:a=n.PUNCT;break;case 26:f=" ";break;case t.LL:a=n.LOWER;break;case t.AL:a=n.ALPHA;break;case t.PS:u=a,a=n.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(r[s]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA}break;case n.PUNCT:if(c<t.PAL)f=t.PUNCT_CHARS[c];else switch(c){case t.PAL:a=n.ALPHA;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(r[s]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA}break;case n.ALPHA_SHIFT:if(a=u,c<26)f=String.fromCharCode(65+c);else switch(c){case 26:f=" ";break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA}break;case n.PUNCT_SHIFT:if(a=u,c<t.PAL)f=t.PUNCT_CHARS[c];else switch(c){case t.PAL:a=n.ALPHA;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(r[s]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA}}""!==f&&i.append(f),s++}},t.byteCompaction=function(e,r,n,o,i){var a=new d.a,u=0,s=0,c=!1;switch(e){case t.BYTE_COMPACTION_MODE_LATCH:for(var f=new Int32Array(6),l=r[o++];o<r[0]&&!c;)switch(f[u++]=l,s=900*s+l,l=r[o++]){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:o--,c=!0;break;default:if(u%5==0&&u>0){for(var h=0;h<6;++h)a.write(Number(g(s)>>g(8*(5-h))));s=0,u=0}}o===r[0]&&l<t.TEXT_COMPACTION_MODE_LATCH&&(f[u++]=l);for(var y=0;y<u;y++)a.write(f[y]);break;case t.BYTE_COMPACTION_MODE_LATCH_6:for(;o<r[0]&&!c;){var v=r[o++];if(v<t.TEXT_COMPACTION_MODE_LATCH)u++,s=900*s+v;else switch(v){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:o--,c=!0}if(u%5==0&&u>0){for(h=0;h<6;++h)a.write(Number(g(s)>>g(8*(5-h))));s=0,u=0}}}return i.append(p.a.decode(a.toByteArray(),n)),o},t.numericCompaction=function(e,r,n){for(var o=0,i=!1,a=new Int32Array(t.MAX_NUMERIC_CODEWORDS);r<e[0]&&!i;){var u=e[r++];if(r===e[0]&&(i=!0),u<t.TEXT_COMPACTION_MODE_LATCH)a[o]=u,o++;else switch(u){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:r--,i=!0}(o%t.MAX_NUMERIC_CODEWORDS==0||u===t.NUMERIC_COMPACTION_MODE_LATCH||i)&&o>0&&(n.append(t.decodeBase900toBase10(a,o)),o=0)}return r},t.decodeBase900toBase10=function(e,r){for(var n=g(0),o=0;o<r;o++)n+=t.EXP900[r-o-1]*g(e[o]);var a=n.toString();if("1"!==a.charAt(0))throw new i.a;return a.substring(1)},t.TEXT_COMPACTION_MODE_LATCH=900,t.BYTE_COMPACTION_MODE_LATCH=901,t.NUMERIC_COMPACTION_MODE_LATCH=902,t.BYTE_COMPACTION_MODE_LATCH_6=924,t.ECI_USER_DEFINED=925,t.ECI_GENERAL_PURPOSE=926,t.ECI_CHARSET=927,t.BEGIN_MACRO_PDF417_CONTROL_BLOCK=928,t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD=923,t.MACRO_PDF417_TERMINATOR=922,t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE=913,t.MAX_NUMERIC_CODEWORDS=15,t.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME=0,t.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT=1,t.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP=2,t.MACRO_PDF417_OPTIONAL_FIELD_SENDER=3,t.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE=4,t.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE=5,t.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM=6,t.PL=25,t.LL=27,t.AS=27,t.ML=28,t.AL=28,t.PS=29,t.PAL=29,t.PUNCT_CHARS=";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",t.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",t.EXP900=y()?function(){var t=[];t[0]=g(1);var e=g(900);t[1]=e;for(var r=2;r<16;r++)t[r]=t[r-1]*e;return t}():[],t.NUMBER_OF_SEQUENCE_CODEWORDS=2,t}();e.a=v}).call(this,r(267))},function(t,e,r){"use strict";var n=function(){function t(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}return t.prototype.getSegmentIndex=function(){return this.segmentIndex},t.prototype.setSegmentIndex=function(t){this.segmentIndex=t},t.prototype.getFileId=function(){return this.fileId},t.prototype.setFileId=function(t){this.fileId=t},t.prototype.getOptionalData=function(){return this.optionalData},t.prototype.setOptionalData=function(t){this.optionalData=t},t.prototype.isLastSegment=function(){return this.lastSegment},t.prototype.setLastSegment=function(t){this.lastSegment=t},t.prototype.getSegmentCount=function(){return this.segmentCount},t.prototype.setSegmentCount=function(t){this.segmentCount=t},t.prototype.getSender=function(){return this.sender||null},t.prototype.setSender=function(t){this.sender=t},t.prototype.getAddressee=function(){return this.addressee||null},t.prototype.setAddressee=function(t){this.addressee=t},t.prototype.getFileName=function(){return this.fileName},t.prototype.setFileName=function(t){this.fileName=t},t.prototype.getFileSize=function(){return this.fileSize},t.prototype.setFileSize=function(t){this.fileSize=t},t.prototype.getChecksum=function(){return this.checksum},t.prototype.setChecksum=function(t){this.checksum=t},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.setTimestamp=function(t){this.timestamp=t},t}();e.a=n},function(t,e,r){"use strict";var n=r(272),o=r(146),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(t,e){this.width=t,this.height=e;for(var r=new Array(e),n=0;n!==e;n++)r[n]=new Uint8Array(t);this.bytes=r}return t.prototype.getHeight=function(){return this.height},t.prototype.getWidth=function(){return this.width},t.prototype.get=function(t,e){return this.bytes[e][t]},t.prototype.getArray=function(){return this.bytes},t.prototype.setNumber=function(t,e,r){this.bytes[e][t]=r},t.prototype.setBoolean=function(t,e,r){this.bytes[e][t]=r?1:0},t.prototype.clear=function(t){var e,r;try{for(var o=i(this.bytes),a=o.next();!a.done;a=o.next()){var u=a.value;n.a.fill(u,t)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;if(this.width!==r.width)return!1;if(this.height!==r.height)return!1;for(var n=0,o=this.height;n<o;++n)for(var i=this.bytes[n],a=r.bytes[n],u=0,s=this.width;u<s;++u)if(i[u]!==a[u])return!1;return!0},t.prototype.toString=function(){for(var t=new o.a,e=0,r=this.height;e<r;++e){for(var n=this.bytes[e],i=0,a=this.width;i<a;++i)switch(n[i]){case 0:t.append(" 0");break;case 1:t.append(" 1");break;default:t.append(" ")}t.append("\n")}return t.toString()},t}();e.a=a},function(t,e,r){"use strict";var n=r(84),o=r(274),i=r(271),a=r(318),u=r(404),s=r(72),c=r(289),f=function(){function t(){}return t.prototype.encode=function(e,r,i,c,f){if(0===e.length)throw new s.a("Found empty contents");if(r!==n.a.QR_CODE)throw new s.a("Can only encode QR_CODE, but got "+r);if(i<0||c<0)throw new s.a("Requested dimensions are too small: "+i+"x"+c);var l=a.a.L,h=t.QUIET_ZONE_SIZE;null!==f&&(void 0!==f.get(o.a.ERROR_CORRECTION)&&(l=a.a.fromString(f.get(o.a.ERROR_CORRECTION).toString())),void 0!==f.get(o.a.MARGIN)&&(h=Number.parseInt(f.get(o.a.MARGIN).toString(),10)));var d=u.a.encode(e,l,f);return t.renderResult(d,i,c,h)},t.renderResult=function(t,e,r,n){var o=t.getMatrix();if(null===o)throw new c.a;for(var a=o.getWidth(),u=o.getHeight(),s=a+2*n,f=u+2*n,l=Math.max(e,s),h=Math.max(r,f),d=Math.min(Math.floor(l/s),Math.floor(h/f)),p=Math.floor((l-a*d)/2),y=Math.floor((h-u*d)/2),g=new i.a(l,h),v=0,w=y;v<u;v++,w+=d)for(var _=0,m=p;_<a;_++,m+=d)1===o.get(_,v)&&g.setRegion(m,w,d,d);return g},t.QUIET_ZONE_SIZE=4,t}();e.a=f},function(t,e,r){"use strict";var n,o=r(266),i=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.forName=function(t){return this.getCharacterSetECIByName(t)},e}(o.a);e.a=a},function(t,e,r){"use strict";var n=r(266),o=function(){function t(){}return t.ISO_8859_1=n.a.ISO8859_1,t}();e.a=o},function(t,e,r){"use strict";var n=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},t.prototype.setMatrix=function(t){this.matrix=t},t}();e.a=n},,,,,,,,,,,,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return R}));var n,o=r(289),i=r(407),a=r(400),u=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),s=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.encodeCompressedGtin=function(t,e){t.append("(01)");var r=t.length();t.append("9"),this.encodeCompressedGtinWithoutAI(t,e,r)},e.prototype.encodeCompressedGtinWithoutAI=function(t,r,n){for(var o=0;o<4;++o){var i=this.getGeneralDecoder().extractNumericValueFromBitArray(r+10*o,10);i/100==0&&t.append("0"),i/10==0&&t.append("0"),t.append(i)}e.appendCheckDigit(t,n)},e.appendCheckDigit=function(t,e){for(var r=0,n=0;n<13;n++){var o=t.charAt(n+e).charCodeAt(0)-"0".charCodeAt(0);r+=0==(1&n)?3*o:o}10===(r=10-r%10)&&(r=0),t.append(r)},e.GTIN_SIZE=40,e}(a.a),c=r(146),f=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),l=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype.parseInformation=function(){var t=new c.a;t.append("(01)");var r=t.length(),n=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE,4);return t.append(n),this.encodeCompressedGtinWithoutAI(t,e.HEADER_SIZE+4,r),this.getGeneralDecoder().decodeAllCodes(t,e.HEADER_SIZE+44)},e.HEADER_SIZE=4,e}(s),h=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d=function(t){function e(e){return t.call(this,e)||this}return h(e,t),e.prototype.parseInformation=function(){var t=new c.a;return this.getGeneralDecoder().decodeAllCodes(t,e.HEADER_SIZE)},e.HEADER_SIZE=5,e}(a.a),p=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),y=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.encodeCompressedWeight=function(t,e,r){var n=this.getGeneralDecoder().extractNumericValueFromBitArray(e,r);this.addWeightCode(t,n);for(var o=this.checkWeight(n),i=1e5,a=0;a<5;++a)o/i==0&&t.append("0"),i/=10;t.append(o)},e}(s),g=r(28),v=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),w=function(t){function e(e){return t.call(this,e)||this}return v(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()!=e.HEADER_SIZE+y.GTIN_SIZE+e.WEIGHT_SIZE)throw new g.a;var t=new c.a;return this.encodeCompressedGtin(t,e.HEADER_SIZE),this.encodeCompressedWeight(t,e.HEADER_SIZE+y.GTIN_SIZE,e.WEIGHT_SIZE),t.toString()},e.HEADER_SIZE=5,e.WEIGHT_SIZE=15,e}(y),_=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),m=function(t){function e(e){return t.call(this,e)||this}return _(e,t),e.prototype.addWeightCode=function(t,e){t.append("(3103)")},e.prototype.checkWeight=function(t){return t},e}(w),A=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),E=function(t){function e(e){return t.call(this,e)||this}return A(e,t),e.prototype.addWeightCode=function(t,e){e<1e4?t.append("(3202)"):t.append("(3203)")},e.prototype.checkWeight=function(t){return t<1e4?t:t-1e4},e}(w),C=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),I=function(t){function e(e){return t.call(this,e)||this}return C(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()<e.HEADER_SIZE+s.GTIN_SIZE)throw new g.a;var t=new c.a;this.encodeCompressedGtin(t,e.HEADER_SIZE);var r=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+s.GTIN_SIZE,e.LAST_DIGIT_SIZE);t.append("(392"),t.append(r),t.append(")");var n=this.getGeneralDecoder().decodeGeneralPurposeField(e.HEADER_SIZE+s.GTIN_SIZE+e.LAST_DIGIT_SIZE,null);return t.append(n.getNewString()),t.toString()},e.HEADER_SIZE=8,e.LAST_DIGIT_SIZE=2,e}(s),S=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),b=function(t){function e(e){return t.call(this,e)||this}return S(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()<e.HEADER_SIZE+s.GTIN_SIZE)throw new g.a;var t=new c.a;this.encodeCompressedGtin(t,e.HEADER_SIZE);var r=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+s.GTIN_SIZE,e.LAST_DIGIT_SIZE);t.append("(393"),t.append(r),t.append(")");var n=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+s.GTIN_SIZE+e.LAST_DIGIT_SIZE,e.FIRST_THREE_DIGITS_SIZE);n/100==0&&t.append("0"),n/10==0&&t.append("0"),t.append(n);var o=this.getGeneralDecoder().decodeGeneralPurposeField(e.HEADER_SIZE+s.GTIN_SIZE+e.LAST_DIGIT_SIZE+e.FIRST_THREE_DIGITS_SIZE,null);return t.append(o.getNewString()),t.toString()},e.HEADER_SIZE=8,e.LAST_DIGIT_SIZE=2,e.FIRST_THREE_DIGITS_SIZE=10,e}(s),O=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),T=function(t){function e(e,r,n){var o=t.call(this,e)||this;return o.dateCode=n,o.firstAIdigits=r,o}return O(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()!=e.HEADER_SIZE+e.GTIN_SIZE+e.WEIGHT_SIZE+e.DATE_SIZE)throw new g.a;var t=new c.a;return this.encodeCompressedGtin(t,e.HEADER_SIZE),this.encodeCompressedWeight(t,e.HEADER_SIZE+e.GTIN_SIZE,e.WEIGHT_SIZE),this.encodeCompressedDate(t,e.HEADER_SIZE+e.GTIN_SIZE+e.WEIGHT_SIZE),t.toString()},e.prototype.encodeCompressedDate=function(t,r){var n=this.getGeneralDecoder().extractNumericValueFromBitArray(r,e.DATE_SIZE);if(38400!=n){t.append("("),t.append(this.dateCode),t.append(")");var o=n%32,i=(n/=32)%12+1,a=n/=12;a/10==0&&t.append("0"),t.append(a),i/10==0&&t.append("0"),t.append(i),o/10==0&&t.append("0"),t.append(o)}},e.prototype.addWeightCode=function(t,e){t.append("("),t.append(this.firstAIdigits),t.append(e/1e5),t.append(")")},e.prototype.checkWeight=function(t){return t%1e5},e.HEADER_SIZE=8,e.WEIGHT_SIZE=20,e.DATE_SIZE=16,e}(y);function R(t){try{if(t.get(1))return new l(t);if(!t.get(2))return new d(t);switch(i.a.extractNumericValueFromBitArray(t,1,4)){case 4:return new m(t);case 5:return new E(t)}switch(i.a.extractNumericValueFromBitArray(t,1,5)){case 12:return new I(t);case 13:return new b(t)}switch(i.a.extractNumericValueFromBitArray(t,1,7)){case 56:return new T(t,"310","11");case 57:return new T(t,"320","11");case 58:return new T(t,"310","13");case 59:return new T(t,"320","13");case 60:return new T(t,"310","15");case 61:return new T(t,"320","15");case 62:return new T(t,"310","17");case 63:return new T(t,"320","17")}}catch(e){throw console.log(e),new o.a("unknown decoder: "+t)}}},function(t,e,r){"use strict";var n,o=function(){function t(){}return t.singletonList=function(t){return[t]},t.min=function(t,e){return t.sort(e)[0]},t}(),i=r(265),a=function(){function t(t){this.previous=t}return t.prototype.getPrevious=function(){return this.previous},t}(),u=r(134),s=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),c=function(t){function e(e,r,n){var o=t.call(this,e)||this;return o.value=r,o.bitCount=n,o}return s(e,t),e.prototype.appendTo=function(t,e){t.appendBits(this.value,this.bitCount)},e.prototype.add=function(t,r){return new e(this,t,r)},e.prototype.addBinaryShift=function(t,r){return console.warn("addBinaryShift on SimpleToken, this simply returns a copy of this token"),new e(this,t,r)},e.prototype.toString=function(){var t=this.value&(1<<this.bitCount)-1;return t|=1<<this.bitCount,"<"+u.a.toBinaryString(t|1<<this.bitCount).substring(1)+">"},e}(a),f=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),l=function(t){function e(e,r,n){var o=t.call(this,e,0,0)||this;return o.binaryShiftStart=r,o.binaryShiftByteCount=n,o}return f(e,t),e.prototype.appendTo=function(t,e){for(var r=0;r<this.binaryShiftByteCount;r++)(0===r||31===r&&this.binaryShiftByteCount<=62)&&(t.appendBits(31,5),this.binaryShiftByteCount>62?t.appendBits(this.binaryShiftByteCount-31,16):0===r?t.appendBits(Math.min(this.binaryShiftByteCount,31),5):t.appendBits(this.binaryShiftByteCount-31,5)),t.appendBits(e[this.binaryShiftStart+r],8)},e.prototype.addBinaryShift=function(t,r){return new e(this,t,r)},e.prototype.toString=function(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"},e}(c);function h(t,e,r){return new c(t,e,r)}var d=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],p=new c(null,0,0),y=[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,656380,656382,656381,0])],g=r(272),v=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.")};var w=function(t){var e,r;try{for(var n=v(t),o=n.next();!o.done;o=n.next()){var i=o.value;g.a.fill(i,-1)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return t[0][4]=0,t[1][4]=0,t[1][0]=28,t[3][4]=0,t[2][4]=0,t[2][0]=15,t}(g.a.createInt32Array(6,6)),_=r(195),m=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(){function t(t,e,r,n){this.token=t,this.mode=e,this.binaryShiftByteCount=r,this.bitCount=n}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(e,r){var n=this.bitCount,o=this.token;if(e!==this.mode){var i=y[this.mode][e];o=h(o,65535&i,i>>16),n+=i>>16}var a=2===e?4:5;return new t(o=h(o,r,a),e,0,n+a)},t.prototype.shiftAndAppend=function(e,r){var n=this.token,o=2===this.mode?4:5;return n=h(n,w[this.mode][e],o),new t(n=h(n,r,5),this.mode,0,this.bitCount+o+5)},t.prototype.addBinaryShiftChar=function(e){var r=this.token,n=this.mode,o=this.bitCount;if(4===this.mode||2===this.mode){var i=y[n][0];r=h(r,65535&i,i>>16),o+=i>>16,n=0}var a=0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8,u=new t(r,n,this.binaryShiftByteCount+1,o+a);return 2078===u.binaryShiftByteCount&&(u=u.endBinaryShift(e+1)),u},t.prototype.endBinaryShift=function(e){if(0===this.binaryShiftByteCount)return this;var r=this.token;return new t(r=function(t,e,r){return new l(t,e,r)}(r,e-this.binaryShiftByteCount,this.binaryShiftByteCount),this.mode,0,this.bitCount)},t.prototype.isBetterThanOrEqualTo=function(e){var r=this.bitCount+(y[this.mode][e.mode]>>16);return this.binaryShiftByteCount<e.binaryShiftByteCount?r+=t.calculateBinaryShiftCost(e)-t.calculateBinaryShiftCost(this):this.binaryShiftByteCount>e.binaryShiftByteCount&&e.binaryShiftByteCount>0&&(r+=10),r<=e.bitCount},t.prototype.toBitArray=function(t){for(var e,r,n=[],o=this.endBinaryShift(t.length).token;null!==o;o=o.getPrevious())n.unshift(o);var a=new i.a;try{for(var u=m(n),s=u.next();!s.done;s=u.next()){s.value.appendTo(a,t)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}return a},t.prototype.toString=function(){return _.a.format("%s bits=%d bytes=%d",d[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(p,0,0,0),t}();var E=function(t){var e=_.a.getCharCode(" "),r=_.a.getCharCode("."),n=_.a.getCharCode(",");t[0][e]=1;for(var o=_.a.getCharCode("Z"),i=_.a.getCharCode("A"),a=i;a<=o;a++)t[0][a]=a-i+2;t[1][e]=1;var u=_.a.getCharCode("z"),s=_.a.getCharCode("a");for(a=s;a<=u;a++)t[1][a]=a-s+2;t[2][e]=1;var c=_.a.getCharCode("9"),f=_.a.getCharCode("0");for(a=f;a<=c;a++)t[2][a]=a-f+2;t[2][n]=12,t[2][r]=13;for(var l=["\0"," ","","","","","","","","\b","\t","\n","\v","\f","\r","","","","","","@","\\","^","_","`","|","~",""],h=0;h<l.length;h++)t[3][_.a.getCharCode(l[h])]=h;var d=["\0","\r","\0","\0","\0","\0","!","'","#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}"];for(h=0;h<d.length;h++)_.a.getCharCode(d[h])>0&&(t[4][_.a.getCharCode(d[h])]=h);return t}(g.a.createInt32Array(5,256)),C=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},I=function(){function t(t){this.text=t}return t.prototype.encode=function(){for(var e=_.a.getCharCode(" "),r=_.a.getCharCode("\n"),n=o.singletonList(A.INITIAL_STATE),i=0;i<this.text.length;i++){var a=void 0,u=i+1<this.text.length?this.text[i+1]:0;switch(this.text[i]){case _.a.getCharCode("\r"):a=u===r?2:0;break;case _.a.getCharCode("."):a=u===e?3:0;break;case _.a.getCharCode(","):a=u===e?4:0;break;case _.a.getCharCode(":"):a=u===e?5:0;break;default:a=0}a>0?(n=t.updateStateListForPair(n,i,a),i++):n=this.updateStateListForChar(n,i)}return o.min(n,(function(t,e){return t.getBitCount()-e.getBitCount()})).toBitArray(this.text)},t.prototype.updateStateListForChar=function(e,r){var n,o,i=[];try{for(var a=C(e),u=a.next();!u.done;u=a.next()){var s=u.value;this.updateStateForChar(s,r,i)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return t.simplifyStates(i)},t.prototype.updateStateForChar=function(t,e,r){for(var n=255&this.text[e],o=E[t.getMode()][n]>0,i=null,a=0;a<=4;a++){var u=E[a][n];if(u>0){if(null==i&&(i=t.endBinaryShift(e)),!o||a===t.getMode()||2===a){var s=i.latchAndAppend(a,u);r.push(s)}if(!o&&w[t.getMode()][a]>=0){var c=i.shiftAndAppend(a,u);r.push(c)}}}if(t.getBinaryShiftByteCount()>0||0===E[t.getMode()][n]){var f=t.addBinaryShiftChar(e);r.push(f)}},t.updateStateListForPair=function(t,e,r){var n,o,i=[];try{for(var a=C(t),u=a.next();!u.done;u=a.next()){var s=u.value;this.updateStateForPair(s,e,r,i)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return this.simplifyStates(i)},t.updateStateForPair=function(t,e,r,n){var o=t.endBinaryShift(e);if(n.push(o.latchAndAppend(4,r)),4!==t.getMode()&&n.push(o.shiftAndAppend(4,r)),3===r||4===r){var i=o.latchAndAppend(2,16-r).latchAndAppend(2,1);n.push(i)}if(t.getBinaryShiftByteCount()>0){var a=t.addBinaryShiftChar(e).addBinaryShiftChar(e+1);n.push(a)}},t.simplifyStates=function(t){var e,r,n,o,i=[];try{for(var a=C(t),u=a.next();!u.done;u=a.next()){var s=u.value,c=!0,f=function(t){if(t.isBetterThanOrEqualTo(s))return c=!1,"break";s.isBetterThanOrEqualTo(t)&&(i=i.filter((function(e){return e!==t})))};try{for(var l=(n=void 0,C(i)),h=l.next();!h.done;h=l.next()){if("break"===f(h.value))break}}catch(t){n={error:t}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}c&&i.push(s)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return i},t}();e.a=I},function(t,e,r){"use strict";var n,o=r(84),i=r(182),a=r(28),u=r(258),s=r(181),c=r(354),f=r(384),l=r(584),h=r(360),d=r(265),p=function(){function t(){}return t.buildBitArray=function(t){var e=2*t.length-1;null==t[t.length-1].getRightChar()&&(e-=1);for(var r=12*e,n=new d.a(r),o=0,i=t[0].getRightChar().getValue(),a=11;a>=0;--a)0!=(i&1<<a)&&n.set(o),o++;for(a=1;a<t.length;++a){for(var u=t[a],s=u.getLeftChar().getValue(),c=11;c>=0;--c)0!=(s&1<<c)&&n.set(o),o++;if(null!=u.getRightChar()){var f=u.getRightChar().getValue();for(c=11;c>=0;--c)0!=(f&1<<c)&&n.set(o),o++}}return n},t}(),y=r(580),g=function(){function t(t,e,r,n){this.leftchar=t,this.rightchar=e,this.finderpattern=r,this.maybeLast=n}return t.prototype.mayBeLast=function(){return this.maybeLast},t.prototype.getLeftChar=function(){return this.leftchar},t.prototype.getRightChar=function(){return this.rightchar},t.prototype.getFinderPattern=function(){return this.finderpattern},t.prototype.mustBeLast=function(){return null==this.rightchar},t.prototype.toString=function(){return"[ "+this.leftchar+", "+this.rightchar+" : "+(null==this.finderpattern?"null":this.finderpattern.getValue())+" ]"},t.equals=function(e,r){return e instanceof t&&(t.equalsOrNull(e.leftchar,r.leftchar)&&t.equalsOrNull(e.rightchar,r.rightchar)&&t.equalsOrNull(e.finderpattern,r.finderpattern))},t.equalsOrNull=function(e,r){return null===e?null===r:t.equals(e,r)},t.prototype.hashCode=function(){return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()},t}(),v=function(){function t(t,e,r){this.pairs=t,this.rowNumber=e,this.wasReversed=r}return t.prototype.getPairs=function(){return this.pairs},t.prototype.getRowNumber=function(){return this.rowNumber},t.prototype.isReversed=function(){return this.wasReversed},t.prototype.isEquivalent=function(t){return this.checkEqualitity(this,t)},t.prototype.toString=function(){return"{ "+this.pairs+" }"},t.prototype.equals=function(e,r){return e instanceof t&&(this.checkEqualitity(e,r)&&e.wasReversed===r.wasReversed)},t.prototype.checkEqualitity=function(t,e){var r;if(t&&e)return t.forEach((function(t,n){e.forEach((function(e){t.getLeftChar().getValue()===e.getLeftChar().getValue()&&t.getRightChar().getValue()===e.getRightChar().getValue()&&t.getFinderPatter().getValue()===e.getFinderPatter().getValue()&&(r=!0)}))})),r},t}(),w=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),_=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.")},m=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.pairs=new Array(e.MAX_PAIRS),r.rows=new Array,r.startEnd=[2],r}return w(e,t),e.prototype.decodeRow=function(t,r,n){this.pairs.length=0,this.startFromEven=!1;try{return e.constructResult(this.decodeRow2pairs(t,r))}catch(t){}return this.pairs.length=0,this.startFromEven=!0,e.constructResult(this.decodeRow2pairs(t,r))},e.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},e.prototype.decodeRow2pairs=function(t,e){for(var r,n=!1;!n;)try{this.pairs.push(this.retrieveNextPair(e,this.pairs,t))}catch(t){if(t instanceof a.a){if(!this.pairs.length)throw new a.a;n=!0}}if(this.checkChecksum())return this.pairs;if(r=!!this.rows.length,this.storeRow(t,!1),r){var o=this.checkRowsBoolean(!1);if(null!=o)return o;if(null!=(o=this.checkRowsBoolean(!0)))return o}throw new a.a},e.prototype.checkRowsBoolean=function(t){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,t&&(this.rows=this.rows.reverse());var e=null;try{e=this.checkRows(new Array,0)}catch(t){console.log(t)}return t&&(this.rows=this.rows.reverse()),e},e.prototype.checkRows=function(t,r){for(var n,o,i=r;i<this.rows.length;i++){var u=this.rows[i];this.pairs.length=0;try{for(var s=(n=void 0,_(t)),c=s.next();!c.done;c=s.next()){var f=c.value;this.pairs.push(f.getPairs())}}catch(t){n={error:t}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}if(this.pairs.push(u.getPairs()),e.isValidSequence(this.pairs)){if(this.checkChecksum())return this.pairs;var l=new Array(t);l.push(u);try{return this.checkRows(l,i+1)}catch(t){console.log(t)}}}throw new a.a},e.isValidSequence=function(t){var r,n;try{for(var o=_(e.FINDER_PATTERN_SEQUENCES),i=o.next();!i.done;i=o.next()){var a=i.value;if(!(t.length>a.length)){for(var u=!0,s=0;s<t.length;s++)if(t[s].getFinderPattern().getValue()!=a[s]){u=!1;break}if(u)return!0}}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!1},e.prototype.storeRow=function(t,r){for(var n=0,o=!1,i=!1;n<this.rows.length;){var a=this.rows[n];if(a.getRowNumber()>t){i=a.isEquivalent(this.pairs);break}o=a.isEquivalent(this.pairs),n++}i||o||e.isPartialRow(this.pairs,this.rows)||(this.rows.push(n,new v(this.pairs,t,r)),this.removePartialRows(this.pairs,this.rows))},e.prototype.removePartialRows=function(t,e){var r,n,o,i,a,u;try{for(var s=_(e),c=s.next();!c.done;c=s.next()){var f=c.value;if(f.getPairs().length!==t.length){try{for(var l=(o=void 0,_(f.getPairs())),h=l.next();!h.done;h=l.next()){var d=h.value,p=!1;try{for(var y=(a=void 0,_(t)),v=y.next();!v.done;v=y.next()){var w=v.value;if(g.equals(d,w)){p=!0;break}}}catch(t){a={error:t}}finally{try{v&&!v.done&&(u=y.return)&&u.call(y)}finally{if(a)throw a.error}}p||!1}}catch(t){o={error:t}}finally{try{h&&!h.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}},e.isPartialRow=function(t,e){var r,n,o,i,a,u;try{for(var s=_(e),c=s.next();!c.done;c=s.next()){var f=c.value,l=!0;try{for(var h=(o=void 0,_(t)),d=h.next();!d.done;d=h.next()){var p=d.value,y=!1;try{for(var g=(a=void 0,_(f.getPairs())),v=g.next();!v.done;v=g.next()){var w=v.value;if(p.equals(w)){y=!0;break}}}catch(t){a={error:t}}finally{try{v&&!v.done&&(u=g.return)&&u.call(g)}finally{if(a)throw a.error}}if(!y){l=!1;break}}}catch(t){o={error:t}}finally{try{d&&!d.done&&(i=h.return)&&i.call(h)}finally{if(o)throw o.error}}if(l)return!0}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return!1},e.prototype.getRows=function(){return this.rows},e.constructResult=function(t){var e=p.buildBitArray(t),r=Object(y.a)(e).parseInformation(),n=t[0].getFinderPattern().getResultPoints(),i=t[t.length-1].getFinderPattern().getResultPoints(),a=[n[0],n[1],i[0],i[1]];return new u.a(r,null,null,a,o.a.RSS_EXPANDED,null)},e.prototype.checkChecksum=function(){var t=this.pairs.get(0),e=t.getLeftChar(),r=t.getRightChar();if(null==r)return!1;for(var n=r.getChecksumPortion(),o=2,i=1;i<this.pairs.size();++i){var a=this.pairs.get(i);n+=a.getLeftChar().getChecksumPortion(),o++;var u=a.getRightChar();null!=u&&(n+=u.getChecksumPortion(),o++)}return 211*(o-4)+(n%=211)==e.getValue()},e.getNextSecondBar=function(t,e){var r;return t.get(e)?(r=t.getNextUnset(e),r=t.getNextSet(r)):(r=t.getNextSet(e),r=t.getNextUnset(r)),r},e.prototype.retrieveNextPair=function(t,r,n){var o,i=r.length%2==0;this.startFromEven&&(i=!i);var u=!0,s=-1;do{this.findNextPair(t,r,s),null==(o=this.parseFoundFinderPattern(t,n,i))?s=e.getNextSecondBar(t,this.startEnd[0]):u=!1}while(u);var c,f=this.decodeDataCharacter(t,o,i,!0);if(!this.isEmptyPair(r)&&r[r.length-1].mustBeLast())throw new a.a;try{c=this.decodeDataCharacter(t,o,i,!1)}catch(t){c=null,console.log(t)}return new g(f,c,o,!0)},e.prototype.isEmptyPair=function(t){return 0===t.length},e.prototype.findNextPair=function(t,r,n){var o=this.getDecodeFinderCounters();o[0]=0,o[1]=0,o[2]=0,o[3]=0;var i,u=t.getSize();if(n>=0)i=n;else if(this.isEmptyPair(r))i=0;else{i=r[r.length-1].getFinderPattern().getStartEnd()[1]}var s=r.length%2!=0;this.startFromEven&&(s=!s);for(var c=!1;i<u&&(c=!t.get(i));)i++;for(var f=0,l=i,h=i;h<u;h++)if(t.get(h)!=c)o[f]++;else{if(3==f){if(s&&e.reverseCounters(o),e.isFinderPattern(o))return this.startEnd[0]=l,void(this.startEnd[1]=h);s&&e.reverseCounters(o),l+=o[0]+o[1],o[0]=o[2],o[1]=o[3],o[2]=0,o[3]=0,f--}else f++;o[f]=1,c=!c}throw new a.a},e.reverseCounters=function(t){for(var e=t.length,r=0;r<e/2;++r){var n=t[r];t[r]=t[e-r-1],t[e-r-1]=n}},e.prototype.parseFoundFinderPattern=function(t,r,n){var o,i,a;if(n){for(var u=this.startEnd[0]-1;u>=0&&!t.get(u);)u--;u++,o=this.startEnd[0]-u,i=u,a=this.startEnd[1]}else i=this.startEnd[0],o=(a=t.getNextUnset(this.startEnd[1]+1))-this.startEnd[1];var c,f=this.getDecodeFinderCounters();s.a.arraycopy(f,0,f,1,f.length-1),f[0]=o;try{c=this.parseFinderValue(f,e.FINDER_PATTERNS)}catch(t){return null}return new l.a(c,[i,a],i,a,r)},e.prototype.decodeDataCharacter=function(t,r,n,o){for(var u=this.getDataCharacterCounters(),s=0;s<u.length;s++)u[s]=0;if(o)e.recordPatternInReverse(t,r.getStartEnd()[0],u);else{e.recordPattern(t,r.getStartEnd()[1],u);for(var c=0,l=u.length-1;c<l;c++,l--){var d=u[c];u[c]=u[l],u[l]=d}}var p=i.a.sum(new Int32Array(u))/17,y=(r.getStartEnd()[1]-r.getStartEnd()[0])/15;if(Math.abs(p-y)/y>.3)throw new a.a;var g=this.getOddCounts(),v=this.getEvenCounts(),w=this.getOddRoundingErrors(),_=this.getEvenRoundingErrors();for(c=0;c<u.length;c++){var m=1*u[c]/p,A=m+.5;if(A<1){if(m<.3)throw new a.a;A=1}else if(A>8){if(m>8.7)throw new a.a;A=8}var E=c/2;0==(1&c)?(g[E]=A,w[E]=m-A):(v[E]=A,_[E]=m-A)}this.adjustOddEvenCounts(17);var C=4*r.getValue()+(n?0:2)+(o?0:1)-1,I=0,S=0;for(c=g.length-1;c>=0;c--){if(e.isNotA1left(r,n,o)){var b=e.WEIGHTS[C][2*c];S+=g[c]*b}I+=g[c]}var O=0;for(c=v.length-1;c>=0;c--)if(e.isNotA1left(r,n,o)){b=e.WEIGHTS[C][2*c+1];O+=v[c]*b}var T=S+O;if(0!=(1&I)||I>13||I<4)throw new a.a;var R=(13-I)/2,N=e.SYMBOL_WIDEST[R],D=9-N,P=h.a.getRSSvalue(g,N,!0),M=h.a.getRSSvalue(v,D,!1),B=P*e.EVEN_TOTAL_SUBSET[R]+M+e.GSUM[R];return new f.a(B,T)},e.isNotA1left=function(t,e,r){return!(0==t.getValue()&&e&&r)},e.prototype.adjustOddEvenCounts=function(t){var r=i.a.sum(new Int32Array(this.getOddCounts())),n=i.a.sum(new Int32Array(this.getEvenCounts())),o=!1,u=!1;r>13?u=!0:r<4&&(o=!0);var s=!1,c=!1;n>13?c=!0:n<4&&(s=!0);var f=r+n-t,l=1==(1&r),h=0==(1&n);if(1==f)if(l){if(h)throw new a.a;u=!0}else{if(!h)throw new a.a;c=!0}else if(-1==f)if(l){if(h)throw new a.a;o=!0}else{if(!h)throw new a.a;s=!0}else{if(0!=f)throw new a.a;if(l){if(!h)throw new a.a;r<n?(o=!0,c=!0):(u=!0,s=!0)}else if(h)throw new a.a}if(o){if(u)throw new a.a;e.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(u&&e.decrement(this.getOddCounts(),this.getOddRoundingErrors()),s){if(c)throw new a.a;e.increment(this.getEvenCounts(),this.getOddRoundingErrors())}c&&e.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},e.SYMBOL_WIDEST=[7,5,4,3,1],e.EVEN_TOTAL_SUBSET=[4,20,52,104,204],e.GSUM=[0,348,1388,2948,3988],e.FINDER_PATTERNS=[Int32Array.from([1,8,4,1]),Int32Array.from([3,6,4,1]),Int32Array.from([3,4,6,1]),Int32Array.from([3,2,8,1]),Int32Array.from([2,6,5,1]),Int32Array.from([2,2,9,1])],e.WEIGHTS=[[1,3,9,27,81,32,96,77],[20,60,180,118,143,7,21,63],[189,145,13,39,117,140,209,205],[193,157,49,147,19,57,171,91],[62,186,136,197,169,85,44,132],[185,133,188,142,4,12,36,108],[113,128,173,97,80,29,87,50],[150,28,84,41,123,158,52,156],[46,138,203,187,139,206,196,166],[76,17,51,153,37,111,122,155],[43,129,176,106,107,110,119,146],[16,48,144,10,30,90,59,177],[109,116,137,200,178,112,125,164],[70,210,208,202,184,130,179,115],[134,191,151,31,93,68,204,190],[148,22,66,198,172,94,71,2],[6,18,54,162,64,192,154,40],[120,149,25,75,14,42,126,167],[79,26,78,23,69,207,199,175],[103,98,83,38,114,131,182,124],[161,61,183,127,170,88,53,159],[55,165,73,8,24,72,5,15],[45,135,194,160,58,174,100,89]],e.FINDER_PAT_A=0,e.FINDER_PAT_B=1,e.FINDER_PAT_C=2,e.FINDER_PAT_D=3,e.FINDER_PAT_E=4,e.FINDER_PAT_F=5,e.FINDER_PATTERN_SEQUENCES=[[e.FINDER_PAT_A,e.FINDER_PAT_A],[e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B],[e.FINDER_PAT_A,e.FINDER_PAT_C,e.FINDER_PAT_B,e.FINDER_PAT_D],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_C],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_D,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_D],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_E],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F]],e.MAX_PAIRS=11,e}(c.a);e.a=m},function(t,e,r){"use strict";var n,o=r(264),i=r(72),a=r(181),u=r(146),s=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.")},c=function(){function t(t,e){if(0===e.length)throw new i.a;this.field=t;var r=e.length;if(r>1&&0===e[0]){for(var n=1;n<r&&0===e[n];)n++;n===r?this.coefficients=new Int32Array([0]):(this.coefficients=new Int32Array(r-n),a.a.arraycopy(e,n,this.coefficients,0,this.coefficients.length))}else this.coefficients=e}return t.prototype.getCoefficients=function(){return this.coefficients},t.prototype.getDegree=function(){return this.coefficients.length-1},t.prototype.isZero=function(){return 0===this.coefficients[0]},t.prototype.getCoefficient=function(t){return this.coefficients[this.coefficients.length-1-t]},t.prototype.evaluateAt=function(t){var e,r;if(0===t)return this.getCoefficient(0);if(1===t){var n=0;try{for(var o=s(this.coefficients),i=o.next();!i.done;i=o.next()){var a=i.value;n=this.field.add(n,a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n}for(var u=this.coefficients[0],c=this.coefficients.length,f=1;f<c;f++)u=this.field.add(this.field.multiply(t,u),this.coefficients[f]);return u},t.prototype.add=function(e){if(!this.field.equals(e.field))throw new i.a("ModulusPolys do not have same ModulusGF field");if(this.isZero())return e;if(e.isZero())return this;var r=this.coefficients,n=e.coefficients;if(r.length>n.length){var o=r;r=n,n=o}var u=new Int32Array(n.length),s=n.length-r.length;a.a.arraycopy(n,0,u,0,s);for(var c=s;c<n.length;c++)u[c]=this.field.add(r[c-s],n[c]);return new t(this.field,u)},t.prototype.subtract=function(t){if(!this.field.equals(t.field))throw new i.a("ModulusPolys do not have same ModulusGF field");return t.isZero()?this:this.add(t.negative())},t.prototype.multiply=function(e){return e instanceof t?this.multiplyOther(e):this.multiplyScalar(e)},t.prototype.multiplyOther=function(e){if(!this.field.equals(e.field))throw new i.a("ModulusPolys do not have same ModulusGF field");if(this.isZero()||e.isZero())return new t(this.field,new Int32Array([0]));for(var r=this.coefficients,n=r.length,o=e.coefficients,a=o.length,u=new Int32Array(n+a-1),s=0;s<n;s++)for(var c=r[s],f=0;f<a;f++)u[s+f]=this.field.add(u[s+f],this.field.multiply(c,o[f]));return new t(this.field,u)},t.prototype.negative=function(){for(var e=this.coefficients.length,r=new Int32Array(e),n=0;n<e;n++)r[n]=this.field.subtract(0,this.coefficients[n]);return new t(this.field,r)},t.prototype.multiplyScalar=function(e){if(0===e)return new t(this.field,new Int32Array([0]));if(1===e)return this;for(var r=this.coefficients.length,n=new Int32Array(r),o=0;o<r;o++)n[o]=this.field.multiply(this.coefficients[o],e);return new t(this.field,n)},t.prototype.multiplyByMonomial=function(e,r){if(e<0)throw new i.a;if(0===r)return new t(this.field,new Int32Array([0]));for(var n=this.coefficients.length,o=new Int32Array(n+e),a=0;a<n;a++)o[a]=this.field.multiply(this.coefficients[a],r);return new t(this.field,o)},t.prototype.toString=function(){for(var t=new u.a,e=this.getDegree();e>=0;e--){var r=this.getCoefficient(e);0!==r&&(r<0?(t.append(" - "),r=-r):t.length()>0&&t.append(" + "),0!==e&&1===r||t.append(r),0!==e&&(1===e?t.append("x"):(t.append("x^"),t.append(e))))}return t.toString()},t}(),f=r(192),l=r(398),h=function(){function t(){}return t.prototype.add=function(t,e){return(t+e)%this.modulus},t.prototype.subtract=function(t,e){return(this.modulus+t-e)%this.modulus},t.prototype.exp=function(t){return this.expTable[t]},t.prototype.log=function(t){if(0===t)throw new i.a;return this.logTable[t]},t.prototype.inverse=function(t){if(0===t)throw new l.a;return this.expTable[this.modulus-this.logTable[t]-1]},t.prototype.multiply=function(t,e){return 0===t||0===e?0:this.expTable[(this.logTable[t]+this.logTable[e])%(this.modulus-1)]},t.prototype.getSize=function(){return this.modulus},t.prototype.equals=function(t){return t===this},t}(),d=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=function(t){function e(e,r){var n=t.call(this)||this;n.modulus=e,n.expTable=new Int32Array(e),n.logTable=new Int32Array(e);for(var o=1,i=0;i<e;i++)n.expTable[i]=o,o=o*r%e;for(i=0;i<e-1;i++)n.logTable[n.expTable[i]]=i;return n.zero=new c(n,new Int32Array([0])),n.one=new c(n,new Int32Array([1])),n}return d(e,t),e.prototype.getZero=function(){return this.zero},e.prototype.getOne=function(){return this.one},e.prototype.buildMonomial=function(t,e){if(t<0)throw new i.a;if(0===e)return this.zero;var r=new Int32Array(t+1);return r[0]=e,new c(this,r)},e.PDF417_GF=new e(f.a.NUMBER_OF_CODEWORDS,3),e}(h),y=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.")},g=function(){function t(){this.field=p.PDF417_GF}return t.prototype.decode=function(t,e,r){for(var n,i,a=new c(this.field,t),u=new Int32Array(e),s=!1,f=e;f>0;f--){var l=a.evaluateAt(this.field.exp(f));u[e-f]=l,0!==l&&(s=!0)}if(!s)return 0;var h=this.field.getOne();if(null!=r)try{for(var d=y(r),p=d.next();!p.done;p=d.next()){var g=p.value,v=this.field.exp(t.length-1-g),w=new c(this.field,new Int32Array([this.field.subtract(0,v),1]));h=h.multiply(w)}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}var _=new c(this.field,u),m=this.runEuclideanAlgorithm(this.field.buildMonomial(e,1),_,e),A=m[0],E=m[1],C=this.findErrorLocations(A),I=this.findErrorMagnitudes(E,A,C);for(f=0;f<C.length;f++){var S=t.length-1-this.field.log(C[f]);if(S<0)throw o.a.getChecksumInstance();t[S]=this.field.subtract(t[S],I[f])}return C.length},t.prototype.runEuclideanAlgorithm=function(t,e,r){if(t.getDegree()<e.getDegree()){var n=t;t=e,e=n}for(var i=t,a=e,u=this.field.getZero(),s=this.field.getOne();a.getDegree()>=Math.round(r/2);){var c=i,f=u;if(u=s,(i=a).isZero())throw o.a.getChecksumInstance();a=c;for(var l=this.field.getZero(),h=i.getCoefficient(i.getDegree()),d=this.field.inverse(h);a.getDegree()>=i.getDegree()&&!a.isZero();){var p=a.getDegree()-i.getDegree(),y=this.field.multiply(a.getCoefficient(a.getDegree()),d);l=l.add(this.field.buildMonomial(p,y)),a=a.subtract(i.multiplyByMonomial(p,y))}s=l.multiply(u).subtract(f).negative()}var g=s.getCoefficient(0);if(0===g)throw o.a.getChecksumInstance();var v=this.field.inverse(g);return[s.multiply(v),a.multiply(v)]},t.prototype.findErrorLocations=function(t){for(var e=t.getDegree(),r=new Int32Array(e),n=0,i=1;i<this.field.getSize()&&n<e;i++)0===t.evaluateAt(i)&&(r[n]=this.field.inverse(i),n++);if(n!==e)throw o.a.getChecksumInstance();return r},t.prototype.findErrorMagnitudes=function(t,e,r){for(var n=e.getDegree(),o=new Int32Array(n),i=1;i<=n;i++)o[n-i]=this.field.multiply(i,e.getCoefficient(i));var a=new c(this.field,o),u=r.length,s=new Int32Array(u);for(i=0;i<u;i++){var f=this.field.inverse(r[i]),l=this.field.subtract(0,t.evaluateAt(f)),h=this.field.inverse(a.evaluateAt(f));s[i]=this.field.multiply(l,h)}return s},t}();e.a=g},function(t,e,r){"use strict";var n=r(83),o=function(){function t(t,e,r,o,i){this.value=t,this.startEnd=e,this.value=t,this.startEnd=e,this.resultPoints=new Array,this.resultPoints.push(new n.a(r,i)),this.resultPoints.push(new n.a(o,i))}return t.prototype.getValue=function(){return this.value},t.prototype.getStartEnd=function(){return this.startEnd},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.value===r.value},t.prototype.hashCode=function(){return this.value},t}();e.a=o},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){var n=r(623)();t.exports=n;try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(t,e,r){var n=r(624).default,o=r(642),i=r(424),a=r(644),u=r(646),s=r(649),c=r(652);function f(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=f=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},r=Object.prototype,l=r.hasOwnProperty,h=o||function(t,e,r){t[e]=r.value},d="function"==typeof i?i:{},p=d.iterator||"@@iterator",y=d.asyncIterator||"@@asyncIterator",g=d.toStringTag||"@@toStringTag";function v(t,e,r){return o(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{v({},"")}catch(t){v=function(t,e,r){return t[e]=r}}function w(t,e,r,n){var o=e&&e.prototype instanceof A?e:A,i=a(o.prototype),u=new M(n||[]);return h(i,"_invoke",{value:R(t,r,u)}),i}function _(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=w;var m={};function A(){}function E(){}function C(){}var I={};v(I,p,(function(){return this}));var S=u&&u(u(B([])));S&&S!==r&&l.call(S,p)&&(I=S);var b=C.prototype=A.prototype=a(I);function O(t){["next","throw","return"].forEach((function(e){v(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){var r;h(this,"_invoke",{value:function(o,i){function a(){return new e((function(r,a){!function r(o,i,a,u){var s=_(t[o],t,i);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==n(f)&&l.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}})}function R(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=N(a,r);if(u){if(u===m)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=_(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===m)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function N(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,N(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=_(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,m;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,m):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function D(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function B(t){if(t){var e=t[p];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(l.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:L}}function L(){return{value:void 0,done:!0}}return E.prototype=C,h(b,"constructor",{value:C,configurable:!0}),h(C,"constructor",{value:E,configurable:!0}),E.displayName=v(C,g,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===E||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return s?s(t,C):(t.__proto__=C,v(t,g,"GeneratorFunction")),t.prototype=a(b),t},e.awrap=function(t){return{__await:t}},O(T.prototype),v(T.prototype,y,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,n,o,i){void 0===i&&(i=c);var a=new T(w(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(b),v(b,g,"Generator"),v(b,p,(function(){return this})),v(b,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=B,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&l.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=l.call(o,"catchLoc"),u=l.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&l.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:B(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),m}},e}t.exports=f,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){var n=r(424),o=r(636);function i(e){return t.exports=i="function"==typeof n&&"symbol"==typeof o?function(t){return typeof t}:function(t){return t&&"function"==typeof n&&t.constructor===n&&t!==n.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";var n=r(260),o=r(295),i=r(290),a=r(284),u=r(426),s=r(626).KEY,c=r(309),f=r(364),l=r(330),h=r(329),d=r(268),p=r(365),y=r(366),g=r(627),v=r(631),w=r(285),_=r(292),m=r(373),A=r(302),E=r(363),C=r(328),I=r(374),S=r(633),b=r(432),O=r(429),T=r(291),R=r(367),N=b.f,D=T.f,P=S.f,M=n.Symbol,B=n.JSON,L=B&&B.stringify,x=d("_hidden"),F=d("toPrimitive"),k={}.propertyIsEnumerable,V=f("symbol-registry"),U=f("symbols"),H=f("op-symbols"),j=Object.prototype,G="function"==typeof M&&!!O.f,X=n.QObject,W=!X||!X.prototype||!X.prototype.findChild,z=i&&c((function(){return 7!=I(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=N(j,e);n&&delete j[e],D(t,e,r),n&&t!==j&&D(j,e,n)}:D,Y=function(t){var e=U[t]=I(M.prototype);return e._k=t,e},Z=G&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},K=function(t,e,r){return t===j&&K(H,e,r),w(t),e=E(e,!0),w(r),o(U,e)?(r.enumerable?(o(t,x)&&t[x][e]&&(t[x][e]=!1),r=I(r,{enumerable:C(0,!1)})):(o(t,x)||D(t,x,C(1,{})),t[x][e]=!0),z(t,e,r)):D(t,e,r)},Q=function(t,e){w(t);for(var r,n=g(e=A(e)),o=0,i=n.length;i>o;)K(t,r=n[o++],e[r]);return t},q=function(t){var e=k.call(this,t=E(t,!0));return!(this===j&&o(U,t)&&!o(H,t))&&(!(e||!o(this,t)||!o(U,t)||o(this,x)&&this[x][t])||e)},J=function(t,e){if(t=A(t),e=E(e,!0),t!==j||!o(U,e)||o(H,e)){var r=N(t,e);return!r||!o(U,e)||o(t,x)&&t[x][e]||(r.enumerable=!0),r}},$=function(t){for(var e,r=P(A(t)),n=[],i=0;r.length>i;)o(U,e=r[i++])||e==x||e==s||n.push(e);return n},tt=function(t){for(var e,r=t===j,n=P(r?H:A(t)),i=[],a=0;n.length>a;)!o(U,e=n[a++])||r&&!o(j,e)||i.push(U[e]);return i};G||(u((M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(r){this===j&&e.call(H,r),o(this,x)&&o(this[x],t)&&(this[x][t]=!1),z(this,t,C(1,r))};return i&&W&&z(j,t,{configurable:!0,set:e}),Y(t)}).prototype,"toString",(function(){return this._k})),b.f=J,T.f=K,r(431).f=S.f=$,r(372).f=q,O.f=tt,i&&!r(311)&&u(j,"propertyIsEnumerable",q,!0),p.f=function(t){return Y(d(t))}),a(a.G+a.W+a.F*!G,{Symbol:M});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;et.length>rt;)d(et[rt++]);for(var nt=R(d.store),ot=0;nt.length>ot;)y(nt[ot++]);a(a.S+a.F*!G,"Symbol",{for:function(t){return o(V,t+="")?V[t]:V[t]=M(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var e in V)if(V[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!G,"Object",{create:function(t,e){return void 0===e?I(t):Q(I(t),e)},defineProperty:K,defineProperties:Q,getOwnPropertyDescriptor:J,getOwnPropertyNames:$,getOwnPropertySymbols:tt});var it=c((function(){O.f(1)}));a(a.S+a.F*it,"Object",{getOwnPropertySymbols:function(t){return O.f(m(t))}}),B&&a(a.S+a.F*(!G||c((function(){var t=M();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))}))),"JSON",{stringify:function(t){for(var e,r,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=e=n[1],(_(e)||void 0!==t)&&!Z(t))return v(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!Z(e))return e}),n[1]=e,L.apply(B,n)}}),M.prototype[F]||r(296)(M.prototype,F,M.prototype.valueOf),l(M,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},function(t,e,r){var n=r(329)("meta"),o=r(292),i=r(295),a=r(291).f,u=0,s=Object.isExtensible||function(){return!0},c=!r(309)((function(){return s(Object.preventExtensions({}))})),f=function(t){a(t,n,{value:{i:"O"+ ++u,w:{}}})},l=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!s(t))return"F";if(!e)return"E";f(t)}return t[n].i},getWeak:function(t,e){if(!i(t,n)){if(!s(t))return!0;if(!e)return!1;f(t)}return t[n].w},onFreeze:function(t){return c&&l.NEED&&s(t)&&!i(t,n)&&f(t),t}}},function(t,e,r){var n=r(367),o=r(429),i=r(372);t.exports=function(t){var e=n(t),r=o.f;if(r)for(var a,u=r(t),s=i.f,c=0;u.length>c;)s.call(t,a=u[c++])&&e.push(a);return e}},function(t,e,r){var n=r(312);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e,r){var n=r(302),o=r(428),i=r(630);t.exports=function(t){return function(e,r,a){var u,s=n(e),c=o(s.length),f=i(a,c);if(t&&r!=r){for(;c>f;)if((u=s[f++])!=u)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===r)return t||f||0;return!t&&-1}}},function(t,e,r){var n=r(369),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=n(t))<0?o(t+e,0):i(t,e)}},function(t,e,r){var n=r(312);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(291),o=r(285),i=r(367);t.exports=r(290)?Object.defineProperties:function(t,e){o(t);for(var r,a=i(e),u=a.length,s=0;u>s;)n.f(t,r=a[s++],e[r]);return t}},function(t,e,r){var n=r(302),o=r(431).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(n(t))}},function(t,e,r){r(366)("asyncIterator")},function(t,e,r){r(366)("observable")},function(t,e,r){r(434),r(437),t.exports=r(365).f("iterator")},function(t,e,r){var n=r(369),o=r(368);t.exports=function(t){return function(e,r){var i,a,u=String(o(e)),s=n(r),c=u.length;return s<0||s>=c?t?"":void 0:(i=u.charCodeAt(s))<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):i:t?u.slice(s,s+2):a-56320+(i-55296<<10)+65536}}},function(t,e,r){"use strict";var n=r(374),o=r(328),i=r(330),a={};r(296)(a,r(268)("iterator"),(function(){return this})),t.exports=function(t,e,r){t.prototype=n(a,{next:o(1,r)}),i(t,e+" Iterator")}},function(t,e,r){"use strict";var n=r(640),o=r(641),i=r(313),a=r(302);t.exports=r(435)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])}),"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,r){r(643);var n=r(261).Object;t.exports=function(t,e,r){return n.defineProperty(t,e,r)}},function(t,e,r){var n=r(284);n(n.S+n.F*!r(290),"Object",{defineProperty:r(291).f})},function(t,e,r){r(645);var n=r(261).Object;t.exports=function(t,e){return n.create(t,e)}},function(t,e,r){var n=r(284);n(n.S,"Object",{create:r(374)})},function(t,e,r){r(647),t.exports=r(261).Object.getPrototypeOf},function(t,e,r){var n=r(373),o=r(436);r(648)("getPrototypeOf",(function(){return function(t){return o(n(t))}}))},function(t,e,r){var n=r(284),o=r(261),i=r(309);t.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],a={};a[t]=e(r),n(n.S+n.F*i((function(){r(1)})),"Object",a)}},function(t,e,r){r(650),t.exports=r(261).Object.setPrototypeOf},function(t,e,r){var n=r(284);n(n.S,"Object",{setPrototypeOf:r(651).set})},function(t,e,r){var n=r(292),o=r(285),i=function(t,e){if(o(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{(n=r(310)(Function.call,r(432).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,r){return i(t,r),e?t.__proto__=r:n(t,r),t}}({},!1):void 0),check:i}},function(t,e,r){r(433),r(434),r(437),r(653),r(665),r(666),t.exports=r(261).Promise},function(t,e,r){"use strict";var n,o,i,a,u=r(311),s=r(260),c=r(310),f=r(438),l=r(284),h=r(292),d=r(327),p=r(654),y=r(655),g=r(439),v=r(440).set,w=r(660)(),_=r(375),m=r(441),A=r(661),E=r(442),C=s.TypeError,I=s.process,S=I&&I.versions,b=S&&S.v8||"",O=s.Promise,T="process"==f(I),R=function(){},N=o=_.f,D=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[r(268)("species")]=function(t){t(R,R)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(R)instanceof e&&0!==b.indexOf("6.6")&&-1===A.indexOf("Chrome/66")}catch(t){}}(),P=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},M=function(t,e){if(!t._n){t._n=!0;var r=t._c;w((function(){for(var n=t._v,o=1==t._s,i=0,a=function(e){var r,i,a,u=o?e.ok:e.fail,s=e.resolve,c=e.reject,f=e.domain;try{u?(o||(2==t._h&&x(t),t._h=1),!0===u?r=n:(f&&f.enter(),r=u(n),f&&(f.exit(),a=!0)),r===e.promise?c(C("Promise-chain cycle")):(i=P(r))?i.call(r,s,c):s(r)):c(n)}catch(t){f&&!a&&f.exit(),c(t)}};r.length>i;)a(r[i++]);t._c=[],t._n=!1,e&&!t._h&&B(t)}))}},B=function(t){v.call(s,(function(){var e,r,n,o=t._v,i=L(t);if(i&&(e=m((function(){T?I.emit("unhandledRejection",o,t):(r=s.onunhandledrejection)?r({promise:t,reason:o}):(n=s.console)&&n.error&&n.error("Unhandled promise rejection",o)})),t._h=T||L(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},L=function(t){return 1!==t._h&&0===(t._a||t._c).length},x=function(t){v.call(s,(function(){var e;T?I.emit("rejectionHandled",t):(e=s.onrejectionhandled)&&e({promise:t,reason:t._v})}))},F=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),M(e,!0))},k=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw C("Promise can't be resolved itself");(e=P(t))?w((function(){var n={_w:r,_d:!1};try{e.call(t,c(k,n,1),c(F,n,1))}catch(t){F.call(n,t)}})):(r._v=t,r._s=1,M(r,!1))}catch(t){F.call({_w:r,_d:!1},t)}}};D||(O=function(t){p(this,O,"Promise","_h"),d(t),n.call(this);try{t(c(k,this,1),c(F,this,1))}catch(t){F.call(this,t)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(662)(O.prototype,{then:function(t,e){var r=N(g(this,O));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=T?I.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&M(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n;this.promise=t,this.resolve=c(k,t,1),this.reject=c(F,t,1)},_.f=N=function(t){return t===O||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!D,{Promise:O}),r(330)(O,"Promise"),r(663)("Promise"),a=r(261).Promise,l(l.S+l.F*!D,"Promise",{reject:function(t){var e=N(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(u||!D),"Promise",{resolve:function(t){return E(u&&this===a?O:this,t)}}),l(l.S+l.F*!(D&&r(664)((function(t){O.all(t).catch(R)}))),"Promise",{all:function(t){var e=this,r=N(e),n=r.resolve,o=r.reject,i=m((function(){var r=[],i=0,a=1;y(t,!1,(function(t){var u=i++,s=!1;r.push(void 0),a++,e.resolve(t).then((function(t){s||(s=!0,r[u]=t,--a||n(r))}),o)})),--a||n(r)}));return i.e&&o(i.v),r.promise},race:function(t){var e=this,r=N(e),n=r.reject,o=m((function(){y(t,!1,(function(t){e.resolve(t).then(r.resolve,n)}))}));return o.e&&n(o.v),r.promise}})},function(t,e){t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,e,r){var n=r(310),o=r(656),i=r(657),a=r(285),u=r(428),s=r(658),c={},f={};(e=t.exports=function(t,e,r,l,h){var d,p,y,g,v=h?function(){return t}:s(t),w=n(r,l,e?2:1),_=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(i(v)){for(d=u(t.length);d>_;_++)if((g=e?w(a(p=t[_])[0],p[1]):w(t[_]))===c||g===f)return g}else for(y=v.call(t);!(p=y.next()).done;)if((g=o(y,w,p.value,e))===c||g===f)return g}).BREAK=c,e.RETURN=f},function(t,e,r){var n=r(285);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},function(t,e,r){var n=r(313),o=r(268)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},function(t,e,r){var n=r(438),o=r(268)("iterator"),i=r(313);t.exports=r(261).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[n(t)]}},function(t,e){t.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},function(t,e,r){var n=r(260),o=r(440).set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,u=n.Promise,s="process"==r(312)(a);t.exports=function(){var t,e,r,c=function(){var n,o;for(s&&(n=a.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(s)r=function(){a.nextTick(c)};else if(!i||n.navigator&&n.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);r=function(){f.then(c)}}else r=function(){o.call(n,c)};else{var l=!0,h=document.createTextNode("");new i(c).observe(h,{characterData:!0}),r=function(){h.data=l=!l}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}},function(t,e,r){var n=r(260).navigator;t.exports=n&&n.userAgent||""},function(t,e,r){var n=r(296);t.exports=function(t,e,r){for(var o in e)r&&t[o]?t[o]=e[o]:n(t,o,e[o]);return t}},function(t,e,r){"use strict";var n=r(260),o=r(261),i=r(291),a=r(290),u=r(268)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:n[t];a&&e&&!e[u]&&i.f(e,u,{configurable:!0,get:function(){return this}})}},function(t,e,r){var n=r(268)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],a=i[n]();a.next=function(){return{done:r=!0}},i[n]=function(){return a},t(i)}catch(t){}return r}},function(t,e,r){"use strict";var n=r(284),o=r(261),i=r(260),a=r(439),u=r(442);n(n.P+n.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return u(e,t()).then((function(){return r}))}:t,r?function(r){return u(e,t()).then((function(){throw r}))}:t)}})},function(t,e,r){"use strict";var n=r(284),o=r(375),i=r(441);n(n.S,"Promise",{try:function(t){var e=o.f(this),r=i(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},function(t,e,r){var n=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function c(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),u=new S(o||[]);return n(a,"_invoke",{value:A(t,r,u)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function h(){}function d(){}function p(){}var y={};s(y,i,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(b([])));v&&v!==e&&r.call(v,i)&&(y=v);var w=p.prototype=h.prototype=Object.create(y);function _(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function m(t,e){var o;n(this,"_invoke",{value:function(n,i){function a(){return new e((function(o,a){!function n(o,i,a,u){var s=f(t[o],t,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,u)}))}u(s.arg)}(n,i,o,a)}))}return o=o?o.then(a,a):a()}})}function A(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=E(a,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=f(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===l)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function E(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),l;var o=f(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,l;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function b(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,n(w,"constructor",{value:p,configurable:!0}),n(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},_(m.prototype),s(m.prototype,a,(function(){return this})),t.AsyncIterator=m,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new m(c(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(w),s(w,u,"Generator"),s(w,i,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=b,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(I),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),I(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:b(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(t,e,r){"use strict";function n(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void r(t)}u.done?e(s):Promise.resolve(s).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function u(t){n(a,o,i,u,s,"next",t)}function s(t){n(a,o,i,u,s,"throw",t)}u(void 0)}))}}r.r(e),r.d(e,"default",(function(){return o}))},function(t,e,r){"use strict";var n=function(){function t(){}return t.parseLong=function(t,e){return void 0===e&&(e=void 0),parseInt(t,e)},t}();e.a=n},,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return o}));var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("el-input",{attrs:{value:t.value,disable:t.disable,placeholder:t.placeholder,clearable:t.clearable,readonly:t.readonly,maxlength:t.maxlength},on:{change:t.change,blur:t.blur,focus:t.focus,input:t.input,clear:t.clear}},[t.isMobile?r("el-button",{attrs:{slot:"append",icon:"el-icon-full-screen"},on:{click:t.openVideo},slot:"append"}):t._e()],1),t._v(" "),t.isShow?r("scan-code-input-colse",{attrs:{"colse-video":t.colseVideo},on:{close:t.closeVideo}}):t._e()],1)},o=[]},,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return o}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{},[e("video",{ref:"video",staticClass:"video vjs-fluid",attrs:{id:"video",height:"300",autoplay:""},on:{click:this.clickVideo}}),this._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:this.tipShow,expression:"tipShow"}],staticClass:"tip"},[this._v("\n "+this._s(this.tipMsg)+"\n ")])])},o=[]},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n=r(2),o=r(21),i=r(124),a=r(98);r(99)("match",1,(function(t,e,r,u){return[function(r){var n=t(this),o=null==r?void 0:r[e];return void 0!==o?o.call(r,n):new RegExp(r)[e](String(n))},function(t){var e=u(r,t,this);if(e.done)return e.value;var s=n(t),c=String(this);if(!s.global)return a(s,c);var f=s.unicode;s.lastIndex=0;for(var l,h=[],d=0;null!==(l=a(s,c));){var p=String(l[0]);h[d]=p,""===p&&(s.lastIndex=i(c,o(s.lastIndex),f)),d++}return 0===d?null:h}]}))},function(t,e,r){"use strict";r.r(e);var n=r(750);r.d(e,"BrowserAztecCodeReader",(function(){return n.a}));var o=r(751);r.d(e,"BrowserBarcodeReader",(function(){return o.a}));var i=r(301);r.d(e,"BrowserCodeReader",(function(){return i.a}));var a=r(752);r.d(e,"BrowserDatamatrixCodeReader",(function(){return a.a}));var u=r(753);r.d(e,"BrowserMultiFormatReader",(function(){return u.a}));var s=r(754);r.d(e,"BrowserPDF417Reader",(function(){return s.a}));var c=r(755);r.d(e,"BrowserQRCodeReader",(function(){return c.a}));var f=r(756);r.d(e,"BrowserQRCodeSvgWriter",(function(){return f.a}));var l=r(757);for(var h in l)["default","BrowserAztecCodeReader","BrowserBarcodeReader","BrowserCodeReader","BrowserDatamatrixCodeReader","BrowserMultiFormatReader","BrowserPDF417Reader","BrowserQRCodeReader","BrowserQRCodeSvgWriter"].indexOf(h)<0&&function(t){r.d(e,t,(function(){return l[t]}))}(h);var d=r(552);r.d(e,"HTMLCanvasElementLuminanceSource",(function(){return d.a}));var p=r(758);for(var h in p)["default","BrowserAztecCodeReader","BrowserBarcodeReader","BrowserCodeReader","BrowserDatamatrixCodeReader","BrowserMultiFormatReader","BrowserPDF417Reader","BrowserQRCodeReader","BrowserQRCodeSvgWriter","HTMLCanvasElementLuminanceSource"].indexOf(h)<0&&function(t){r.d(e,t,(function(){return p[t]}))}(h);var y=r(553);r.d(e,"VideoInputDevice",(function(){return y.a}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n,o=r(301),i=r(376),a=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),u=function(t){function e(e){return void 0===e&&(e=500),t.call(this,new i.a,e)||this}return a(e,t),e}(o.a)},function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n,o=r(301),i=r(353),a=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),u=function(t){function e(e,r){return void 0===e&&(e=500),t.call(this,new i.a(r),e,r)||this}return a(e,t),e}(o.a)},function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n,o=r(301),i=r(382),a=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),u=function(t){function e(e){return void 0===e&&(e=500),t.call(this,new i.a,e)||this}return a(e,t),e}(o.a)},function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n,o=r(301),i=r(557),a=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),u=function(t){function e(e,r){void 0===e&&(e=null),void 0===r&&(r=500);var n=new i.a;return n.setHints(e),t.call(this,n,r)||this}return a(e,t),e.prototype.decodeBitmap=function(t){return this.reader.decodeWithState(t)},e}(o.a)},function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n,o=r(301),i=r(380),a=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),u=function(t){function e(e){return void 0===e&&(e=500),t.call(this,new i.a,e)||this}return a(e,t),e}(o.a)},function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n,o=r(301),i=r(381),a=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),u=function(t){function e(e){return void 0===e&&(e=500),t.call(this,new i.a,e)||this}return a(e,t),e}(o.a)},function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(274),o=r(404),i=r(318),a=r(72),u=r(289),s=function(){function t(){}return t.prototype.write=function(e,r,u,s){if(void 0===s&&(s=null),0===e.length)throw new a.a("Found empty contents");if(r<0||u<0)throw new a.a("Requested dimensions are too small: "+r+"x"+u);var c=i.a.L,f=t.QUIET_ZONE_SIZE;null!==s&&(void 0!==s.get(n.a.ERROR_CORRECTION)&&(c=i.a.fromString(s.get(n.a.ERROR_CORRECTION).toString())),void 0!==s.get(n.a.MARGIN)&&(f=Number.parseInt(s.get(n.a.MARGIN).toString(),10)));var l=o.a.encode(e,c,s);return this.renderResult(l,r,u,f)},t.prototype.writeToDom=function(t,e,r,n,o){void 0===o&&(o=null),"string"==typeof t&&(t=document.querySelector(t));var i=this.write(e,r,n,o);t&&t.appendChild(i)},t.prototype.renderResult=function(t,e,r,n){var o=t.getMatrix();if(null===o)throw new u.a;for(var i=o.getWidth(),a=o.getHeight(),s=i+2*n,c=a+2*n,f=Math.max(e,s),l=Math.max(r,c),h=Math.min(Math.floor(f/s),Math.floor(l/c)),d=Math.floor((f-i*h)/2),p=Math.floor((l-a*h)/2),y=this.createSVGElement(f,l),g=0,v=p;g<a;g++,v+=h)for(var w=0,_=d;w<i;w++,_+=h)if(1===o.get(w,g)){var m=this.createSvgRectElement(_,v,h,h);y.appendChild(m)}return y},t.prototype.createSVGElement=function(e,r){var n=document.createElementNS(t.SVG_NS,"svg");return n.setAttributeNS(null,"height",e.toString()),n.setAttributeNS(null,"width",r.toString()),n},t.prototype.createSvgRectElement=function(e,r,n,o){var i=document.createElementNS(t.SVG_NS,"rect");return i.setAttributeNS(null,"x",e.toString()),i.setAttributeNS(null,"y",r.toString()),i.setAttributeNS(null,"height",n.toString()),i.setAttributeNS(null,"width",o.toString()),i.setAttributeNS(null,"fill","#000000"),i},t.QUIET_ZONE_SIZE=4,t.SVG_NS="http://www.w3.org/2000/svg",t}()},function(t,e){},function(t,e){},function(t,e,r){"use strict";var n=r(562),o=r(84),i=r(72),a=function(){function t(){}return t.prototype.encode=function(t,e,r,a,u){var s;switch(e){case o.a.QR_CODE:s=new n.a;break;default:throw new i.a("No encoder available for format "+e)}return s.encode(t,e,r,a,u)},t}();e.a=a},function(t,e,r){"use strict";var n,o=r(181),i=r(315),a=r(351),u=r(72),s=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),c=function(t){function e(e,r,n,o,i,a,s,c){var f=t.call(this,a,s)||this;if(f.yuvData=e,f.dataWidth=r,f.dataHeight=n,f.left=o,f.top=i,o+a>r||i+s>n)throw new u.a("Crop rectangle does not fit within image data.");return c&&f.reverseHorizontal(a,s),f}return s(e,t),e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new u.a("Requested row is outside the image: "+t);var r=this.getWidth();(null==e||e.length<r)&&(e=new Uint8ClampedArray(r));var n=(t+this.top)*this.dataWidth+this.left;return o.a.arraycopy(this.yuvData,n,e,0,r),e},e.prototype.getMatrix=function(){var t=this.getWidth(),e=this.getHeight();if(t===this.dataWidth&&e===this.dataHeight)return this.yuvData;var r=t*e,n=new Uint8ClampedArray(r),i=this.top*this.dataWidth+this.left;if(t===this.dataWidth)return o.a.arraycopy(this.yuvData,i,n,0,r),n;for(var a=0;a<e;a++){var u=a*t;o.a.arraycopy(this.yuvData,i,n,u,t),i+=this.dataWidth}return n},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(t,r,n,o){return new e(this.yuvData,this.dataWidth,this.dataHeight,this.left+t,this.top+r,n,o,!1)},e.prototype.renderThumbnail=function(){for(var t=this.getWidth()/e.THUMBNAIL_SCALE_FACTOR,r=this.getHeight()/e.THUMBNAIL_SCALE_FACTOR,n=new Int32Array(t*r),o=this.yuvData,i=this.top*this.dataWidth+this.left,a=0;a<r;a++){for(var u=a*t,s=0;s<t;s++){var c=255&o[i+s*e.THUMBNAIL_SCALE_FACTOR];n[u+s]=4278190080|65793*c}i+=this.dataWidth*e.THUMBNAIL_SCALE_FACTOR}return n},e.prototype.getThumbnailWidth=function(){return this.getWidth()/e.THUMBNAIL_SCALE_FACTOR},e.prototype.getThumbnailHeight=function(){return this.getHeight()/e.THUMBNAIL_SCALE_FACTOR},e.prototype.reverseHorizontal=function(t,e){for(var r=this.yuvData,n=0,o=this.top*this.dataWidth+this.left;n<e;n++,o+=this.dataWidth)for(var i=o+t/2,a=o,u=o+t-1;a<i;a++,u--){var s=r[a];r[a]=r[u],r[u]=s}},e.prototype.invert=function(){return new a.a(this)},e.THUMBNAIL_SCALE_FACTOR=2,e}(i.a);e.a=c},function(t,e,r){"use strict";var n,o=r(351),i=r(315),a=r(181),u=r(72),s=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),c=function(t){function e(e,r,n,o,i,a,s){var c=t.call(this,r,n)||this;if(c.dataWidth=o,c.dataHeight=i,c.left=a,c.top=s,4===e.BYTES_PER_ELEMENT){for(var f=r*n,l=new Uint8ClampedArray(f),h=0;h<f;h++){var d=e[h],p=d>>16&255,y=d>>7&510,g=255&d;l[h]=(p+y+g)/4&255}c.luminances=l}else c.luminances=e;if(void 0===o&&(c.dataWidth=r),void 0===i&&(c.dataHeight=n),void 0===a&&(c.left=0),void 0===s&&(c.top=0),c.left+r>c.dataWidth||c.top+n>c.dataHeight)throw new u.a("Crop rectangle does not fit within image data.");return c}return s(e,t),e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new u.a("Requested row is outside the image: "+t);var r=this.getWidth();(null==e||e.length<r)&&(e=new Uint8ClampedArray(r));var n=(t+this.top)*this.dataWidth+this.left;return a.a.arraycopy(this.luminances,n,e,0,r),e},e.prototype.getMatrix=function(){var t=this.getWidth(),e=this.getHeight();if(t===this.dataWidth&&e===this.dataHeight)return this.luminances;var r=t*e,n=new Uint8ClampedArray(r),o=this.top*this.dataWidth+this.left;if(t===this.dataWidth)return a.a.arraycopy(this.luminances,o,n,0,r),n;for(var i=0;i<e;i++){var u=i*t;a.a.arraycopy(this.luminances,o,n,u,t),o+=this.dataWidth}return n},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(t,r,n,o){return new e(this.luminances,n,o,this.dataWidth,this.dataHeight,this.left+t,this.top+r)},e.prototype.invert=function(){return new o.a(this)},e}(i.a);e.a=c},function(t,e,r){"use strict";var n=r(84),o=r(274),i=r(406),a=r(271),u=r(563),s=r(564),c=r(134),f=r(289),l=r(72),h=r(195),d=function(){function t(){}return t.prototype.encode=function(t,e,r,n){return this.encodeWithHints(t,e,r,n,null)},t.prototype.encodeWithHints=function(e,r,n,a,f){var l=s.a.ISO_8859_1,h=i.a.DEFAULT_EC_PERCENT,d=i.a.DEFAULT_AZTEC_LAYERS;return null!=f&&(f.has(o.a.CHARACTER_SET)&&(l=u.a.forName(f.get(o.a.CHARACTER_SET).toString())),f.has(o.a.ERROR_CORRECTION)&&(h=c.a.parseInt(f.get(o.a.ERROR_CORRECTION).toString())),f.has(o.a.AZTEC_LAYERS)&&(d=c.a.parseInt(f.get(o.a.AZTEC_LAYERS).toString()))),t.encodeLayers(e,r,n,a,l,h,d)},t.encodeLayers=function(e,r,o,a,u,s,c){if(r!==n.a.AZTEC)throw new l.a("Can only encode AZTEC, but got "+r);var f=i.a.encode(h.a.getBytes(e,u),s,c);return t.renderResult(f,o,a)},t.renderResult=function(t,e,r){var n=t.getMatrix();if(null==n)throw new f.a;for(var o=n.getWidth(),i=n.getHeight(),u=Math.max(e,o),s=Math.max(r,i),c=Math.min(u/o,s/i),l=(u-o*c)/2,h=(s-i*c)/2,d=new a.a(u,s),p=0,y=h;p<i;p++,y+=c)for(var g=0,v=l;g<o;g++,v+=c)n.get(g,p)&&d.setRegion(v,y,c,c);return d},t}();e.a=d},,,,,,function(t,e,r){"use strict";var n,o=r(272),i=r(405),a=r(259),u=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.kind="NullPointerException",e}(a.a),c=function(){function t(){}return t.prototype.writeBytes=function(t){this.writeBytesOffset(t,0,t.length)},t.prototype.writeBytesOffset=function(t,e,r){if(null==t)throw new s;if(e<0||e>t.length||r<0||e+r>t.length||e+r<0)throw new i.a;if(0!==r)for(var n=0;n<r;n++)this.write(t[e+n])},t.prototype.flush=function(){},t.prototype.close=function(){},t}(),f=r(134),l=r(72),h=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e}(a.a),p=r(181),y=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),g=function(t){function e(e){void 0===e&&(e=32);var r=t.call(this)||this;if(r.count=0,e<0)throw new l.a("Negative initial size: "+e);return r.buf=new Uint8Array(e),r}return y(e,t),e.prototype.ensureCapacity=function(t){t-this.buf.length>0&&this.grow(t)},e.prototype.grow=function(t){var e=this.buf.length<<1;if(e-t<0&&(e=t),e<0){if(t<0)throw new d;e=f.a.MAX_VALUE}this.buf=o.a.copyOfUint8Array(this.buf,e)},e.prototype.write=function(t){this.ensureCapacity(this.count+1),this.buf[this.count]=t,this.count+=1},e.prototype.writeBytesOffset=function(t,e,r){if(e<0||e>t.length||r<0||e+r-t.length>0)throw new i.a;this.ensureCapacity(this.count+r),p.a.arraycopy(t,e,this.buf,this.count,r),this.count+=r},e.prototype.writeTo=function(t){t.writeBytesOffset(this.buf,0,this.count)},e.prototype.reset=function(){this.count=0},e.prototype.toByteArray=function(){return o.a.copyOfUint8Array(this.buf,this.count)},e.prototype.size=function(){return this.count},e.prototype.toString=function(t){return t?"string"==typeof t?this.toString_string(t):this.toString_number(t):this.toString_void()},e.prototype.toString_void=function(){return new String(this.buf).toString()},e.prototype.toString_string=function(t){return new String(this.buf).toString()},e.prototype.toString_number=function(t){return new String(this.buf).toString()},e.prototype.close=function(){},e}(c);e.a=g},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n=r(7);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r(10),r(10);var o=n(r(881));o.default.install=function(t){t.component(o.default.name,o.default)};var i=o.default;e.default=i},function(t,e,r){"use strict";r.r(e);var n=r(688),o=r(544);for(var i in o)["default"].indexOf(i)<0&&function(t){r.d(e,t,(function(){return o[t]}))}(i);var a=r(19),u=Object(a.a)(o.default,n.a,n.b,!1,null,null,null);e.default=u.exports},function(t,e,r){"use strict";r.r(e);var n=r(707),o=r(546);for(var i in o)["default"].indexOf(i)<0&&function(t){r.d(e,t,(function(){return o[t]}))}(i);var a=r(19),u=Object(a.a)(o.default,n.a,n.b,!1,null,null,null);e.default=u.exports},function(t,e,r){"use strict";r.r(e);var n=r(749);for(var o in n)["default","ArgumentException","ArithmeticException","ChecksumException","Exception","FormatException","IllegalArgumentException","IllegalStateException","NotFoundException","ReaderException","ReedSolomonException","UnsupportedOperationException","WriterException","BarcodeFormat","Binarizer","BinaryBitmap","DecodeHintType","InvertedLuminanceSource","LuminanceSource","MultiFormatReader","MultiFormatWriter","PlanarYUVLuminanceSource","Result","ResultMetadataType","RGBLuminanceSource","ResultPoint","ZXingSystem","ZXingStringBuilder","ZXingStringEncoding","ZXingCharset","ZXingArrays","ZXingStandardCharsets","ZXingInteger","BitArray","BitMatrix","BitSource","CharacterSetECI","DecoderResult","DefaultGridSampler","DetectorResult","EncodeHintType","GlobalHistogramBinarizer","GridSampler","GridSamplerInstance","HybridBinarizer","PerspectiveTransform","StringUtils","MathUtils","WhiteRectangleDetector","GenericGF","GenericGFPoly","ReedSolomonDecoder","ReedSolomonEncoder","DataMatrixReader","DataMatrixDecodedBitStreamParser","PDF417Reader","PDF417ResultMetadata","PDF417DecodedBitStreamParser","PDF417DecoderErrorCorrection","QRCodeReader","QRCodeWriter","QRCodeDecoderErrorCorrectionLevel","QRCodeDecoderFormatInformation","QRCodeVersion","QRCodeMode","QRCodeDecodedBitStreamParser","QRCodeDataMask","QRCodeEncoder","QRCodeEncoderQRCode","QRCodeMatrixUtil","QRCodeByteMatrix","QRCodeMaskUtil","AztecCodeReader","AztecCodeWriter","AztecDetectorResult","AztecEncoder","AztecHighLevelEncoder","AztecCode","AztecDecoder","AztecDetector","AztecPoint","OneDReader","EAN13Reader","Code128Reader","ITFReader","Code39Reader","RSS14Reader","RSSExpandedReader","AbstractExpandedDecoder","createAbstractExpandedDecoder","MultiFormatOneDReader"].indexOf(o)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(o);var i=r(298);r.d(e,"ArgumentException",(function(){return i.a}));var a=r(398);r.d(e,"ArithmeticException",(function(){return a.a}));var u=r(264);r.d(e,"ChecksumException",(function(){return u.a}));var s=r(259);r.d(e,"Exception",(function(){return s.a}));var c=r(62);r.d(e,"FormatException",(function(){return c.a}));var f=r(72);r.d(e,"IllegalArgumentException",(function(){return f.a}));var l=r(289);r.d(e,"IllegalStateException",(function(){return l.a}));var h=r(28);r.d(e,"NotFoundException",(function(){return h.a}));var d=r(449);r.d(e,"ReaderException",(function(){return d.a}));var p=r(383);r.d(e,"ReedSolomonException",(function(){return p.a}));var y=r(359);r.d(e,"UnsupportedOperationException",(function(){return y.a}));var g=r(263);r.d(e,"WriterException",(function(){return g.a}));var v=r(84);r.d(e,"BarcodeFormat",(function(){return v.a}));var w=r(551);r.d(e,"Binarizer",(function(){return w.a}));var _=r(548);r.d(e,"BinaryBitmap",(function(){return _.a}));var m=r(193);r.d(e,"DecodeHintType",(function(){return m.a}));var A=r(351);r.d(e,"InvertedLuminanceSource",(function(){return A.a}));var E=r(315);r.d(e,"LuminanceSource",(function(){return E.a}));var C=r(557);r.d(e,"MultiFormatReader",(function(){return C.a}));var I=r(759);r.d(e,"MultiFormatWriter",(function(){return I.a}));var S=r(760);r.d(e,"PlanarYUVLuminanceSource",(function(){return S.a}));var b=r(258);r.d(e,"Result",(function(){return b.a}));var O=r(269);r.d(e,"ResultMetadataType",(function(){return O.a}));var T=r(761);r.d(e,"RGBLuminanceSource",(function(){return T.a}));var R=r(83);r.d(e,"ResultPoint",(function(){return R.a}));var N=r(181);r.d(e,"ZXingSystem",(function(){return N.a}));var D=r(146);r.d(e,"ZXingStringBuilder",(function(){return D.a}));var P=r(293);r.d(e,"ZXingStringEncoding",(function(){return P.a}));var M=r(563);r.d(e,"ZXingCharset",(function(){return M.a}));var B=r(272);r.d(e,"ZXingArrays",(function(){return B.a}));var L=r(564);r.d(e,"ZXingStandardCharsets",(function(){return L.a}));var x=r(134);r.d(e,"ZXingInteger",(function(){return x.a}));var F=r(265);r.d(e,"BitArray",(function(){return F.a}));var k=r(271);r.d(e,"BitMatrix",(function(){return k.a}));var V=r(401);r.d(e,"BitSource",(function(){return V.a}));var U=r(266);r.d(e,"CharacterSetECI",(function(){return U.a}));var H=r(316);r.d(e,"DecoderResult",(function(){return H.a}));var j=r(555);r.d(e,"DefaultGridSampler",(function(){return j.a}));var G=r(357);r.d(e,"DetectorResult",(function(){return G.a}));var X=r(274);r.d(e,"EncodeHintType",(function(){return X.a}));var W=r(550);r.d(e,"GlobalHistogramBinarizer",(function(){return W.a}));var z=r(444);r.d(e,"GridSampler",(function(){return z.a}));var Y=r(358);r.d(e,"GridSamplerInstance",(function(){return Y.a}));var Z=r(549);r.d(e,"HybridBinarizer",(function(){return Z.a}));var K=r(399);r.d(e,"PerspectiveTransform",(function(){return K.a}));var Q=r(195);r.d(e,"StringUtils",(function(){return Q.a}));var q=r(182);r.d(e,"MathUtils",(function(){return q.a}));var J=r(377);r.d(e,"WhiteRectangleDetector",(function(){return J.a}));var $=r(276);r.d(e,"GenericGF",(function(){return $.a}));var tt=r(303);r.d(e,"GenericGFPoly",(function(){return tt.a}));var et=r(317);r.d(e,"ReedSolomonDecoder",(function(){return et.a}));var rt=r(403);r.d(e,"ReedSolomonEncoder",(function(){return rt.a}));var nt=r(382);r.d(e,"DataMatrixReader",(function(){return nt.a}));var ot=r(556);r.d(e,"DataMatrixDecodedBitStreamParser",(function(){return ot.a}));var it=r(380);r.d(e,"PDF417Reader",(function(){return it.a}));var at=r(560);r.d(e,"PDF417ResultMetadata",(function(){return at.a}));var ut=r(559);r.d(e,"PDF417DecodedBitStreamParser",(function(){return ut.a}));var st=r(583);r.d(e,"PDF417DecoderErrorCorrection",(function(){return st.a}));var ct=r(381);r.d(e,"QRCodeReader",(function(){return ct.a}));var ft=r(562);r.d(e,"QRCodeWriter",(function(){return ft.a}));var lt=r(318);r.d(e,"QRCodeDecoderErrorCorrectionLevel",(function(){return lt.a}));var ht=r(402);r.d(e,"QRCodeDecoderFormatInformation",(function(){return ht.a}));var dt=r(304);r.d(e,"QRCodeVersion",(function(){return dt.a}));var pt=r(262);r.d(e,"QRCodeMode",(function(){return pt.a}));var yt=r(558);r.d(e,"QRCodeDecodedBitStreamParser",(function(){return yt.a}));var gt=r(448);r.d(e,"QRCodeDataMask",(function(){return gt.a}));var vt=r(404);r.d(e,"QRCodeEncoder",(function(){return vt.a}));var wt=r(379);r.d(e,"QRCodeEncoderQRCode",(function(){return wt.a}));var _t=r(450);r.d(e,"QRCodeMatrixUtil",(function(){return _t.a}));var mt=r(561);r.d(e,"QRCodeByteMatrix",(function(){return mt.a}));var At=r(352);r.d(e,"QRCodeMaskUtil",(function(){return At.a}));var Et=r(376);r.d(e,"AztecCodeReader",(function(){return Et.a}));var Ct=r(762);r.d(e,"AztecCodeWriter",(function(){return Ct.a}));var It=r(554);r.d(e,"AztecDetectorResult",(function(){return It.a}));var St=r(406);r.d(e,"AztecEncoder",(function(){return St.a}));var bt=r(581);r.d(e,"AztecHighLevelEncoder",(function(){return bt.a}));var Ot=r(565);r.d(e,"AztecCode",(function(){return Ot.a}));var Tt=r(443);r.d(e,"AztecDecoder",(function(){return Tt.a}));var Rt=r(397);r.d(e,"AztecDetector",(function(){return Rt.b})),r.d(e,"AztecPoint",(function(){return Rt.a}));var Nt=r(270);r.d(e,"OneDReader",(function(){return Nt.a}));var Dt=r(378);r.d(e,"EAN13Reader",(function(){return Dt.a}));var Pt=r(445);r.d(e,"Code128Reader",(function(){return Pt.a}));var Mt=r(447);r.d(e,"ITFReader",(function(){return Mt.a}));var Bt=r(446);r.d(e,"Code39Reader",(function(){return Bt.a}));var Lt=r(451);r.d(e,"RSS14Reader",(function(){return Lt.a}));var xt=r(582);r.d(e,"RSSExpandedReader",(function(){return xt.a}));var Ft=r(400);r.d(e,"AbstractExpandedDecoder",(function(){return Ft.a}));var kt=r(580);r.d(e,"createAbstractExpandedDecoder",(function(){return kt.a}));var Vt=r(353);r.d(e,"MultiFormatOneDReader",(function(){return Vt.a}))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={change:function(t){this.$emit("change",t)},clear:function(){this.$emit("clear")},blur:function(t){this.$emit("blur",t)},focus:function(t){this.$emit("focus",t)},input:function(t){this.$emit("input",t)}};e.default=n}])}));
|
|
2
|
+
//# sourceMappingURL=scan-code-input.js.map
|