/*! For license information please see 2.edbb1538.chunk.js.LICENSE.txt */ (this["webpackJsonptv-netwarehouse"]=this["webpackJsonptv-netwarehouse"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(1126)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t"']/g,F=RegExp(R.source),z=RegExp(D.source),U=/<%-([\s\S]+?)%>/g,j=/<%([\s\S]+?)%>/g,H=/<%=([\s\S]+?)%>/g,W=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,q=/^\w*$/,Q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,X=/[\\^$.*+?()[\]{}|]/g,K=RegExp(X.source),V=/^\s+|\s+$/g,G=/^\s+/,Y=/\s+$/,J=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,$=/,? & /,ee=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,oe=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,se=/^0o[0-7]+$/i,ce=/^(?:0|[1-9]\d*)$/,ue=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,le=/($^)/,fe=/['\n\r\u2028\u2029\\]/g,he="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",de="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pe="[\\ud800-\\udfff]",Ae="["+de+"]",ge="["+he+"]",ve="\\d+",me="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",be="[^\\ud800-\\udfff"+de+ve+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",we="\\ud83c[\\udffb-\\udfff]",_e="[^\\ud800-\\udfff]",Me="(?:\\ud83c[\\udde6-\\uddff]){2}",Ee="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Se="(?:"+ye+"|"+be+")",Oe="(?:"+Ce+"|"+be+")",Be="(?:"+ge+"|"+we+")"+"?",Te="[\\ufe0e\\ufe0f]?"+Be+("(?:\\u200d(?:"+[_e,Me,Ee].join("|")+")[\\ufe0e\\ufe0f]?"+Be+")*"),Ne="(?:"+[me,Me,Ee].join("|")+")"+Te,xe="(?:"+[_e+ge+"?",ge,Me,Ee,pe].join("|")+")",ke=RegExp("['\u2019]","g"),Ie=RegExp(ge,"g"),Pe=RegExp(we+"(?="+we+")|"+xe+Te,"g"),Le=RegExp([Ce+"?"+ye+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[Ae,Ce,"$"].join("|")+")",Oe+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[Ae,Ce+Se,"$"].join("|")+")",Ce+"?"+Se+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ce+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ve,Ne].join("|"),"g"),Re=RegExp("[\\u200d\\ud800-\\udfff"+he+"\\ufe0e\\ufe0f]"),De=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Fe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ze=-1,Ue={};Ue[C]=Ue[S]=Ue[O]=Ue[B]=Ue[T]=Ue[N]=Ue["[object Uint8ClampedArray]"]=Ue[x]=Ue[k]=!0,Ue[c]=Ue[u]=Ue[M]=Ue[l]=Ue[E]=Ue[f]=Ue[h]=Ue[d]=Ue[A]=Ue[g]=Ue[v]=Ue[m]=Ue[y]=Ue[b]=Ue[_]=!1;var je={};je[c]=je[u]=je[M]=je[E]=je[l]=je[f]=je[C]=je[S]=je[O]=je[B]=je[T]=je[A]=je[g]=je[v]=je[m]=je[y]=je[b]=je[w]=je[N]=je["[object Uint8ClampedArray]"]=je[x]=je[k]=!0,je[h]=je[d]=je[_]=!1;var He={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},We=parseFloat,qe=parseInt,Qe="object"==typeof e&&e&&e.Object===Object&&e,Xe="object"==typeof self&&self&&self.Object===Object&&self,Ke=Qe||Xe||Function("return this")(),Ve=t&&!t.nodeType&&t,Ge=Ve&&"object"==typeof r&&r&&!r.nodeType&&r,Ye=Ge&&Ge.exports===Ve,Je=Ye&&Qe.process,Ze=function(){try{var e=Ge&&Ge.require&&Ge.require("util").types;return e||Je&&Je.binding&&Je.binding("util")}catch(t){}}(),$e=Ze&&Ze.isArrayBuffer,et=Ze&&Ze.isDate,tt=Ze&&Ze.isMap,nt=Ze&&Ze.isRegExp,rt=Ze&&Ze.isSet,ot=Ze&&Ze.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function at(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function ht(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function Pt(e,t){for(var n=e.length;n--&&wt(t,e[n],0)>-1;);return n}function Lt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Rt=St({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),Dt=St({"&":"&","<":"<",">":">",'"':""","'":"'"});function Ft(e){return"\\"+He[e]}function zt(e){return Re.test(e)}function Ut(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function jt(e,t){return function(n){return e(t(n))}}function Ht(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"});var Vt=function e(t){var n=(t=null==t?Ke:Vt.defaults(Ke.Object(),t,Vt.pick(Ke,Fe))).Array,r=t.Date,o=t.Error,he=t.Function,de=t.Math,pe=t.Object,Ae=t.RegExp,ge=t.String,ve=t.TypeError,me=n.prototype,ye=he.prototype,be=pe.prototype,we=t["__core-js_shared__"],_e=ye.toString,Me=be.hasOwnProperty,Ee=0,Ce=function(){var e=/[^.]+$/.exec(we&&we.keys&&we.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Se=be.toString,Oe=_e.call(pe),Be=Ke._,Te=Ae("^"+_e.call(Me).replace(X,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ne=Ye?t.Buffer:void 0,xe=t.Symbol,Pe=t.Uint8Array,Re=Ne?Ne.allocUnsafe:void 0,He=jt(pe.getPrototypeOf,pe),Qe=pe.create,Xe=be.propertyIsEnumerable,Ve=me.splice,Ge=xe?xe.isConcatSpreadable:void 0,Je=xe?xe.iterator:void 0,Ze=xe?xe.toStringTag:void 0,mt=function(){try{var e=$o(pe,"defineProperty");return e({},"",{}),e}catch(t){}}(),St=t.clearTimeout!==Ke.clearTimeout&&t.clearTimeout,Gt=r&&r.now!==Ke.Date.now&&r.now,Yt=t.setTimeout!==Ke.setTimeout&&t.setTimeout,Jt=de.ceil,Zt=de.floor,$t=pe.getOwnPropertySymbols,en=Ne?Ne.isBuffer:void 0,tn=t.isFinite,nn=me.join,rn=jt(pe.keys,pe),on=de.max,an=de.min,sn=r.now,cn=t.parseInt,un=de.random,ln=me.reverse,fn=$o(t,"DataView"),hn=$o(t,"Map"),dn=$o(t,"Promise"),pn=$o(t,"Set"),An=$o(t,"WeakMap"),gn=$o(pe,"create"),vn=An&&new An,mn={},yn=Si(fn),bn=Si(hn),wn=Si(dn),_n=Si(pn),Mn=Si(An),En=xe?xe.prototype:void 0,Cn=En?En.valueOf:void 0,Sn=En?En.toString:void 0;function On(e){if(Wa(e)&&!ka(e)&&!(e instanceof xn)){if(e instanceof Nn)return e;if(Me.call(e,"__wrapped__"))return Oi(e)}return new Nn(e)}var Bn=function(){function e(){}return function(t){if(!Ha(t))return{};if(Qe)return Qe(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Tn(){}function Nn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function xn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Gn(e,t,n,r,o,i){var a,s=1&t,u=2&t,h=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!Ha(e))return e;var _=ka(e);if(_){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Me.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return vo(e,a)}else{var I=ni(e),P=I==d||I==p;if(Ra(e))return lo(e,s);if(I==v||I==c||P&&!o){if(a=u||P?{}:oi(e),!s)return u?function(e,t){return mo(e,ti(e),t)}(e,function(e,t){return e&&mo(t,bs(t),e)}(a,e)):function(e,t){return mo(e,ei(e),t)}(e,Qn(a,e))}else{if(!je[I])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case M:return fo(e);case l:case f:return new r(+e);case E:return function(e,t){var n=t?fo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case C:case S:case O:case B:case T:case N:case"[object Uint8ClampedArray]":case x:case k:return ho(e,n);case A:return new r;case g:case b:return new r(e);case m:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case y:return new r;case w:return o=e,Cn?pe(Cn.call(o)):{}}var o}(e,I,s)}}i||(i=new Rn);var L=i.get(e);if(L)return L;i.set(e,a),Va(e)?e.forEach((function(r){a.add(Gn(r,t,n,r,e,i))})):qa(e)&&e.forEach((function(r,o){a.set(o,Gn(r,t,n,o,e,i))}));var R=_?void 0:(h?u?Xo:Qo:u?bs:ys)(e);return st(R||e,(function(r,o){R&&(r=e[o=r]),Hn(a,o,Gn(r,t,n,o,e,i))})),a}function Yn(e,t,n){var r=n.length;if(null==e)return!r;for(e=pe(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function Jn(e,t,n){if("function"!=typeof e)throw new ve(i);return yi((function(){e.apply(void 0,n)}),t)}function Zn(e,t,n,r){var o=-1,i=ft,a=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=dt(t,Nt(n))),r?(i=ht,a=!1):t.length>=200&&(i=kt,a=!1,t=new Ln(t));e:for(;++o-1},In.prototype.set=function(e,t){var n=this.__data__,r=Wn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Pn.prototype.clear=function(){this.size=0,this.__data__={hash:new kn,map:new(hn||In),string:new kn}},Pn.prototype.delete=function(e){var t=Jo(this,e).delete(e);return this.size-=t?1:0,t},Pn.prototype.get=function(e){return Jo(this,e).get(e)},Pn.prototype.has=function(e){return Jo(this,e).has(e)},Pn.prototype.set=function(e,t){var n=Jo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ln.prototype.add=Ln.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ln.prototype.has=function(e){return this.__data__.has(e)},Rn.prototype.clear=function(){this.__data__=new In,this.size=0},Rn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Rn.prototype.get=function(e){return this.__data__.get(e)},Rn.prototype.has=function(e){return this.__data__.has(e)},Rn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof In){var r=n.__data__;if(!hn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Pn(r)}return n.set(e,t),this.size=n.size,this};var $n=wo(sr),er=wo(cr,!0);function tr(e,t){var n=!0;return $n(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function nr(e,t,n){for(var r=-1,o=e.length;++r0&&n(s)?t>1?or(s,t-1,n,r,o):pt(o,s):r||(o[o.length]=s)}return o}var ir=_o(),ar=_o(!0);function sr(e,t){return e&&ir(e,t,ys)}function cr(e,t){return e&&ar(e,t,ys)}function ur(e,t){return lt(t,(function(t){return za(e[t])}))}function lr(e,t){for(var n=0,r=(t=ao(t,e)).length;null!=e&&nt}function pr(e,t){return null!=e&&Me.call(e,t)}function Ar(e,t){return null!=e&&t in pe(e)}function gr(e,t,r){for(var o=r?ht:ft,i=e[0].length,a=e.length,s=a,c=n(a),u=1/0,l=[];s--;){var f=e[s];s&&t&&(f=dt(f,Nt(t))),u=an(f.length,u),c[s]=!r&&(t||i>=120&&f.length>=120)?new Ln(s&&f):void 0}f=e[0];var h=-1,d=c[0];e:for(;++h=s)return c;var u=n[r];return c*("desc"==u?-1:1)}}return e.index-t.index}(e,t,n)}))}function kr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)s!==e&&Ve.call(s,c,1),Ve.call(e,c,1);return e}function Pr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;ai(o)?Ve.call(e,o,1):Zr(e,o)}}return e}function Lr(e,t){return e+Zt(un()*(t-e+1))}function Rr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=Zt(t/2))&&(e+=e)}while(t);return n}function Dr(e,t){return bi(pi(e,t,Qs),e+"")}function Fr(e){return Fn(Bs(e))}function zr(e,t){var n=Bs(e);return Mi(n,Vn(t,0,n.length))}function Ur(e,t,n,r){if(!Ha(e))return e;for(var o=-1,i=(t=ao(t,e)).length,a=i-1,s=e;null!=s&&++oi?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o>>1,a=e[i];null!==a&&!Ya(a)&&(n?a<=t:a=200){var u=t?null:Do(e);if(u)return Wt(u);a=!1,o=kt,c=new Ln}else c=t?[]:s;e:for(;++r=r?e:qr(e,t,n)}var uo=St||function(e){return Ke.clearTimeout(e)};function lo(e,t){if(t)return e.slice();var n=e.length,r=Re?Re(n):new e.constructor(n);return e.copy(r),r}function fo(e){var t=new e.constructor(e.byteLength);return new Pe(t).set(new Pe(e)),t}function ho(e,t){var n=t?fo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function po(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e===e,i=Ya(e),a=void 0!==t,s=null===t,c=t===t,u=Ya(t);if(!s&&!u&&!i&&e>t||i&&a&&c&&!s&&!u||r&&a&&c||!n&&c||!o)return 1;if(!r&&!i&&!u&&e1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&si(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=pe(t);++r-1?o[i?t[a]:a]:void 0}}function Oo(e){return qo((function(t){var n=t.length,r=n,o=Nn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ve(i);if(o&&!s&&"wrapper"==Vo(a))var s=new Nn([],!0)}for(r=s?r:n;++r1&&y.reverse(),f&&us))return!1;var u=i.get(e),l=i.get(t);if(u&&l)return u==t&&l==e;var f=-1,h=!0,d=2&n?new Ln:void 0;for(i.set(e,t),i.set(t,e);++f-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(J,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return st(s,(function(n){var r="_."+n[0];t&n[1]&&!ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Z);return t?t[1].split($):[]}(r),n)))}function _i(e){var t=0,n=0;return function(){var r=sn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Mi(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Ki(e,n)}));function ea(e){var t=On(e);return t.__chain__=!0,t}function ta(e,t){return t(e)}var na=qo((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Kn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof xn&&ai(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ta,args:[o],thisArg:void 0}),new Nn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var ra=yo((function(e,t,n){Me.call(e,n)?++e[n]:Xn(e,n,1)}));var oa=So(xi),ia=So(ki);function aa(e,t){return(ka(e)?st:$n)(e,Yo(t,3))}function sa(e,t){return(ka(e)?ct:er)(e,Yo(t,3))}var ca=yo((function(e,t,n){Me.call(e,n)?e[n].push(t):Xn(e,n,[t])}));var ua=Dr((function(e,t,r){var o=-1,i="function"==typeof t,a=Pa(e)?n(e.length):[];return $n(e,(function(e){a[++o]=i?it(t,e,r):vr(e,t,r)})),a})),la=yo((function(e,t,n){Xn(e,n,t)}));function fa(e,t){return(ka(e)?dt:Sr)(e,Yo(t,3))}var ha=yo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var da=Dr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&si(e,t[0],t[1])?t=[]:n>2&&si(t[0],t[1],t[2])&&(t=[t[0]]),xr(e,or(t,1),[])})),pa=Gt||function(){return Ke.Date.now()};function Aa(e,t,n){return t=n?void 0:t,zo(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ga(e,t){var n;if("function"!=typeof t)throw new ve(i);return e=ns(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var va=Dr((function(e,t,n){var r=1;if(n.length){var o=Ht(n,Go(va));r|=32}return zo(e,r,t,n,o)})),ma=Dr((function(e,t,n){var r=3;if(n.length){var o=Ht(n,Go(ma));r|=32}return zo(t,r,e,n,o)}));function ya(e,t,n){var r,o,a,s,c,u,l=0,f=!1,h=!1,d=!0;if("function"!=typeof e)throw new ve(i);function p(t){var n=r,i=o;return r=o=void 0,l=t,s=e.apply(i,n)}function A(e){return l=e,c=yi(v,t),f?p(e):s}function g(e){var n=e-u;return void 0===u||n>=t||n<0||h&&e-l>=a}function v(){var e=pa();if(g(e))return m(e);c=yi(v,function(e){var n=t-(e-u);return h?an(n,a-(e-l)):n}(e))}function m(e){return c=void 0,d&&r?p(e):(r=o=void 0,s)}function y(){var e=pa(),n=g(e);if(r=arguments,o=this,u=e,n){if(void 0===c)return A(u);if(h)return uo(c),c=yi(v,t),p(u)}return void 0===c&&(c=yi(v,t)),s}return t=os(t)||0,Ha(n)&&(f=!!n.leading,a=(h="maxWait"in n)?on(os(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==c&&uo(c),l=0,r=u=o=c=void 0},y.flush=function(){return void 0===c?s:m(pa())},y}var ba=Dr((function(e,t){return Jn(e,1,t)})),wa=Dr((function(e,t,n){return Jn(e,os(t)||0,n)}));function _a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ve(i);var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(_a.Cache||Pn),n}function Ma(e){if("function"!=typeof e)throw new ve(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}_a.Cache=Pn;var Ea=so((function(e,t){var n=(t=1==t.length&&ka(t[0])?dt(t[0],Nt(Yo())):dt(or(t,1),Nt(Yo()))).length;return Dr((function(r){for(var o=-1,i=an(r.length,n);++o=t})),xa=mr(function(){return arguments}())?mr:function(e){return Wa(e)&&Me.call(e,"callee")&&!Xe.call(e,"callee")},ka=n.isArray,Ia=$e?Nt($e):function(e){return Wa(e)&&hr(e)==M};function Pa(e){return null!=e&&ja(e.length)&&!za(e)}function La(e){return Wa(e)&&Pa(e)}var Ra=en||oc,Da=et?Nt(et):function(e){return Wa(e)&&hr(e)==f};function Fa(e){if(!Wa(e))return!1;var t=hr(e);return t==h||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Xa(e)}function za(e){if(!Ha(e))return!1;var t=hr(e);return t==d||t==p||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ua(e){return"number"==typeof e&&e==ns(e)}function ja(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ha(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Wa(e){return null!=e&&"object"==typeof e}var qa=tt?Nt(tt):function(e){return Wa(e)&&ni(e)==A};function Qa(e){return"number"==typeof e||Wa(e)&&hr(e)==g}function Xa(e){if(!Wa(e)||hr(e)!=v)return!1;var t=He(e);if(null===t)return!0;var n=Me.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_e.call(n)==Oe}var Ka=nt?Nt(nt):function(e){return Wa(e)&&hr(e)==m};var Va=rt?Nt(rt):function(e){return Wa(e)&&ni(e)==y};function Ga(e){return"string"==typeof e||!ka(e)&&Wa(e)&&hr(e)==b}function Ya(e){return"symbol"==typeof e||Wa(e)&&hr(e)==w}var Ja=ot?Nt(ot):function(e){return Wa(e)&&ja(e.length)&&!!Ue[hr(e)]};var Za=Po(Cr),$a=Po((function(e,t){return e<=t}));function es(e){if(!e)return[];if(Pa(e))return Ga(e)?Xt(e):vo(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=ni(e);return(t==A?Ut:t==y?Wt:Bs)(e)}function ts(e){return e?(e=os(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function ns(e){var t=ts(e),n=t%1;return t===t?n?t-n:t:0}function rs(e){return e?Vn(ns(e),0,4294967295):0}function os(e){if("number"==typeof e)return e;if(Ya(e))return NaN;if(Ha(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ha(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(V,"");var n=ie.test(e);return n||se.test(e)?qe(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function is(e){return mo(e,bs(e))}function as(e){return null==e?"":Yr(e)}var ss=bo((function(e,t){if(fi(t)||Pa(t))mo(t,ys(t),e);else for(var n in t)Me.call(t,n)&&Hn(e,n,t[n])})),cs=bo((function(e,t){mo(t,bs(t),e)})),us=bo((function(e,t,n,r){mo(t,bs(t),e,r)})),ls=bo((function(e,t,n,r){mo(t,ys(t),e,r)})),fs=qo(Kn);var hs=Dr((function(e,t){e=pe(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&si(t[0],t[1],o)&&(r=1);++n1),t})),mo(e,Xo(e),n),r&&(n=Gn(n,7,Ho));for(var o=t.length;o--;)Zr(n,t[o]);return n}));var Es=qo((function(e,t){return null==e?{}:function(e,t){return kr(e,t,(function(t,n){return As(e,n)}))}(e,t)}));function Cs(e,t){if(null==e)return{};var n=dt(Xo(e),(function(e){return[e]}));return t=Yo(t),kr(e,n,(function(e,n){return t(e,n[0])}))}var Ss=Fo(ys),Os=Fo(bs);function Bs(e){return null==e?[]:xt(e,ys(e))}var Ts=Eo((function(e,t,n){return t=t.toLowerCase(),e+(n?Ns(t):t)}));function Ns(e){return Fs(as(e).toLowerCase())}function xs(e){return(e=as(e))&&e.replace(ue,Rt).replace(Ie,"")}var ks=Eo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Is=Eo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ps=Mo("toLowerCase");var Ls=Eo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Rs=Eo((function(e,t,n){return e+(n?" ":"")+Fs(t)}));var Ds=Eo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Fs=Mo("toUpperCase");function zs(e,t,n){return e=as(e),void 0===(t=n?void 0:t)?function(e){return De.test(e)}(e)?function(e){return e.match(Le)||[]}(e):function(e){return e.match(ee)||[]}(e):e.match(t)||[]}var Us=Dr((function(e,t){try{return it(e,void 0,t)}catch(n){return Fa(n)?n:new o(n)}})),js=qo((function(e,t){return st(t,(function(t){t=Ci(t),Xn(e,t,va(e[t],e))})),e}));function Hs(e){return function(){return e}}var Ws=Oo(),qs=Oo(!0);function Qs(e){return e}function Xs(e){return _r("function"==typeof e?e:Gn(e,1))}var Ks=Dr((function(e,t){return function(n){return vr(n,e,t)}})),Vs=Dr((function(e,t){return function(n){return vr(e,n,t)}}));function Gs(e,t,n){var r=ys(t),o=ur(t,r);null!=n||Ha(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=ur(t,ys(t)));var i=!(Ha(n)&&"chain"in n)||!!n.chain,a=za(e);return st(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=vo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,pt([this.value()],arguments))})})),e}function Ys(){}var Js=xo(dt),Zs=xo(ut),$s=xo(vt);function ec(e){return ci(e)?Ct(Ci(e)):function(e){return function(t){return lr(t,e)}}(e)}var tc=Io(),nc=Io(!0);function rc(){return[]}function oc(){return!1}var ic=No((function(e,t){return e+t}),0),ac=Ro("ceil"),sc=No((function(e,t){return e/t}),1),cc=Ro("floor");var uc=No((function(e,t){return e*t}),1),lc=Ro("round"),fc=No((function(e,t){return e-t}),0);return On.after=function(e,t){if("function"!=typeof t)throw new ve(i);return e=ns(e),function(){if(--e<1)return t.apply(this,arguments)}},On.ary=Aa,On.assign=ss,On.assignIn=cs,On.assignInWith=us,On.assignWith=ls,On.at=fs,On.before=ga,On.bind=va,On.bindAll=js,On.bindKey=ma,On.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return ka(e)?e:[e]},On.chain=ea,On.chunk=function(e,t,r){t=(r?si(e,t,r):void 0===t)?1:on(ns(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,s=n(Jt(o/t));io?0:o+n),(r=void 0===r||r>o?o:ns(r))<0&&(r+=o),r=n>r?0:rs(r);n>>0)?(e=as(e))&&("string"==typeof t||null!=t&&!Ka(t))&&!(t=Yr(t))&&zt(e)?co(Xt(e),0,n):e.split(t,n):[]},On.spread=function(e,t){if("function"!=typeof e)throw new ve(i);return t=null==t?0:on(ns(t),0),Dr((function(n){var r=n[t],o=co(n,0,t);return r&&pt(o,r),it(e,this,o)}))},On.tail=function(e){var t=null==e?0:e.length;return t?qr(e,1,t):[]},On.take=function(e,t,n){return e&&e.length?qr(e,0,(t=n||void 0===t?1:ns(t))<0?0:t):[]},On.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?qr(e,(t=r-(t=n||void 0===t?1:ns(t)))<0?0:t,r):[]},On.takeRightWhile=function(e,t){return e&&e.length?eo(e,Yo(t,3),!1,!0):[]},On.takeWhile=function(e,t){return e&&e.length?eo(e,Yo(t,3)):[]},On.tap=function(e,t){return t(e),e},On.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ve(i);return Ha(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ya(e,t,{leading:r,maxWait:t,trailing:o})},On.thru=ta,On.toArray=es,On.toPairs=Ss,On.toPairsIn=Os,On.toPath=function(e){return ka(e)?dt(e,Ci):Ya(e)?[e]:vo(Ei(as(e)))},On.toPlainObject=is,On.transform=function(e,t,n){var r=ka(e),o=r||Ra(e)||Ja(e);if(t=Yo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Ha(e)&&za(i)?Bn(He(e)):{}}return(o?st:sr)(e,(function(e,r,o){return t(n,e,r,o)})),n},On.unary=function(e){return Aa(e,1)},On.union=Wi,On.unionBy=qi,On.unionWith=Qi,On.uniq=function(e){return e&&e.length?Jr(e):[]},On.uniqBy=function(e,t){return e&&e.length?Jr(e,Yo(t,2)):[]},On.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Jr(e,void 0,t):[]},On.unset=function(e,t){return null==e||Zr(e,t)},On.unzip=Xi,On.unzipWith=Ki,On.update=function(e,t,n){return null==e?e:$r(e,t,io(n))},On.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:$r(e,t,io(n),r)},On.values=Bs,On.valuesIn=function(e){return null==e?[]:xt(e,bs(e))},On.without=Vi,On.words=zs,On.wrap=function(e,t){return Ca(io(t),e)},On.xor=Gi,On.xorBy=Yi,On.xorWith=Ji,On.zip=Zi,On.zipObject=function(e,t){return ro(e||[],t||[],Hn)},On.zipObjectDeep=function(e,t){return ro(e||[],t||[],Ur)},On.zipWith=$i,On.entries=Ss,On.entriesIn=Os,On.extend=cs,On.extendWith=us,Gs(On,On),On.add=ic,On.attempt=Us,On.camelCase=Ts,On.capitalize=Ns,On.ceil=ac,On.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=os(n))===n?n:0),void 0!==t&&(t=(t=os(t))===t?t:0),Vn(os(e),t,n)},On.clone=function(e){return Gn(e,4)},On.cloneDeep=function(e){return Gn(e,5)},On.cloneDeepWith=function(e,t){return Gn(e,5,t="function"==typeof t?t:void 0)},On.cloneWith=function(e,t){return Gn(e,4,t="function"==typeof t?t:void 0)},On.conformsTo=function(e,t){return null==t||Yn(e,t,ys(t))},On.deburr=xs,On.defaultTo=function(e,t){return null==e||e!==e?t:e},On.divide=sc,On.endsWith=function(e,t,n){e=as(e),t=Yr(t);var r=e.length,o=n=void 0===n?r:Vn(ns(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},On.eq=Ba,On.escape=function(e){return(e=as(e))&&z.test(e)?e.replace(D,Dt):e},On.escapeRegExp=function(e){return(e=as(e))&&K.test(e)?e.replace(X,"\\$&"):e},On.every=function(e,t,n){var r=ka(e)?ut:tr;return n&&si(e,t,n)&&(t=void 0),r(e,Yo(t,3))},On.find=oa,On.findIndex=xi,On.findKey=function(e,t){return yt(e,Yo(t,3),sr)},On.findLast=ia,On.findLastIndex=ki,On.findLastKey=function(e,t){return yt(e,Yo(t,3),cr)},On.floor=cc,On.forEach=aa,On.forEachRight=sa,On.forIn=function(e,t){return null==e?e:ir(e,Yo(t,3),bs)},On.forInRight=function(e,t){return null==e?e:ar(e,Yo(t,3),bs)},On.forOwn=function(e,t){return e&&sr(e,Yo(t,3))},On.forOwnRight=function(e,t){return e&&cr(e,Yo(t,3))},On.get=ps,On.gt=Ta,On.gte=Na,On.has=function(e,t){return null!=e&&ri(e,t,pr)},On.hasIn=As,On.head=Pi,On.identity=Qs,On.includes=function(e,t,n,r){e=Pa(e)?e:Bs(e),n=n&&!r?ns(n):0;var o=e.length;return n<0&&(n=on(o+n,0)),Ga(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&wt(e,t,n)>-1},On.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ns(n);return o<0&&(o=on(r+o,0)),wt(e,t,o)},On.inRange=function(e,t,n){return t=ts(t),void 0===n?(n=t,t=0):n=ts(n),function(e,t,n){return e>=an(t,n)&&e=-9007199254740991&&e<=9007199254740991},On.isSet=Va,On.isString=Ga,On.isSymbol=Ya,On.isTypedArray=Ja,On.isUndefined=function(e){return void 0===e},On.isWeakMap=function(e){return Wa(e)&&ni(e)==_},On.isWeakSet=function(e){return Wa(e)&&"[object WeakSet]"==hr(e)},On.join=function(e,t){return null==e?"":nn.call(e,t)},On.kebabCase=ks,On.last=Fi,On.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=ns(n))<0?on(r+o,0):an(o,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):bt(e,Mt,o,!0)},On.lowerCase=Is,On.lowerFirst=Ps,On.lt=Za,On.lte=$a,On.max=function(e){return e&&e.length?nr(e,Qs,dr):void 0},On.maxBy=function(e,t){return e&&e.length?nr(e,Yo(t,2),dr):void 0},On.mean=function(e){return Et(e,Qs)},On.meanBy=function(e,t){return Et(e,Yo(t,2))},On.min=function(e){return e&&e.length?nr(e,Qs,Cr):void 0},On.minBy=function(e,t){return e&&e.length?nr(e,Yo(t,2),Cr):void 0},On.stubArray=rc,On.stubFalse=oc,On.stubObject=function(){return{}},On.stubString=function(){return""},On.stubTrue=function(){return!0},On.multiply=uc,On.nth=function(e,t){return e&&e.length?Nr(e,ns(t)):void 0},On.noConflict=function(){return Ke._===this&&(Ke._=Be),this},On.noop=Ys,On.now=pa,On.pad=function(e,t,n){e=as(e);var r=(t=ns(t))?Qt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return ko(Zt(o),n)+e+ko(Jt(o),n)},On.padEnd=function(e,t,n){e=as(e);var r=(t=ns(t))?Qt(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=un();return an(e+o*(t-e+We("1e-"+((o+"").length-1))),t)}return Lr(e,t)},On.reduce=function(e,t,n){var r=ka(e)?At:Ot,o=arguments.length<3;return r(e,Yo(t,4),n,o,$n)},On.reduceRight=function(e,t,n){var r=ka(e)?gt:Ot,o=arguments.length<3;return r(e,Yo(t,4),n,o,er)},On.repeat=function(e,t,n){return t=(n?si(e,t,n):void 0===t)?1:ns(t),Rr(as(e),t)},On.replace=function(){var e=arguments,t=as(e[0]);return e.length<3?t:t.replace(e[1],e[2])},On.result=function(e,t,n){var r=-1,o=(t=ao(t,e)).length;for(o||(o=1,e=void 0);++r9007199254740991)return[];var n=4294967295,r=an(e,4294967295);e-=4294967295;for(var o=Tt(r,t=Yo(t));++n=i)return e;var s=n-Qt(r);if(s<1)return r;var c=a?co(a,0,s).join(""):e.slice(0,s);if(void 0===o)return c+r;if(a&&(s+=c.length-s),Ka(o)){if(e.slice(s).search(o)){var u,l=c;for(o.global||(o=Ae(o.source,as(re.exec(o))+"g")),o.lastIndex=0;u=o.exec(l);)var f=u.index;c=c.slice(0,void 0===f?s:f)}}else if(e.indexOf(Yr(o),s)!=s){var h=c.lastIndexOf(o);h>-1&&(c=c.slice(0,h))}return c+r},On.unescape=function(e){return(e=as(e))&&F.test(e)?e.replace(R,Kt):e},On.uniqueId=function(e){var t=++Ee;return as(e)+t},On.upperCase=Ds,On.upperFirst=Fs,On.each=aa,On.eachRight=sa,On.first=Pi,Gs(On,function(){var e={};return sr(On,(function(t,n){Me.call(On.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),On.VERSION="4.17.19",st(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){On[e].placeholder=On})),st(["drop","take"],(function(e,t){xn.prototype[e]=function(n){n=void 0===n?1:on(ns(n),0);var r=this.__filtered__&&!t?new xn(this):this.clone();return r.__filtered__?r.__takeCount__=an(n,r.__takeCount__):r.__views__.push({size:an(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},xn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),st(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;xn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Yo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),st(["head","last"],(function(e,t){var n="take"+(t?"Right":"");xn.prototype[e]=function(){return this[n](1).value()[0]}})),st(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");xn.prototype[e]=function(){return this.__filtered__?new xn(this):this[n](1)}})),xn.prototype.compact=function(){return this.filter(Qs)},xn.prototype.find=function(e){return this.filter(e).head()},xn.prototype.findLast=function(e){return this.reverse().find(e)},xn.prototype.invokeMap=Dr((function(e,t){return"function"==typeof e?new xn(this):this.map((function(n){return vr(n,e,t)}))})),xn.prototype.reject=function(e){return this.filter(Ma(Yo(e)))},xn.prototype.slice=function(e,t){e=ns(e);var n=this;return n.__filtered__&&(e>0||t<0)?new xn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=ns(t))<0?n.dropRight(-t):n.take(t-e)),n)},xn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},xn.prototype.toArray=function(){return this.take(4294967295)},sr(xn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=On[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(On.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof xn,c=a[0],u=s||ka(t),l=function(e){var t=o.apply(On,pt([e],a));return r&&f?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(s=u=!1);var f=this.__chain__,h=!!this.__actions__.length,d=i&&!f,p=s&&!h;if(!i&&u){t=p?t:new xn(this);var A=e.apply(t,a);return A.__actions__.push({func:ta,args:[l],thisArg:void 0}),new Nn(A,f)}return d&&p?e.apply(this,a):(A=this.thru(l),d?r?A.value()[0]:A.value():A)})})),st(["pop","push","shift","sort","splice","unshift"],(function(e){var t=me[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);On.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(ka(o)?o:[],e)}return this[n]((function(n){return t.apply(ka(n)?n:[],e)}))}})),sr(xn.prototype,(function(e,t){var n=On[t];if(n){var r=n.name+"";Me.call(mn,r)||(mn[r]=[]),mn[r].push({name:t,func:n})}})),mn[Bo(void 0,2).name]=[{name:"wrapper",func:void 0}],xn.prototype.clone=function(){var e=new xn(this.__wrapped__);return e.__actions__=vo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=vo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=vo(this.__views__),e},xn.prototype.reverse=function(){if(this.__filtered__){var e=new xn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},xn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=ka(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},On.prototype.plant=function(e){for(var t,n=this;n instanceof Tn;){var r=Oi(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},On.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof xn){var t=e;return this.__actions__.length&&(t=new xn(this)),(t=t.reverse()).__actions__.push({func:ta,args:[Hi],thisArg:void 0}),new Nn(t,this.__chain__)}return this.thru(Hi)},On.prototype.toJSON=On.prototype.valueOf=On.prototype.value=function(){return to(this.__wrapped__,this.__actions__)},On.prototype.first=On.prototype.head,Je&&(On.prototype[Je]=function(){return this}),On}();Ke._=Vt,void 0===(o=function(){return Vt}.call(t,n,t,r))||(r.exports=o)}).call(this)}).call(this,n(73),n(207)(e))},function(e,t,n){e.exports=n(1130)()},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}var A=n(807),g=n.n(A),v=n(101),m=n.n(v),y=n(541),b={notify:function(){}};var w=function(){function e(e,t,n){this.store=e,this.parentSub=t,this.onStateChange=n,this.unsubscribe=null,this.listeners=b}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var e=[],t=[];return{clear:function(){t=null,e=null},notify:function(){for(var n=e=t,r=0;r, or explicitly pass "'+T+'" as a prop to "'+i+'".'),r.initSelector(),r.initSubscription(),r}r(s,n);var c=s.prototype;return c.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return(e={})[I]=t||this.context[I],e},c.componentDidMount=function(){O&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},c.componentWillReceiveProps=function(e){this.selector.run(e)},c.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},c.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=C,this.store=null,this.selector.run=C,this.selector.shouldComponentUpdate=!1},c.getWrappedInstance=function(){return m()(x,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+A+"() call."),this.wrappedInstance},c.setWrappedInstance=function(e){this.wrappedInstance=e},c.initSelector=function(){var t=e(this.store.dispatch,a);this.selector=function(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(i){n.shouldComponentUpdate=!0,n.error=i}}};return n}(t,this.store),this.selector.run(this.props)},c.initSubscription=function(){if(O){var e=(this.propsMode?this.props:this.context)[I];this.subscription=new w(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},c.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(E)):this.notifyNestedSubs()},c.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},c.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},c.addExtraProps=function(e){if(!x&&!b&&(!this.propsMode||!this.subscription))return e;var t=Object(d.a)({},e);return x&&(t.ref=this.setWrappedInstance),b&&(t[b]=this.renderCount++),this.propsMode&&this.subscription&&(t[I]=this.subscription),t},c.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(o.createElement)(t,this.addExtraProps(e.props))},s}(o.Component);return _&&(s.prototype.UNSAFE_componentWillReceiveProps=s.prototype.componentWillReceiveProps,delete s.prototype.componentWillReceiveProps),s.WrappedComponent=t,s.displayName=i,s.childContextTypes=R,s.contextTypes=L,s.propTypes=L,g()(s,t)}}var O=Object.prototype.hasOwnProperty;function B(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function T(e,t){if(B(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function H(e,t){return e===t}var W=function(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?S:n,o=t.mapStateToPropsFactories,i=void 0===o?L:o,a=t.mapDispatchToPropsFactories,s=void 0===a?P:a,c=t.mergePropsFactories,u=void 0===c?D:c,l=t.selectorFactory,f=void 0===l?U:l;return function(e,t,n,o){void 0===o&&(o={});var a=o,c=a.pure,l=void 0===c||c,h=a.areStatesEqual,A=void 0===h?H:h,g=a.areOwnPropsEqual,v=void 0===g?T:g,m=a.areStatePropsEqual,y=void 0===m?T:m,b=a.areMergedPropsEqual,w=void 0===b?T:b,_=p(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),M=j(e,i,"mapStateToProps"),E=j(t,s,"mapDispatchToProps"),C=j(n,u,"mergeProps");return r(f,Object(d.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:M,initMapDispatchToProps:E,initMergeProps:C,pure:l,areStatesEqual:A,areOwnPropsEqual:v,areStatePropsEqual:y,areMergedPropsEqual:w},_))}}()},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t=256&&(n^=301);return{LOG:e,ALOG:t}}([],[])).LOG,c=r.ALOG;!function(e){e[e.FORCE_NONE=0]="FORCE_NONE",e[e.FORCE_SQUARE=1]="FORCE_SQUARE",e[e.FORCE_RECTANGLE=2]="FORCE_RECTANGLE"}(o||(o={}));var u=129,l=230,f=231,h=235,d=236,p=237,A=238,g=239,v=240,m=254,y=254,b="[)>\x1e05\x1d",w="[)>\x1e06\x1d",_="\x1e\x04",M=0,E=1,C=2,S=3,O=4,B=5},function(e,t,n){"use strict";function r(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={};n.r(r),n.d(r,"someByType",(function(){return u})),n.d(r,"findByType",(function(){return l})),n.d(r,"isNil",(function(){return f}));var o=n(430),i=n.n(o),a=n(195),s=n.n(a),c=n(0),u=function(e,t){return s()(c.Children.toArray(e),{type:t})},l=function(e,t){return i()(c.Children.toArray(e),{type:t})},f=function(e){return null===e||void 0===e||Array.isArray(e)&&0===e.length}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var r=n(21);function o(e){Object(r.a)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},function(e,t,n){"use strict";var r=n(67),o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.getFormatInstance=function(){return new t},t.kind="FormatException",t}(r.a);t.a=i},function(e,t,n){var r=n(1326),o=n(241)(r);e.exports=o},function(e,t,n){(function(e){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),c=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),p(n)?r.showHidden=n:n&&t._extend(r,n),m(r.showHidden)&&(r.showHidden=!1),m(r.depth)&&(r.depth=2),m(r.colors)&&(r.colors=!1),m(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=c),l(r,e,r.depth)}function c(e,t){var n=s.styles[t];return n?"\x1b["+s.colors[n][0]+"m"+e+"\x1b["+s.colors[n][1]+"m":e}function u(e,t){return e}function l(e,n,r){if(e.customInspect&&n&&M(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,e);return v(o)||(o=l(e,o,r)),o}var i=function(e,t){if(m(t))return e.stylize("undefined","undefined");if(v(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(g(t))return e.stylize(""+t,"number");if(p(t))return e.stylize(""+t,"boolean");if(A(t))return e.stylize("null","null")}(e,n);if(i)return i;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),_(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(n);if(0===a.length){if(M(n)){var c=n.name?": "+n.name:"";return e.stylize("[Function"+c+"]","special")}if(y(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return e.stylize(Date.prototype.toString.call(n),"date");if(_(n))return f(n)}var u,b="",E=!1,C=["{","}"];(d(n)&&(E=!0,C=["[","]"]),M(n))&&(b=" [Function"+(n.name?": "+n.name:"")+"]");return y(n)&&(b=" "+RegExp.prototype.toString.call(n)),w(n)&&(b=" "+Date.prototype.toUTCString.call(n)),_(n)&&(b=" "+f(n)),0!==a.length||E&&0!=n.length?r<0?y(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),u=E?function(e,t,n,r,o){for(var i=[],a=0,s=t.length;a=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(u,b,C)):C[0]+b+C[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,n,r,o,i){var a,s,c;if((c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),B(r,o)||(a="["+o+"]"),s||(e.seen.indexOf(c.value)<0?(s=A(n)?l(e,c.value,null):l(e,c.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),m(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function d(e){return Array.isArray(e)}function p(e){return"boolean"===typeof e}function A(e){return null===e}function g(e){return"number"===typeof e}function v(e){return"string"===typeof e}function m(e){return void 0===e}function y(e){return b(e)&&"[object RegExp]"===E(e)}function b(e){return"object"===typeof e&&null!==e}function w(e){return b(e)&&"[object Date]"===E(e)}function _(e){return b(e)&&("[object Error]"===E(e)||e instanceof Error)}function M(e){return"function"===typeof e}function E(e){return Object.prototype.toString.call(e)}function C(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(m(i)&&(i=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0}).NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(i)){var r=e.pid;a[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else a[n]=function(){};return a[n]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=p,t.isNull=A,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=v,t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=m,t.isRegExp=y,t.isObject=b,t.isDate=w,t.isError=_,t.isFunction=M,t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=n(1146);var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var e=new Date,t=[C(e.getHours()),C(e.getMinutes()),C(e.getSeconds())].join(":");return[e.getDate(),S[e.getMonth()],t].join(" ")}function B(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",O(),t.format.apply(t,arguments))},t.inherits=n(1147),t._extend=function(e,t){if(!t||!b(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var T="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function N(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!==typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),o=[],i=0;i1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(n&&"equal"===e)return"equal width";var r=o()(e);return"string"!==r&&"number"!==r||!t?Object(i.a)(e):"".concat(Object(i.a)(e)," ").concat(t)}},,function(e,t,n){"use strict";var r;!function(e){e[e.AZTEC=0]="AZTEC",e[e.CODABAR=1]="CODABAR",e[e.CODE_39=2]="CODE_39",e[e.CODE_93=3]="CODE_93",e[e.CODE_128=4]="CODE_128",e[e.DATA_MATRIX=5]="DATA_MATRIX",e[e.EAN_8=6]="EAN_8",e[e.EAN_13=7]="EAN_13",e[e.ITF=8]="ITF",e[e.MAXICODE=9]="MAXICODE",e[e.PDF_417=10]="PDF_417",e[e.QR_CODE=11]="QR_CODE",e[e.RSS_14=12]="RSS_14",e[e.RSS_EXPANDED=13]="RSS_EXPANDED",e[e.UPC_A=14]="UPC_A",e[e.UPC_E=15]="UPC_E",e[e.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"}(r||(r={})),t.a=r},function(e,t,n){"use strict";var r=n(50),o=n(332),i=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.getX=function(){return this.x},e.prototype.getY=function(){return this.y},e.prototype.equals=function(t){if(t instanceof e){var n=t;return this.x===n.x&&this.y===n.y}return!1},e.prototype.hashCode=function(){return 31*o.a.floatToIntBits(this.x)+o.a.floatToIntBits(this.y)},e.prototype.toString=function(){return"("+this.x+","+this.y+")"},e.orderBestPatterns=function(e){var t,n,r,o=this.distance(e[0],e[1]),i=this.distance(e[1],e[2]),a=this.distance(e[0],e[2]);if(i>=o&&i>=a?(n=e[0],t=e[1],r=e[2]):a>=i&&a>=o?(n=e[1],t=e[0],r=e[2]):(n=e[2],t=e[0],r=e[1]),this.crossProductZ(t,n,r)<0){var s=t;t=r,r=s}e[0]=t,e[1]=n,e[2]=r},e.distance=function(e,t){return r.a.distance(e.x,e.y,t.x,t.y)},e.crossProductZ=function(e,t,n){var r=t.x,o=t.y;return(n.x-r)*(e.y-o)-(n.y-o)*(e.x-r)},e}();t.a=i},function(e,t,n){"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(170),o=n(10);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?o(e):t}},function(e,t,n){"use strict";var r=n(44),o=function(){function e(e){void 0===e&&(e=""),this.value=e}return e.prototype.enableDecoding=function(e){return this.encoding=e,this},e.prototype.append=function(e){return"string"===typeof e?this.value+=e.toString():this.encoding?this.value+=r.a.castAsNonUtf8Char(e,this.encoding):this.value+=String.fromCharCode(e),this},e.prototype.appendChars=function(e,t,n){for(var r=t;t ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return a.a.createElement(l.a,{history:this.history,children:this.props.children})},t}(a.a.Component);d.propTypes={basename:c.a.string,forceRefresh:c.a.bool,getUserConfirmation:c.a.func,keyLength:c.a.number,children:c.a.node};var p=d;function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var v=function(e){function t(){var n,r;A(this,t);for(var o=arguments.length,i=Array(o),a=0;a ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return a.a.createElement(l.a,{history:this.history,children:this.props.children})},t}(a.a.Component);v.propTypes={basename:c.a.string,getUserConfirmation:c.a.func,hashType:c.a.oneOf(["hashbang","noslash","slash"]),children:c.a.node};var m=v,y=n(310),b=n(270);function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var M=function(e){function t(){var n,r;w(this,t);for(var o=arguments.length,i=Array(o),a=0;a ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return a.a.createElement(b.a,{history:this.history,children:this.props.children})},t}(a.a.Component);M.propTypes={initialEntries:c.a.array,initialIndex:c.a.number,getUserConfirmation:c.a.func,keyLength:c.a.number,children:c.a.node};var E=M,C=n(419),S=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),d="object"===("undefined"===typeof t?"undefined":O(t))?t.pathname:t,p=d&&d.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return a.a.createElement(C.a,{path:p,exact:n,strict:r,location:o,children:function(e){var n=e.location,r=e.match,o=!!(l?l(r,n):r);return a.a.createElement(y.a,S({to:t,className:o?[s,i].filter((function(e){return e})).join(" "):s,style:o?S({},u,c):u,"aria-current":o&&f||null},h))}})};B.propTypes={to:y.a.propTypes.to,exact:c.a.bool,strict:c.a.bool,location:c.a.object,activeClassName:c.a.string,className:c.a.string,activeStyle:c.a.object,style:c.a.object,isActive:c.a.func,"aria-current":c.a.oneOf(["page","step","location","date","time","true"])},B.defaultProps={activeClassName:"active","aria-current":"page"};var T=B,N=n(101),x=n.n(N);function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var P=function(e){function t(){return k(this,t),I(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){x()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(a.a.Component);P.propTypes={when:c.a.bool,message:c.a.oneOfType([c.a.func,c.a.string]).isRequired},P.defaultProps={when:!0},P.contextTypes={router:c.a.shape({history:c.a.shape({block:c.a.func.isRequired}).isRequired}).isRequired};var L=P,R=n(434),D=n.n(R),F={},z=0,U=function(e){var t=e,n=F[t]||(F[t]={});if(n[e])return n[e];var r=D.a.compile(e);return z<1e4&&(n[e]=r,z++),r},j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("/"===e)return e;var n=U(e);return n(t,{pretty:!0})},H=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=Object(u.c)(e.to),n=Object(u.c)(this.props.to);Object(u.f)(t,n)?o()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"===typeof n?j(n,t.params):H({},n,{pathname:j(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(a.a.Component);Q.propTypes={computedMatch:c.a.object,push:c.a.bool,from:c.a.string,to:c.a.oneOfType([c.a.string,c.a.object]).isRequired},Q.defaultProps={push:!1},Q.contextTypes={router:c.a.shape({history:c.a.shape({push:c.a.func.isRequired,replace:c.a.func.isRequired}).isRequired,staticContext:c.a.object}).isRequired};var X=Q,K=Object.assign||function(e){for(var t=1;t",e)}},te=function(){},ne=function(e){function t(){var n,r;V(this,t);for(var o=arguments.length,i=Array(o),a=0;a ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),o={createHref:this.createHref,action:"POP",location:Z(t,Object(u.c)(n)),push:this.handlePush,replace:this.handleReplace,go:ee("go"),goBack:ee("goBack"),goForward:ee("goForward"),listen:this.handleListen,block:this.handleBlock};return a.a.createElement(b.a,K({},r,{history:o}))},t}(a.a.Component);ne.propTypes={basename:c.a.string,context:c.a.object.isRequired,location:c.a.oneOfType([c.a.string,c.a.object])},ne.defaultProps={basename:"",location:"/"},ne.childContextTypes={router:c.a.object.isRequired};var re=ne,oe=n(806),ie=j,ae=n(265).a,se=n(775)},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n>>31)},e.numberOfLeadingZeros=function(e){if(0===e)return 32;var t=1;return e>>>16===0&&(t+=16,e<<=16),e>>>24===0&&(t+=8,e<<=8),e>>>28===0&&(t+=4,e<<=4),e>>>30===0&&(t+=2,e<<=2),t-=e>>>31},e.toHexString=function(e){return e.toString(16)},e.toBinaryString=function(e){return String(parseInt(String(e),2))},e.bitCount=function(e){return e=(e=(858993459&(e-=e>>>1&1431655765))+(e>>>2&858993459))+(e>>>4)&252645135,e+=e>>>8,63&(e+=e>>>16)},e.truncDivision=function(e,t){return Math.trunc(e/t)},e.parseInt=function(e,t){return void 0===t&&(t=void 0),parseInt(e,t)},e.MIN_VALUE_32_BITS=-2147483648,e.MAX_VALUE=Number.MAX_SAFE_INTEGER,e}();t.a=r},function(e,t,n){var r=n(1264);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){"use strict";var r=n(56),o=n(79),i=n(98),a=function(){function e(){}return e.castAsNonUtf8Char=function(e,t){void 0===t&&(t=null);var n=t?t.getName():this.ISO88591;return i.a.decode(new Uint8Array([e]),n)},e.guessEncoding=function(t,n){if(null!==n&&void 0!==n&&void 0!==n.get(r.a.CHARACTER_SET))return n.get(r.a.CHARACTER_SET).toString();for(var o=t.length,i=!0,a=!0,s=!0,c=0,u=0,l=0,f=0,h=0,d=0,p=0,A=0,g=0,v=0,m=0,y=t.length>3&&239===t[0]&&187===t[1]&&191===t[2],b=0;b0?0===(128&w)?s=!1:c--:0!==(128&w)&&(0===(64&w)?s=!1:(c++,0===(32&w)?u++:(c++,0===(16&w)?l++:(c++,0===(8&w)?f++:s=!1))))),i&&(w>127&&w<160?i=!1:w>159&&(w<192||215===w||247===w)&&m++),a&&(h>0?w<64||127===w||w>252?a=!1:h--:128===w||160===w||w>239?a=!1:w>160&&w<224?(d++,A=0,++p>g&&(g=p)):w>127?(h++,p=0,++A>v&&(v=A)):(p=0,A=0))}return s&&c>0&&(s=!1),a&&h>0&&(a=!1),s&&(y||u+l+f>0)?e.UTF8:a&&(e.ASSUME_SHIFT_JIS||g>=3||v>=3)?e.SHIFT_JIS:i&&a?2===g&&2===d||10*m>=o?e.SHIFT_JIS:e.ISO88591:i?e.ISO88591:a?e.SHIFT_JIS:s?e.UTF8:e.PLATFORM_DEFAULT_ENCODING},e.format=function(e){for(var t=[],n=1;n=0&&(g=A.getNewEncoding(),A.resetEncoderSignal());var v=A.getCodewordCount();A.updateSymbolInfo();var m=A.getSymbolInfo().getDataCapacity();v=e.length)return n;var r;n===a.b?r=[0,1,1,1,1,1.25]:(r=[1,2,2,2,2,2.25])[n]=0;for(var o=0,i=new Uint8Array(6),s=[];;){if(t+o===e.length){f.a.fill(i,0),f.a.fill(s,0);var c=this.findMinimums(r,s,h.a.MAX_VALUE,i),u=this.getMinimumCount(i);if(s[a.b]===c)return a.b;if(1===u){if(i[a.c]>0)return a.c;if(i[a.f]>0)return a.f;if(i[a.u]>0)return a.u;if(i[a.w]>0)return a.w}return a.d}var l=e.charCodeAt(t+o);if(o++,this.isDigit(l)?r[a.b]+=.5:this.isExtendedASCII(l)?(r[a.b]=Math.ceil(r[a.b]),r[a.b]+=2):(r[a.b]=Math.ceil(r[a.b]),r[a.b]++),this.isNativeC40(l)?r[a.d]+=2/3:this.isExtendedASCII(l)?r[a.d]+=8/3:r[a.d]+=4/3,this.isNativeText(l)?r[a.u]+=2/3:this.isExtendedASCII(l)?r[a.u]+=8/3:r[a.u]+=4/3,this.isNativeX12(l)?r[a.w]+=2/3:this.isExtendedASCII(l)?r[a.w]+=13/3:r[a.w]+=10/3,this.isNativeEDIFACT(l)?r[a.f]+=3/4:this.isExtendedASCII(l)?r[a.f]+=4.25:r[a.f]+=3.25,this.isSpecialB256(l)?r[a.c]+=4:r[a.c]++,o>=4){if(f.a.fill(i,0),f.a.fill(s,0),this.findMinimums(r,s,h.a.MAX_VALUE,i),s[a.b]i&&(n=i,f.a.fill(r,0)),n===i&&(r[o]=r[o]+1)}return n},e.getMinimumCount=function(e){for(var t=0,n=0;n<6;n++)t+=e[n];return t||0},e.isDigit=function(e){return e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)},e.isExtendedASCII=function(e){return e>=128&&e<=255},e.isNativeC40=function(e){return e===" ".charCodeAt(0)||e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)||e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)},e.isNativeText=function(e){return e===" ".charCodeAt(0)||e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)||e>="a".charCodeAt(0)&&e<="z".charCodeAt(0)},e.isNativeX12=function(e){return this.isX12TermSep(e)||e===" ".charCodeAt(0)||e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)||e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)},e.isX12TermSep=function(e){return 13===e||e==="*".charCodeAt(0)||e===">".charCodeAt(0)},e.isNativeEDIFACT=function(e){return e>=" ".charCodeAt(0)&&e<="^".charCodeAt(0)},e.isSpecialB256=function(e){return!1},e.determineConsecutiveDigitCount=function(e,t){void 0===t&&(t=0);for(var n=e.length,r=t;r=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:e+(e<0?-.5:.5)|0},e.distance=function(e,t,n,r){var o=e-n,i=t-r;return Math.sqrt(o*o+i*i)},e.sum=function(e){for(var t=0,n=0,r=e.length;n!==r;n++){t+=e[n]}return t},e}();t.a=r},function(e,t,n){var r=n(84),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),i(o,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(73))},function(e,t){e.exports=!1},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n(742)),o=v(n(102)),i=v(n(153)),a=v(n(100)),s=v(n(103)),c=v(n(0)),u=v(n(4)),l=v(n(14)),f=v(n(1392)),h=n(1393),d=v(n(1397)),p=v(n(1398)),A=v(n(1399)),g=v(n(1400));function v(e){return e&&e.__esModule?e:{default:e}}var m=function(e){function t(e){(0,o.default)(this,t);var n=(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e));return n.componentWillUnmount=function(){g.default.removeListenable(n.eventToken)},n.handleGlobalKeydown=function(e){return n.props.closeOnEscape&&27==e.keyCode&&(e.stopPropagation(),n.onClose()),!1},n.onClose=function(){n.props.onClose&&n.props.onClose()},n.onMinimize=function(){n.setState({isMinimized:!0,isMaximized:!1})},n.onMaximize=function(){n.setState({isMinimized:!1,isMaximized:!0})},n.onRestore=function(){n.setState({isMinimized:!1,isMaximized:!1})},n.onResize=function(e,t){t.element;var r=t.size;n.setState({width:r.width,height:r.height})},n.getDialogTitle=function(){return c.default.createElement(d.default,{title:n.props.title,hasCloseIcon:n.props.hasCloseIcon,allowMinimize:n.props.allowMinimize,allowMaximize:n.props.allowMaximize,isMinimized:n.state.isMinimized,isMaximized:n.state.isMaximized,onMinimize:n.onMinimize,onMaximize:n.onMaximize,onRestore:n.onRestore,onClose:n.onClose})},n.state={height:e.height,width:e.width,isMinimized:!1,isMaximized:!1},n}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentWillMount",value:function(){this.eventToken=g.default.addListenable([["keydown",this.handleGlobalKeydown]])}},{key:"render",value:function(){var e=this.state,t=e.height,n=e.width,r=e.isMinimized,o=e.isMaximized,i=this.props,a=i.modal,s=i.isDraggable,u=i.isResizable,d=i.buttons,g=i.children,v=i.position,m=v.x,y=void 0===m?-n/2:m,b=v.y,w=void 0===b?-t/2:b,_=c.default.createElement("div",{style:{height:t,width:n,transform:"translate("+y+"px, "+w+"px)"},className:(0,l.default)("ui-dialog",{minimized:r,maximized:o})},this.getDialogTitle(),!r&&c.default.createElement(p.default,null,g),!r&&c.default.createElement(A.default,{buttons:d,onClose:this.onClose}));return r||o||!u||(_=c.default.createElement(h.Resizable,{className:"box",height:t,width:n,onResize:this.onResize},_)),r||o||!1===s||(_=c.default.createElement(f.default,{handle:".ui-dialog-titlebar",bounds:"body",defaultPosition:{x:y,y:w}},_)),c.default.createElement("div",{className:(0,l.default)("ui-dialog-container",{"":a})},_,a&&c.default.createElement("div",{className:"ui-dialog-overlay"}))}}]),t}(c.default.Component);m.propTypes={height:u.default.number,width:u.default.number,modal:u.default.bool,position:u.default.shape({x:u.default.number,y:u.default.number}),hasCloseIcon:u.default.bool,allowMinimize:u.default.bool,allowMaximize:u.default.bool,isResizable:u.default.bool,title:u.default.oneOfType([u.default.string,u.default.element]),closeOnEscape:u.default.bool,onClose:u.default.func,children:u.default.oneOfType([u.default.string,u.default.array,u.default.element]).isRequired,buttons:u.default.oneOfType([u.default.arrayOf(u.default.shape({text:u.default.string,onClick:u.default.func})),u.default.arrayOf(u.default.element)])},m.defaultProps={height:300,width:500,modal:!1,closeOnEscape:!0,isDraggable:!1,isResizable:!1,title:"",hasCloseIcon:!0,allowMinimize:!1,allowMaximize:!1,onClose:null,buttons:null,position:{x:-250,y:-150}},t.default=m},function(e,t,n){"use strict";var r;!function(e){e[e.OTHER=0]="OTHER",e[e.PURE_BARCODE=1]="PURE_BARCODE",e[e.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",e[e.TRY_HARDER=3]="TRY_HARDER",e[e.CHARACTER_SET=4]="CHARACTER_SET",e[e.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",e[e.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",e[e.ENABLE_CODE_39_EXTENDED_MODE=7]="ENABLE_CODE_39_EXTENDED_MODE",e[e.ASSUME_GS1=8]="ASSUME_GS1",e[e.RETURN_CODABAR_START_END=9]="RETURN_CODABAR_START_END",e[e.NEED_RESULT_POINT_CALLBACK=10]="NEED_RESULT_POINT_CALLBACK",e[e.ALLOWED_EAN_EXTENSIONS=11]="ALLOWED_EAN_EXTENSIONS"}(r||(r={})),t.a=r},function(e,t,n){"use strict";var r=n(65),o=n(50),i=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function e(){}return e.prototype.PDF417Common=function(){},e.getBitCountSum=function(e){return o.a.sum(e)},e.toIntArray=function(t){var n,r;if(null==t||!t.length)return e.EMPTY_INT_ARRAY;var o=new Int32Array(t.length),a=0;try{for(var s=i(t),c=s.next();!c.done;c=s.next()){var u=c.value;o[a++]=u}}catch(l){n={error:l}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return o},e.getCodeword=function(t){var n=r.a.binarySearch(e.SYMBOL_TABLE,262143&t);return n<0?-1:(e.CODEWORD_TABLE[n]-1)%e.NUMBER_OF_CODEWORDS},e.NUMBER_OF_CODEWORDS=929,e.MAX_CODEWORDS_IN_BARCODE=e.NUMBER_OF_CODEWORDS-1,e.MIN_ROWS_IN_BARCODE=3,e.MAX_ROWS_IN_BARCODE=90,e.MODULES_IN_CODEWORD=17,e.MODULES_IN_STOP_PATTERN=18,e.BARS_IN_MODULE=8,e.EMPTY_INT_ARRAY=new Int32Array([]),e.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]),e.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]),e}();t.a=a},function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,s,c=a(e),u=1;u0){var n=new Array(t.length+e.length);r.a.arraycopy(t,0,n,0,t.length),r.a.arraycopy(e,0,n,t.length,e.length),this.resultPoints=n}},e.prototype.getTimestamp=function(){return this.timestamp},e.prototype.toString=function(){return this.text},e}();t.a=o},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t,n){var r=n(39),o=n(462),i=n(75),a=n(92),s=n(285),c=n(586),u=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,l,f){var h,d,p,A,g,v,m,y=a(t,n,l?2:1);if(f)h=e;else{if("function"!=typeof(d=s(e)))throw TypeError("Target is not iterable");if(o(d)){for(p=0,A=i(e.length);A>p;p++)if((g=l?y(r(m=e[p])[0],m[1]):y(e[p]))&&g instanceof u)return g;return new u(!1)}h=d.call(e)}for(v=h.next;!(m=v.call(h)).done;)if("object"==typeof(g=c(h,y,m.value,l))&&g&&g instanceof u)return g;return new u(!1)}).stop=function(e){return new u(!0,e)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){"use strict";var r=n(49),o=n(27),i=n(268),a=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(e){function t(t,n){void 0===t&&(t=void 0),void 0===n&&(n=void 0);var r=e.call(this,n)||this;return r.index=t,r.message=n,r}return a(t,e),t.kind="ArrayIndexOutOfBoundsException",t}(i.a),c=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(){function e(){}return e.fill=function(e,t){for(var n=0,r=e.length;nn)throw new o.a("fromIndex("+t+") > toIndex("+n+")");if(t<0)throw new s(t);if(n>e)throw new s(n)},e.asList=function(){for(var e=[],t=0;t>1,s=r(n,t[a]);if(s>0)o=a+1;else{if(!(s<0))return a;i=a-1}}return-o-1},e.numberComparator=function(e,t){return e-t},e}();t.a=u},function(e,t,n){"use strict";var r=n(78),o=n(56),i=n(80),a=n(32),s=n(17),c=function(){function e(){}return e.prototype.decode=function(e,t){try{return this.doDecode(e,t)}catch(d){if(t&&!0===t.get(o.a.TRY_HARDER)&&e.isRotateSupported()){var n=e.rotateCounterClockwise(),r=this.doDecode(n,t),c=r.getResultMetadata(),u=270;null!==c&&!0===c.get(i.a.ORIENTATION)&&(u+=c.get(i.a.ORIENTATION)%360),r.putMetadata(i.a.ORIENTATION,u);var l=r.getResultPoints();if(null!==l)for(var f=n.getHeight(),h=0;h>(f?8:5));n=f?u:15;for(var d=Math.trunc(u/2),p=0;p=u)break;try{l=e.getBlackRow(g,l)}catch(w){continue}for(var v=function(e){if(1===e&&(l.reverse(),t&&!0===t.get(o.a.NEED_RESULT_POINT_CALLBACK))){var n=new Map;t.forEach((function(e,t){return n.set(t,e)})),n.delete(o.a.NEED_RESULT_POINT_CALLBACK),t=n}try{var r=m.decodeRow(g,l,t);if(1===e){r.putMetadata(i.a.ORIENTATION,180);var s=r.getResultPoints();null!==s&&(s[0]=new a.a(c-s[0].getX()-1,s[0].getY()),s[1]=new a.a(c-s[1].getX()-1,s[1].getY()))}return{value:r}}catch(u){}},m=this,y=0;y<2;y++){var b=v(y);if("object"===typeof b)return b.value}}throw new s.a},e.recordPattern=function(e,t,n){for(var r=n.length,o=0;o=i)throw new s.a;for(var a=!e.get(t),c=0,u=t;u0&&o>=0;)t.get(--n)!==i&&(o--,i=!i);if(o>=0)throw new s.a;e.recordPattern(t,n+1,r)},e.patternMatchVariance=function(e,t,n){for(var r=e.length,o=0,i=0,a=0;af?l-f:f-l;if(h>n)return Number.POSITIVE_INFINITY;c+=h}return c/o},e}();t.a=c},function(e,t,n){"use strict";function r(e,t){void 0===t&&(t=e.constructor);var n=Error.captureStackTrace;n&&n(e,t)}var o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(t,n){var o=this.constructor,i=e.call(this,t,n)||this;return Object.defineProperty(i,"name",{value:o.name,enumerable:!1,configurable:!0}),function(e,t){var n=Object.setPrototypeOf;n?n(e,t):e.__proto__=t}(i,o.prototype),r(i),i}return o(t,e),t}(Error);var a=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(e){function t(t){void 0===t&&(t=void 0);var n=e.call(this,t)||this;return n.message=t,n}return a(t,e),t.prototype.getKind=function(){return this.constructor.kind},t.kind="Exception",t}(i);t.a=s},function(e,t,n){"use strict";var r=n(67),o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.getChecksumInstance=function(){return new t},t.kind="ChecksumException",t}(r.a);t.a=i},function(e,t,n){var r=n(52),o=n(458),i=n(88),a=n(279),s=n(463),c=n(585),u=o("wks"),l=r.Symbol,f=c?l:l&&l.withoutSetter||a;e.exports=function(e){return i(u,e)||(s&&i(l,e)?u[e]=l[e]:u[e]=f("Symbol."+e)),u[e]}},function(e,t,n){"use strict";var r,o=n(470),i=n(74),a=n(52),s=n(62),c=n(88),u=n(286),l=n(119),f=n(115),h=n(82).f,d=n(142),p=n(204),A=n(69),g=n(279),v=a.Int8Array,m=v&&v.prototype,y=a.Uint8ClampedArray,b=y&&y.prototype,w=v&&d(v),_=m&&d(m),M=Object.prototype,E=M.isPrototypeOf,C=A("toStringTag"),S=g("TYPED_ARRAY_TAG"),O=o&&!!p&&"Opera"!==u(a.opera),B=!1,T={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N=function(e){return s(e)&&c(T,u(e))};for(r in T)a[r]||(O=!1);if((!O||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},O))for(r in T)a[r]&&p(a[r],w);if((!O||!_||_===M)&&(_=w.prototype,O))for(r in T)a[r]&&p(a[r].prototype,_);if(O&&d(b)!==_&&p(b,_),i&&!c(_,C))for(r in B=!0,h(_,C,{get:function(){return s(this)?this[S]:void 0}}),T)a[r]&&l(a[r],S,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_TAG:B&&S,aTypedArray:function(e){if(N(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(p){if(E.call(w,e))return e}else for(var t in T)if(c(T,r)){var n=a[t];if(n&&(e===n||E.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(i){if(n)for(var r in T){var o=a[r];o&&c(o.prototype,e)&&delete o.prototype[e]}_[e]&&!n||f(_,e,n?t:O&&m[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(i){if(p){if(n)for(r in T)(o=a[r])&&c(o,e)&&delete o[e];if(w[e]&&!n)return;try{return f(w,e,n?t:O&&v[e]||t)}catch(s){}}for(r in T)!(o=a[r])||o[e]&&!n||f(o,e,t)}},isView:function(e){var t=u(e);return"DataView"===t||c(T,t)},isTypedArray:N,TypedArray:w,TypedArrayPrototype:_}},function(e,t,n){"use strict";var r,o=n(27);!function(e){e[e.TERMINATOR=0]="TERMINATOR",e[e.NUMERIC=1]="NUMERIC",e[e.ALPHANUMERIC=2]="ALPHANUMERIC",e[e.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",e[e.BYTE=4]="BYTE",e[e.ECI=5]="ECI",e[e.KANJI=6]="KANJI",e[e.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",e[e.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",e[e.HANZI=9]="HANZI"}(r||(r={}));var i=function(){function e(t,n,r,o){this.value=t,this.stringValue=n,this.characterCountBitsForVersions=r,this.bits=o,e.FOR_BITS.set(o,this),e.FOR_VALUE.set(t,this)}return e.forBits=function(t){var n=e.FOR_BITS.get(t);if(void 0===n)throw new o.a;return n},e.prototype.getCharacterCountBits=function(e){var t,n=e.getVersionNumber();return t=n<=9?0:n<=26?1:2,this.characterCountBitsForVersions[t]},e.prototype.getValue=function(){return this.value},e.prototype.getBits=function(){return this.bits},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.value===n.value},e.prototype.toString=function(){return this.stringValue},e.FOR_BITS=new Map,e.FOR_VALUE=new Map,e.TERMINATOR=new e(r.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),e.NUMERIC=new e(r.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),e.ALPHANUMERIC=new e(r.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),e.STRUCTURED_APPEND=new e(r.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),e.BYTE=new e(r.BYTE,"BYTE",Int32Array.from([8,16,16]),4),e.ECI=new e(r.ECI,"ECI",Int32Array.from([0,0,0]),7),e.KANJI=new e(r.KANJI,"KANJI",Int32Array.from([8,10,12]),8),e.FNC1_FIRST_POSITION=new e(r.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),e.FNC1_SECOND_POSITION=new e(r.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),e.HANZI=new e(r.HANZI,"HANZI",Int32Array.from([8,10,12]),13),e}();t.a=i},function(e,t,n){"use strict";var r=n(67),o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="WriterException",t}(r.a);t.a=i},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(43);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(134),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";var r=n(78),o=n(49),i=n(65),a=n(35),s=n(27),c=function(){function e(e,t,n,r){if(this.width=e,this.height=t,this.rowSize=n,this.bits=r,void 0!==t&&null!==t||(t=e),this.height=t,e<1||t<1)throw new s.a("Both dimensions must be greater than 0");void 0!==n&&null!==n||(n=Math.floor((e+31)/32)),this.rowSize=n,void 0!==r&&null!==r||(this.bits=new Int32Array(this.rowSize*this.height))}return e.parseFromBooleanArray=function(t){for(var n=t.length,r=t[0].length,o=new e(r,n),i=0;ia){if(-1===c)c=i-a;else if(i-a!==c)throw new s.a("row lengths do not match");a=i,u++}l++}else if(t.substring(l,l+n.length)===n)l+=n.length,o[i]=!0,i++;else{if(t.substring(l,l+r.length)!==r)throw new s.a("illegal character encountered: "+t.substring(l));l+=r.length,o[i]=!1,i++}if(i>a){if(-1===c)c=i-a;else if(i-a!==c)throw new s.a("row lengths do not match");u++}for(var f=new e(c,u),h=0;h>>(31&e)&1)},e.prototype.set=function(e,t){var n=t*this.rowSize+Math.floor(e/32);this.bits[n]|=1<<(31&e)&4294967295},e.prototype.unset=function(e,t){var n=t*this.rowSize+Math.floor(e/32);this.bits[n]&=~(1<<(31&e)&4294967295)},e.prototype.flip=function(e,t){var n=t*this.rowSize+Math.floor(e/32);this.bits[n]^=1<<(31&e)&4294967295},e.prototype.xor=function(e){if(this.width!==e.getWidth()||this.height!==e.getHeight()||this.rowSize!==e.getRowSize())throw new s.a("input matrix dimensions do not match");for(var t=new r.a(Math.floor(this.width/32)+1),n=this.rowSize,o=this.bits,i=0,a=this.height;ithis.height||o>this.width)throw new s.a("The region must fit inside the matrix");for(var a=this.rowSize,c=this.bits,u=t;us&&(s=c),32*ua){for(f=31;l>>>f===0;)f--;32*u+f>a&&(a=32*u+f)}}}return a=0&&0===t[n];)n--;if(n<0)return null;for(var r=Math.floor(n/e),o=32*Math.floor(n%e),i=t[n],a=31;i>>>a===0;)a--;return o+=a,Int32Array.from([o,r])},e.prototype.getWidth=function(){return this.width},e.prototype.getHeight=function(){return this.height},e.prototype.getRowSize=function(){return this.rowSize},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.width===n.width&&this.height===n.height&&this.rowSize===n.rowSize&&i.a.equals(this.bits,n.bits)},e.prototype.hashCode=function(){var e=this.width;return e=31*(e=31*(e=31*(e=31*e+this.width)+this.height)+this.rowSize)+i.a.hashCode(this.bits)},e.prototype.toString=function(e,t,n){return void 0===e&&(e="X "),void 0===t&&(t=" "),void 0===n&&(n="\n"),this.buildToString(e,t,n)},e.prototype.buildToString=function(e,t,n){for(var r=new a.a,o=0,i=this.height;o32*this.bits.length){var n=e.makeArray(t);a.a.arraycopy(this.bits,0,n,0,this.bits.length),this.bits=n}},e.prototype.get=function(e){return 0!==(this.bits[Math.floor(e/32)]&1<<(31&e))},e.prototype.set=function(e){this.bits[Math.floor(e/32)]|=1<<(31&e)},e.prototype.flip=function(e){this.bits[Math.floor(e/32)]^=1<<(31&e)},e.prototype.getNextSet=function(e){var t=this.size;if(e>=t)return t;var n=this.bits,r=Math.floor(e/32),o=n[r];o&=~((1<<(31&e))-1);for(var a=n.length;0===o;){if(++r===a)return t;o=n[r]}var s=32*r+i.a.numberOfTrailingZeros(o);return s>t?t:s},e.prototype.getNextUnset=function(e){var t=this.size;if(e>=t)return t;var n=this.bits,r=Math.floor(e/32),o=~n[r];o&=~((1<<(31&e))-1);for(var a=n.length;0===o;){if(++r===a)return t;o=~n[r]}var s=32*r+i.a.numberOfTrailingZeros(o);return s>t?t:s},e.prototype.setBulk=function(e,t){this.bits[Math.floor(e/32)]=t},e.prototype.setRange=function(e,t){if(tthis.size)throw new r.a;if(t!==e){t--;for(var n=Math.floor(e/32),o=Math.floor(t/32),i=this.bits,a=n;a<=o;a++){var s=(2<<(an?0:31&e));i[a]|=s}}},e.prototype.clear=function(){for(var e=this.bits.length,t=this.bits,n=0;nthis.size)throw new r.a;if(t===e)return!0;t--;for(var o=Math.floor(e/32),i=Math.floor(t/32),a=this.bits,s=o;s<=i;s++){var c=(2<<(so?0:31&e))&4294967295;if((a[s]&c)!==(n?c:0))return!1}return!0},e.prototype.appendBit=function(e){this.ensureCapacity(this.size+1),e&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++},e.prototype.appendBits=function(e,t){if(t<0||t>32)throw new r.a("Num bits must be between 0 and 32");this.ensureCapacity(this.size+t);for(var n=t;n>0;n--)this.appendBit(1===(e>>n-1&1))},e.prototype.appendBitArray=function(e){var t=e.size;this.ensureCapacity(this.size+t);for(var n=0;n>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,e[t-o]=i}if(this.size!==32*n){var a=32*n-this.size,s=e[0]>>>a;for(o=1;o>>a}e[n-1]=s}this.bits=e},e.makeArray=function(e){return new Int32Array(Math.floor((e+31)/32))},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.size===n.size&&o.a.equals(this.bits,n.bits)},e.prototype.hashCode=function(){return 31*this.size+o.a.hashCode(this.bits)},e.prototype.toString=function(){for(var e="",t=0,n=this.size;t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(e){e[e.Cp437=0]="Cp437",e[e.ISO8859_1=1]="ISO8859_1",e[e.ISO8859_2=2]="ISO8859_2",e[e.ISO8859_3=3]="ISO8859_3",e[e.ISO8859_4=4]="ISO8859_4",e[e.ISO8859_5=5]="ISO8859_5",e[e.ISO8859_6=6]="ISO8859_6",e[e.ISO8859_7=7]="ISO8859_7",e[e.ISO8859_8=8]="ISO8859_8",e[e.ISO8859_9=9]="ISO8859_9",e[e.ISO8859_10=10]="ISO8859_10",e[e.ISO8859_11=11]="ISO8859_11",e[e.ISO8859_13=12]="ISO8859_13",e[e.ISO8859_14=13]="ISO8859_14",e[e.ISO8859_15=14]="ISO8859_15",e[e.ISO8859_16=15]="ISO8859_16",e[e.SJIS=16]="SJIS",e[e.Cp1250=17]="Cp1250",e[e.Cp1251=18]="Cp1251",e[e.Cp1252=19]="Cp1252",e[e.Cp1256=20]="Cp1256",e[e.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",e[e.UTF8=22]="UTF8",e[e.ASCII=23]="ASCII",e[e.Big5=24]="Big5",e[e.GB18030=25]="GB18030",e[e.EUC_KR=26]="EUC_KR"}(r||(r={}));var a=function(){function e(t,n,r){for(var o,a,s=[],c=3;c=900)throw new o.a("incorect value");var n=e.VALUES_TO_ECI.get(t);if(void 0===n)throw new o.a("incorect value");return n},e.getCharacterSetECIByName=function(t){var n=e.NAME_TO_ECI.get(t);if(void 0===n)throw new o.a("incorect value");return n},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.getName()===n.getName()},e.VALUE_IDENTIFIER_TO_ECI=new Map,e.VALUES_TO_ECI=new Map,e.NAME_TO_ECI=new Map,e.Cp437=new e(r.Cp437,Int32Array.from([0,2]),"Cp437"),e.ISO8859_1=new e(r.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),e.ISO8859_2=new e(r.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),e.ISO8859_3=new e(r.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),e.ISO8859_4=new e(r.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),e.ISO8859_5=new e(r.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),e.ISO8859_6=new e(r.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),e.ISO8859_7=new e(r.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),e.ISO8859_8=new e(r.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),e.ISO8859_9=new e(r.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),e.ISO8859_10=new e(r.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),e.ISO8859_11=new e(r.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),e.ISO8859_13=new e(r.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),e.ISO8859_14=new e(r.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),e.ISO8859_15=new e(r.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),e.ISO8859_16=new e(r.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),e.SJIS=new e(r.SJIS,20,"SJIS","Shift_JIS"),e.Cp1250=new e(r.Cp1250,21,"Cp1250","windows-1250"),e.Cp1251=new e(r.Cp1251,22,"Cp1251","windows-1251"),e.Cp1252=new e(r.Cp1252,23,"Cp1252","windows-1252"),e.Cp1256=new e(r.Cp1256,24,"Cp1256","windows-1256"),e.UnicodeBigUnmarked=new e(r.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),e.UTF8=new e(r.UTF8,26,"UTF8","UTF-8"),e.ASCII=new e(r.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),e.Big5=new e(r.Big5,28,"Big5"),e.GB18030=new e(r.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),e.EUC_KR=new e(r.EUC_KR,30,"EUC_KR","EUC-KR"),e}();t.a=a},function(e,t,n){"use strict";var r;!function(e){e[e.OTHER=0]="OTHER",e[e.ORIENTATION=1]="ORIENTATION",e[e.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",e[e.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",e[e.ISSUE_NUMBER=4]="ISSUE_NUMBER",e[e.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",e[e.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",e[e.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",e[e.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",e[e.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",e[e.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY"}(r||(r={})),t.a=r},function(e,t,n){var r=n(211),o=n(166),i=n(1423),a=n(76);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},function(e,t,n){var r=n(74),o=n(579),i=n(39),a=n(147),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";(function(e){var r=n(1165),o=n(1166),i=n(661);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(c.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(r)return U(e).length;t=(""+t).toLowerCase(),r=!0}}function A(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return B(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,o){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:m(e,t,n,r,o);if("number"===typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):m(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,r,o){var i,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=n;is&&(n=s-c),i=n;i>=0;i--){for(var f=!0,h=0;ho&&(r=o):r=o;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function C(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o239?4:u>223?3:u>191?2:1;if(o+f<=n)switch(f){case 1:u<128&&(l=u);break;case 2:128===(192&(i=e[o+1]))&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=e[o+1],a=e[o+2],128===(192&i)&&128===(192&a)&&(c=(15&u)<<12|(63&i)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128===(192&i)&&128===(192&a)&&128===(192&s)&&(c=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},c.prototype.compare=function(e,t,n,r,o){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),u=this.slice(r,o),l=e.slice(t,n),f=0;fo)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return _(this,e,t,n);case"base64":return M(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;or)&&(n=r);for(var o="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function k(e,t,n,r,o,i){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function I(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function P(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function L(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,r,i){return i||L(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function D(e,t,n,r,i){return i||L(e,0,n,8),o.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(o*=256);)r+=this[e+--t]*o;return r},c.prototype.readUInt8=function(e,t){return t||x(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||x(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||x(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||x(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||x(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},c.prototype.readInt8=function(e,t){return t||x(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||x(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||x(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||x(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||x(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||k(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||k(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||k(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||k(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||k(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):P(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||k(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):P(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);k(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);k(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||k(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||k(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||k(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||k(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):P(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||k(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):P(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return D(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(i=t;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function j(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(F,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function H(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}}).call(this,n(73))},function(e,t,n){var r,o;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(47),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(2),i=n(3),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.startPrint=function(e,n){var r=t.props.removeAfterPrint;setTimeout((function(){if(e.contentWindow.focus(),e.contentWindow.print(),n&&n(),r){var t=document.getElementById("printWindow");t&&document.body.removeChild(t)}}),500)},t.triggerPrint=function(e){var n=t.props,r=n.onAfterPrint,o=n.onBeforePrint,i=n.onPrintError;if(o){var a=o();a&&"function"==typeof a.then?a.then((function(){t.startPrint(e,r)})).catch((function(e){i&&i("onBeforePrint",e)})):t.startPrint(e,r)}else t.startPrint(e,r)},t.handleClick=function(){var e=t.props,n=e.onBeforeGetContent,r=e.onPrintError;if(n){var o=n();o&&"function"==typeof o.then?o.then(t.handlePrint).catch((function(e){r&&r("onBeforeGetContent",e)})):t.handlePrint()}else t.handlePrint()},t.handlePrint=function(){var e=t.props,n=e.bodyClass,r=void 0===n?"":n,o=e.content,a=e.copyStyles,s=void 0===a||a,c=e.pageStyle,u=e.suppressErrors,l=o();if(void 0!==l)if(null!==l){var f=document.createElement("iframe");f.style.position="absolute",f.style.top="-1000px",f.style.left="-1000px",f.id="printWindow",f.title="Print Window";var h=i.findDOMNode(l),d=document.querySelectorAll("link[rel='stylesheet'], img");t.linkTotal=d.length||0,t.linksLoaded=[],t.linksErrored=[];var p=function(e,n){n?t.linksLoaded.push(e):(u||console.error('"react-to-print" was unable to load a link. It may be invalid. "react-to-print" will continue attempting to print the page. The link the errored was:',e),t.linksErrored.push(e)),t.linksLoaded.length+t.linksErrored.length===t.linkTotal&&t.triggerPrint(f)};f.onload=function(){window.navigator&&window.navigator.userAgent.indexOf("Trident/7.0")>-1&&(f.onload=null);var e=f.contentDocument||f.contentWindow.document,n=h.querySelectorAll("canvas");if(e){e.open(),e.write(h.outerHTML),e.close();var o=void 0===c?"@page { size: auto; margin: 0mm; } @media print { body { -webkit-print-color-adjust: exact; } }":c,i=e.createElement("style");i.appendChild(e.createTextNode(o)),e.head.appendChild(i),r.length&&e.body.classList.add(r);for(var a=e.querySelectorAll("canvas"),u=0,l=a.length;u tag with an empty "href" attribute. In addition to being invalid HTML, this can cause problems in many browsers, and so the was not loaded. The is:',v),p(v,!0)}}0!==t.linkTotal&&!1!==s||t.triggerPrint(f)};var A=document.getElementById("printWindow");A&&document.body.removeChild(A),document.body.appendChild(f)}else u||console.error('There is nothing to print because the "content" prop returned "null". Please ensure "content" is renderable before allowing "react-to-print" to be called.');else u||console.error('Refs are not available for stateless components. For "react-to-print" to work only Class based components can be printed')},t}return r.__extends(t,e),t.prototype.render=function(){var e=this.props.trigger;return o.cloneElement(e(),{onClick:this.handleClick})},t}(o.Component);t.default=a},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return o})),n.d(t,"__assign",(function(){return i})),n.d(t,"__rest",(function(){return a})),n.d(t,"__decorate",(function(){return s})),n.d(t,"__param",(function(){return c})),n.d(t,"__metadata",(function(){return u})),n.d(t,"__awaiter",(function(){return l})),n.d(t,"__generator",(function(){return f})),n.d(t,"__exportStar",(function(){return h})),n.d(t,"__values",(function(){return d})),n.d(t,"__read",(function(){return p})),n.d(t,"__spread",(function(){return A})),n.d(t,"__await",(function(){return g})),n.d(t,"__asyncGenerator",(function(){return v})),n.d(t,"__asyncDelegator",(function(){return m})),n.d(t,"__asyncValues",(function(){return y})),n.d(t,"__makeTemplateObject",(function(){return b})),n.d(t,"__importStar",(function(){return w})),n.d(t,"__importDefault",(function(){return _}));var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){return function(n,r){t(n,r,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function f(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=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++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).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]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function p(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function A(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof g?Promise.resolve(n.value.v).then(c,u):l(i[0][2],n)}catch(e){l(i[0][3],e)}var n}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function m(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:g(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function y(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=d(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}function b(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function _(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=r},function(e,t){e.exports=o}]))},function(e,t,n){"use strict";var r=n(132),o=n(229),i=n(41),a=n(27),s=n(252),c=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e){function t(t,n,o){var i=e.call(this)||this;i.primitive=t,i.size=n,i.generatorBase=o;for(var a=new Int32Array(n),s=1,c=0;c=n&&(s^=t,s&=n-1);i.expTable=a;var u=new Int32Array(n);for(c=0;c=0&&(r=e.isRange(s,a,!1))}return n},t.checkChecksum=function(e){return t.checkStandardUPCEANChecksum(e)},t.checkStandardUPCEANChecksum=function(e){var n=e.length;if(0===n)return!1;var r=parseInt(e.charAt(n-1),10);return t.getStandardUPCEANChecksum(e.substring(0,n-1))===r},t.getStandardUPCEANChecksum=function(e){for(var t=e.length,n=0,r=t-1;r>=0;r-=2){if((o=e.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new l.a;n+=o}n*=3;for(r=t-2;r>=0;r-=2){var o;if((o=e.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new l.a;n+=o}return(1e3-n)%10},t.decodeEnd=function(e,n){return t.findGuardPattern(e,n,!1,t.START_END_PATTERN,new Int32Array(t.START_END_PATTERN.length).fill(0))},t.findGuardPatternWithoutCounters=function(e,t,n,r){return this.findGuardPattern(e,t,n,r,new Int32Array(r.length))},t.findGuardPattern=function(e,n,r,o,i){for(var a=e.getSize(),s=0,l=n=r?e.getNextUnset(n):e.getNextSet(n),f=o.length,h=r,d=n;d=0)return a;throw new u.a},t.MAX_AVG_VARIANCE=.48,t.MAX_INDIVIDUAL_VARIANCE=.7,t.START_END_PATTERN=Int32Array.from([1,1,1]),t.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),t.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),t.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])],t}(c.a),d=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},p=function(){function e(){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 e.prototype.decodeRow=function(t,n,o){var a=this.decodeRowStringBuffer,c=this.decodeMiddle(n,o,a),u=a.toString(),l=e.parseExtensionString(u),f=[new s.a((o[0]+o[1])/2,t),new s.a(c,t)],h=new i.a(u,null,0,f,r.a.UPC_EAN_EXTENSION,(new Date).getTime());return null!=l&&h.putAllMetadata(l),h},e.prototype.decodeMiddle=function(t,n,r){var o,i,a=this.decodeMiddleCounters;a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=t.getSize(),c=n[1],l=0,f=0;f<5&&c=10&&(l|=1<<4-f),4!==f&&(c=t.getNextSet(c),c=t.getNextUnset(c))}if(5!==r.length)throw new u.a;var v=this.determineCheckDigit(l);if(e.extensionChecksum(r.toString())!==v)throw new u.a;return c},e.extensionChecksum=function(e){for(var t=e.length,n=0,r=t-2;r>=0;r-=2)n+=e.charAt(r).charCodeAt(0)-"0".charCodeAt(0);n*=3;for(r=t-1;r>=0;r-=2)n+=e.charAt(r).charCodeAt(0)-"0".charCodeAt(0);return(n*=3)%10},e.prototype.determineCheckDigit=function(e){for(var t=0;t<10;t++)if(e===this.CHECK_DIGIT_ENCODINGS[t])return t;throw new u.a},e.parseExtensionString=function(t){if(5!==t.length)return null;var n=e.parseExtension5String(t);return null==n?null:new Map([[a.a.SUGGESTED_PRICE,n]])},e.parseExtension5String=function(e){var t;switch(e.charAt(0)){case"0":t="\xa3";break;case"5":t="$";break;case"9":switch(e){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}t="";break;default:t=""}var n=parseInt(e.substring(1)),r=n%100;return t+(n/100).toString()+"."+(r<10?"0"+r:r.toString())},e}(),A=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(){function e(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return e.prototype.decodeRow=function(t,n,o){var a=this.decodeRowStringBuffer,c=this.decodeMiddle(n,o,a),u=a.toString(),l=e.parseExtensionString(u),f=[new s.a((o[0]+o[1])/2,t),new s.a(c,t)],h=new i.a(u,null,0,f,r.a.UPC_EAN_EXTENSION,(new Date).getTime());return null!=l&&h.putAllMetadata(l),h},e.prototype.decodeMiddle=function(e,t,n){var r,o,i=this.decodeMiddleCounters;i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var a=e.getSize(),s=t[1],c=0,l=0;l<2&&s=10&&(c|=1<<1-l),1!==l&&(s=e.getNextSet(s),s=e.getNextUnset(s))}if(2!==n.length)throw new u.a;if(parseInt(n.toString())%4!==c)throw new u.a;return s},e.parseExtensionString=function(e){return 2!==e.length?null:new Map([[a.a.ISSUE_NUMBER,parseInt(e)]])},e}(),v=function(){function e(){}return e.decodeRow=function(e,t,n){var r=h.findGuardPattern(t,n,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new p).decodeRow(e,t,r)}catch(o){return(new g).decodeRow(e,t,r)}},e.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),e}(),m=n(68),y=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(e){function t(){var n=e.call(this)||this;n.decodeRowStringBuffer="",t.L_AND_G_PATTERNS=t.L_PATTERNS.map((function(e){return Int32Array.from(e)}));for(var r=10;r<20;r++){for(var o=t.L_PATTERNS[r-10],i=new Int32Array(o.length),a=0;a=n.getSize()||!n.isRange(_,M,!1))throw new u.a;var E=g.toString();if(E.length<8)throw new l.a;if(!t.checkChecksum(E))throw new m.a;var C=(f[1]+f[0])/2,S=(b[1]+b[0])/2,O=this.getBarcodeFormat(),B=[new s.a(C,e),new s.a(S,e)],T=new i.a(E,null,0,B,O,(new Date).getTime()),N=0;try{var x=v.decodeRow(e,n,b[1]);T.putMetadata(a.a.UPC_EAN_EXTENSION,x.getText()),T.putAllMetadata(x.getResultMetadata()),T.addResultPoints(x.getResultPoints()),N=x.getText().length}catch(L){}var k=null==c?null:c.get(o.a.ALLOWED_EAN_EXTENSIONS);if(null!=k){var I=!1;for(var P in k)if(N.toString()===P){I=!0;break}if(!I)throw new u.a}return O===r.a.EAN_13||r.a.UPC_A,T},t.checkChecksum=function(e){return t.checkStandardUPCEANChecksum(e)},t.checkStandardUPCEANChecksum=function(e){var n=e.length;if(0===n)return!1;var r=parseInt(e.charAt(n-1),10);return t.getStandardUPCEANChecksum(e.substring(0,n-1))===r},t.getStandardUPCEANChecksum=function(e){for(var t=e.length,n=0,r=t-1;r>=0;r-=2){if((o=e.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new l.a;n+=o}n*=3;for(r=t-2;r>=0;r-=2){var o;if((o=e.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new l.a;n+=o}return(1e3-n)%10},t.decodeEnd=function(e,n){return t.findGuardPattern(e,n,!1,t.START_END_PATTERN,new Int32Array(t.START_END_PATTERN.length).fill(0))},t}(h);t.a=b},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(118);e.exports=function(e){return Object(r(e))}},function(e,t,n){e.exports=n(1354)},function(e,t,n){var r=n(583),o=n(52),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(64);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return S})),n.d(t,"d",(function(){return B})),n.d(t,"c",(function(){return A})),n.d(t,"f",(function(){return g})),n.d(t,"e",(function(){return p}));var r=n(140);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r=0;h--){var d=a[h];"."===d?i(a,h):".."===d?(i(a,h),f++):f&&(i(a,h),f--)}if(!u)for(;f--;f)a.unshift("..");!u||""===a[0]||a[0]&&o(a[0])||a.unshift("");var p=a.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var c=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var r=s(t),o=s(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var u=function(e,t){if(!e)throw new Error("Invariant failed")};function l(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function A(e,t,n,o){var i;"string"===typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&c(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"===typeof e?e(t,n):e;"string"===typeof i?"function"===typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=A(e,t,h(),b.location);l.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(b.entries[b.index]=r,f({action:"REPLACE",location:r}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=b.index+e;return t>=0&&t-1:!!l&&r(e,t,n)>-1}},function(e,t,n){"use strict";for(var r=function(e){return null!==e&&!Array.isArray(e)&&"object"===typeof e},o={3:"Cancel",6:"Help",8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",28:"Convert",29:"NonConvert",30:"Accept",31:"ModeChange",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",42:"Print",43:"Execute",44:"PrintScreen",45:"Insert",46:"Delete",48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],91:"OS",93:"ContextMenu",144:"NumLock",145:"ScrollLock",181:"VolumeMute",182:"VolumeDown",183:"VolumeUp",186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"'],224:"Meta",225:"AltGraph",246:"Attn",247:"CrSel",248:"ExSel",249:"EraseEof",250:"Play",251:"ZoomOut"},i=0;i<24;i+=1)o[112+i]="F"+(i+1);for(var a=0;a<26;a+=1){var s=a+65;o[s]=[String.fromCharCode(s+32),String.fromCharCode(s)]}var c={codes:o,getCode:function(e){return r(e)?e.keyCode||e.which||this[e.key]:this[e]},getKey:function(e){var t=r(e);if(t&&e.key)return e.key;var n=o[t?e.keyCode||e.which:e];return Array.isArray(n)&&(n=t?n[e.shiftKey?1:0]:n[0]),n},Cancel:3,Help:6,Backspace:8,Tab:9,Clear:12,Enter:13,Shift:16,Control:17,Alt:18,Pause:19,CapsLock:20,Escape:27,Convert:28,NonConvert:29,Accept:30,ModeChange:31," ":32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Select:41,Print:42,Execute:43,PrintScreen:44,Insert:45,Delete:46,0:48,")":48,1:49,"!":49,2:50,"@":50,3:51,"#":51,4:52,$:52,5:53,"%":53,6:54,"^":54,7:55,"&":55,8:56,"*":56,9:57,"(":57,a:65,A:65,b:66,B:66,c:67,C:67,d:68,D:68,e:69,E:69,f:70,F:70,g:71,G:71,h:72,H:72,i:73,I:73,j:74,J:74,k:75,K:75,l:76,L:76,m:77,M:77,n:78,N:78,o:79,O:79,p:80,P:80,q:81,Q:81,r:82,R:82,s:83,S:83,t:84,T:84,u:85,U:85,v:86,V:86,w:87,W:87,x:88,X:88,y:89,Y:89,z:90,Z:90,OS:91,ContextMenu:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,F16:127,F17:128,F18:129,F19:130,F20:131,F21:132,F22:133,F23:134,F24:135,NumLock:144,ScrollLock:145,VolumeMute:181,VolumeDown:182,VolumeUp:183,";":186,":":186,"=":187,"+":187,",":188,"<":188,"-":189,_:189,".":190,">":190,"/":191,"?":191,"`":192,"~":192,"[":219,"{":219,"\\":220,"|":220,"]":221,"}":221,"'":222,'"':222,Meta:224,AltGraph:225,Attn:246,CrSel:247,ExSel:248,EraseEof:249,Play:250,ZoomOut:251};c.Spacebar=c[" "],c.Digit0=c[0],c.Digit1=c[1],c.Digit2=c[2],c.Digit3=c[3],c.Digit4=c[4],c.Digit5=c[5],c.Digit6=c[6],c.Digit7=c[7],c.Digit8=c[8],c.Digit9=c[9],c.Tilde=c["~"],c.GraveAccent=c["`"],c.ExclamationPoint=c["!"],c.AtSign=c["@"],c.PoundSign=c["#"],c.PercentSign=c["%"],c.Caret=c["^"],c.Ampersand=c["&"],c.PlusSign=c["+"],c.MinusSign=c["-"],c.EqualsSign=c["="],c.DivisionSign=c["/"],c.MultiplicationSign=c["*"],c.Comma=c[","],c.Decimal=c["."],c.Colon=c[":"],c.Semicolon=c[";"],c.Pipe=c["|"],c.BackSlash=c["\\"],c.QuestionMark=c["?"],c.SingleQuote=c["'"],c.DoubleQuote=c['"'],c.LeftCurlyBrace=c["{"],c.RightCurlyBrace=c["}"],c.LeftParenthesis=c["("],c.RightParenthesis=c[")"],c.LeftAngleBracket=c["<"],c.RightAngleBracket=c[">"],c.LeftSquareBracket=c["["],c.RightSquareBracket=c["]"],e.exports=c},function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return E}));var r="persist/REHYDRATE",o="persist/REGISTER",i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(g,["_persist"]);if("persist/PERSIST"===l.type){var y=!1,b=function(t,n){y||(l.rehydrate(e.key,t,n),y=!0)};if(a&&setTimeout((function(){!y&&b(void 0,new Error('redux-persist: persist timed out for persist key "'+e.key+'"'))}),a),p=!1,u||(u=c(e)),v)return s;if("function"!==typeof l.rehydrate||"function"!==typeof l.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return l.register(e.key),i(e).then((function(t){(e.migrate||function(e,t){return Promise.resolve(e)})(t,n).then((function(e){b(e)}),(function(e){b(void 0,e)}))}),(function(e){b(void 0,e)})),d({},t(m,l),{_persist:{version:n,rehydrated:!1}})}if("persist/PURGE"===l.type)return f=!0,l.result(function(e){var t=e.storage,n=""+(void 0!==e.keyPrefix?e.keyPrefix:"persist:")+e.key;return t.removeItem(n,h)}(e)),d({},t(m,l),{_persist:v});if("persist/FLUSH"===l.type)return l.result(u&&u.flush()),d({},t(m,l),{_persist:v});if("persist/PAUSE"===l.type)p=!0;else if(l.type===r){if(f)return d({},m,{_persist:d({},v,{rehydrated:!0})});if(l.key===e.key){var w=t(m,l),_=l.payload,M=!1!==o&&void 0!==_?o(_,s,w,e):w,E=d({},M,{_persist:d({},v,{rehydrated:!0})});return A(E)}}if(!v)return t(s,l);var C=t(m,l);return C===m?s:(C._persist=v,A(C))}}var A=n(16),g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:_,t=arguments[1];switch(t.type){case o:return b({},e,{registry:[].concat(w(e.registry),[t.key])});case r:var n=e.registry.indexOf(t.key),i=[].concat(w(e.registry));return i.splice(n,1),b({},e,{registry:i,bootstrapped:0===i.length});default:return e}};function E(e,t,n){var i=n||!1,a=Object(A.createStore)(M,_,t?t.enhancer:void 0),s=function(e){a.dispatch({type:o,key:e})},c=function(t,n,o){var s={type:r,payload:n,err:o,key:t};e.dispatch(s),a.dispatch(s),i&&u.getState().bootstrapped&&(i(),i=!1)},u=b({},a,{purge:function(){var t=[];return e.dispatch({type:"persist/PURGE",result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:"persist/FLUSH",result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:"persist/PAUSE"})},persist:function(){e.dispatch({type:"persist/PERSIST",register:s,rehydrate:c})}});return u.persist(),u}},function(e,t,n){(function(e){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function o(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function i(e,t,n){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"===typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{a=n(1203).Buffer}catch(E){}function s(e,t,n){for(var r=0,o=Math.min(e.length,n),i=t;i=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function c(e,t,n,r){for(var o=0,i=Math.min(e.length,n),a=t;a=49?s-49+10:s>=17?s-17+10:s}return o}i.isBN=function(e){return e instanceof i||null!==e&&"object"===typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},i.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},i.prototype._initArray=function(e,t,n){if(r("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o=0;o-=3)a=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[i]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,i++);else if("le"===n)for(o=0,i=0;o>>26-s&67108863,(s+=24)>=26&&(s-=26,i++);return this.strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)o=s(e,n,n+6),this.words[r]|=o<>>26-i&4194303,(i+=24)>=26&&(i-=26,r++);n+6!==t&&(o=s(e,t,n+6),this.words[r]|=o<>>26-i&4194303),this.strip()},i.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,o=1;o<=67108863;o*=t)r++;r--,o=o/t|0;for(var i=e.length-n,a=i%r,s=Math.min(i,i-a)+n,u=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var o=0|e.words[0],i=0|t.words[0],a=o*i,s=67108863&a,c=a/67108864|0;n.words[0]=s;for(var u=1;u>>26,f=67108863&c,h=Math.min(u,t.length-1),d=Math.max(0,u-e.length+1);d<=h;d++){var p=u-d|0;l+=(a=(o=0|e.words[p])*(i=0|t.words[d])+f)/67108864|0,f=67108863&a}n.words[u]=0|f,c=0|l}return 0!==c?n.words[u]=0|c:n.length--,n.strip()}i.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var o=0,i=0,a=0;a>>24-o&16777215)||a!==this.length-1?u[6-c.length]+c+n:c+n,(o+=2)>=26&&(o-=26,a--)}for(0!==i&&(n=i.toString(16)+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var h=l[e],d=f[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var A=p.modn(d).toString(e);n=(p=p.idivn(d)).isZero()?A+n:u[h-A.length]+A+n}for(this.isZero()&&(n="0"+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return r("undefined"!==typeof a),this.toArrayLike(a,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,n){var o=this.byteLength(),i=n||Math.max(1,o);r(o<=i,"byte array longer than desired length"),r(i>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===t,u=new e(i),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var o=0;o0&&(this.words[o]=~this.words[o]&67108863>>26-n),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,o=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var o=0,i=0;i>>26;for(;0!==o&&i>>26;if(this.length=n.length,0!==o)this.words[this.length]=o,this.length++;else if(n!==this)for(;ie.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(n=this,r=e):(n=e,r=this);for(var i=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==i&&a>26,this.words[a]=67108863&t;if(0===i&&a>>13,d=0|a[1],p=8191&d,A=d>>>13,g=0|a[2],v=8191&g,m=g>>>13,y=0|a[3],b=8191&y,w=y>>>13,_=0|a[4],M=8191&_,E=_>>>13,C=0|a[5],S=8191&C,O=C>>>13,B=0|a[6],T=8191&B,N=B>>>13,x=0|a[7],k=8191&x,I=x>>>13,P=0|a[8],L=8191&P,R=P>>>13,D=0|a[9],F=8191&D,z=D>>>13,U=0|s[0],j=8191&U,H=U>>>13,W=0|s[1],q=8191&W,Q=W>>>13,X=0|s[2],K=8191&X,V=X>>>13,G=0|s[3],Y=8191&G,J=G>>>13,Z=0|s[4],$=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,oe=0|s[6],ie=8191&oe,ae=oe>>>13,se=0|s[7],ce=8191&se,ue=se>>>13,le=0|s[8],fe=8191&le,he=le>>>13,de=0|s[9],pe=8191&de,Ae=de>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(u+(r=Math.imul(f,j))|0)+((8191&(o=(o=Math.imul(f,H))+Math.imul(h,j)|0))<<13)|0;u=((i=Math.imul(h,H))+(o>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,j),o=(o=Math.imul(p,H))+Math.imul(A,j)|0,i=Math.imul(A,H);var ve=(u+(r=r+Math.imul(f,q)|0)|0)+((8191&(o=(o=o+Math.imul(f,Q)|0)+Math.imul(h,q)|0))<<13)|0;u=((i=i+Math.imul(h,Q)|0)+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,j),o=(o=Math.imul(v,H))+Math.imul(m,j)|0,i=Math.imul(m,H),r=r+Math.imul(p,q)|0,o=(o=o+Math.imul(p,Q)|0)+Math.imul(A,q)|0,i=i+Math.imul(A,Q)|0;var me=(u+(r=r+Math.imul(f,K)|0)|0)+((8191&(o=(o=o+Math.imul(f,V)|0)+Math.imul(h,K)|0))<<13)|0;u=((i=i+Math.imul(h,V)|0)+(o>>>13)|0)+(me>>>26)|0,me&=67108863,r=Math.imul(b,j),o=(o=Math.imul(b,H))+Math.imul(w,j)|0,i=Math.imul(w,H),r=r+Math.imul(v,q)|0,o=(o=o+Math.imul(v,Q)|0)+Math.imul(m,q)|0,i=i+Math.imul(m,Q)|0,r=r+Math.imul(p,K)|0,o=(o=o+Math.imul(p,V)|0)+Math.imul(A,K)|0,i=i+Math.imul(A,V)|0;var ye=(u+(r=r+Math.imul(f,Y)|0)|0)+((8191&(o=(o=o+Math.imul(f,J)|0)+Math.imul(h,Y)|0))<<13)|0;u=((i=i+Math.imul(h,J)|0)+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(M,j),o=(o=Math.imul(M,H))+Math.imul(E,j)|0,i=Math.imul(E,H),r=r+Math.imul(b,q)|0,o=(o=o+Math.imul(b,Q)|0)+Math.imul(w,q)|0,i=i+Math.imul(w,Q)|0,r=r+Math.imul(v,K)|0,o=(o=o+Math.imul(v,V)|0)+Math.imul(m,K)|0,i=i+Math.imul(m,V)|0,r=r+Math.imul(p,Y)|0,o=(o=o+Math.imul(p,J)|0)+Math.imul(A,Y)|0,i=i+Math.imul(A,J)|0;var be=(u+(r=r+Math.imul(f,$)|0)|0)+((8191&(o=(o=o+Math.imul(f,ee)|0)+Math.imul(h,$)|0))<<13)|0;u=((i=i+Math.imul(h,ee)|0)+(o>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(S,j),o=(o=Math.imul(S,H))+Math.imul(O,j)|0,i=Math.imul(O,H),r=r+Math.imul(M,q)|0,o=(o=o+Math.imul(M,Q)|0)+Math.imul(E,q)|0,i=i+Math.imul(E,Q)|0,r=r+Math.imul(b,K)|0,o=(o=o+Math.imul(b,V)|0)+Math.imul(w,K)|0,i=i+Math.imul(w,V)|0,r=r+Math.imul(v,Y)|0,o=(o=o+Math.imul(v,J)|0)+Math.imul(m,Y)|0,i=i+Math.imul(m,J)|0,r=r+Math.imul(p,$)|0,o=(o=o+Math.imul(p,ee)|0)+Math.imul(A,$)|0,i=i+Math.imul(A,ee)|0;var we=(u+(r=r+Math.imul(f,ne)|0)|0)+((8191&(o=(o=o+Math.imul(f,re)|0)+Math.imul(h,ne)|0))<<13)|0;u=((i=i+Math.imul(h,re)|0)+(o>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(T,j),o=(o=Math.imul(T,H))+Math.imul(N,j)|0,i=Math.imul(N,H),r=r+Math.imul(S,q)|0,o=(o=o+Math.imul(S,Q)|0)+Math.imul(O,q)|0,i=i+Math.imul(O,Q)|0,r=r+Math.imul(M,K)|0,o=(o=o+Math.imul(M,V)|0)+Math.imul(E,K)|0,i=i+Math.imul(E,V)|0,r=r+Math.imul(b,Y)|0,o=(o=o+Math.imul(b,J)|0)+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,r=r+Math.imul(v,$)|0,o=(o=o+Math.imul(v,ee)|0)+Math.imul(m,$)|0,i=i+Math.imul(m,ee)|0,r=r+Math.imul(p,ne)|0,o=(o=o+Math.imul(p,re)|0)+Math.imul(A,ne)|0,i=i+Math.imul(A,re)|0;var _e=(u+(r=r+Math.imul(f,ie)|0)|0)+((8191&(o=(o=o+Math.imul(f,ae)|0)+Math.imul(h,ie)|0))<<13)|0;u=((i=i+Math.imul(h,ae)|0)+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(k,j),o=(o=Math.imul(k,H))+Math.imul(I,j)|0,i=Math.imul(I,H),r=r+Math.imul(T,q)|0,o=(o=o+Math.imul(T,Q)|0)+Math.imul(N,q)|0,i=i+Math.imul(N,Q)|0,r=r+Math.imul(S,K)|0,o=(o=o+Math.imul(S,V)|0)+Math.imul(O,K)|0,i=i+Math.imul(O,V)|0,r=r+Math.imul(M,Y)|0,o=(o=o+Math.imul(M,J)|0)+Math.imul(E,Y)|0,i=i+Math.imul(E,J)|0,r=r+Math.imul(b,$)|0,o=(o=o+Math.imul(b,ee)|0)+Math.imul(w,$)|0,i=i+Math.imul(w,ee)|0,r=r+Math.imul(v,ne)|0,o=(o=o+Math.imul(v,re)|0)+Math.imul(m,ne)|0,i=i+Math.imul(m,re)|0,r=r+Math.imul(p,ie)|0,o=(o=o+Math.imul(p,ae)|0)+Math.imul(A,ie)|0,i=i+Math.imul(A,ae)|0;var Me=(u+(r=r+Math.imul(f,ce)|0)|0)+((8191&(o=(o=o+Math.imul(f,ue)|0)+Math.imul(h,ce)|0))<<13)|0;u=((i=i+Math.imul(h,ue)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,j),o=(o=Math.imul(L,H))+Math.imul(R,j)|0,i=Math.imul(R,H),r=r+Math.imul(k,q)|0,o=(o=o+Math.imul(k,Q)|0)+Math.imul(I,q)|0,i=i+Math.imul(I,Q)|0,r=r+Math.imul(T,K)|0,o=(o=o+Math.imul(T,V)|0)+Math.imul(N,K)|0,i=i+Math.imul(N,V)|0,r=r+Math.imul(S,Y)|0,o=(o=o+Math.imul(S,J)|0)+Math.imul(O,Y)|0,i=i+Math.imul(O,J)|0,r=r+Math.imul(M,$)|0,o=(o=o+Math.imul(M,ee)|0)+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,r=r+Math.imul(b,ne)|0,o=(o=o+Math.imul(b,re)|0)+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,r=r+Math.imul(v,ie)|0,o=(o=o+Math.imul(v,ae)|0)+Math.imul(m,ie)|0,i=i+Math.imul(m,ae)|0,r=r+Math.imul(p,ce)|0,o=(o=o+Math.imul(p,ue)|0)+Math.imul(A,ce)|0,i=i+Math.imul(A,ue)|0;var Ee=(u+(r=r+Math.imul(f,fe)|0)|0)+((8191&(o=(o=o+Math.imul(f,he)|0)+Math.imul(h,fe)|0))<<13)|0;u=((i=i+Math.imul(h,he)|0)+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(F,j),o=(o=Math.imul(F,H))+Math.imul(z,j)|0,i=Math.imul(z,H),r=r+Math.imul(L,q)|0,o=(o=o+Math.imul(L,Q)|0)+Math.imul(R,q)|0,i=i+Math.imul(R,Q)|0,r=r+Math.imul(k,K)|0,o=(o=o+Math.imul(k,V)|0)+Math.imul(I,K)|0,i=i+Math.imul(I,V)|0,r=r+Math.imul(T,Y)|0,o=(o=o+Math.imul(T,J)|0)+Math.imul(N,Y)|0,i=i+Math.imul(N,J)|0,r=r+Math.imul(S,$)|0,o=(o=o+Math.imul(S,ee)|0)+Math.imul(O,$)|0,i=i+Math.imul(O,ee)|0,r=r+Math.imul(M,ne)|0,o=(o=o+Math.imul(M,re)|0)+Math.imul(E,ne)|0,i=i+Math.imul(E,re)|0,r=r+Math.imul(b,ie)|0,o=(o=o+Math.imul(b,ae)|0)+Math.imul(w,ie)|0,i=i+Math.imul(w,ae)|0,r=r+Math.imul(v,ce)|0,o=(o=o+Math.imul(v,ue)|0)+Math.imul(m,ce)|0,i=i+Math.imul(m,ue)|0,r=r+Math.imul(p,fe)|0,o=(o=o+Math.imul(p,he)|0)+Math.imul(A,fe)|0,i=i+Math.imul(A,he)|0;var Ce=(u+(r=r+Math.imul(f,pe)|0)|0)+((8191&(o=(o=o+Math.imul(f,Ae)|0)+Math.imul(h,pe)|0))<<13)|0;u=((i=i+Math.imul(h,Ae)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(F,q),o=(o=Math.imul(F,Q))+Math.imul(z,q)|0,i=Math.imul(z,Q),r=r+Math.imul(L,K)|0,o=(o=o+Math.imul(L,V)|0)+Math.imul(R,K)|0,i=i+Math.imul(R,V)|0,r=r+Math.imul(k,Y)|0,o=(o=o+Math.imul(k,J)|0)+Math.imul(I,Y)|0,i=i+Math.imul(I,J)|0,r=r+Math.imul(T,$)|0,o=(o=o+Math.imul(T,ee)|0)+Math.imul(N,$)|0,i=i+Math.imul(N,ee)|0,r=r+Math.imul(S,ne)|0,o=(o=o+Math.imul(S,re)|0)+Math.imul(O,ne)|0,i=i+Math.imul(O,re)|0,r=r+Math.imul(M,ie)|0,o=(o=o+Math.imul(M,ae)|0)+Math.imul(E,ie)|0,i=i+Math.imul(E,ae)|0,r=r+Math.imul(b,ce)|0,o=(o=o+Math.imul(b,ue)|0)+Math.imul(w,ce)|0,i=i+Math.imul(w,ue)|0,r=r+Math.imul(v,fe)|0,o=(o=o+Math.imul(v,he)|0)+Math.imul(m,fe)|0,i=i+Math.imul(m,he)|0;var Se=(u+(r=r+Math.imul(p,pe)|0)|0)+((8191&(o=(o=o+Math.imul(p,Ae)|0)+Math.imul(A,pe)|0))<<13)|0;u=((i=i+Math.imul(A,Ae)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(F,K),o=(o=Math.imul(F,V))+Math.imul(z,K)|0,i=Math.imul(z,V),r=r+Math.imul(L,Y)|0,o=(o=o+Math.imul(L,J)|0)+Math.imul(R,Y)|0,i=i+Math.imul(R,J)|0,r=r+Math.imul(k,$)|0,o=(o=o+Math.imul(k,ee)|0)+Math.imul(I,$)|0,i=i+Math.imul(I,ee)|0,r=r+Math.imul(T,ne)|0,o=(o=o+Math.imul(T,re)|0)+Math.imul(N,ne)|0,i=i+Math.imul(N,re)|0,r=r+Math.imul(S,ie)|0,o=(o=o+Math.imul(S,ae)|0)+Math.imul(O,ie)|0,i=i+Math.imul(O,ae)|0,r=r+Math.imul(M,ce)|0,o=(o=o+Math.imul(M,ue)|0)+Math.imul(E,ce)|0,i=i+Math.imul(E,ue)|0,r=r+Math.imul(b,fe)|0,o=(o=o+Math.imul(b,he)|0)+Math.imul(w,fe)|0,i=i+Math.imul(w,he)|0;var Oe=(u+(r=r+Math.imul(v,pe)|0)|0)+((8191&(o=(o=o+Math.imul(v,Ae)|0)+Math.imul(m,pe)|0))<<13)|0;u=((i=i+Math.imul(m,Ae)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(F,Y),o=(o=Math.imul(F,J))+Math.imul(z,Y)|0,i=Math.imul(z,J),r=r+Math.imul(L,$)|0,o=(o=o+Math.imul(L,ee)|0)+Math.imul(R,$)|0,i=i+Math.imul(R,ee)|0,r=r+Math.imul(k,ne)|0,o=(o=o+Math.imul(k,re)|0)+Math.imul(I,ne)|0,i=i+Math.imul(I,re)|0,r=r+Math.imul(T,ie)|0,o=(o=o+Math.imul(T,ae)|0)+Math.imul(N,ie)|0,i=i+Math.imul(N,ae)|0,r=r+Math.imul(S,ce)|0,o=(o=o+Math.imul(S,ue)|0)+Math.imul(O,ce)|0,i=i+Math.imul(O,ue)|0,r=r+Math.imul(M,fe)|0,o=(o=o+Math.imul(M,he)|0)+Math.imul(E,fe)|0,i=i+Math.imul(E,he)|0;var Be=(u+(r=r+Math.imul(b,pe)|0)|0)+((8191&(o=(o=o+Math.imul(b,Ae)|0)+Math.imul(w,pe)|0))<<13)|0;u=((i=i+Math.imul(w,Ae)|0)+(o>>>13)|0)+(Be>>>26)|0,Be&=67108863,r=Math.imul(F,$),o=(o=Math.imul(F,ee))+Math.imul(z,$)|0,i=Math.imul(z,ee),r=r+Math.imul(L,ne)|0,o=(o=o+Math.imul(L,re)|0)+Math.imul(R,ne)|0,i=i+Math.imul(R,re)|0,r=r+Math.imul(k,ie)|0,o=(o=o+Math.imul(k,ae)|0)+Math.imul(I,ie)|0,i=i+Math.imul(I,ae)|0,r=r+Math.imul(T,ce)|0,o=(o=o+Math.imul(T,ue)|0)+Math.imul(N,ce)|0,i=i+Math.imul(N,ue)|0,r=r+Math.imul(S,fe)|0,o=(o=o+Math.imul(S,he)|0)+Math.imul(O,fe)|0,i=i+Math.imul(O,he)|0;var Te=(u+(r=r+Math.imul(M,pe)|0)|0)+((8191&(o=(o=o+Math.imul(M,Ae)|0)+Math.imul(E,pe)|0))<<13)|0;u=((i=i+Math.imul(E,Ae)|0)+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(F,ne),o=(o=Math.imul(F,re))+Math.imul(z,ne)|0,i=Math.imul(z,re),r=r+Math.imul(L,ie)|0,o=(o=o+Math.imul(L,ae)|0)+Math.imul(R,ie)|0,i=i+Math.imul(R,ae)|0,r=r+Math.imul(k,ce)|0,o=(o=o+Math.imul(k,ue)|0)+Math.imul(I,ce)|0,i=i+Math.imul(I,ue)|0,r=r+Math.imul(T,fe)|0,o=(o=o+Math.imul(T,he)|0)+Math.imul(N,fe)|0,i=i+Math.imul(N,he)|0;var Ne=(u+(r=r+Math.imul(S,pe)|0)|0)+((8191&(o=(o=o+Math.imul(S,Ae)|0)+Math.imul(O,pe)|0))<<13)|0;u=((i=i+Math.imul(O,Ae)|0)+(o>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(F,ie),o=(o=Math.imul(F,ae))+Math.imul(z,ie)|0,i=Math.imul(z,ae),r=r+Math.imul(L,ce)|0,o=(o=o+Math.imul(L,ue)|0)+Math.imul(R,ce)|0,i=i+Math.imul(R,ue)|0,r=r+Math.imul(k,fe)|0,o=(o=o+Math.imul(k,he)|0)+Math.imul(I,fe)|0,i=i+Math.imul(I,he)|0;var xe=(u+(r=r+Math.imul(T,pe)|0)|0)+((8191&(o=(o=o+Math.imul(T,Ae)|0)+Math.imul(N,pe)|0))<<13)|0;u=((i=i+Math.imul(N,Ae)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(F,ce),o=(o=Math.imul(F,ue))+Math.imul(z,ce)|0,i=Math.imul(z,ue),r=r+Math.imul(L,fe)|0,o=(o=o+Math.imul(L,he)|0)+Math.imul(R,fe)|0,i=i+Math.imul(R,he)|0;var ke=(u+(r=r+Math.imul(k,pe)|0)|0)+((8191&(o=(o=o+Math.imul(k,Ae)|0)+Math.imul(I,pe)|0))<<13)|0;u=((i=i+Math.imul(I,Ae)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(F,fe),o=(o=Math.imul(F,he))+Math.imul(z,fe)|0,i=Math.imul(z,he);var Ie=(u+(r=r+Math.imul(L,pe)|0)|0)+((8191&(o=(o=o+Math.imul(L,Ae)|0)+Math.imul(R,pe)|0))<<13)|0;u=((i=i+Math.imul(R,Ae)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var Pe=(u+(r=Math.imul(F,pe))|0)+((8191&(o=(o=Math.imul(F,Ae))+Math.imul(z,pe)|0))<<13)|0;return u=((i=Math.imul(z,Ae))+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,c[0]=ge,c[1]=ve,c[2]=me,c[3]=ye,c[4]=be,c[5]=we,c[6]=_e,c[7]=Me,c[8]=Ee,c[9]=Ce,c[10]=Se,c[11]=Oe,c[12]=Be,c[13]=Te,c[14]=Ne,c[15]=xe,c[16]=ke,c[17]=Ie,c[18]=Pe,0!==u&&(c[19]=u,n.length++),n};function p(e,t,n){return(new A).mulp(e,t,n)}function A(e,t){this.x=e,this.y=t}Math.imul||(d=h),i.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?d(this,e,t):n<63?h(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,o=0,i=0;i>>26)|0)>>>26,a&=67108863}n.words[i]=s,r=a,a=o}return 0!==r?n.words[i]=r:n.length--,n.strip()}(this,e,t):p(this,e,t)},A.prototype.makeRBT=function(e){for(var t=new Array(e),n=i.prototype._countBits(e)-1,r=0;r>=1;return r},A.prototype.permute=function(e,t,n,r,o,i){for(var a=0;a>>=1)o++;return 1<>>=13,n[2*a+1]=8191&i,i>>>=13;for(a=2*t;a>=26,t+=o/67108864|0,t+=i>>>26,this.words[n]=67108863&i}return 0!==t&&(this.words[n]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>o}return t}(e);if(0===t.length)return new i(1);for(var n=this,r=0;r=0);var t,n=e%26,o=(e-n)/26,i=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t=0),o=t?(t-t%26)/26:0;var i=e%26,a=Math.min((e-i)/26,this.length),s=67108863^67108863>>>i<a)for(this.length-=a,u=0;u=0&&(0!==l||u>=o);u--){var f=0|this.words[u];this.words[u]=l<<26-i|f>>>i,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,o=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var o=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[o+n]=67108863&i}for(;o>26,this.words[o+n]=67108863&i;if(0===s)return this.strip();for(r(-1===s),s=0,o=0;o>26,this.words[o]=67108863&i;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),o=e,a=0|o.words[o.length-1];0!==(n=26-this._countBits(a))&&(o=o.ushln(n),r.iushln(n),a=0|o.words[o.length-1]);var s,c=r.length-o.length;if("mod"!==t){(s=new i(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u=0;f--){var h=67108864*(0|r.words[o.length+f])+(0|r.words[o.length+f-1]);for(h=Math.min(h/a|0,67108863),r._ishlnsubmul(o,h,f);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(o,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},i.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(o=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:o,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(o=s.div.neg()),{div:o,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var o,a,s},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),o=e.andln(1),i=n.cmp(r);return i<0||1===o&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,o=this.length-1;o>=0;o--)n=(t*n+(0|this.words[o]))%e;return n},i.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var o=(0|this.words[n])+67108864*t;this.words[n]=o/e|0,t=o%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),a=new i(0),s=new i(0),c=new i(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),f=t.clone();!t.isZero();){for(var h=0,d=1;0===(t.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(l),a.isub(f)),o.iushrn(1),a.iushrn(1);for(var p=0,A=1;0===(n.words[0]&A)&&p<26;++p,A<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(s),a.isub(c)):(n.isub(t),s.isub(o),c.isub(a))}return{a:s,b:c,gcd:n.iushln(u)}},i.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,a=new i(1),s=new i(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,l=1;0===(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(n.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(n.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return(o=0===t.cmpn(1)?a:s).cmpn(0)<0&&o.iadd(e),o},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var o=t.cmp(n);if(o<0){var i=t;t=n,n=i}else if(0===o||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0===(1&this.words[0])},i.prototype.isOdd=function(){return 1===(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,o=1<>>26,s&=67108863,this.words[a]=s}return 0!==i&&(this.words[a]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:oe.length)return 1;if(this.length=0;n--){var r=0|this.words[n],o=0|e.words[n];if(r!==o){ro&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new _(e)},i.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var g={k256:null,p224:null,p192:null,p25519:null};function v(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function m(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function b(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(e){if("string"===typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function M(e){_.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}v.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},v.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):n.strip(),n},v.prototype.split=function(e,t){e.iushrn(this.n,0,t)},v.prototype.imulK=function(e){return e.imul(this.k)},o(m,v),m.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r>>22,o=i}o>>>=22,e.words[r-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},m.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=o,t=r}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(g[e])return g[e];var t;if("k256"===e)t=new m;else if("p224"===e)t=new y;else if("p192"===e)t=new b;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return g[e]=t,t},_.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},_.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},_.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},_.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},_.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},_.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},_.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},_.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},_.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},_.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},_.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},_.prototype.isqr=function(e){return this.imul(e,e.clone())},_.prototype.sqr=function(e){return this.mul(e,e)},_.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new i(1)).iushrn(2);return this.pow(e,n)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);r(!o.isZero());var s=new i(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,o),h=this.pow(e,o.addn(1).iushrn(1)),d=this.pow(e,o),p=a;0!==d.cmp(s);){for(var A=d,g=0;0!==A.cmp(s);g++)A=A.redSqr();r(g=0;r--){for(var u=t.words[r],l=c-1;l>=0;l--){var f=u>>l&1;o!==n[0]&&(o=this.sqr(o)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===r&&0===l)&&(o=this.mul(o,n[a]),s=0,a=0)):s=0}c=26}return o},_.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},_.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new M(e)},o(M,_),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},M.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n(207)(e))},function(e,t,n){"use strict";var r=n(194),o=n(79),i=function(){function e(){}return e.decode=function(e,t){var n=this.encodingName(t);return this.customDecoder?this.customDecoder(e,n):"undefined"===typeof TextDecoder||this.shouldDecodeOnFallback(n)?this.decodeFallback(e,n):new TextDecoder(n).decode(e)},e.shouldDecodeOnFallback=function(t){return!e.isBrowser()&&"ISO-8859-1"===t},e.encode=function(e,t){var n=this.encodingName(t);return this.customEncoder?this.customEncoder(e,n):"undefined"===typeof TextEncoder?this.encodeFallback(e):(new TextEncoder).encode(e)},e.isBrowser=function(){return"undefined"!==typeof window&&"[object Window]"==={}.toString.call(window)},e.encodingName=function(e){return"string"===typeof e?e:e.getName()},e.encodingCharacterSet=function(e){return e instanceof o.a?e:o.a.getCharacterSetECIByName(e)},e.decodeFallback=function(t,n){var i=this.encodingCharacterSet(n);if(e.isDecodeFallbackSupported(i)){for(var a="",s=0,c=t.length;sM;M++)if((h||M in b)&&(m=w(v=b[M],M,y),e))if(t)C[M]=m;else if(m)switch(e){case 3:return!0;case 5:return v;case 6:return M;case 2:c.call(C,v)}else if(l)return!1;return f?-1:u||l?l:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(1500),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default||function(e){for(var t=1;t1)for(var n=1;nn?n:e:et?t:e}},function(e,t,n){var r=n(52),o=n(119),i=n(88),a=n(456),s=n(457),c=n(128),u=c.get,l=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var c=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),l(n).source=f.join("string"==typeof t?t:"")),e!==r?(c?!h&&e[t]&&(u=!0):delete e[t],u?e[t]=n:o(e,t,n)):u?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},function(e,t,n){"use strict";var r=n(67),o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ArgumentException",t}(r.a);t.a=i},function(e,t,n){"use strict";t.a=function(e,t,n){var r=e.defaultProps,o=void 0===r?{}:r;if(t.as&&t.as!==o.as)return t.as;if(n){var i=n();if(i)return i}return t.href?"a":o.as||"div"}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(74),o=n(82),i=n(176);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(74),o=n(43),i=n(88),a=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(i(s,e))return s[e];t||(t={});var n=[][e],u=!!i(t,"ACCESSORS")&&t.ACCESSORS,l=i(t,0)?t[0]:c,f=i(t,1)?t[1]:void 0;return s[e]=!!n&&!o((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:c}):e[1]=1,n.call(e,l,f)}))}},function(e,t,n){var r=n(707),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){var r=n(736),o=n(241),i=n(379),a=o((function(e,t){return i(e)?r(e,t):[]}));e.exports=a},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(116),o=n(397),i=n(68),a=n(398),s=n(24),c=n(17),u=n(401),l=n(402),f=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},h=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=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++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).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]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},p=function(){function e(e,t,n){void 0===t&&(t=500),this.reader=e,this.timeBetweenScansMillis=t,this._hints=n,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}return Object.defineProperty(e.prototype,"hasNavigator",{get:function(){return"undefined"!==typeof navigator},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMediaDevicesSuported",{get:function(){return this.hasNavigator&&!!navigator.mediaDevices},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canEnumerateDevices",{get:function(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timeBetweenDecodingAttempts",{get:function(){return this._timeBetweenDecodingAttempts},set:function(e){this._timeBetweenDecodingAttempts=e<0?0:e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hints",{get:function(){return this._hints},set:function(e){this._hints=e||null},enumerable:!1,configurable:!0}),e.prototype.listVideoInputDevices=function(){return f(this,void 0,void 0,(function(){var e,t,n,r,o,i,a,s,c,u,l,f;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:e=h.sent(),t=[];try{for(n=d(e),r=n.next();!r.done;r=n.next())o=r.value,"videoinput"===(i="video"===o.kind?"videoinput":o.kind)&&(a=o.deviceId||o.id,s=o.label||"Video device "+(t.length+1),c=o.groupId,u={deviceId:a,label:s,kind:i,groupId:c},t.push(u))}catch(p){l={error:p}}finally{try{r&&!r.done&&(f=n.return)&&f.call(n)}finally{if(l)throw l.error}}return[2,t]}}))}))},e.prototype.getVideoInputDevices=function(){return f(this,void 0,void 0,(function(){return h(this,(function(e){switch(e.label){case 0:return[4,this.listVideoInputDevices()];case 1:return[2,e.sent().map((function(e){return new l.a(e.deviceId,e.label)}))]}}))}))},e.prototype.findDeviceById=function(e){return f(this,void 0,void 0,(function(){var t;return h(this,(function(n){switch(n.label){case 0:return[4,this.listVideoInputDevices()];case 1:return(t=n.sent())?[2,t.find((function(t){return t.deviceId===e}))]:[2,null]}}))}))},e.prototype.decodeFromInputVideoDevice=function(e,t){return f(this,void 0,void 0,(function(){return h(this,(function(n){switch(n.label){case 0:return[4,this.decodeOnceFromVideoDevice(e,t)];case 1:return[2,n.sent()]}}))}))},e.prototype.decodeOnceFromVideoDevice=function(e,t){return f(this,void 0,void 0,(function(){var n;return h(this,(function(r){switch(r.label){case 0:return this.reset(),n={video:e?{deviceId:{exact:e}}:{facingMode:"environment"}},[4,this.decodeOnceFromConstraints(n,t)];case 1:return[2,r.sent()]}}))}))},e.prototype.decodeOnceFromConstraints=function(e,t){return f(this,void 0,void 0,(function(){var n;return h(this,(function(r){switch(r.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return n=r.sent(),[4,this.decodeOnceFromStream(n,t)];case 2:return[2,r.sent()]}}))}))},e.prototype.decodeOnceFromStream=function(e,t){return f(this,void 0,void 0,(function(){var n;return h(this,(function(r){switch(r.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,t)];case 1:return n=r.sent(),[4,this.decodeOnce(n)];case 2:return[2,r.sent()]}}))}))},e.prototype.decodeFromInputVideoDeviceContinuously=function(e,t,n){return f(this,void 0,void 0,(function(){return h(this,(function(r){switch(r.label){case 0:return[4,this.decodeFromVideoDevice(e,t,n)];case 1:return[2,r.sent()]}}))}))},e.prototype.decodeFromVideoDevice=function(e,t,n){return f(this,void 0,void 0,(function(){var r;return h(this,(function(o){switch(o.label){case 0:return r={video:e?{deviceId:{exact:e}}:{facingMode:"environment"}},[4,this.decodeFromConstraints(r,t,n)];case 1:return[2,o.sent()]}}))}))},e.prototype.decodeFromConstraints=function(e,t,n){return f(this,void 0,void 0,(function(){var r;return h(this,(function(o){switch(o.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return r=o.sent(),[4,this.decodeFromStream(r,t,n)];case 2:return[2,o.sent()]}}))}))},e.prototype.decodeFromStream=function(e,t,n){return f(this,void 0,void 0,(function(){var r;return h(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,t)];case 1:return r=o.sent(),[4,this.decodeContinuously(r,n)];case 2:return[2,o.sent()]}}))}))},e.prototype.stopAsyncDecode=function(){this._stopAsyncDecode=!0},e.prototype.stopContinuousDecode=function(){this._stopContinuousDecode=!0},e.prototype.attachStreamToVideo=function(e,t){return f(this,void 0,void 0,(function(){var n;return h(this,(function(r){switch(r.label){case 0:return n=this.prepareVideoElement(t),this.addVideoSource(n,e),this.videoElement=n,this.stream=e,[4,this.playVideoOnLoadAsync(n)];case 1:return r.sent(),[2,n]}}))}))},e.prototype.playVideoOnLoadAsync=function(e){var t=this;return new Promise((function(n,r){return t.playVideoOnLoad(e,(function(){return n()}))}))},e.prototype.playVideoOnLoad=function(e,t){var n=this;this.videoEndedListener=function(){return n.stopStreams()},this.videoCanPlayListener=function(){return n.tryPlayVideo(e)},e.addEventListener("ended",this.videoEndedListener),e.addEventListener("canplay",this.videoCanPlayListener),e.addEventListener("playing",t),this.tryPlayVideo(e)},e.prototype.isVideoPlaying=function(e){return e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2},e.prototype.tryPlayVideo=function(e){return f(this,void 0,void 0,(function(){return h(this,(function(t){switch(t.label){case 0:if(this.isVideoPlaying(e))return console.warn("Trying to play video that is already playing."),[2];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,e.play()];case 2:return t.sent(),[3,4];case 3:return t.sent(),console.warn("It was not possible to play the video."),[3,4];case 4:return[2]}}))}))},e.prototype.getMediaElement=function(e,t){var n=document.getElementById(e);if(!n)throw new r.a("element with id '"+e+"' not found");if(n.nodeName.toLowerCase()!==t.toLowerCase())throw new r.a("element with id '"+e+"' must be an "+t+" element");return n},e.prototype.decodeFromImage=function(e,t){if(!e&&!t)throw new r.a("either imageElement with a src set or an url must be provided");return t&&!e?this.decodeFromImageUrl(t):this.decodeFromImageElement(e)},e.prototype.decodeFromVideo=function(e,t){if(!e&&!t)throw new r.a("Either an element with a src set or an URL must be provided");return t&&!e?this.decodeFromVideoUrl(t):this.decodeFromVideoElement(e)},e.prototype.decodeFromVideoContinuously=function(e,t,n){if(void 0===e&&void 0===t)throw new r.a("Either an element with a src set or an URL must be provided");return t&&!e?this.decodeFromVideoUrlContinuously(t,n):this.decodeFromVideoElementContinuously(e,n)},e.prototype.decodeFromImageElement=function(e){if(!e)throw new r.a("An image element must be provided.");this.reset();var t=this.prepareImageElement(e);return this.imageElement=t,this.isImageLoaded(t)?this.decodeOnce(t,!1,!0):this._decodeOnLoadImage(t)},e.prototype.decodeFromVideoElement=function(e){var t=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideo(t)},e.prototype.decodeFromVideoElementContinuously=function(e,t){var n=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideoContinuously(n,t)},e.prototype._decodeFromVideoElementSetup=function(e){if(!e)throw new r.a("A video element must be provided.");this.reset();var t=this.prepareVideoElement(e);return this.videoElement=t,t},e.prototype.decodeFromImageUrl=function(e){if(!e)throw new r.a("An URL must be provided.");this.reset();var t=this.prepareImageElement();this.imageElement=t;var n=this._decodeOnLoadImage(t);return t.src=e,n},e.prototype.decodeFromVideoUrl=function(e){if(!e)throw new r.a("An URL must be provided.");this.reset();var t=this.prepareVideoElement(),n=this.decodeFromVideoElement(t);return t.src=e,n},e.prototype.decodeFromVideoUrlContinuously=function(e,t){if(!e)throw new r.a("An URL must be provided.");this.reset();var n=this.prepareVideoElement(),o=this.decodeFromVideoElementContinuously(n,t);return n.src=e,o},e.prototype._decodeOnLoadImage=function(e){var t=this;return new Promise((function(n,r){t.imageLoadedListener=function(){return t.decodeOnce(e,!1,!0).then(n,r)},e.addEventListener("load",t.imageLoadedListener)}))},e.prototype._decodeOnLoadVideo=function(e){return f(this,void 0,void 0,(function(){return h(this,(function(t){switch(t.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return t.sent(),[4,this.decodeOnce(e)];case 2:return[2,t.sent()]}}))}))},e.prototype._decodeOnLoadVideoContinuously=function(e,t){return f(this,void 0,void 0,(function(){return h(this,(function(n){switch(n.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return n.sent(),this.decodeContinuously(e,t),[2]}}))}))},e.prototype.isImageLoaded=function(e){return!!e.complete&&0!==e.naturalWidth},e.prototype.prepareImageElement=function(e){var t;return"undefined"===typeof e&&((t=document.createElement("img")).width=200,t.height=200),"string"===typeof e&&(t=this.getMediaElement(e,"img")),e instanceof HTMLImageElement&&(t=e),t},e.prototype.prepareVideoElement=function(e){var t;return e||"undefined"===typeof document||((t=document.createElement("video")).width=200,t.height=200),"string"===typeof e&&(t=this.getMediaElement(e,"video")),e instanceof HTMLVideoElement&&(t=e),t.setAttribute("autoplay","true"),t.setAttribute("muted","true"),t.setAttribute("playsinline","true"),t},e.prototype.decodeOnce=function(e,t,n){var r=this;void 0===t&&(t=!0),void 0===n&&(n=!0),this._stopAsyncDecode=!1;return new Promise((function(o,a){return function o(a,u){if(r._stopAsyncDecode)return u(new c.a("Video stream has ended before any code could be detected.")),void(r._stopAsyncDecode=void 0);try{a(r.decode(e))}catch(h){var l=t&&h instanceof c.a,f=h instanceof i.a||h instanceof s.a;if(l||f&&n)return setTimeout(o,r._timeBetweenDecodingAttempts,a,u);u(h)}}(o,a)}))},e.prototype.decodeContinuously=function(e,t){var n=this;this._stopContinuousDecode=!1;!function r(){if(n._stopContinuousDecode)n._stopContinuousDecode=void 0;else try{var o=n.decode(e);t(o,null),setTimeout(r,n.timeBetweenScansMillis)}catch(l){t(null,l);var a=l instanceof i.a||l instanceof s.a,u=l instanceof c.a;(a||u)&&setTimeout(r,n._timeBetweenDecodingAttempts)}}()},e.prototype.decode=function(e){var t=this.createBinaryBitmap(e);return this.decodeBitmap(t)},e.prototype.createBinaryBitmap=function(e){this.getCaptureCanvasContext(e);e instanceof HTMLVideoElement?this.drawFrameOnCanvas(e):this.drawImageOnCanvas(e);var t=this.getCaptureCanvas(e),n=new u.a(t),r=new a.a(n);return new o.a(r)},e.prototype.getCaptureCanvasContext=function(e){if(!this.captureCanvasContext){var t=this.getCaptureCanvas(e),n=void 0;try{n=t.getContext("2d",{willReadFrequently:!0})}catch(r){n=t.getContext("2d")}this.captureCanvasContext=n}return this.captureCanvasContext},e.prototype.getCaptureCanvas=function(e){if(!this.captureCanvas){var t=this.createCaptureCanvas(e);this.captureCanvas=t}return this.captureCanvas},e.prototype.drawFrameOnCanvas=function(e,t,n){void 0===t&&(t={sx:0,sy:0,sWidth:e.videoWidth,sHeight:e.videoHeight,dx:0,dy:0,dWidth:e.videoWidth,dHeight:e.videoHeight}),void 0===n&&(n=this.captureCanvasContext),n.drawImage(e,t.sx,t.sy,t.sWidth,t.sHeight,t.dx,t.dy,t.dWidth,t.dHeight)},e.prototype.drawImageOnCanvas=function(e,t,n){void 0===t&&(t={sx:0,sy:0,sWidth:e.naturalWidth,sHeight:e.naturalHeight,dx:0,dy:0,dWidth:e.naturalWidth,dHeight:e.naturalHeight}),void 0===n&&(n=this.captureCanvasContext),n.drawImage(e,t.sx,t.sy,t.sWidth,t.sHeight,t.dx,t.dy,t.dWidth,t.dHeight)},e.prototype.decodeBitmap=function(e){return this.reader.decode(e,this._hints)},e.prototype.createCaptureCanvas=function(e){if("undefined"===typeof document)return this._destroyCaptureCanvas(),null;var t,n,r=document.createElement("canvas");return"undefined"!==typeof e&&(e instanceof HTMLVideoElement?(t=e.videoWidth,n=e.videoHeight):e instanceof HTMLImageElement&&(t=e.naturalWidth||e.width,n=e.naturalHeight||e.height)),r.style.width=t+"px",r.style.height=n+"px",r.width=t,r.height=n,r},e.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach((function(e){return e.stop()})),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()},e.prototype.reset=function(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()},e.prototype._destroyVideoElement=function(){this.videoElement&&("undefined"!==typeof this.videoEndedListener&&this.videoElement.removeEventListener("ended",this.videoEndedListener),"undefined"!==typeof this.videoPlayingEventListener&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),"undefined"!==typeof this.videoCanPlayListener&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)},e.prototype._destroyImageElement=function(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)},e.prototype._destroyCaptureCanvas=function(){this.captureCanvasContext=void 0,this.captureCanvas=void 0},e.prototype.addVideoSource=function(e,t){try{e.srcObject=t}catch(n){e.src=URL.createObjectURL(t)}},e.prototype.cleanVideoSource=function(e){try{e.srcObject=null}catch(t){e.src=""}this.videoElement.removeAttribute("src")},e}()},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(262);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";var r=n(37),o=n.n(r),i=n(38),a=n.n(i),s=n(11),c=n.n(s),u=n(161),l=n(138),f=n.n(l),h=function(){function e(t){o()(this,e),this.handlers=new Set(t)}return a()(e,[{key:"addHandlers",value:function(t){var n=new Set(this.handlers);return t.forEach((function(e){n.delete(e),n.add(e)})),new e(n)}},{key:"dispatchEvent",value:function(e,t){t?this.handlers.forEach((function(t){t(e)})):f()(this.handlers).pop()(e)}},{key:"hasHandlers",value:function(){return this.handlers.size>0}},{key:"removeHandlers",value:function(t){var n=new Set(this.handlers);return t.forEach((function(e){n.delete(e)})),new e(n)}}]),e}(),d=function(){function e(t,n){o()(this,e),this.handlerSets=n,this.poolName=t}return a()(e,[{key:"addHandlers",value:function(t,n){var r=new Map(this.handlerSets);return r.has(t)?r.set(t,r.get(t).addHandlers(n)):r.set(t,new h(n)),new e(this.poolName,r)}},{key:"dispatchEvent",value:function(e,t){var n=this.handlerSets.get(e);n&&n.dispatchEvent(t,"default"===this.poolName)}},{key:"hasHandlers",value:function(e){var t=this.handlerSets.get(e);return!!t&&t.hasHandlers()}},{key:"removeHandlers",value:function(t,n){var r=new Map(this.handlerSets);if(!r.has(t))return new e(this.poolName,r);var o=r.get(t).removeHandlers(n);return o.hasHandlers()?r.set(t,o):r.delete(t),new e(this.poolName,r)}}]),e}();c()(d,"createByType",(function(e,t,n){var r=new Map;return r.set(t,new h(n)),new d(e,r)}));var p=function(){function e(t){o()(this,e),c()(this,"handlers",new Map),c()(this,"pools",new Map),c()(this,"createEmitter",(function(e,t){return function(n){t.forEach((function(t){t.dispatchEvent(e,n)}))}})),this.target=t}return a()(e,[{key:"addHandlers",value:function(e,t,n){this.removeTargetHandler(t),this.pools.has(e)?this.pools.set(e,this.pools.get(e).addHandlers(t,n)):this.pools.set(e,d.createByType(e,t,n)),this.addTargetHandler(t)}},{key:"hasHandlers",value:function(){return this.handlers.size>0}},{key:"removeHandlers",value:function(e,t,n){var r=this.pools.get(e);if(r){var o=r.removeHandlers(t,n);o.hasHandlers(t)?(this.removeTargetHandler(t),this.pools.set(e,o)):(this.removeTargetHandler(t),this.pools.delete(e)),this.pools.size>0&&this.addTargetHandler(t)}}},{key:"addTargetHandler",value:function(e){var t=this.createEmitter(e,this.pools);this.handlers.set(e,t),this.target.addEventListener(e,t)}},{key:"removeTargetHandler",value:function(e){this.handlers.has(e)&&(this.target.removeEventListener(e,this.handlers.get(e)),this.handlers.delete(e))}}]),e}(),A=n(76),g=n.n(A),v=function(e){return g()(e)?e:[e]},m=function(e){return"document"===e?document:"window"===e?window:e||document},y=new(function(){function e(){var t=this;o()(this,e),c()(this,"targets",new Map),c()(this,"getTarget",(function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=m(e);if(t.targets.has(r))return t.targets.get(r);if(!n)return null;var o=new p(r);return t.targets.set(r,o),o})),c()(this,"removeTarget",(function(e){t.targets.delete(m(e))}))}return a()(e,[{key:"sub",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Object(u.a)()){var r=n.target,o=void 0===r?document:r,i=n.pool,a=void 0===i?"default":i,s=this.getTarget(o);s.addHandlers(a,e,v(t))}}},{key:"unsub",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Object(u.a)()){var r=n.target,o=void 0===r?document:r,i=n.pool,a=void 0===i?"default":i,s=this.getTarget(o,!1);s&&(s.removeHandlers(a,e,v(t)),s.hasHandlers()||this.removeTarget(o))}}}]),e}());t.a=y},function(e,t,n){var r=n(278),o=n(118);e.exports=function(e){return r(o(e))}},function(e,t,n){var r,o,i,a=n(581),s=n(52),c=n(62),u=n(119),l=n(88),f=n(339),h=n(280),d=s.WeakMap;if(a){var p=new d,A=p.get,g=p.has,v=p.set;r=function(e,t){return v.call(p,e,t),t},o=function(e){return A.call(p,e)||{}},i=function(e){return g.call(p,e)}}else{var m=f("state");h[m]=!0,r=function(e,t){return u(e,m,t),t},o=function(e){return l(e,m)?e[m]:{}},i=function(e){return l(e,m)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(118),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(i).replace(o,""")+'"'),s+">"+a+""}},function(e,t,n){var r=n(43);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},function(e,t,n){"use strict";var r=n(652),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&"object"===typeof e}function c(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n1&&0===t[0]){for(var r=1;ra.length){var s=n;n=a,a=s}var c=new Int32Array(a.length),u=a.length-n.length;o.a.arraycopy(a,0,c,0,u);for(var l=u;l=e.getDegree()&&!r.isZero();){var s=r.getDegree()-e.getDegree(),c=t.multiply(r.getCoefficient(r.getDegree()),a),u=e.multiplyByMonomial(s,c),l=t.buildMonomial(s,c);n=n.addOrSubtract(l),r=r.addOrSubtract(u)}return[n,r]},e.prototype.toString=function(){for(var e="",t=this.getDegree();t>=0;t--){var n=this.getCoefficient(t);if(0!==n){if(n<0?(e+=" - ",n=-n):e.length>0&&(e+=" + "),0===t||1!==n){var r=this.field.log(n);0===r?e+="1":1===r?e+="a":(e+="a^",e+=r)}0!==t&&(1===t?e+="x":(e+="x^",e+=t))}}return e},e}();t.a=a},function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return o}))},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){"use strict";var r=t,o=n(97),i=n(135),a=n(687);r.assert=i,r.toArray=a.toArray,r.zero2=a.zero2,r.toHex=a.toHex,r.encode=a.encode,r.getNAF=function(e,t,n){var r=new Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var o=1<(o>>1)-1?(o>>1)-c:c,i.isubn(s)):s=0,r[a]=s,i.iushrn(1)}return r},r.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r=0,o=0;e.cmpn(-r)>0||t.cmpn(-o)>0;){var i,a,s,c=e.andln(3)+r&3,u=t.andln(3)+o&3;if(3===c&&(c=-1),3===u&&(u=-1),0===(1&c))i=0;else i=3!==(s=e.andln(7)+r&7)&&5!==s||2!==u?c:-c;if(n[0].push(i),0===(1&u))a=0;else a=3!==(s=t.andln(7)+o&7)&&5!==s||2!==c?u:-u;n[1].push(a),2*r===i+1&&(r=1-r),2*o===a+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return n},r.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(e){return"string"===typeof e?r.toArray(e,"hex"):e},r.intFromLE=function(e){return new o(e,"hex","le")}},function(e,t,n){var r=n(187),o=n(504);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(1332),o=n(1333),i=n(738),a=n(1334);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},function(e,t,n){"use strict";var r=n(77),o=n(256),i=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function e(e){for(var t=[],n=1;n=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(){function e(e,t){for(var n,r,o=[],i=2;i40)throw new u.a;return e.VERSIONS[t-1]},e.decodeVersionInformation=function(t){for(var n=Number.MAX_SAFE_INTEGER,r=0,i=0;i6&&(t.setRegion(e-11,0,3,6),t.setRegion(0,e-11,6,3)),t},e.prototype.toString=function(){return""+this.versionNumber},e.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),e.VERSIONS=[new e(1,new Int32Array(0),new a(7,new s(1,19)),new a(10,new s(1,16)),new a(13,new s(1,13)),new a(17,new s(1,9))),new e(2,Int32Array.from([6,18]),new a(10,new s(1,34)),new a(16,new s(1,28)),new a(22,new s(1,22)),new a(28,new s(1,16))),new e(3,Int32Array.from([6,22]),new a(15,new s(1,55)),new a(26,new s(1,44)),new a(18,new s(2,17)),new a(22,new s(2,13))),new e(4,Int32Array.from([6,26]),new a(20,new s(1,80)),new a(18,new s(2,32)),new a(26,new s(2,24)),new a(16,new s(4,9))),new e(5,Int32Array.from([6,30]),new a(26,new s(1,108)),new a(24,new s(2,43)),new a(18,new s(2,15),new s(2,16)),new a(22,new s(2,11),new s(2,12))),new e(6,Int32Array.from([6,34]),new a(18,new s(2,68)),new a(16,new s(4,27)),new a(24,new s(4,19)),new a(28,new s(4,15))),new e(7,Int32Array.from([6,22,38]),new a(20,new s(2,78)),new a(18,new s(4,31)),new a(18,new s(2,14),new s(4,15)),new a(26,new s(4,13),new s(1,14))),new e(8,Int32Array.from([6,24,42]),new a(24,new s(2,97)),new a(22,new s(2,38),new s(2,39)),new a(22,new s(4,18),new s(2,19)),new a(26,new s(4,14),new s(2,15))),new e(9,Int32Array.from([6,26,46]),new a(30,new s(2,116)),new a(22,new s(3,36),new s(2,37)),new a(20,new s(4,16),new s(4,17)),new a(24,new s(4,12),new s(4,13))),new e(10,Int32Array.from([6,28,50]),new a(18,new s(2,68),new s(2,69)),new a(26,new s(4,43),new s(1,44)),new a(24,new s(6,19),new s(2,20)),new a(28,new s(6,15),new s(2,16))),new e(11,Int32Array.from([6,30,54]),new a(20,new s(4,81)),new a(30,new s(1,50),new s(4,51)),new a(28,new s(4,22),new s(4,23)),new a(24,new s(3,12),new s(8,13))),new e(12,Int32Array.from([6,32,58]),new a(24,new s(2,92),new s(2,93)),new a(22,new s(6,36),new s(2,37)),new a(26,new s(4,20),new s(6,21)),new a(28,new s(7,14),new s(4,15))),new e(13,Int32Array.from([6,34,62]),new a(26,new s(4,107)),new a(22,new s(8,37),new s(1,38)),new a(24,new s(8,20),new s(4,21)),new a(22,new s(12,11),new s(4,12))),new e(14,Int32Array.from([6,26,46,66]),new a(30,new s(3,115),new s(1,116)),new a(24,new s(4,40),new s(5,41)),new a(20,new s(11,16),new s(5,17)),new a(24,new s(11,12),new s(5,13))),new e(15,Int32Array.from([6,26,48,70]),new a(22,new s(5,87),new s(1,88)),new a(24,new s(5,41),new s(5,42)),new a(30,new s(5,24),new s(7,25)),new a(24,new s(11,12),new s(7,13))),new e(16,Int32Array.from([6,26,50,74]),new a(24,new s(5,98),new s(1,99)),new a(28,new s(7,45),new s(3,46)),new a(24,new s(15,19),new s(2,20)),new a(30,new s(3,15),new s(13,16))),new e(17,Int32Array.from([6,30,54,78]),new a(28,new s(1,107),new s(5,108)),new a(28,new s(10,46),new s(1,47)),new a(28,new s(1,22),new s(15,23)),new a(28,new s(2,14),new s(17,15))),new e(18,Int32Array.from([6,30,56,82]),new a(30,new s(5,120),new s(1,121)),new a(26,new s(9,43),new s(4,44)),new a(28,new s(17,22),new s(1,23)),new a(28,new s(2,14),new s(19,15))),new e(19,Int32Array.from([6,30,58,86]),new a(28,new s(3,113),new s(4,114)),new a(26,new s(3,44),new s(11,45)),new a(26,new s(17,21),new s(4,22)),new a(26,new s(9,13),new s(16,14))),new e(20,Int32Array.from([6,34,62,90]),new a(28,new s(3,107),new s(5,108)),new a(26,new s(3,41),new s(13,42)),new a(30,new s(15,24),new s(5,25)),new a(28,new s(15,15),new s(10,16))),new e(21,Int32Array.from([6,28,50,72,94]),new a(28,new s(4,116),new s(4,117)),new a(26,new s(17,42)),new a(28,new s(17,22),new s(6,23)),new a(30,new s(19,16),new s(6,17))),new e(22,Int32Array.from([6,26,50,74,98]),new a(28,new s(2,111),new s(7,112)),new a(28,new s(17,46)),new a(30,new s(7,24),new s(16,25)),new a(24,new s(34,13))),new e(23,Int32Array.from([6,30,54,78,102]),new a(30,new s(4,121),new s(5,122)),new a(28,new s(4,47),new s(14,48)),new a(30,new s(11,24),new s(14,25)),new a(30,new s(16,15),new s(14,16))),new e(24,Int32Array.from([6,28,54,80,106]),new a(30,new s(6,117),new s(4,118)),new a(28,new s(6,45),new s(14,46)),new a(30,new s(11,24),new s(16,25)),new a(30,new s(30,16),new s(2,17))),new e(25,Int32Array.from([6,32,58,84,110]),new a(26,new s(8,106),new s(4,107)),new a(28,new s(8,47),new s(13,48)),new a(30,new s(7,24),new s(22,25)),new a(30,new s(22,15),new s(13,16))),new e(26,Int32Array.from([6,30,58,86,114]),new a(28,new s(10,114),new s(2,115)),new a(28,new s(19,46),new s(4,47)),new a(28,new s(28,22),new s(6,23)),new a(30,new s(33,16),new s(4,17))),new e(27,Int32Array.from([6,34,62,90,118]),new a(30,new s(8,122),new s(4,123)),new a(28,new s(22,45),new s(3,46)),new a(30,new s(8,23),new s(26,24)),new a(30,new s(12,15),new s(28,16))),new e(28,Int32Array.from([6,26,50,74,98,122]),new a(30,new s(3,117),new s(10,118)),new a(28,new s(3,45),new s(23,46)),new a(30,new s(4,24),new s(31,25)),new a(30,new s(11,15),new s(31,16))),new e(29,Int32Array.from([6,30,54,78,102,126]),new a(30,new s(7,116),new s(7,117)),new a(28,new s(21,45),new s(7,46)),new a(30,new s(1,23),new s(37,24)),new a(30,new s(19,15),new s(26,16))),new e(30,Int32Array.from([6,26,52,78,104,130]),new a(30,new s(5,115),new s(10,116)),new a(28,new s(19,47),new s(10,48)),new a(30,new s(15,24),new s(25,25)),new a(30,new s(23,15),new s(25,16))),new e(31,Int32Array.from([6,30,56,82,108,134]),new a(30,new s(13,115),new s(3,116)),new a(28,new s(2,46),new s(29,47)),new a(30,new s(42,24),new s(1,25)),new a(30,new s(23,15),new s(28,16))),new e(32,Int32Array.from([6,34,60,86,112,138]),new a(30,new s(17,115)),new a(28,new s(10,46),new s(23,47)),new a(30,new s(10,24),new s(35,25)),new a(30,new s(19,15),new s(35,16))),new e(33,Int32Array.from([6,30,58,86,114,142]),new a(30,new s(17,115),new s(1,116)),new a(28,new s(14,46),new s(21,47)),new a(30,new s(29,24),new s(19,25)),new a(30,new s(11,15),new s(46,16))),new e(34,Int32Array.from([6,34,62,90,118,146]),new a(30,new s(13,115),new s(6,116)),new a(28,new s(14,46),new s(23,47)),new a(30,new s(44,24),new s(7,25)),new a(30,new s(59,16),new s(1,17))),new e(35,Int32Array.from([6,30,54,78,102,126,150]),new a(30,new s(12,121),new s(7,122)),new a(28,new s(12,47),new s(26,48)),new a(30,new s(39,24),new s(14,25)),new a(30,new s(22,15),new s(41,16))),new e(36,Int32Array.from([6,24,50,76,102,128,154]),new a(30,new s(6,121),new s(14,122)),new a(28,new s(6,47),new s(34,48)),new a(30,new s(46,24),new s(10,25)),new a(30,new s(2,15),new s(64,16))),new e(37,Int32Array.from([6,28,54,80,106,132,158]),new a(30,new s(17,122),new s(4,123)),new a(28,new s(29,46),new s(14,47)),new a(30,new s(49,24),new s(10,25)),new a(30,new s(24,15),new s(46,16))),new e(38,Int32Array.from([6,32,58,84,110,136,162]),new a(30,new s(4,122),new s(18,123)),new a(28,new s(13,46),new s(32,47)),new a(30,new s(48,24),new s(14,25)),new a(30,new s(42,15),new s(32,16))),new e(39,Int32Array.from([6,26,54,82,110,138,166]),new a(30,new s(20,117),new s(4,118)),new a(28,new s(40,47),new s(7,48)),new a(30,new s(43,24),new s(22,25)),new a(30,new s(10,15),new s(67,16))),new e(40,Int32Array.from([6,30,58,86,114,142,170]),new a(30,new s(19,118),new s(6,119)),new a(28,new s(18,47),new s(31,48)),new a(30,new s(34,24),new s(34,25)),new a(30,new s(20,15),new s(61,16)))],e}();t.a=f},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=Object(r.default)(e),f=l.getDay(),h=(f=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=Object(o.default)(e),f=l.getUTCDay(),h=(f=e.length)&&56320===(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"===typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(e="0"+e),o=0;o>6|192,n[r++]=63&a|128):i(e,o)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++o)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(o=0;o>>0}return a},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,o=0;r>>24,n[o+1]=i>>>16&255,n[o+2]=i>>>8&255,n[o+3]=255&i):(n[o+3]=i>>>24,n[o+2]=i>>>16&255,n[o+1]=i>>>8&255,n[o]=255&i)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,o){return e+t+n+r+o>>>0},t.sum64=function(e,t,n,r){var o=e[t],i=r+e[t+1]>>>0,a=(i>>0,e[t+1]=i},t.sum64_hi=function(e,t,n,r){return(t+r>>>0>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,o,i,a,s){var c=0,u=t;return c+=(u=u+r>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,n,r,o,i,a,s){return t+r+i+s>>>0},t.sum64_5_hi=function(e,t,n,r,o,i,a,s,c,u){var l=0,f=t;return l+=(f=f+r>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,n,r,o,i,a,s,c,u){return t+r+i+s+u>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(747),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;n=0&&this.structuredAppendSequenceNumber>=0},e.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},e.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},e}();t.a=r},function(e,t,n){"use strict";var r=n(86),o=n(132),i=n(227),a=n(104),s=function(){function e(e){this.field=e}return e.prototype.decode=function(e,t){for(var n=this.field,a=new o.a(n,e),s=new Int32Array(t),c=!0,u=0;u=(n/2|0);){var f=s,h=u;if(u=l,(s=c).isZero())throw new i.a("r_{i-1} was zero");c=f;for(var d=o.getZero(),p=s.getCoefficient(s.getDegree()),A=o.inverse(p);c.getDegree()>=s.getDegree()&&!c.isZero();){var g=c.getDegree()-s.getDegree(),v=o.multiply(c.getCoefficient(c.getDegree()),A);d=d.addOrSubtract(o.buildMonomial(g,v)),c=c.addOrSubtract(s.multiplyByMonomial(g,v))}if(l=d.multiply(u).addOrSubtract(h),c.getDegree()>=s.getDegree())throw new a.a("Division algorithm failed to reduce polynomial?")}var m=l.getCoefficient(0);if(0===m)throw new i.a("sigmaTilde(0) was zero");var y=o.inverse(m);return[l.multiplyScalar(y),c.multiplyScalar(y)]},e.prototype.findErrorLocations=function(e){var t=e.getDegree();if(1===t)return Int32Array.from([e.getCoefficient(1)]);for(var n=new Int32Array(t),r=0,o=this.field,a=1;a=e.FOR_BITS.size)throw new i.a;return e.FOR_BITS.get(t)},e.FOR_BITS=new Map,e.FOR_VALUE=new Map,e.L=new e(r.L,"L",1),e.M=new e(r.M,"M",0),e.Q=new e(r.Q,"Q",3),e.H=new e(r.H,"H",2),e}();t.a=a},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));function r(e){return e.getTime()%6e4}function o(e){var t=new Date(e.getTime()),n=Math.ceil(t.getTimezoneOffset());return t.setSeconds(0,0),6e4*n+(n>0?(6e4+r(t))%6e4:r(t))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),o=n(21);function i(e){Object(o.a)(1,arguments);var t=1,n=Object(r.default)(e),i=n.getUTCDay(),a=(in;)o[n]=t[n++];return o},q=function(e,t){x(e,t,{get:function(){return T(this)[t]}})},Q=function(e){var t;return e instanceof L||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},X=function(e,t){return H(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},K=function(e,t){return X(e,t=A(t,!0))?l(2,e[t]):k(e,t)},V=function(e,t,n){return!(X(e,t=A(t,!0))&&m(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?x(e,t,n):(e[t]=n.value,e)};i?(D||(S.f=K,C.f=V,q(U,"buffer"),q(U,"byteOffset"),q(U,"byteLength"),q(U,"length")),r({target:"Object",stat:!0,forced:!D},{getOwnPropertyDescriptor:K,defineProperty:V}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",c="get"+e,l="set"+e,A=o[s],g=A,v=g&&g.prototype,C={},S=function(e,t){x(e,t,{get:function(){return function(e,t){var n=T(e);return n.view[c](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=T(e);n&&(r=(r=I(r))<0?0:r>255?255:255&r),o.view[l](t*i+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};D?a&&(g=t((function(e,t,n,r){return u(e,g,s),B(m(t)?Q(t)?void 0!==r?new A(t,p(n,i),r):void 0!==n?new A(t,p(n,i)):new A(t):H(t)?W(g,t):_.call(g,t):new A(d(t)),e,g)})),b&&b(g,z),M(w(A),(function(e){e in g||f(g,e,A[e])})),g.prototype=v):(g=t((function(e,t,n,r){u(e,g,s);var o,a,c,l=0,f=0;if(m(t)){if(!Q(t))return H(t)?W(g,t):_.call(g,t);o=t,f=p(n,i);var A=t.byteLength;if(void 0===r){if(A%i)throw P("Wrong length");if((a=A-f)<0)throw P("Wrong length")}else if((a=h(r)*i)+f>A)throw P("Wrong length");c=a/i}else c=d(t),o=new L(a=c*i);for(N(e,{buffer:o,byteOffset:f,byteLength:a,length:c,view:new R(o)});l=5&&(r+=e.N1+(c-5)),c=1,u=f)}c>=5&&(r+=e.N1+(c-5))}return r},e.N1=3,e.N2=3,e.N3=40,e.N4=10,e}();t.a=o},function(e,t,n){"use strict";var r=n(31),o=n(56),i=n(17),a=n(317),s=n(318),c=n(319),u=n(320),l=n(61),f=n(66),h=n(220),d=n(87),p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=Int32Array.from([0,0,0,0]),t}return p(t,e),t.prototype.decodeMiddle=function(e,t,n){var r,o,i,a,s=this.decodeMiddleCounters;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var c=e.getSize(),u=t[1],l=0;l<4&&u=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},_=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=new Int32Array(4),t}return b(t,e),t.prototype.decodeMiddle=function(e,n,r){var o,i,a=this.decodeMiddleCounters.map((function(e){return e}));a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=e.getSize(),c=n[1],u=0,l=0;l<6&&c=10&&(u|=1<<5-l)}return t.determineNumSysAndCheckDigit(new y.a(r),u),c},t.prototype.decodeEnd=function(e,n){return t.findGuardPatternWithoutCounters(e,n,!0,t.MIDDLE_END_PATTERN)},t.prototype.checkChecksum=function(e){return d.a.checkChecksum(t.convertUPCEtoUPCA(e))},t.determineNumSysAndCheckDigit=function(e,t){for(var n=0;n<=1;n++)for(var r=0;r<10;r++)if(t===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[n][r])return e.insert(0,"0"+n),void e.append("0"+r);throw i.a.getNotFoundInstance()},t.prototype.getBarcodeFormat=function(){return r.a.UPC_E},t.convertUPCEtoUPCA=function(e){var t=e.slice(1,7).split("").map((function(e){return e.charCodeAt(0)})),n=new y.a;n.append(e.charAt(0));var r=t[5];switch(r){case 0:case 1:case 2:n.appendChars(t,0,2),n.append(r),n.append("0000"),n.appendChars(t,2,3);break;case 3:n.appendChars(t,0,3),n.append("00000"),n.appendChars(t,3,2);break;case 4:n.appendChars(t,0,4),n.append("00000"),n.append(t[4]);break;default:n.appendChars(t,0,5),n.append("0000"),n.append(r)}return e.length>=8&&n.append(e.charAt(7)),n.toString()},t.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),t.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])],t}(d.a),M=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},C=function(e){function t(t){var n=e.call(this)||this,i=null==t?null:t.get(o.a.POSSIBLE_FORMATS),a=[];return null!=i&&(i.indexOf(r.a.EAN_13)>-1&&a.push(new h.a),i.indexOf(r.a.UPC_A)>-1&&a.push(new m),i.indexOf(r.a.EAN_8)>-1&&a.push(new g),i.indexOf(r.a.UPC_E)>-1&&a.push(new _)),0===a.length&&(a.push(new h.a),a.push(new m),a.push(new g),a.push(new _)),n.readers=a,n}return M(t,e),t.prototype.decodeRow=function(e,t,n){var a,s;try{for(var c=E(this.readers),u=c.next();!u.done;u=c.next()){var f=u.value;try{var h=f.decodeRow(e,t,n),d=h.getBarcodeFormat()===r.a.EAN_13&&"0"===h.getText().charAt(0),p=null==n?null:n.get(o.a.POSSIBLE_FORMATS),A=null==p||p.includes(r.a.UPC_A);if(d&&A){var g=h.getRawBytes(),v=new l.a(h.getText().substring(1),g,g?g.length:null,h.getResultPoints(),r.a.UPC_A);return v.putAllMetadata(h.getResultMetadata()),v}return h}catch(m){}}}catch(y){a={error:y}}finally{try{u&&!u.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}throw new i.a},t.prototype.reset=function(){var e,t;try{for(var n=E(this.readers),r=n.next();!r.done;r=n.next()){r.value.reset()}}catch(o){e={error:o}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t}(f.a),S=n(405),O=n(423),B=n(326),T=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),N=function(e){function t(t){var n=e.call(this)||this;n.readers=[];var i=t?t.get(o.a.POSSIBLE_FORMATS):null,l=t&&void 0!==t.get(o.a.ASSUME_CODE_39_CHECK_DIGIT),f=t&&void 0!==t.get(o.a.ENABLE_CODE_39_EXTENDED_MODE);return i&&((i.includes(r.a.EAN_13)||i.includes(r.a.UPC_A)||i.includes(r.a.EAN_8)||i.includes(r.a.UPC_E))&&n.readers.push(new C(t)),i.includes(r.a.CODE_39)&&n.readers.push(new s.a(l,f)),i.includes(r.a.CODE_93)&&n.readers.push(new c.a),i.includes(r.a.CODE_128)&&n.readers.push(new a.a),i.includes(r.a.ITF)&&n.readers.push(new u.a),i.includes(r.a.CODABAR)&&n.readers.push(new S.a),i.includes(r.a.RSS_14)&&n.readers.push(new B.a),i.includes(r.a.RSS_EXPANDED)&&(console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."),n.readers.push(new O.a))),0===n.readers.length&&(n.readers.push(new C(t)),n.readers.push(new s.a),n.readers.push(new c.a),n.readers.push(new C(t)),n.readers.push(new a.a),n.readers.push(new u.a),n.readers.push(new B.a)),n}return T(t,e),t.prototype.decodeRow=function(e,t,n){for(var r=0;r=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},c=function(e){function t(){var t=e.call(this)||this;return t.decodeFinderCounters=new Int32Array(4),t.dataCharacterCounters=new Int32Array(8),t.oddRoundingErrors=new Array(4),t.evenRoundingErrors=new Array(4),t.oddCounts=new Array(t.dataCharacterCounters.length/2),t.evenCounts=new Array(t.dataCharacterCounters.length/2),t}return a(t,e),t.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},t.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},t.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},t.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},t.prototype.getOddCounts=function(){return this.oddCounts},t.prototype.getEvenCounts=function(){return this.evenCounts},t.prototype.parseFinderValue=function(e,n){for(var r=0;rr&&(r=t[o],n=o);e[n]++},t.decrement=function(e,t){for(var n=0,r=t[0],o=1;o=t.MIN_FINDER_PATTERN_RATIO&&i<=t.MAX_FINDER_PATTERN_RATIO){var a=Number.MAX_SAFE_INTEGER,c=Number.MIN_SAFE_INTEGER;try{for(var u=s(e),l=u.next();!l.done;l=u.next()){var f=l.value;f>c&&(c=f),f"+e+"<\/script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}p=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):function(){var e,t=u("iframe");return t.style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F}();for(var e=a.length;e--;)delete p.prototype[a[e]];return p()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h.prototype=o(e),n=new h,h.prototype=null,n[f]=e):n=p(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(69),o=n(179),i=n(82),a=r("unscopables"),s=Array.prototype;void 0==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,n){var r=n(51).Buffer,o=n(236).Transform,i=n(487).StringDecoder;function a(e){o.call(this),this.hashMode="string"===typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n(58)(a,o),a.prototype.update=function(e,t,n){"string"===typeof e&&(e=r.from(e,t));var o=this._update(e);return this.hashMode?this:(n&&(o=this._toString(o,n)),o)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(e,t,n){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(o){r=o}finally{n(r)}},a.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(n){t=n}e(t)},a.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},a.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new i(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var r=this._decoder.write(e);return n&&(r+=this._decoder.end()),r},e.exports=a},function(e,t,n){var r=n(502);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(1318),o=n(501),i=n(1319),a=n(727),s=n(728),c=n(143),u=n(709),l=u(r),f=u(o),h=u(i),d=u(a),p=u(s),A=c;(r&&"[object DataView]"!=A(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=A(new o)||i&&"[object Promise]"!=A(i.resolve())||a&&"[object Set]"!=A(new a)||s&&"[object WeakMap]"!=A(new s))&&(A=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case h:return"[object Promise]";case d:return"[object Set]";case p:return"[object WeakMap]"}return t}),e.exports=A},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){e.exports=!n(245)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(1447),o=n(1449);e.exports=function(e,t,n){return r(o,e,t,n)}},function(e,t,n){var r=n(143),o=n(151);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u}));var r=n(94),o=n.n(r),i=n(264),a=n.n(i),s=["selected","defaultValue","defaultChecked","accept","autoCapitalize","autoComplete","autoCorrect","autoFocus","checked","disabled","form","id","list","max","maxLength","min","minLength","multiple","name","pattern","placeholder","readOnly","required","step","type","value"],c=s.concat(["onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onClick","onContextMenu","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"]),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.htmlProps,r=void 0===n?c:n,i=t.includeAria,s=void 0===i||i,u={},l={};return a()(e,(function(e,t){var n=s&&(/^aria-.*$/.test(t)||"role"===t);(o()(r,t)||n?u:l)[t]=e})),[u,l]}},function(e,t,n){"use strict";var r=function(){function e(e,t){this.bits=e,this.points=t}return e.prototype.getBits=function(){return this.bits},e.prototype.getPoints=function(){return this.points},e}();t.a=r},function(e,t,n){"use strict";var r=n(404),o=function(){function e(){}return e.setGridSampler=function(t){e.gridSampler=t},e.getInstance=function(){return e.gridSampler},e.gridSampler=new r.a,e}();t.a=o},function(e,t,n){"use strict";var r=n(79),o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.forName=function(e){return this.getCharacterSetECIByName(e)},t}(r.a);t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),o=n(48),i=n(20),a=function(){function e(){}return e.prototype.getEncodingMode=function(){return i.d},e.prototype.encodeMaximal=function(e){for(var t=new r.a,n=0,o=e.pos,a=0;e.hasMoreCharacters();){var s=e.getCurrentChar();e.pos++,n=this.encodeChar(s,t),t.length()%3===0&&(o=e.pos,a=t.length())}if(a!==t.length()){var c=Math.floor(t.length()/3*2),u=Math.floor(e.getCodewordCount()+c+1);e.updateSymbolInfo(u);var l=e.getSymbolInfo().getDataCapacity()-u,f=Math.floor(t.length()%3);(2===f&&2!==l||1===f&&(n>3||1!==l))&&(e.pos=o)}t.length()>0&&e.writeCodeword(i.k),this.handleEOD(e,t)},e.prototype.encode=function(e){for(var t=new r.a;e.hasMoreCharacters();){var n=e.getCurrentChar();e.pos++;var a=this.encodeChar(n,t),s=2*Math.floor(t.length()/3),c=e.getCodewordCount()+s;e.updateSymbolInfo(c);var u=e.getSymbolInfo().getDataCapacity()-c;if(!e.hasMoreCharacters()){var l=new r.a;for(t.length()%3===2&&2!==u&&(a=this.backtrackOneCharacter(e,t,l,a));t.length()%3===1&&(a>3||1!==u);)a=this.backtrackOneCharacter(e,t,l,a);break}if(t.length()%3===0)if(o.a.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode())!==this.getEncodingMode()){e.signalEncoderChange(i.b);break}}this.handleEOD(e,t)},e.prototype.backtrackOneCharacter=function(e,t,n,r){var o=t.length(),i=t.toString().substring(0,o-r);t.setLengthToZero(),t.append(i),e.pos--;var a=e.getCurrentChar();return r=this.encodeChar(a,n),e.resetSymbolInfo(),r},e.prototype.writeNextTriplet=function(e,t){e.writeCodewords(this.encodeToCodewords(t.toString()));var n=t.toString().substring(3);t.setLengthToZero(),t.append(n)},e.prototype.handleEOD=function(e,t){var n=Math.floor(t.length()/3*2),r=t.length()%3,o=e.getCodewordCount()+n;e.updateSymbolInfo(o);var a=e.getSymbolInfo().getDataCapacity()-o;if(2===r){for(t.append("\0");t.length()>=3;)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(i.e)}else if(1===a&&1===r){for(;t.length()>=3;)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(i.e),e.pos--}else{if(0!==r)throw new Error("Unexpected case. Please report!");for(;t.length()>=3;)this.writeNextTriplet(e,t);(a>0||e.hasMoreCharacters())&&e.writeCodeword(i.e)}e.signalEncoderChange(i.b)},e.prototype.encodeChar=function(e,t){if(e===" ".charCodeAt(0))return t.append(3),1;if(e>="0".charCodeAt(0)&&e<="9".charCodeAt(0))return t.append(e-48+4),1;if(e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0))return t.append(e-65+14),1;if(e<" ".charCodeAt(0))return t.append(0),t.append(e),2;if(e<="/".charCodeAt(0))return t.append(1),t.append(e-33),2;if(e<="@".charCodeAt(0))return t.append(1),t.append(e-58+15),2;if(e<="_".charCodeAt(0))return t.append(1),t.append(e-91+22),2;if(e<=127)return t.append(2),t.append(e-96),2;t.append("1\x1e");var n=2;return n+=this.encodeChar(e-128,t)},e.prototype.encodeToCodewords=function(e){var t=1600*e.charCodeAt(0)+40*e.charCodeAt(1)+e.charCodeAt(2)+1,n=t/256,o=t%256,i=new r.a;return i.append(n),i.append(o),i.toString()},e}()},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t,n){"use strict";var r=n(67),o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="UnsupportedOperationException",t}(r.a);t.a=i},function(e,t,n){var r=n(720),o=n(166),i=n(1337),a=n(76),s=n(301);e.exports=function(e,t,n){var c=a(e)?r:i;return n&&s(e,t,n)&&(t=void 0),c(e,o(t,3))}},function(e,t,n){var r=n(374),o=n(183),i=n(369),a=n(76),s=n(137),c=n(372),u=n(299),l=n(508),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||l(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},function(e,t,n){var r=n(143),o=n(113);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},function(e,t,n){"use strict";n.d(t,"c",(function(){return C})),n.d(t,"d",(function(){return S})),n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return B}));var r=n(45),o=n.n(r),i=(n(170),n(544)),a=n.n(i),s=n(76),c=n.n(s),u=n(545),l=n.n(u),f=n(187),h=n.n(f),d=n(197),p=n.n(d),A=n(307),g=n.n(A),v=n(815),m=n.n(v),y=n(46),b=n.n(y),w=n(14),_=n.n(w),M=n(0),E=n.n(M);function C(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("function"!==typeof e&&"string"!==typeof e)throw new Error("createShorthand() Component must be a string or function.");if(b()(n)||m()(n))return null;var i=g()(n),s=p()(n),u=h()(n),f=Object(M.isValidElement)(n),d=l()(n),A=i||s||c()(n);if(!u&&!f&&!d&&!A)return null;var v=r.defaultProps,y=void 0===v?{}:v,w=f&&n.props||d&&n||A&&t(n),C=r.overrideProps,S=void 0===C?{}:C;S=h()(S)?S(o()({},y,w)):S;var O=o()({},y,w,S);if(y.className||S.className||w.className){var B=_()(y.className,S.className,w.className);O.className=a()(B.split(" ")).join(" ")}if((y.style||S.style||w.style)&&(O.style=o()({},y.style,w.style,S.style)),b()(O.key)){var T=O.childKey,N=r.autoGenerateKey,x=void 0===N||N;b()(T)?x&&(i||s)&&(O.key=n):(O.key="function"===typeof T?T(O):T,delete O.childKey)}return f?Object(M.cloneElement)(n,O):A||d?E.a.createElement(e,O):u?n(e,O,O.children):void 0}function S(e,t){if("function"!==typeof e&&"string"!==typeof e)throw new Error("createShorthandFactory() Component must be a string or function.");return function(n,r){return C(e,t,n,r)}}C.handledProps=[];S("div",(function(e){return{children:e}})),S("iframe",(function(e){return{src:e}})),S("img",(function(e){return{src:e}}));var O=S("input",(function(e){return{type:e}})),B=S("label",(function(e){return{children:e}}));S("p",(function(e){return{children:e}}))},function(e,t,n){"use strict";var r=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(){function e(){}return e.getRSSvalue=function(t,n,o){var i,a,s=0;try{for(var c=r(t),u=c.next();!u.done;u=c.next()){s+=u.value}}catch(m){i={error:m}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}for(var l=0,f=0,h=t.length,d=0;d=h-d-1&&(A-=e.combins(s-p-(h-d),h-d-2)),h-d-1>1){for(var g=0,v=s-p-(h-d-2);v>n;v--)g+=e.combins(s-p-v-1,h-d-3);A-=g*(h-1-d)}else s-p>n&&A--;l+=A}s-=p}return l},e.combins=function(e,t){var n,r;e-t>t?(r=t,n=e-t):(r=e-t,n=t);for(var o=1,i=1,a=e;a>n;a--)o*=a,i<=r&&(o/=i,i++);for(;i<=r;)o/=i,i++;return o},e}();t.a=o},function(e,t,n){"use strict";var r=n(15),o=n.n(r),i=n(37),a=n.n(i),s=n(38),c=n.n(s),u=n(34),l=n.n(u),f=n(40),h=n.n(f),d=n(42),p=n.n(d),A=n(11),g=n.n(A),v=n(46),m=n.n(v),y=(n(122),n(14)),b=n.n(y),w=(n(4),n(0)),_=n.n(w),M=n(546),E=n(29),C=n(109),S=n(117),O=n(198),B=n(22);function T(e){var t=e.children,n=e.className,r=e.content,i=e.size,a=b()(i,"icons",n),s=Object(C.a)(T,e),c=Object(S.a)(T,e);return _.a.createElement(c,o()({},s,{className:a}),B.a.isNil(t)?r:t)}T.handledProps=["as","children","className","content","size"],T.propTypes={},T.defaultProps={as:"i"};var N=T,x=function(e){function t(){return a()(this,t),l()(this,h()(t).apply(this,arguments))}return p()(t,e),c()(t,[{key:"shouldComponentUpdate",value:function(e){return!Object(M.a)(this.props,e)}},{key:"getIconAriaOptions",value:function(){var e={},t=this.props,n=t["aria-label"],r=t["aria-hidden"];return m()(n)?e["aria-hidden"]="true":e["aria-label"]=n,m()(r)||(e["aria-hidden"]=r),e}},{key:"render",value:function(){var e=this.props,n=e.bordered,r=e.circular,i=e.className,a=e.color,s=e.corner,c=e.disabled,u=e.fitted,l=e.flipped,f=e.inverted,h=e.link,d=e.loading,p=e.name,A=e.rotated,g=e.size,v=b()(a,p,g,Object(E.a)(n,"bordered"),Object(E.a)(r,"circular"),Object(E.a)(s,"corner"),Object(E.a)(c,"disabled"),Object(E.a)(u,"fitted"),Object(E.a)(f,"inverted"),Object(E.a)(h,"link"),Object(E.a)(d,"loading"),Object(E.e)(l,"flipped"),Object(E.e)(A,"rotated"),"icon",i),m=Object(C.a)(t,this.props),y=Object(S.a)(t,this.props),w=this.getIconAriaOptions();return _.a.createElement(y,o()({},m,w,{className:v}))}}]),t}(w.Component);g()(x,"defaultProps",{as:"i"}),g()(x,"Group",N),g()(x,"handledProps",["aria-hidden","aria-label","as","bordered","circular","className","color","corner","disabled","fitted","flipped","inverted","link","loading","name","rotated","size"]),x.propTypes={},x.create=Object(O.d)(x,(function(e){return{name:e}}));t.a=x},,function(e,t,n){var r=n(584),o=n(460).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(280),o=n(62),i=n(88),a=n(82).f,s=n(279),c=n(283),u=s("meta"),l=0,f=Object.isExtensible||function(){return!0},h=function(e){a(e,u,{value:{objectID:"O"+ ++l,weakData:{}}})},d=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,u)){if(!f(e))return"F";if(!t)return"E";h(e)}return e[u].objectID},getWeakData:function(e,t){if(!i(e,u)){if(!f(e))return!0;if(!t)return!1;h(e)}return e[u].weakData},onFreeze:function(e){return c&&d.REQUIRED&&f(e)&&!i(e,u)&&h(e),e}};r[u]=!0},function(e,t,n){var r=n(39),o=n(587);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r=n(53),o=n(344);e.exports=r?o:function(e){return Set.prototype.values.call(e)}},function(e,t,n){"use strict";var r=n(147),o=n(82),i=n(176);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";var r=n(356),o=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=f;var i=Object.create(n(290));i.inherits=n(58);var a=n(663),s=n(486);i.inherits(f,a);for(var c=o(s.prototype),u=0;u=this.height||this.rightInit>=this.width)throw new i.a}return e.prototype.detect=function(){for(var e=this.leftInit,t=this.rightInit,n=this.upInit,r=this.downInit,o=!1,a=!0,s=!1,c=!1,u=!1,l=!1,f=!1,h=this.width,d=this.height;a;){a=!1;for(var p=!0;(p||!c)&&t=h){o=!0;break}for(var A=!0;(A||!u)&&r=d){o=!0;break}for(var g=!0;(g||!l)&&e>=0;)(g=this.containsBlackPoint(n,r,e,!1))?(e--,a=!0,l=!0):l||e--;if(e<0){o=!0;break}for(var v=!0;(v||!f)&&n>=0;)(v=this.containsBlackPoint(e,t,n,!0))?(n--,a=!0,f=!0):f||n--;if(n<0){o=!0;break}a&&(s=!0)}if(!o&&s){for(var m=t-e,y=null,b=1;null===y&&b=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},c=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=Int32Array.from([0,0,0,0]),t}return a(t,e),t.prototype.decodeMiddle=function(e,n,r){var i,a,c,u,l=this.decodeMiddleCounters;l[0]=0,l[1]=0,l[2]=0,l[3]=0;for(var f=e.getSize(),h=n[1],d=0,p=0;p<6&&h=10&&(d|=1<<5-p)}r=t.determineFirstDigit(r,d),h=o.a.findGuardPattern(e,h,!0,o.a.MIDDLE_PATTERN,new Int32Array(o.a.MIDDLE_PATTERN.length).fill(0))[1];for(p=0;p<6&&h>\n"),e.toString()},e.prototype.setMode=function(e){this.mode=e},e.prototype.setECLevel=function(e){this.ecLevel=e},e.prototype.setVersion=function(e){this.version=e},e.prototype.setMaskPattern=function(e){this.maskPattern=e},e.prototype.setMatrix=function(e){this.matrix=e},e.isValidMaskPattern=function(t){return t>=0&&t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(){function e(){}return e.detectMultiple=function(t,n,r){var o=t.getBlackMatrix(),i=e.detect(r,o);return i.length||((o=o.clone()).rotate180(),i=e.detect(r,o)),new p(o,i)},e.detect=function(t,n){for(var r,o,i=new Array,a=0,s=0,c=!1;a0;){if(null==(p=e.findGuardPattern(t,i,--o,r,!1,a,u))){o++;break}A=p}s[0]=new f.a(A[0],o),s[1]=new f.a(A[1],o),c=!0;break}}var l=o+1;if(c){for(var h=0,p=Int32Array.from([Math.trunc(s[0].getX()),Math.trunc(s[1].getX())]);le.SKIPPED_ROW_COUNT_MAX)break;h++}}l-=h+1,s[2]=new f.a(p[0],l),s[3]=new f.a(p[1],l)}return l-o0&&u++f?l-f:f-l;if(h>n)return 1/0;c+=h}return c/o},e.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),e.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),e.MAX_AVG_VARIANCE=.42,e.MAX_INDIVIDUAL_VARIANCE=.8,e.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),e.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),e.MAX_PIXEL_DRIFT=3,e.MAX_PATTERN_DRIFT=5,e.SKIPPED_ROW_COUNT_MAX=25,e.ROW_STEP=5,e.BARCODE_MIN_HEIGHT=10,e}(),v=n(50),m=n(422),y=function(){function e(t,n,r,o,i){t instanceof e?this.constructor_2(t):this.constructor_1(t,n,r,o,i)}return e.prototype.constructor_1=function(e,t,n,r,o){var i=null==t||null==n,s=null==r||null==o;if(i&&s)throw new a.a;i?(t=new f.a(0,r.getY()),n=new f.a(0,o.getY())):s&&(r=new f.a(e.getWidth()-1,t.getY()),o=new f.a(e.getWidth()-1,n.getY())),this.image=e,this.topLeft=t,this.bottomLeft=n,this.topRight=r,this.bottomRight=o,this.minX=Math.trunc(Math.min(t.getX(),n.getX())),this.maxX=Math.trunc(Math.max(r.getX(),o.getX())),this.minY=Math.trunc(Math.min(t.getY(),r.getY())),this.maxY=Math.trunc(Math.max(n.getY(),o.getY()))},e.prototype.constructor_2=function(e){this.image=e.image,this.topLeft=e.getTopLeft(),this.bottomLeft=e.getBottomLeft(),this.topRight=e.getTopRight(),this.bottomRight=e.getBottomRight(),this.minX=e.getMinX(),this.maxX=e.getMaxX(),this.minY=e.getMinY(),this.maxY=e.getMaxY()},e.merge=function(t,n){return null==t?n:null==n?t:new e(t.image,t.topLeft,t.bottomLeft,n.topRight,n.bottomRight)},e.prototype.addMissingRows=function(t,n,r){var o=this.topLeft,i=this.bottomLeft,a=this.topRight,s=this.bottomRight;if(t>0){var c=r?this.topLeft:this.topRight,u=Math.trunc(c.getY()-t);u<0&&(u=0);var l=new f.a(c.getX(),u);r?o=l:a=l}if(n>0){var h=r?this.bottomLeft:this.bottomRight,d=Math.trunc(h.getY()+n);d>=this.image.getHeight()&&(d=this.image.getHeight()-1);var p=new f.a(h.getX(),d);r?i=p:s=p}return new e(this.image,o,i,a,s)},e.prototype.getMinX=function(){return this.minX},e.prototype.getMaxX=function(){return this.maxX},e.prototype.getMinY=function(){return this.minY},e.prototype.getMaxY=function(){return this.maxY},e.prototype.getTopLeft=function(){return this.topLeft},e.prototype.getTopRight=function(){return this.topRight},e.prototype.getBottomLeft=function(){return this.bottomLeft},e.prototype.getBottomRight=function(){return this.bottomRight},e}(),b=function(){function e(e,t,n,r){this.columnCount=e,this.errorCorrectionLevel=r,this.rowCountUpperPart=t,this.rowCountLowerPart=n,this.rowCount=t+n}return e.prototype.getColumnCount=function(){return this.columnCount},e.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},e.prototype.getRowCount=function(){return this.rowCount},e.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},e.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},e}(),w=function(){function e(){this.buffer=""}return e.form=function(e,t){var n=-1;return e.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,(function(e,r,o,i,a,s){if("%%"===e)return"%";if(void 0!==t[++n]){e=i?parseInt(i.substr(1)):void 0;var c,u=a?parseInt(a.substr(1)):void 0;switch(s){case"s":c=t[n];break;case"c":c=t[n][0];break;case"f":c=parseFloat(t[n]).toFixed(e);break;case"p":c=parseFloat(t[n]).toPrecision(e);break;case"e":c=parseFloat(t[n]).toExponential(e);break;case"x":c=parseInt(t[n]).toString(u||16);break;case"d":c=parseFloat(parseInt(t[n],u||10).toPrecision(e)).toFixed(0)}c="object"===typeof c?JSON.stringify(c):(+c).toString(u);for(var l=parseInt(o),f=o&&o[0]+""==="0"?"0":" ";c.length=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},M=function(){function e(e){this.boundingBox=new y(e),this.codewords=new Array(e.getMaxY()-e.getMinY()+1)}return e.prototype.getCodewordNearby=function(t){var n=this.getCodeword(t);if(null!=n)return n;for(var r=1;r=0&&null!=(n=this.codewords[o]))return n;if((o=this.imageRowToCodewordIndex(t)+r)=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},C=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},S=function(){function e(){this.values=new Map}return e.prototype.setValue=function(e){e=Math.trunc(e);var t=this.values.get(e);null==t&&(t=0),t++,this.values.set(e,t)},e.prototype.getValue=function(){var e,t,n=-1,r=new Array,o=function(e,t){var o=function(){return e},i=function(){return t};i()>n?(n=i(),(r=[]).push(o())):i()===n&&r.push(o())};try{for(var i=E(this.values.entries()),a=i.next();!a.done;a=i.next()){var s=C(a.value,2);o(s[0],s[1])}}catch(u){e={error:u}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return c.a.toIntArray(r)},e.prototype.getConfidence=function(e){return this.values.get(e)},e}(),O=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),B=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},T=function(e){function t(t,n){var r=e.call(this,t)||this;return r._isLeft=n,r}return O(t,e),t.prototype.setRowNumbers=function(){var e,t;try{for(var n=B(this.getCodewords()),r=n.next();!r.done;r=n.next()){var o=r.value;null!=o&&o.setRowNumberAsRowIndicatorColumn()}}catch(i){e={error:i}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.adjustCompleteIndicatorColumnRowNumbers=function(e){var t=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(t,e);for(var n=this.getBoundingBox(),r=this._isLeft?n.getTopLeft():n.getTopRight(),o=this._isLeft?n.getBottomLeft():n.getBottomRight(),i=this.imageRowToCodewordIndex(Math.trunc(r.getY())),a=this.imageRowToCodewordIndex(Math.trunc(o.getY())),s=-1,c=1,u=0,l=i;l=e.getRowCount()||h>l)t[l]=null;else{for(var d=void 0,p=(d=c>2?(c-2)*h:h)>=l,A=1;A<=d&&!p;A++)p=null!=t[l-A];p?t[l]=null:(s=f.getRowNumber(),u=1)}}},t.prototype.getRowHeights=function(){var e,t,n=this.getBarcodeMetadata();if(null==n)return null;this.adjustIncompleteIndicatorColumnRowNumbers(n);var r=new Int32Array(n.getRowCount());try{for(var o=B(this.getCodewords()),i=o.next();!i.done;i=o.next()){var a=i.value;if(null!=a){var s=a.getRowNumber();if(s>=r.length)continue;r[s]++}}}catch(c){e={error:c}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return r},t.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(e){for(var t=this.getBoundingBox(),n=this._isLeft?t.getTopLeft():t.getTopRight(),r=this._isLeft?t.getBottomLeft():t.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(n.getY())),i=this.imageRowToCodewordIndex(Math.trunc(r.getY())),a=this.getCodewords(),s=-1,c=1,u=0,l=o;l=e.getRowCount()?a[l]=null:(s=f.getRowNumber(),u=1)}},t.prototype.getBarcodeMetadata=function(){var e,t,n=this.getCodewords(),r=new S,o=new S,i=new S,a=new S;try{for(var s=B(n),u=s.next();!u.done;u=s.next()){var l=u.value;if(null!=l){l.setRowNumberAsRowIndicatorColumn();var f=l.getValue()%30,h=l.getRowNumber();switch(this._isLeft||(h+=2),h%3){case 0:o.setValue(3*f+1);break;case 1:a.setValue(f/3),i.setValue(f%3);break;case 2:r.setValue(f+1)}}}}catch(p){e={error:p}}finally{try{u&&!u.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}if(0===r.getValue().length||0===o.getValue().length||0===i.getValue().length||0===a.getValue().length||r.getValue()[0]<1||o.getValue()[0]+i.getValue()[0]c.a.MAX_ROWS_IN_BARCODE)return null;var d=new b(r.getValue()[0],o.getValue()[0],i.getValue()[0],a.getValue()[0]);return this.removeIncorrectCodewords(n,d),d},t.prototype.removeIncorrectCodewords=function(e,t){for(var n=0;nt.getRowCount())e[n]=null;else switch(this._isLeft||(i+=2),i%3){case 0:3*o+1!==t.getRowCountUpperPart()&&(e[n]=null);break;case 1:Math.trunc(o/3)===t.getErrorCorrectionLevel()&&o%3===t.getRowCountLowerPart()||(e[n]=null);break;case 2:o+1!==t.getColumnCount()&&(e[n]=null)}}}},t.prototype.isLeft=function(){return this._isLeft},t.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+e.prototype.toString.call(this)},t}(M),N=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},x=function(){function e(e,t){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=e,this.barcodeColumnCount=e.getColumnCount(),this.boundingBox=t,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}return e.prototype.getDetectionResultColumns=function(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);var e,t=c.a.MAX_CODEWORDS_IN_BARCODE;do{e=t,t=this.adjustRowNumbersAndGetCount()}while(t>0&&t0&&i0&&(u[0]=r[n-1],u[4]=s[n-1],u[5]=c[n-1]),n>1&&(u[8]=r[n-2],u[10]=s[n-2],u[11]=c[n-2]),n>=1;r=1&n,e.RATIOS_TABLE[t]||(e.RATIOS_TABLE[t]=new Array(c.a.BARS_IN_MODULE)),e.RATIOS_TABLE[t][c.a.BARS_IN_MODULE-o-1]=Math.fround(i/c.a.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},e.getDecodedValue=function(t){var n=e.getDecodedCodewordValue(e.sampleBitCounts(t));return-1!==n?n:e.getClosestDecodedValue(t)},e.sampleBitCounts=function(e){for(var t=v.a.sum(e),n=new Int32Array(c.a.BARS_IN_MODULE),r=0,o=0,i=0;i1)for(var o=0;o=i)break}u=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},D=function(){function e(){}return e.decode=function(t,n,r,o,i,s,c){for(var u,l=new y(t,n,r,o,i),f=null,h=null,d=!0;;d=!1){if(null!=n&&(f=e.getRowIndicatorColumn(t,l,n,!0,s,c)),null!=o&&(h=e.getRowIndicatorColumn(t,l,o,!1,s,c)),null==(u=e.merge(f,h)))throw a.a.getNotFoundInstance();var p=u.getBoundingBox();if(!d||null==p||!(p.getMinY()l.getMaxY()))break;l=p}u.setBoundingBox(l);var A=u.getBarcodeColumnCount()+1;u.setDetectionResultColumn(0,f),u.setDetectionResultColumn(A,h);for(var g=null!=f,v=1;v<=A;v++){var m=g?v:A-v;if(void 0===u.getDetectionResultColumn(m)){var b=void 0;b=0===m||m===A?new T(l,0===m):new M(l),u.setDetectionResultColumn(m,b);for(var w=-1,_=w,E=l.getMinY();E<=l.getMaxY();E++){if((w=e.getStartColumn(u,m,E,g))<0||w>l.getMaxX()){if(-1===_)continue;w=_}var C=e.detectCodeword(t,l.getMinX(),l.getMaxX(),g,w,E,s,c);null!=C&&(b.setCodeword(E,C),_=w,s=Math.min(s,C.getWidth()),c=Math.max(c,C.getWidth()))}}}return e.createDecoderResult(u)},e.merge=function(t,n){if(null==t&&null==n)return null;var r=e.getBarcodeMetadata(t,n);if(null==r)return null;var o=y.merge(e.adjustBoundingBox(t),e.adjustBoundingBox(n));return new x(r,o)},e.adjustBoundingBox=function(t){var n,r;if(null==t)return null;var o=t.getRowHeights();if(null==o)return null;var i=e.getMax(o),a=0;try{for(var s=R(o),c=s.next();!c.done;c=s.next()){var u=c.value;if(a+=i-u,u>0)break}}catch(d){n={error:d}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}for(var l=t.getCodewords(),f=0;a>0&&null==l[f];f++)a--;var h=0;for(f=o.length-1;f>=0&&(h+=i-o[f],!(o[f]>0));f--);for(f=l.length-1;h>0&&null==l[f];f--)h--;return t.getBoundingBox().addMissingRows(a,h,t.isLeft())},e.getMax=function(e){var t,n,r=-1;try{for(var o=R(e),i=o.next();!i.done;i=o.next()){var a=i.value;r=Math.max(r,a)}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r},e.getBarcodeMetadata=function(e,t){var n,r;return null==e||null==(n=e.getBarcodeMetadata())?null==t?null:t.getBarcodeMetadata():null==t||null==(r=t.getBarcodeMetadata())?n:n.getColumnCount()!==r.getColumnCount()&&n.getErrorCorrectionLevel()!==r.getErrorCorrectionLevel()&&n.getRowCount()!==r.getRowCount()?null:n},e.getRowIndicatorColumn=function(t,n,r,o,i,a){for(var s=new T(n,o),c=0;c<2;c++)for(var u=0===c?1:-1,l=Math.trunc(Math.trunc(r.getX())),f=Math.trunc(Math.trunc(r.getY()));f<=n.getMaxY()&&f>=n.getMinY();f+=u){var h=e.detectCodeword(t,0,t.getWidth(),o,l,f,i,a);null!=h&&(s.setCodeword(f,h),l=o?h.getStartX():h.getEndX())}return s},e.adjustCodewordCount=function(t,n){var r=n[0][1],o=r.getValue(),i=t.getBarcodeColumnCount()*t.getBarcodeRowCount()-e.getNumberOfECCodeWords(t.getBarcodeECLevel());if(0===o.length){if(i<1||i>c.a.MAX_CODEWORDS_IN_BARCODE)throw a.a.getNotFoundInstance();r.setValue(i)}else o[0]!==i&&r.setValue(i)},e.createDecoderResult=function(t){var n=e.createBarcodeMatrix(t);e.adjustCodewordCount(t,n);for(var r=new Array,o=new Int32Array(t.getBarcodeRowCount()*t.getBarcodeColumnCount()),i=[],a=new Array,s=0;s0;){for(var u=0;u=0){if(A>=i.length)continue;i[A][c].setValue(p.getValue())}}}}catch(g){r={error:g}}finally{try{d&&!d.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}c++}}catch(v){t={error:v}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return i},e.isValidBarcodeColumn=function(e,t){return t>=0&&t<=e.getBarcodeColumnCount()+1},e.getStartColumn=function(t,n,r,o){var i,a,s=o?1:-1,c=null;if(e.isValidBarcodeColumn(t,n-s)&&(c=t.getDetectionResultColumn(n-s).getCodeword(r)),null!=c)return o?c.getEndX():c.getStartX();if(null!=(c=t.getDetectionResultColumn(n).getCodewordNearby(r)))return o?c.getStartX():c.getEndX();if(e.isValidBarcodeColumn(t,n-s)&&(c=t.getDetectionResultColumn(n-s).getCodewordNearby(r)),null!=c)return o?c.getEndX():c.getStartX();for(var u=0;e.isValidBarcodeColumn(t,n-s);){n-=s;try{for(var l=(i=void 0,R(t.getDetectionResultColumn(n).getCodewords())),f=l.next();!f.done;f=l.next()){var h=f.value;if(null!=h)return(o?h.getEndX():h.getStartX())+s*u*(h.getEndX()-h.getStartX())}}catch(d){i={error:d}}finally{try{f&&!f.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}u++}return o?t.getBoundingBox().getMinX():t.getBoundingBox().getMaxX()},e.detectCodeword=function(t,n,r,o,i,a,s,u){i=e.adjustCodewordStartColumn(t,n,r,o,i,a);var l,f=e.getModuleBitCount(t,n,r,o,i,a);if(null==f)return null;var h=v.a.sum(f);if(o)l=i+h;else{for(var d=0;d=t)&&c=n:se.CODEWORD_SKEW_SIZE)return i;s+=c}c=-c,o=!o}return s},e.checkCodewordSkew=function(t,n,r){return n-e.CODEWORD_SKEW_SIZE<=t&&t<=r+e.CODEWORD_SKEW_SIZE},e.decodeCodewords=function(t,n,r){if(0===t.length)throw i.a.getFormatInstance();var o=1<r/2+e.MAX_ERRORS||r<0||r>e.MAX_EC_CODEWORDS)throw o.a.getChecksumInstance();return e.errorCorrection.decode(t,r,n)},e.verifyCodewordCount=function(e,t){if(e.length<4)throw i.a.getFormatInstance();var n=e[0];if(n>e.length)throw i.a.getFormatInstance();if(0===n){if(!(t>=1;return t},e.getCodewordBucketNumber=function(e){return e instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(e):this.getCodewordBucketNumber_number(e)},e.getCodewordBucketNumber_number=function(t){return e.getCodewordBucketNumber(e.getBitCountForCodeword(t))},e.getCodewordBucketNumber_Int32Array=function(e){return(e[0]-e[2]+e[4]-e[6]+9)%9},e.toString=function(e){for(var t=new w,n=0;n=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},z=function(){function e(){}return e.prototype.decode=function(t,n){void 0===n&&(n=null);var r=e.decode(t,n,!1);if(null==r||0===r.length||null==r[0])throw a.a.getNotFoundInstance();return r[0]},e.prototype.decodeMultiple=function(t,n){void 0===n&&(n=null);try{return e.decode(t,n,!0)}catch(r){if(r instanceof i.a||r instanceof o.a)throw a.a.getNotFoundInstance();throw r}},e.decode=function(t,n,o){var i,a,c=new Array,u=g.detectMultiple(t,n,o);try{for(var f=F(u.getPoints()),h=f.next();!h.done;h=f.next()){var d=h.value,p=D.decode(u.getBits(),d[4],d[5],d[6],d[7],e.getMinCodewordWidth(d),e.getMaxCodewordWidth(d)),A=new s.a(p.getText(),p.getRawBytes(),void 0,d,r.a.PDF_417);A.putMetadata(l.a.ERROR_CORRECTION_LEVEL,p.getECLevel());var v=p.getOther();null!=v&&A.putMetadata(l.a.PDF417_EXTRA_METADATA,v),c.push(A)}}catch(m){i={error:m}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}return c.map((function(e){return e}))},e.getMaxWidth=function(e,t){return null==e||null==t?0:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMinWidth=function(e,t){return null==e||null==t?u.a.MAX_VALUE:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMaxCodewordWidth=function(t){return Math.floor(Math.max(Math.max(e.getMaxWidth(t[0],t[4]),e.getMaxWidth(t[6],t[2])*c.a.MODULES_IN_CODEWORD/c.a.MODULES_IN_STOP_PATTERN),Math.max(e.getMaxWidth(t[1],t[5]),e.getMaxWidth(t[7],t[3])*c.a.MODULES_IN_CODEWORD/c.a.MODULES_IN_STOP_PATTERN)))},e.getMinCodewordWidth=function(t){return Math.floor(Math.min(Math.min(e.getMinWidth(t[0],t[4]),e.getMinWidth(t[6],t[2])*c.a.MODULES_IN_CODEWORD/c.a.MODULES_IN_STOP_PATTERN),Math.min(e.getMinWidth(t[1],t[5]),e.getMinWidth(t[7],t[3])*c.a.MODULES_IN_CODEWORD/c.a.MODULES_IN_STOP_PATTERN)))},e.prototype.reset=function(){},e}();t.a=z},function(e,t,n){"use strict";var r=n(31),o=n(77),i=n(56),a=n(17),s=n(61),c=n(80),u=n(68),l=n(86),f=n(156),h=n(139),d=n(256),p=n(321),A=n(24),g=function(){function e(e){var t=e.getHeight();if(t<21||1!==(3&t))throw new A.a;this.bitMatrix=e}return e.prototype.readFormatInformation=function(){if(null!==this.parsedFormatInfo&&void 0!==this.parsedFormatInfo)return this.parsedFormatInfo;for(var e=0,t=0;t<6;t++)e=this.copyBit(t,8,e);e=this.copyBit(7,8,e),e=this.copyBit(8,8,e),e=this.copyBit(8,7,e);for(var n=5;n>=0;n--)e=this.copyBit(8,n,e);var r=this.bitMatrix.getHeight(),o=0,i=r-7;for(n=r-1;n>=i;n--)o=this.copyBit(8,n,o);for(t=r-8;t=0;o--)for(var i=e-9;i>=r;i--)n=this.copyBit(i,o,n);var a=h.a.decodeVersionInformation(n);if(null!==a&&a.getDimensionForVersion()===e)return this.parsedVersion=a,a;n=0;for(i=5;i>=0;i--)for(o=e-9;o>=r;o--)n=this.copyBit(i,o,n);if(null!==(a=h.a.decodeVersionInformation(n))&&a.getDimensionForVersion()===e)return this.parsedVersion=a,a;throw new A.a},e.prototype.copyBit=function(e,t,n){return(this.isMirror?this.bitMatrix.get(t,e):this.bitMatrix.get(e,t))?n<<1|1:n<<1},e.prototype.readCodewords=function(){var e=this.readFormatInformation(),t=this.readVersion(),n=p.a.values.get(e.getDataMask()),r=this.bitMatrix.getHeight();n.unmaskBitMatrix(this.bitMatrix,r);for(var o=t.buildFunctionPattern(),i=!0,a=new Uint8Array(t.getTotalCodewords()),s=0,c=0,u=0,l=r-1;l>0;l-=2){6===l&&l--;for(var f=0;f=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},y=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,n,r){var o,i,a,s;if(t.length!==n.getTotalCodewords())throw new v.a;var c=n.getECBlocksForLevel(r),u=0,l=c.getECBlocks();try{for(var f=m(l),h=f.next();!h.done;h=f.next()){u+=(y=h.value).getCount()}}catch(N){o={error:N}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}var d=new Array(u),p=0;try{for(var A=m(l),g=A.next();!g.done;g=A.next())for(var y=g.value,b=0;b=0;){if(d[E].codewords.length===M)break;E--}E++;var C=M-c.getECCodewordsPerBlock(),S=0;for(b=0;b=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},M=function(){function e(){this.rsDecoder=new f.a(l.a.QR_CODE_FIELD_256)}return e.prototype.decodeBooleanArray=function(e,t){return this.decodeBitMatrix(o.a.parseFromBooleanArray(e),t)},e.prototype.decodeBitMatrix=function(e,t){var n=new g(e),r=null;try{return this.decodeBitMatrixParser(n,t)}catch(i){r=i}try{n.remask(),n.setMirror(!0),n.readVersion(),n.readFormatInformation(),n.mirror();var o=this.decodeBitMatrixParser(n,t);return o.setOther(new w(!0)),o}catch(i){if(null!==r)throw r;throw i}},e.prototype.decodeBitMatrixParser=function(e,t){var n,r,o,i,a=e.readVersion(),s=e.readFormatInformation().getErrorCorrectionLevel(),c=e.readCodewords(),u=y.getDataBlocks(c,a,s),l=0;try{for(var f=_(u),h=f.next();!h.done;h=f.next()){l+=(v=h.value).getNumDataCodewords()}}catch(E){n={error:E}}finally{try{h&&!h.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}var d=new Uint8Array(l),p=0;try{for(var A=_(u),g=A.next();!g.done;g=A.next()){var v,m=(v=g.value).getCodewords(),w=v.getNumDataCodewords();this.correctErrors(m,w);for(var M=0;M=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},k=function(){function e(e,t,n,r,o,i,a){this.image=e,this.startX=t,this.startY=n,this.width=r,this.height=o,this.moduleSize=i,this.resultPointCallback=a,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return e.prototype.find=function(){for(var e=this.startX,t=this.height,n=e+this.width,r=this.startY+t/2,o=new Int32Array(3),i=this.image,s=0;s=n)return!1;return!0},e.prototype.crossCheckVertical=function(t,n,r,o){var i=this.image,a=i.getHeight(),s=this.crossCheckStateCount;s[0]=0,s[1]=0,s[2]=0;for(var c=t;c>=0&&i.get(n,c)&&s[1]<=r;)s[1]++,c--;if(c<0||s[1]>r)return NaN;for(;c>=0&&!i.get(n,c)&&s[0]<=r;)s[0]++,c--;if(s[0]>r)return NaN;for(c=t+1;cr)return NaN;for(;cr)return NaN;var u=s[0]+s[1]+s[2];return 5*Math.abs(u-o)>=2*o?NaN:this.foundPatternCross(s)?e.centerFromEnd(s,c):NaN},e.prototype.handlePossibleCenter=function(t,n,r){var o,i,a=t[0]+t[1]+t[2],s=e.centerFromEnd(t,r),c=this.crossCheckVertical(n,s,2*t[1],a);if(!isNaN(c)){var u=(t[0]+t[1]+t[2])/3;try{for(var l=x(this.possibleCenters),f=l.next();!f.done;f=l.next()){var h=f.value;if(h.aboutEquals(u,c,s))return h.combineEstimate(c,s,u)}}catch(p){o={error:p}}finally{try{f&&!f.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}var d=new N(s,c,u);this.possibleCenters.push(d),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(d)}return null},e}(),I=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),P=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.estimatedModuleSize=r,i.count=o,void 0===o&&(i.count=1),i}return I(t,e),t.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},t.prototype.getCount=function(){return this.count},t.prototype.aboutEquals=function(e,t,n){if(Math.abs(t-this.getY())<=e&&Math.abs(n-this.getX())<=e){var r=Math.abs(e-this.estimatedModuleSize);return r<=1||r<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,n,r){var o=this.count+1;return new t((this.count*this.getX()+n)/o,(this.count*this.getY()+e)/o,(this.count*this.estimatedModuleSize+r)/o,o)},t}(B.a),L=function(){function e(e){this.bottomLeft=e[0],this.topLeft=e[1],this.topRight=e[2]}return e.prototype.getBottomLeft=function(){return this.bottomLeft},e.prototype.getTopLeft=function(){return this.topLeft},e.prototype.getTopRight=function(){return this.topRight},e}(),R=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},D=function(){function e(e,t){this.image=e,this.resultPointCallback=t,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=t}return e.prototype.getImage=function(){return this.image},e.prototype.getPossibleCenters=function(){return this.possibleCenters},e.prototype.find=function(t){var n=null!==t&&void 0!==t&&void 0!==t.get(i.a.TRY_HARDER),r=null!==t&&void 0!==t&&void 0!==t.get(i.a.PURE_BARCODE),o=this.image,a=o.getHeight(),s=o.getWidth(),c=Math.floor(3*a/(4*e.MAX_MODULES));(cl[2]&&(f+=p-l[2]-c,d=s-1)}h=0,l[0]=0,l[1]=0,l[2]=0,l[3]=0,l[4]=0}else l[0]=l[2],l[1]=l[3],l[2]=l[4],l[3]=1,l[4]=0,h=3;else l[++h]++;else l[h]++;if(e.foundPatternCross(l))!0===this.handlePossibleCenter(l,f,s,r)&&(c=l[0],this.hasSkipped&&(u=this.haveMultiplyConfirmedCenters()))}var A=this.selectBestPatterns();return B.a.orderBestPatterns(A),new L(A)},e.centerFromEnd=function(e,t){return t-e[4]-e[3]-e[2]/2},e.foundPatternCross=function(e){for(var t=0,n=0;n<5;n++){var r=e[n];if(0===r)return!1;t+=r}if(t<7)return!1;var o=t/7,i=o/2;return Math.abs(o-e[0])=a&&n>=a&&s.get(n-a,t-a);)i[2]++,a++;if(t=a&&n>=a&&!s.get(n-a,t-a)&&i[1]<=r;)i[1]++,a++;if(tr)return!1;for(;t>=a&&n>=a&&s.get(n-a,t-a)&&i[0]<=r;)i[0]++,a++;if(i[0]>r)return!1;var c=s.getHeight(),u=s.getWidth();for(a=1;t+a=c||n+a>=u)return!1;for(;t+a=c||n+a>=u||i[3]>=r)return!1;for(;t+a=r)return!1;var l=i[0]+i[1]+i[2]+i[3]+i[4];return Math.abs(l-o)<2*o&&e.foundPatternCross(i)},e.prototype.crossCheckVertical=function(t,n,r,o){for(var i=this.image,a=i.getHeight(),s=this.getCrossCheckStateCount(),c=t;c>=0&&i.get(n,c);)s[2]++,c--;if(c<0)return NaN;for(;c>=0&&!i.get(n,c)&&s[1]<=r;)s[1]++,c--;if(c<0||s[1]>r)return NaN;for(;c>=0&&i.get(n,c)&&s[0]<=r;)s[0]++,c--;if(s[0]>r)return NaN;for(c=t+1;c=r)return NaN;for(;c=r)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-o)>=2*o?NaN:e.foundPatternCross(s)?e.centerFromEnd(s,c):NaN},e.prototype.crossCheckHorizontal=function(t,n,r,o){for(var i=this.image,a=i.getWidth(),s=this.getCrossCheckStateCount(),c=t;c>=0&&i.get(c,n);)s[2]++,c--;if(c<0)return NaN;for(;c>=0&&!i.get(c,n)&&s[1]<=r;)s[1]++,c--;if(c<0||s[1]>r)return NaN;for(;c>=0&&i.get(c,n)&&s[0]<=r;)s[0]++,c--;if(s[0]>r)return NaN;for(c=t+1;c=r)return NaN;for(;c=r)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-o)>=o?NaN:e.foundPatternCross(s)?e.centerFromEnd(s,c):NaN},e.prototype.handlePossibleCenter=function(t,n,r,o){var i=t[0]+t[1]+t[2]+t[3]+t[4],a=e.centerFromEnd(t,r),s=this.crossCheckVertical(n,Math.floor(a),t[2],i);if(!isNaN(s)&&(a=this.crossCheckHorizontal(Math.floor(a),Math.floor(s),t[2],i),!isNaN(a)&&(!o||this.crossCheckDiagonal(Math.floor(s),Math.floor(a),t[2],i)))){for(var c=i/7,u=!1,l=this.possibleCenters,f=0,h=l.length;f=e.CENTER_QUORUM){if(null!=r)return this.hasSkipped=!0,Math.floor((Math.abs(r.getX()-a.getX())-Math.abs(r.getY()-a.getY()))/2);r=a}}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return 0},e.prototype.haveMultiplyConfirmedCenters=function(){var t,n,r,o,i=0,a=0,s=this.possibleCenters.length;try{for(var c=R(this.possibleCenters),u=c.next();!u.done;u=c.next()){(p=u.value).getCount()>=e.CENTER_QUORUM&&(i++,a+=p.getEstimatedModuleSize())}}catch(A){t={error:A}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}if(i<3)return!1;var l=a/s,f=0;try{for(var h=R(this.possibleCenters),d=h.next();!d.done;d=h.next()){var p=d.value;f+=Math.abs(p.getEstimatedModuleSize()-l)}}catch(g){r={error:g}}finally{try{d&&!d.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}return f<=.05*a},e.prototype.selectBestPatterns=function(){var e,t,n,r,o=this.possibleCenters.length;if(o<3)throw new a.a;var i,s=this.possibleCenters;if(o>3){var c=0,u=0;try{for(var l=R(this.possibleCenters),f=l.next();!f.done;f=l.next()){var h=f.value.getEstimatedModuleSize();c+=h,u+=h*h}}catch(y){e={error:y}}finally{try{f&&!f.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}i=c/o;var d=Math.sqrt(u/o-i*i);s.sort((function(e,t){var n=Math.abs(t.getEstimatedModuleSize()-i),r=Math.abs(e.getEstimatedModuleSize()-i);return nr?1:0}));for(var p=Math.max(.2*i,d),A=0;A3;A++){var g=s[A];Math.abs(g.getEstimatedModuleSize()-i)>p&&(s.splice(A,1),A--)}}if(s.length>3){c=0;try{for(var v=R(s),m=v.next();!m.done;m=v.next()){c+=m.value.getEstimatedModuleSize()}}catch(b){n={error:b}}finally{try{m&&!m.done&&(r=v.return)&&r.call(v)}finally{if(n)throw n.error}}i=c/s.length,s.sort((function(e,t){if(t.getCount()===e.getCount()){var n=Math.abs(t.getEstimatedModuleSize()-i),r=Math.abs(e.getEstimatedModuleSize()-i);return nr?-1:0}return t.getCount()-e.getCount()})),s.splice(3)}return[s[0],s[1],s[2]]},e.CENTER_QUORUM=2,e.MIN_SKIP=3,e.MAX_MODULES=57,e}(),F=function(){function e(e){this.image=e}return e.prototype.getImage=function(){return this.image},e.prototype.getResultPointCallback=function(){return this.resultPointCallback},e.prototype.detect=function(e){this.resultPointCallback=null===e||void 0===e?null:e.get(i.a.NEED_RESULT_POINT_CALLBACK);var t=new D(this.image,this.resultPointCallback).find(e);return this.processFinderPatternInfo(t)},e.prototype.processFinderPatternInfo=function(t){var n=t.getTopLeft(),r=t.getTopRight(),o=t.getBottomLeft(),i=this.calculateModuleSize(n,r,o);if(i<1)throw new a.a("No pattern found in proccess finder.");var s=e.computeDimension(n,r,o,i),c=h.a.getProvisionalVersionForDimension(s),u=c.getDimensionForVersion()-7,l=null;if(c.getAlignmentPatternCenters().length>0)for(var f=r.getX()-n.getX()+o.getX(),d=r.getY()-n.getY()+o.getY(),p=1-3/u,A=Math.floor(n.getX()+p*(f-n.getX())),g=Math.floor(n.getY()+p*(d-n.getY())),v=4;v<=16;v<<=1)try{l=this.findAlignmentInRegion(i,A,g,v);break}catch(w){if(!(w instanceof a.a))throw w}var m,y=e.createTransform(n,r,o,l,s),b=e.sampleGrid(this.image,y,s);return m=null===l?[o,n,r]:[o,n,r,l],new C.a(b,m)},e.createTransform=function(e,t,n,r,o){var i,a,s,c,u=o-3.5;return null!==r?(i=r.getX(),a=r.getY(),c=s=u-3):(i=t.getX()-e.getX()+n.getX(),a=t.getY()-e.getY()+n.getY(),s=u,c=u),O.a.quadrilateralToQuadrilateral(3.5,3.5,u,3.5,s,c,3.5,u,e.getX(),e.getY(),t.getX(),t.getY(),i,a,n.getX(),n.getY())},e.sampleGrid=function(e,t,n){return S.a.getInstance().sampleGridWithTransform(e,n,n,t)},e.computeDimension=function(e,t,n,r){var o=E.a.round(B.a.distance(e,t)/r),i=E.a.round(B.a.distance(e,n)/r),s=Math.floor((o+i)/2)+7;switch(3&s){case 0:s++;break;case 2:s--;break;case 3:throw new a.a("Dimensions could be not found.")}return s},e.prototype.calculateModuleSize=function(e,t,n){return(this.calculateModuleSizeOneWay(e,t)+this.calculateModuleSizeOneWay(e,n))/2},e.prototype.calculateModuleSizeOneWay=function(e,t){var n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY())),r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY()));return isNaN(n)?r/7:isNaN(r)?n/7:(n+r)/14},e.prototype.sizeOfBlackWhiteBlackRunBothWays=function(e,t,n,r){var o=this.sizeOfBlackWhiteBlackRun(e,t,n,r),i=1,a=e-(n-e);a<0?(i=e/(e-a),a=0):a>=this.image.getWidth()&&(i=(this.image.getWidth()-1-e)/(a-e),a=this.image.getWidth()-1);var s=Math.floor(t-(r-t)*i);return i=1,s<0?(i=t/(t-s),s=0):s>=this.image.getHeight()&&(i=(this.image.getHeight()-1-t)/(s-t),s=this.image.getHeight()-1),a=Math.floor(e+(a-e)*i),(o+=this.sizeOfBlackWhiteBlackRun(e,t,a,s))-1},e.prototype.sizeOfBlackWhiteBlackRun=function(e,t,n,r){var o=Math.abs(r-t)>Math.abs(n-e);if(o){var i=e;e=t,t=i,i=n,n=r,r=i}for(var a=Math.abs(n-e),s=Math.abs(r-t),c=-a/2,u=e0){if(p===r)break;p+=l,c-=a}}return 2===f?E.a.distance(n+u,r,e,t):NaN},e.prototype.findAlignmentInRegion=function(e,t,n,r){var o=Math.floor(r*e),i=Math.max(0,t-o),s=Math.min(this.image.getWidth()-1,t+o);if(s-i<3*e)throw new a.a("Alignment top exceeds estimated module size.");var c=Math.max(0,n-o),u=Math.min(this.image.getHeight()-1,n+o);if(u-c<3*e)throw new a.a("Alignment bottom exceeds estimated module size.");return new k(this.image,i,c,s-i,u-c,e,this.resultPointCallback).find()},e}(),z=function(){function e(){this.decoder=new M}return e.prototype.getDecoder=function(){return this.decoder},e.prototype.decode=function(t,n){var o,a;if(void 0!==n&&null!==n&&void 0!==n.get(i.a.PURE_BARCODE)){var u=e.extractPureBits(t.getBlackMatrix());o=this.decoder.decodeBitMatrix(u,n),a=e.NO_POINTS}else{var l=new F(t.getBlackMatrix()).detect(n);o=this.decoder.decodeBitMatrix(l.getBits(),n),a=l.getPoints()}o.getOther()instanceof w&&o.getOther().applyMirroredCorrection(a);var f=new s.a(o.getText(),o.getRawBytes(),void 0,a,r.a.QR_CODE,void 0),h=o.getByteSegments();null!==h&&f.putMetadata(c.a.BYTE_SEGMENTS,h);var d=o.getECLevel();return null!==d&&f.putMetadata(c.a.ERROR_CORRECTION_LEVEL,d),o.hasStructuredAppend()&&(f.putMetadata(c.a.STRUCTURED_APPEND_SEQUENCE,o.getStructuredAppendSequenceNumber()),f.putMetadata(c.a.STRUCTURED_APPEND_PARITY,o.getStructuredAppendParity())),f},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),n=e.getBottomRightOnBit();if(null===t||null===n)throw new a.a;var r=this.moduleSize(t,e),i=t[1],s=n[1],c=t[0],u=n[0];if(c>=u||i>=s)throw new a.a;if(s-i!==u-c&&(u=c+(s-i))>=e.getWidth())throw new a.a;var l=Math.round((u-c+1)/r),f=Math.round((s-i+1)/r);if(l<=0||f<=0)throw new a.a;if(f!==l)throw new a.a;var h=Math.floor(r/2);i+=h;var d=(c+=h)+Math.floor((l-1)*r)-u;if(d>0){if(d>h)throw new a.a;c-=d}var p=i+Math.floor((f-1)*r)-s;if(p>0){if(p>h)throw new a.a;i-=p}for(var A=new o.a(l,f),g=0;g=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(){function e(e,t,n){this.ecCodewords=e,this.ecBlocks=[t],n&&this.ecBlocks.push(n)}return e.prototype.getECCodewords=function(){return this.ecCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e}(),g=function(){function e(e,t){this.count=e,this.dataCodewords=t}return e.prototype.getCount=function(){return this.count},e.prototype.getDataCodewords=function(){return this.dataCodewords},e}(),v=function(){function e(e,t,n,r,o,i){var a,s;this.versionNumber=e,this.symbolSizeRows=t,this.symbolSizeColumns=n,this.dataRegionSizeRows=r,this.dataRegionSizeColumns=o,this.ecBlocks=i;var c=0,u=i.getECCodewords(),l=i.getECBlocks();try{for(var f=p(l),h=f.next();!h.done;h=f.next()){var d=h.value;c+=d.getCount()*(d.getDataCodewords()+u)}}catch(A){a={error:A}}finally{try{h&&!h.done&&(s=f.return)&&s.call(f)}finally{if(a)throw a.error}}this.totalCodewords=c}return e.prototype.getVersionNumber=function(){return this.versionNumber},e.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},e.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},e.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},e.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},e.prototype.getTotalCodewords=function(){return this.totalCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e.getVersionForDimensions=function(t,n){var r,o;if(0!==(1&t)||0!==(1&n))throw new d.a;try{for(var i=p(e.VERSIONS),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.symbolSizeRows===t&&s.symbolSizeColumns===n)return s}}catch(c){r={error:c}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}throw new d.a},e.prototype.toString=function(){return""+this.versionNumber},e.buildVersions=function(){return[new e(1,10,10,8,8,new A(5,new g(1,3))),new e(2,12,12,10,10,new A(7,new g(1,5))),new e(3,14,14,12,12,new A(10,new g(1,8))),new e(4,16,16,14,14,new A(12,new g(1,12))),new e(5,18,18,16,16,new A(14,new g(1,18))),new e(6,20,20,18,18,new A(18,new g(1,22))),new e(7,22,22,20,20,new A(20,new g(1,30))),new e(8,24,24,22,22,new A(24,new g(1,36))),new e(9,26,26,24,24,new A(28,new g(1,44))),new e(10,32,32,14,14,new A(36,new g(1,62))),new e(11,36,36,16,16,new A(42,new g(1,86))),new e(12,40,40,18,18,new A(48,new g(1,114))),new e(13,44,44,20,20,new A(56,new g(1,144))),new e(14,48,48,22,22,new A(68,new g(1,174))),new e(15,52,52,24,24,new A(42,new g(2,102))),new e(16,64,64,14,14,new A(56,new g(2,140))),new e(17,72,72,16,16,new A(36,new g(4,92))),new e(18,80,80,18,18,new A(48,new g(4,114))),new e(19,88,88,20,20,new A(56,new g(4,144))),new e(20,96,96,22,22,new A(68,new g(4,174))),new e(21,104,104,24,24,new A(56,new g(6,136))),new e(22,120,120,18,18,new A(68,new g(6,175))),new e(23,132,132,20,20,new A(62,new g(8,163))),new e(24,144,144,22,22,new A(62,new g(8,156),new g(2,155))),new e(25,8,18,6,16,new A(7,new g(1,5))),new e(26,8,32,6,14,new A(11,new g(1,10))),new e(27,12,26,10,24,new A(14,new g(1,16))),new e(28,12,36,10,16,new A(18,new g(1,22))),new e(29,16,36,14,16,new A(24,new g(1,32))),new e(30,16,48,14,22,new A(28,new g(1,49)))]},e.VERSIONS=e.buildVersions(),e}(),m=n(27),y=function(){function e(t){var n=t.getHeight();if(n<8||n>144||0!==(1&n))throw new d.a;this.version=e.readVersion(t),this.mappingBitMatrix=this.extractDataRegion(t),this.readMappingMatrix=new o.a(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return e.prototype.getVersion=function(){return this.version},e.readVersion=function(e){var t=e.getHeight(),n=e.getWidth();return v.getVersionForDimensions(t,n)},e.prototype.readCodewords=function(){var e=new Int8Array(this.version.getTotalCodewords()),t=0,n=4,r=0,o=this.mappingBitMatrix.getHeight(),i=this.mappingBitMatrix.getWidth(),a=!1,s=!1,c=!1,u=!1;do{if(n!==o||0!==r||a)if(n!==o-2||0!==r||0===(3&i)||s)if(n!==o+4||2!==r||0!==(7&i)||c)if(n!==o-2||0!==r||4!==(7&i)||u){do{n=0&&!this.readMappingMatrix.get(r,n)&&(e[t++]=255&this.readUtah(n,r,o,i)),n-=2,r+=2}while(n>=0&&r=0&&r=0);n+=3,r+=1}else e[t++]=255&this.readCorner4(o,i),n-=2,r+=2,u=!0;else e[t++]=255&this.readCorner3(o,i),n-=2,r+=2,c=!0;else e[t++]=255&this.readCorner2(o,i),n-=2,r+=2,s=!0;else e[t++]=255&this.readCorner1(o,i),n-=2,r+=2,a=!0}while(n=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,n){var r,o,i,a,s=n.getECBlocks(),c=0,u=s.getECBlocks();try{for(var l=b(u),f=l.next();!f.done;f=l.next()){c+=(g=f.value).getCount()}}catch(x){r={error:x}}finally{try{f&&!f.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}var h=new Array(c),d=0;try{for(var p=b(u),A=p.next();!A.done;A=p.next())for(var g=A.value,v=0;v7?v-1:v;h[T].codewords[N]=t[E++]}if(E!==t.length)throw new m.a;return h},e.prototype.getNumDataCodewords=function(){return this.numDataCodewords},e.prototype.getCodewords=function(){return this.codewords},e}(),_=n(406),M=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},E=function(){function e(){this.rsDecoder=new h.a(f.a.DATA_MATRIX_FIELD_256)}return e.prototype.decode=function(e){var t,n,r=new y(e),o=r.getVersion(),i=r.readCodewords(),a=w.getDataBlocks(i,o),s=0;try{for(var c=M(a),u=c.next();!u.done;u=c.next()){s+=u.value.getNumDataCodewords()}}catch(v){t={error:v}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}for(var l=new Uint8Array(s),f=a.length,h=0;ha&&(u=a,l[0]=t,l[1]=n,l[2]=r,l[3]=o),u>s&&(u=s,l[0]=n,l[1]=r,l[2]=o,l[3]=t),u>c&&(l[0]=r,l[1]=o,l[2]=t,l[3]=n),l},e.prototype.detectSolid2=function(t){var n=t[0],r=t[1],o=t[2],i=t[3],a=this.transitionsBetween(n,i),s=e.shiftPoint(r,o,4*(a+1)),c=e.shiftPoint(o,r,4*(a+1));return this.transitionsBetween(s,n)this.transitionsBetween(c,f)+this.transitionsBetween(u,f)?l:f:l:this.isValid(f)?f:null},e.prototype.shiftToModuleCenter=function(t){var n=t[0],r=t[1],o=t[2],i=t[3],a=this.transitionsBetween(n,i)+1,s=this.transitionsBetween(o,i)+1,c=e.shiftPoint(n,r,4*s),u=e.shiftPoint(o,r,4*a);1===(1&(a=this.transitionsBetween(c,i)+1))&&(a+=1),1===(1&(s=this.transitionsBetween(u,i)+1))&&(s+=1);var l,f,h=(n.getX()+r.getX()+o.getX()+i.getX())/4,d=(n.getY()+r.getY()+o.getY()+i.getY())/4;return n=e.moveAway(n,h,d),r=e.moveAway(r,h,d),o=e.moveAway(o,h,d),i=e.moveAway(i,h,d),c=e.shiftPoint(n,r,4*s),c=e.shiftPoint(c,i,4*a),l=e.shiftPoint(r,n,4*s),l=e.shiftPoint(l,o,4*a),u=e.shiftPoint(o,i,4*s),u=e.shiftPoint(u,r,4*a),f=e.shiftPoint(i,o,4*s),[c,l,u,f=e.shiftPoint(f,n,4*a)]},e.prototype.isValid=function(e){return e.getX()>=0&&e.getX()0&&e.getY()Math.abs(o-n);if(a){var s=n;n=r,r=s,s=o,o=i,i=s}for(var c=Math.abs(o-n),u=Math.abs(i-r),l=-c/2,f=r0){if(g===i)break;g+=f,l-=c}}return d},e}(),N=function(){function e(){this.decoder=new E}return e.prototype.decode=function(t,n){var o,a;if(void 0===n&&(n=null),null!=n&&n.has(i.a.PURE_BARCODE)){var l=e.extractPureBits(t.getBlackMatrix());o=this.decoder.decode(l),a=e.NO_POINTS}else{var f=new T(t.getBlackMatrix()).detect();o=this.decoder.decode(f.getBits()),a=f.getPoints()}var h=o.getRawBytes(),d=new s.a(o.getText(),h,8*h.length,a,r.a.DATA_MATRIX,u.a.currentTimeMillis()),p=o.getByteSegments();null!=p&&d.putMetadata(c.a.BYTE_SEGMENTS,p);var A=o.getECLevel();return null!=A&&d.putMetadata(c.a.ERROR_CORRECTION_LEVEL,A),d},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),n=e.getBottomRightOnBit();if(null==t||null==n)throw new a.a;var r=this.moduleSize(t,e),i=t[1],s=n[1],c=t[0],u=(n[0]-c+1)/r,l=(s-i+1)/r;if(u<=0||l<=0)throw new a.a;var f=r/2;i+=f,c+=f;for(var h=new o.a(u,l),d=0;d0&&void 0!==arguments[0]?arguments[0]:e,r=arguments.length>1?arguments[1]:void 0,o=r.type,i=r.payload,a=t[o];return a?a(n,i):n}},t.isBrowser=function(){if("undefined"!==typeof window)return!0;return!1},t.keyCode=function(e){return e.which?e.which:e.keyCode},t.mapToToastrMessage=function(e,t){var n={};n.type=e,n.position=o.default.position,n.options=t.filter((function(e){return"object"==i(e)}))[0]||{},n.options.hasOwnProperty("position")&&(n.position=n.options.position);n.options.hasOwnProperty("removeOnHover")||(n.options.removeOnHover=!0,"message"===e&&(n.options.removeOnHover=!1));n.options.hasOwnProperty("showCloseButton")||(n.options.showCloseButton=!0);"message"!==e||n.options.hasOwnProperty("timeOut")||(n.options.timeOut=0);a(t[0])&&a(t[1])?(n.title=t[0],n.message=t[1]):a(t[0])&&!a(t[1])?n.title=t[0]:n.message=t[0];return n},t.guid=function(){var e=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)};return e()+e()+e()+"-"+e()+"_"+e()+"-"+e()+"_"+e()+e()+e()},t.onCSSTransitionEnd=function(e,t){if(!e)return;var n=function(){var e,t=document.createElement("fakeelement"),n={animation:"animationend",oanimation:"oanimationend",MSAnimation:"MSAnimationEnd",webkitAnimation:"webkitAnimationEnd"};for(e in n)if(void 0!==t.style[e])return n[e]}(),r=setTimeout((function(){var t=function(e){var t;"function"===typeof Event?t=new Event(e):(t=document.createEvent("Event")).initEvent(e,!0,!0);return t}(n);s("The toastr box was closed automatically, please check 'transitionOut' prop value"),e.dispatchEvent(t)}),o.default.maxAnimationDelay);e.addEventListener(n,(function o(i){clearTimeout(r),i.stopPropagation(),e.removeEventListener(n,o),t&&t(i)}))},t.preventDuplication=function(e,t){var n=!1;return e.forEach((function(e){e.options&&!1===e.options.preventDuplicates||e.title===t.title&&e.message===t.message&&e.type===t.type&&(n=!0)})),n},t.updateConfig=function(e){Object.keys(o.default).forEach((function(t){e.hasOwnProperty(t)&&(o.default[t]=e[t])}))},t._bind=function(e,t){var n=e;Array.isArray(e)||(n=e.split(" "));return n.map((function(e){return t[e]=t[e].bind(t)}))};var r,o=(r=n(481))&&r.__esModule?r:{default:r};function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e){return"string"==typeof e}function s(e){return null}},function(e,t){!function(e){"use strict";if(!e.fetch){var t="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,r="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,i="ArrayBuffer"in e;if(i)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=function(e){return e&&DataView.prototype.isPrototypeOf(e)},c=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};p.prototype.append=function(e,t){e=f(e),t=h(t);var n=this.map[e];this.map[e]=n?n+","+t:t},p.prototype.delete=function(e){delete this.map[f(e)]},p.prototype.get=function(e){return e=f(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(f(e))},p.prototype.set=function(e,t){this.map[f(e)]=h(t)},p.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),d(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),d(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),d(e)},n&&(p.prototype[Symbol.iterator]=p.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},y.call(b.prototype),y.call(M.prototype),M.prototype.clone=function(){return new M(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},M.error=function(){var e=new M(null,{status:0,statusText:""});return e.type="error",e};var l=[301,302,303,307,308];M.redirect=function(e,t){if(-1===l.indexOf(t))throw new RangeError("Invalid status code");return new M(null,{status:t,headers:{location:e}})},e.Headers=p,e.Request=b,e.Response=M,e.fetch=function(e,t){return new Promise((function(n,o){var i=new b(e,t),a=new XMLHttpRequest;a.onload=function(){var e={status:a.status,statusText:a.statusText,headers:_(a.getAllResponseHeaders()||"")};e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var t="response"in a?a.response:a.responseText;n(new M(t,e))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&r&&(a.responseType="blob"),i.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),a.send("undefined"===typeof i._bodyInit?null:i._bodyInit)}))},e.fetch.polyfill=!0}function f(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function h(e){return"string"!==typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function A(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function g(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function v(e){var t=new FileReader,n=g(t);return t.readAsArrayBuffer(e),n}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"===typeof e)this._bodyText=e;else if(r&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(o&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(i&&r&&s(e))this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!i||!ArrayBuffer.prototype.isPrototypeOf(e)&&!c(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=m(e)}else this._bodyText="";this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var e=A(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?A(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var e=A(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,n=g(t);return t.readAsText(e),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function _(e){var t=new p;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t}function M(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!==typeof self?self:this)},function(e,t,n){e.exports=o;var r=n(484).EventEmitter;function o(){r.call(this)}n(58)(o,r),o.Readable=n(485),o.Writable=n(1174),o.Duplex=n(1175),o.Transform=n(1176),o.PassThrough=n(1177),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",c));var a=!1;function s(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"===typeof e.destroy&&e.destroy())}function u(e){if(l(),0===r.listenerCount(this,"error"))throw e}function l(){n.removeListener("data",o),e.removeListener("drain",i),n.removeListener("end",s),n.removeListener("close",c),n.removeListener("error",u),e.removeListener("error",u),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",u),e.on("error",u),n.on("end",l),n.on("close",l),e.on("close",l),e.emit("pipe",n),e}},function(e,t,n){"use strict";(function(t,r){var o=n(51).Buffer,i=t.crypto||t.msCrypto;i&&i.getRandomValues?e.exports=function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var n=o.allocUnsafe(e);if(e>0)if(e>65536)for(var a=0;a=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,o=(n-r)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=o},function(e,t,n){var r=n(716),o=n(1305)(r);e.exports=o},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){var r=n(213),o=n(713),i=n(507);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){var r=n(513);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},function(e,t,n){var r=n(216),o=n(384);e.exports=n(185)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var r=n(751),o=n(516);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(518)("wks"),o=n(383),i=n(184).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},,function(e,t,n){"use strict";var r=n(32),o=n(403),i=n(50),a=n(219),s=n(86),c=n(156),u=n(17),l=n(190),f=n(41),h=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.toResultPoint=function(){return new r.a(this.getX(),this.getY())},e.prototype.getX=function(){return this.x},e.prototype.getY=function(){return this.y},e}(),d=function(){function e(e){this.EXPECTED_CORNER_BITS=new Int32Array([3808,476,2107,1799]),this.image=e}return e.prototype.detect=function(){return this.detectMirror(!1)},e.prototype.detectMirror=function(e){var t=this.getMatrixCenter(),n=this.getBullsEyeCorners(t);if(e){var r=n[0];n[0]=n[2],n[2]=r}this.extractParameters(n);var i=this.sampleGrid(this.image,n[this.shift%4],n[(this.shift+1)%4],n[(this.shift+2)%4],n[(this.shift+3)%4]),a=this.getMatrixCornerPoints(n);return new o.a(i,a,this.compact,this.nbDataBlocks,this.nbLayers)},e.prototype.extractParameters=function(e){if(!this.isValidPoint(e[0])||!this.isValidPoint(e[1])||!this.isValidPoint(e[2])||!this.isValidPoint(e[3]))throw new u.a;var t=2*this.nbCenterLayers,n=new Int32Array([this.sampleLine(e[0],e[1],t),this.sampleLine(e[1],e[2],t),this.sampleLine(e[2],e[3],t),this.sampleLine(e[3],e[0],t)]);this.shift=this.getRotation(n,t);for(var r=0,o=0;o<4;o++){var i=n[(this.shift+o)%4];this.compact?(r<<=7,r+=i>>1&127):(r<<=10,r+=(i>>2&992)+(i>>1&31))}var a=this.getCorrectedParameterData(r,this.compact);this.compact?(this.nbLayers=1+(a>>6),this.nbDataBlocks=1+(63&a)):(this.nbLayers=1+(a>>11),this.nbDataBlocks=1+(2047&a))},e.prototype.getRotation=function(e,t){var n=0;e.forEach((function(e,r,o){n=(n<<3)+((e>>t-2<<1)+(1&e))})),n=((1&n)<<11)+(n>>1);for(var r=0;r<4;r++)if(f.a.bitCount(n^this.EXPECTED_CORNER_BITS[r])<=2)return r;throw new u.a},e.prototype.getCorrectedParameterData=function(e,t){var n,r;t?(n=7,r=2):(n=10,r=4);for(var o=n-r,i=new Int32Array(n),a=n-1;a>=0;--a)i[a]=15&e,e>>=4;try{new c.a(s.a.AZTEC_PARAM).decode(i,o)}catch(f){throw new u.a}var l=0;for(a=0;a2){var h=this.distancePoint(f,s)*this.nbCenterLayers/(this.distancePoint(i,t)*(this.nbCenterLayers+2));if(h<.75||h>1.25||!this.isWhiteOrBlackRectangle(s,c,l,f))break}t=s,n=c,o=l,i=f,a=!a}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new u.a;this.compact=5===this.nbCenterLayers;var d=new r.a(t.getX()+.5,t.getY()-.5),p=new r.a(n.getX()+.5,n.getY()+.5),A=new r.a(o.getX()-.5,o.getY()+.5),g=new r.a(i.getX()-.5,i.getY()-.5);return this.expandSquare([d,p,A,g],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},e.prototype.getMatrixCenter=function(){var e,t,n,r;try{e=(l=new a.a(this.image).detect())[0],t=l[1],n=l[2],r=l[3]}catch(f){var o=this.image.getWidth()/2,s=this.image.getHeight()/2;e=this.getFirstDifferent(new h(o+7,s-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new h(o+7,s+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new h(o-7,s+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new h(o-7,s-7),!1,-1,-1).toResultPoint()}var c=i.a.round((e.getX()+r.getX()+t.getX()+n.getX())/4),u=i.a.round((e.getY()+r.getY()+t.getY()+n.getY())/4);try{var l;e=(l=new a.a(this.image,15,c,u).detect())[0],t=l[1],n=l[2],r=l[3]}catch(f){e=this.getFirstDifferent(new h(c+7,u-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new h(c+7,u+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new h(c-7,u+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new h(c-7,u-7),!1,-1,-1).toResultPoint()}return c=i.a.round((e.getX()+r.getX()+t.getX()+n.getX())/4),u=i.a.round((e.getY()+r.getY()+t.getY()+n.getY())/4),new h(c,u)},e.prototype.getMatrixCornerPoints=function(e){return this.expandSquare(e,2*this.nbCenterLayers,this.getDimension())},e.prototype.sampleGrid=function(e,t,n,r,o){var i=l.a.getInstance(),a=this.getDimension(),s=a/2-this.nbCenterLayers,c=a/2+this.nbCenterLayers;return i.sampleGrid(e,a,a,s,s,c,s,c,c,s,c,t.getX(),t.getY(),n.getX(),n.getY(),r.getX(),r.getY(),o.getX(),o.getY())},e.prototype.sampleLine=function(e,t,n){for(var r=0,o=this.distanceResultPoint(e,t),a=o/n,s=e.getX(),c=e.getY(),u=a*(t.getX()-e.getX())/o,l=a*(t.getY()-e.getY())/o,f=0;f.1&&h<.9?0:h<=.1===u?1:-1},e.prototype.getFirstDifferent=function(e,t,n,r){for(var o=e.getX()+n,i=e.getY()+r;this.isValid(o,i)&&this.image.get(o,i)===t;)o+=n,i+=r;for(o-=n,i-=r;this.isValid(o,i)&&this.image.get(o,i)===t;)o+=n;for(o-=n;this.isValid(o,i)&&this.image.get(o,i)===t;)i+=r;return new h(o,i-=r)},e.prototype.expandSquare=function(e,t,n){var o=n/(2*t),i=e[0].getX()-e[2].getX(),a=e[0].getY()-e[2].getY(),s=(e[0].getX()+e[2].getX())/2,c=(e[0].getY()+e[2].getY())/2,u=new r.a(s+o*i,c+o*a),l=new r.a(s-o*i,c-o*a);return i=e[1].getX()-e[3].getX(),a=e[1].getY()-e[3].getY(),s=(e[1].getX()+e[3].getX())/2,c=(e[1].getY()+e[3].getY())/2,[u,new r.a(s+o*i,c+o*a),l,new r.a(s-o*i,c-o*a)]},e.prototype.isValid=function(e,t){return e>=0&&e0&&t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function e(e,t,n,r,o,i,a,s){void 0===a&&(a=0),void 0===s&&(s=0),this.rectangular=e,this.dataCapacity=t,this.errorCodewords=n,this.matrixWidth=r,this.matrixHeight=o,this.dataRegions=i,this.rsBlockData=a,this.rsBlockError=s}return e.lookup=function(e,t,n,r,i){var a,c;void 0===t&&(t=0),void 0===n&&(n=null),void 0===r&&(r=null),void 0===i&&(i=!0);try{for(var u=o(s),l=u.next();!l.done;l=u.next()){var f=l.value;if((1!==t||!f.rectangular)&&((2!==t||f.rectangular)&&(null==n||!(f.getSymbolWidth()r.getWidth()||f.getSymbolHeight()>r.getHeight()))&&e<=f.dataCapacity))return f}}catch(h){a={error:h}}finally{try{l&&!l.done&&(c=u.return)&&c.call(u)}finally{if(a)throw a.error}}if(i)throw new Error("Can't find a symbol arrangement that matches the message. Data codewords: "+e);return null},e.prototype.getHorizontalDataRegions=function(){switch(this.dataRegions){case 1:return 1;case 2:case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},e.prototype.getVerticalDataRegions=function(){switch(this.dataRegions){case 1:case 2:return 1;case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},e.prototype.getSymbolDataWidth=function(){return this.getHorizontalDataRegions()*this.matrixWidth},e.prototype.getSymbolDataHeight=function(){return this.getVerticalDataRegions()*this.matrixHeight},e.prototype.getSymbolWidth=function(){return this.getSymbolDataWidth()+2*this.getHorizontalDataRegions()},e.prototype.getSymbolHeight=function(){return this.getSymbolDataHeight()+2*this.getVerticalDataRegions()},e.prototype.getCodewordCount=function(){return this.dataCapacity+this.errorCodewords},e.prototype.getInterleavedBlockCount=function(){return this.rsBlockData?this.dataCapacity/this.rsBlockData:1},e.prototype.getDataCapacity=function(){return this.dataCapacity},e.prototype.getErrorCodewords=function(){return this.errorCodewords},e.prototype.getDataLengthForInterleavedBlock=function(e){return this.rsBlockData},e.prototype.getErrorLengthForInterleavedBlock=function(e){return this.rsBlockError},e}();t.a=i;var a=function(e){function t(){return e.call(this,!1,1558,620,22,22,36,-1,62)||this}return r(t,e),t.prototype.getInterleavedBlockCount=function(){return 10},t.prototype.getDataLengthForInterleavedBlock=function(e){return e<=8?156:155},t}(i),s=[new i(!1,3,5,8,8,1),new i(!1,5,7,10,10,1),new i(!0,5,7,16,6,1),new i(!1,8,10,12,12,1),new i(!0,10,11,14,6,2),new i(!1,12,12,14,14,1),new i(!0,16,14,24,10,1),new i(!1,18,14,16,16,1),new i(!1,22,18,18,18,1),new i(!0,22,18,16,10,2),new i(!1,30,20,20,20,1),new i(!0,32,24,16,14,2),new i(!1,36,24,22,22,1),new i(!1,44,28,24,24,1),new i(!0,49,28,22,14,2),new i(!1,62,36,14,14,4),new i(!1,86,42,16,16,4),new i(!1,114,48,18,18,4),new i(!1,144,56,20,20,4),new i(!1,174,68,22,22,4),new i(!1,204,84,24,24,4,102,42),new i(!1,280,112,14,14,16,140,56),new i(!1,368,144,16,16,16,92,36),new i(!1,456,192,18,18,16,114,48),new i(!1,576,224,20,20,16,144,56),new i(!1,696,272,22,22,16,174,68),new i(!1,816,336,24,24,16,136,56),new i(!1,1050,408,18,18,36,175,68),new i(!1,1304,496,20,20,36,163,62),new a]},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(170),o=n.n(r),i={1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen"};function a(e){var t=o()(e);return"string"===t||"number"===t?i[e]||e:""}},function(e,t,n){"use strict";var r=n(67),o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ArithmeticException",t}(r.a);t.a=i},function(e,t,n){"use strict";var r=function(){function e(e,t,n,r,o,i,a,s,c){this.a11=e,this.a21=t,this.a31=n,this.a12=r,this.a22=o,this.a32=i,this.a13=a,this.a23=s,this.a33=c}return e.quadrilateralToQuadrilateral=function(t,n,r,o,i,a,s,c,u,l,f,h,d,p,A,g){var v=e.quadrilateralToSquare(t,n,r,o,i,a,s,c);return e.squareToQuadrilateral(u,l,f,h,d,p,A,g).times(v)},e.prototype.transformPoints=function(e){for(var t=e.length,n=this.a11,r=this.a12,o=this.a13,i=this.a21,a=this.a22,s=this.a23,c=this.a31,u=this.a32,l=this.a33,f=0;f32||e>this.available())throw new r.a(""+e);var t=0,n=this.bitOffset,o=this.byteOffset,i=this.bytes;if(n>0){var a=8-n,s=e>8-s<<(u=a-s);t=(i[o]&c)>>u,e-=s,8===(n+=s)&&(n=0,o++)}if(e>0){for(;e>=8;)t=t<<8|255&i[o],o++,e-=8;if(e>0){var u;c=255>>(u=8-e)<>u,n+=e}}return this.bitOffset=n,this.byteOffset=o,t},e.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},e}();t.a=o},function(e,t,n){"use strict";var r=n(158),o=n(41),i=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function e(e){this.errorCorrectionLevel=r.a.forBits(e>>3&3),this.dataMask=7&e}return e.numBitsDiffering=function(e,t){return o.a.bitCount(e^t)},e.decodeFormatInformation=function(t,n){var r=e.doDecodeFormatInformation(t,n);return null!==r?r:e.doDecodeFormatInformation(t^e.FORMAT_INFO_MASK_QR,n^e.FORMAT_INFO_MASK_QR)},e.doDecodeFormatInformation=function(t,n){var r,o,a=Number.MAX_SAFE_INTEGER,s=0;try{for(var c=i(e.FORMAT_INFO_DECODE_LOOKUP),u=c.next();!u.done;u=c.next()){var l=u.value,f=l[0];if(f===t||f===n)return new e(l[1]);var h=e.numBitsDiffering(t,f);h=t.length)for(var n=t[t.length-1],o=this.field,i=t.length;i<=e;i++){var a=n.multiply(new r.a(o,Int32Array.from([1,o.exp(i-1+o.getGeneratorBase())])));t.push(a),n=a}return t[e]},e.prototype.encode=function(e,t){if(0===t)throw new i.a("No error correction bytes");var n=e.length-t;if(n<=0)throw new i.a("No data bytes provided");var a=this.buildGenerator(t),s=new Int32Array(n);o.a.arraycopy(e,0,s,0,n);for(var c=new r.a(this.field,s),u=(c=c.multiplyByMonomial(t,1)).divide(a)[1].getCoefficients(),l=t-u.length,f=0;f=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function e(e,t){this.width=e,this.height=t;for(var n=new Array(t),r=0;r!==t;r++)n[r]=new Uint8Array(e);this.bytes=n}return e.prototype.getHeight=function(){return this.height},e.prototype.getWidth=function(){return this.width},e.prototype.get=function(e,t){return this.bytes[t][e]},e.prototype.getArray=function(){return this.bytes},e.prototype.setNumber=function(e,t,n){this.bytes[t][e]=n},e.prototype.setBoolean=function(e,t,n){this.bytes[t][e]=n?1:0},e.prototype.clear=function(e){var t,n;try{for(var o=i(this.bytes),a=o.next();!a.done;a=o.next()){var s=a.value;r.a.fill(s,e)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;if(this.width!==n.width)return!1;if(this.height!==n.height)return!1;for(var r=0,o=this.height;r=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){function e(){}return e.calculateMaskPenalty=function(e){return l.a.applyMaskPenaltyRule1(e)+l.a.applyMaskPenaltyRule2(e)+l.a.applyMaskPenaltyRule3(e)+l.a.applyMaskPenaltyRule4(e)},e.encode=function(t,n,a){void 0===a&&(a=null);var s=e.DEFAULT_BYTE_MODE_ENCODING,l=null!==a&&void 0!==a.get(r.a.CHARACTER_SET);l&&(s=a.get(r.a.CHARACTER_SET).toString());var p=this.chooseMode(t,s),A=new o.a;if(p===c.a.BYTE&&(l||e.DEFAULT_BYTE_MODE_ENCODING!==s)){var v=i.a.getCharacterSetECIByName(s);void 0!==v&&this.appendECI(v,A)}this.appendModeInfo(p,A);var m,y=new o.a;if(this.appendBytes(t,p,y,s),null!==a&&void 0!==a.get(r.a.QR_VERSION)){var b=Number.parseInt(a.get(r.a.QR_VERSION).toString(),10);m=u.a.getVersionForNumber(b);var w=this.calculateBitsNeeded(p,A,y,m);if(!this.willFit(w,m,n))throw new g.a("Data too big for requested version")}else m=this.recommendVersion(n,p,A,y);var _=new o.a;_.appendBitArray(A);var M=p===c.a.BYTE?y.getSizeInBytes():t.length;this.appendLengthInfo(M,m,p,_),_.appendBitArray(y);var E=m.getECBlocksForLevel(n),C=m.getTotalCodewords()-E.getTotalECCodewords();this.terminateBits(C,_);var S=this.interleaveWithECBytes(_,m.getTotalCodewords(),C,E.getNumBlocks()),O=new h.a;O.setECLevel(n),O.setMode(p),O.setVersion(m);var B=m.getDimensionForVersion(),T=new f.a(B,B),N=this.chooseMaskPattern(S,n,m,T);return O.setMaskPattern(N),d.a.buildMatrix(S,n,m,N,T),O.setMatrix(T),O},e.recommendVersion=function(e,t,n,r){var o=this.calculateBitsNeeded(t,n,r,u.a.getVersionForNumber(1)),i=this.chooseVersion(o,e),a=this.calculateBitsNeeded(t,n,r,i);return this.chooseVersion(a,e)},e.calculateBitsNeeded=function(e,t,n,r){return t.getSize()+e.getCharacterCountBits(r)+n.getSize()},e.getAlphanumericCode=function(t){return t159)&&(o<224||o>235))return!1}return!0},e.chooseMaskPattern=function(e,t,n,r){for(var o=Number.MAX_SAFE_INTEGER,i=-1,a=0;a=(e+7)/8},e.terminateBits=function(e,t){var n=8*e;if(t.getSize()>n)throw new g.a("data bits cannot fit in the QR Code"+t.getSize()+" > "+n);for(var r=0;r<4&&t.getSize()0)for(r=o;r<8;r++)t.appendBit(!1);var i=e-t.getSizeInBytes();for(r=0;r=n)throw new g.a("Block ID too large");var a=e%n,s=n-a,c=Math.floor(e/n),u=c+1,l=Math.floor(t/n),f=l+1,h=c-l,d=u-f;if(h!==d)throw new g.a("EC bytes mismatch");if(n!==s+a)throw new g.a("RS blocks mismatch");if(e!==(l+h)*s+(f+d)*a)throw new g.a("Total bytes mismatch");r=1<=0&&n<=9},e.appendNumericBytes=function(t,n){for(var r=t.length,o=0;o=33088&&a<=40956?s=a-33088:a>=57408&&a<=60351&&(s=a-49472),-1===s)throw new g.a("Invalid byte sequence");var c=192*(s>>8)+(255&s);t.appendBits(c,13)}},e.appendECI=function(e,t){t.appendBits(c.a.ECI.getBits(),4),t.appendBits(e.getValue(),8)},e.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),e.DEFAULT_BYTE_MODE_ENCODING=i.a.UTF8.getName(),e}();t.a=m},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(327);function o(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){var r=n(715),o=n(239),i=n(166),a=n(1324),s=n(76);e.exports=function(e,t,n){var c=s(e)?r:a,u=arguments.length<3;return c(e,i(t,4),n,u,o)}},function(e,t,n){var r=n(380),o=n(239),i=n(1346),a=n(76);e.exports=function(e,t){return(a(e)?r:o)(e,i(t))}},function(e,t,n){"use strict";var r=n(434),o=n.n(r),i={},a=0,s=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=i[n]||(i[n]={});if(r[e])return r[e];var s=[],c={re:o()(e,s,t),keys:s};return a<1e4&&(r[e]=c,a++),c};t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"===typeof t&&(t={path:t});var r=t,o=r.path,i=r.exact,a=void 0!==i&&i,c=r.strict,u=void 0!==c&&c,l=r.sensitive,f=void 0!==l&&l;if(null==o)return n;var h=s(o,{end:a,strict:u,sensitive:f}),d=h.re,p=h.keys,A=d.exec(e);if(!A)return null;var g=A[0],v=A.slice(1),m=e===g;return a&&!m?null:{path:o,url:"/"===o&&""===g?"/":g,isExact:m,params:p.reduce((function(e,t,n){return e[t.name]=v[n],e}),{})}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(33),o=n(23),i=n(21);function a(e,t){Object(i.a)(2,arguments);var n=Object(o.default)(e).getTime(),a=Object(r.a)(t);return new Date(n+a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(33),o=n(23),i=n(145),a=n(21);function s(e,t){Object(a.a)(1,arguments);var n=Object(o.default)(e,t),s=n.getUTCFullYear(),c=t||{},u=c.locale,l=u&&u.options&&u.options.firstWeekContainsDate,f=null==l?1:Object(r.a)(l),h=null==c.firstWeekContainsDate?f:Object(r.a)(c.firstWeekContainsDate);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=new Date(0);d.setUTCFullYear(s+1,0,h),d.setUTCHours(0,0,0,0);var p=Object(i.a)(d,t),A=new Date(0);A.setUTCFullYear(s,0,h),A.setUTCHours(0,0,0,0);var g=Object(i.a)(A,t);return n.getTime()>=p.getTime()?s+1:n.getTime()>=g.getTime()?s:s-1}},function(e,t,n){"use strict";var r=n(67),o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="IndexOutOfBoundsException",t}(r.a);t.a=i},function(e,t,n){"use strict";var r=n(78),o=n(27),i=n(44),a=n(77),s=n(418),c=n(257),u=n(86),l=n(421),f=n(41),h=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(){function e(){}return e.encodeBytes=function(t){return e.encode(t,e.DEFAULT_EC_PERCENT,e.DEFAULT_AZTEC_LAYERS)},e.encode=function(t,n,r){var c,u,h,d,p,A=new l.a(t).encode(),g=f.a.truncDivision(A.getSize()*n,100)+11,v=A.getSize()+g;if(r!==e.DEFAULT_AZTEC_LAYERS){if(c=r<0,(u=Math.abs(r))>(c?e.MAX_NB_BITS_COMPACT:e.MAX_NB_BITS))throw new o.a(i.a.format("Illegal value %s for layers",r));var m=(h=e.totalBitsInLayer(u,c))-h%(d=e.WORD_SIZE[u]);if((p=e.stuffBits(A,d)).getSize()+g>m)throw new o.a("Data to large for user specified layer");if(c&&p.getSize()>64*d)throw new o.a("Data to large for user specified layer")}else{d=0,p=null;for(var y=0;;y++){if(y>e.MAX_NB_BITS)throw new o.a("Data too large for an Aztec code");if(u=(c=y<=3)?y+1:y,!(v>(h=e.totalBitsInLayer(u,c)))){null!=p&&d===e.WORD_SIZE[u]||(d=e.WORD_SIZE[u],p=e.stuffBits(A,d));m=h-h%d;if(!(c&&p.getSize()>64*d)&&p.getSize()+g<=m)break}}}var b,w=e.generateCheckWords(p,h,d),_=p.getSize()/d,M=e.generateModeMessage(c,u,_),E=(c?11:14)+4*u,C=new Int32Array(E);if(c){b=E;for(y=0;y=o||e.get(a+c))&&(s|=1< may have only one child element"),this.unlisten=r.listen((function(){e.setState({match:e.computeMatch(r.location.pathname)})}))},t.prototype.componentWillReceiveProps=function(e){o()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?c.a.Children.only(e):null},t}(c.a.Component);p.propTypes={history:l.a.object.isRequired,children:l.a.node},p.contextTypes={router:l.a.object},p.childContextTypes={router:l.a.object.isRequired},t.a=p},,,,function(e,t,n){"use strict";var r=n(15),o=n.n(r),i=n(14),a=n.n(i),s=(n(4),n(0)),c=n.n(s),u=n(29),l=n(109),f=n(117),h=n(198);function d(e){var t=e.children,n=e.className,r=e.computer,i=e.color,s=e.floated,h=e.largeScreen,p=e.mobile,A=e.only,g=e.stretched,v=e.tablet,m=e.textAlign,y=e.verticalAlign,b=e.widescreen,w=e.width,_=a()(i,Object(u.a)(g,"stretched"),Object(u.c)(A,"only"),Object(u.d)(m),Object(u.e)(s,"floated"),Object(u.f)(y),Object(u.g)(r,"wide computer"),Object(u.g)(h,"wide large screen"),Object(u.g)(p,"wide mobile"),Object(u.g)(v,"wide tablet"),Object(u.g)(b,"wide widescreen"),Object(u.g)(w,"wide"),"column",n),M=Object(l.a)(d,e),E=Object(f.a)(d,e);return c.a.createElement(E,o()({},M,{className:_}),t)}d.handledProps=["as","children","className","color","computer","floated","largeScreen","mobile","only","stretched","tablet","textAlign","verticalAlign","widescreen","width"],d.propTypes={},d.create=Object(h.d)(d,(function(e){return{children:e}})),t.a=d},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(747),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";var r=n(1608);function o(e){this.message=e}o.prototype=new Error,o.prototype.name="InvalidTokenError",e.exports=function(e,t){if("string"!==typeof e)throw new o("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(r(e.split(".")[n]))}catch(i){throw new o("Invalid token specified: "+i.message)}},e.exports.InvalidTokenError=o},function(e,t,n){"use strict";var r=n(24),o=n(104),i=n(35),a=function(){function e(e,t){t?this.decodedInformation=null:(this.finished=e,this.decodedInformation=t)}return e.prototype.getDecodedInformation=function(){return this.decodedInformation},e.prototype.isFinished=function(){return this.finished},e}(),s=function(){function e(e){this.newPosition=e}return e.prototype.getNewPosition=function(){return this.newPosition},e}(),c=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e){function t(t,n){var r=e.call(this,t)||this;return r.value=n,r}return c(t,e),t.prototype.getValue=function(){return this.value},t.prototype.isFNC1=function(){return this.value===t.FNC1},t.FNC1="$",t}(s),l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(e){function t(t,n,r){var o=e.call(this,t)||this;return r?(o.remaining=!0,o.remainingValue=o.remainingValue):(o.remaining=!1,o.remainingValue=0),o.newString=n,o}return l(t,e),t.prototype.getNewString=function(){return this.newString},t.prototype.isRemaining=function(){return this.remaining},t.prototype.getRemainingValue=function(){return this.remainingValue},t}(s),h=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=function(e){function t(t,n,o){var i=e.call(this,t)||this;if(n<0||n>10||o<0||o>10)throw new r.a;return i.firstDigit=n,i.secondDigit=o,i}return h(t,e),t.prototype.getFirstDigit=function(){return this.firstDigit},t.prototype.getSecondDigit=function(){return this.secondDigit},t.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},t.prototype.isFirstDigitFNC1=function(){return this.firstDigit===t.FNC1},t.prototype.isSecondDigitFNC1=function(){return this.secondDigit===t.FNC1},t.prototype.isAnyFNC1=function(){return this.firstDigit===t.FNC1||this.secondDigit===t.FNC1},t.FNC1=10,t}(s),p=n(17),A=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(){function e(){}return e.parseFieldsInGeneralPurpose=function(t){var n,r,o,i,a,s,c,u;if(!t)return null;if(t.length<2)throw new p.a;var l=t.substring(0,2);try{for(var f=A(e.TWO_DIGIT_DATA_LENGTH),h=f.next();!h.done;h=f.next()){if((M=h.value)[0]===l)return M[1]===e.VARIABLE_LENGTH?e.processVariableAI(2,M[2],t):e.processFixedAI(2,M[1],t)}}catch(E){n={error:E}}finally{try{h&&!h.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}if(t.length<3)throw new p.a;var d=t.substring(0,3);try{for(var g=A(e.THREE_DIGIT_DATA_LENGTH),v=g.next();!v.done;v=g.next()){if((M=v.value)[0]===d)return M[1]===e.VARIABLE_LENGTH?e.processVariableAI(3,M[2],t):e.processFixedAI(3,M[1],t)}}catch(C){o={error:C}}finally{try{v&&!v.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}try{for(var m=A(e.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),y=m.next();!y.done;y=m.next()){if((M=y.value)[0]===d)return M[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,M[2],t):e.processFixedAI(4,M[1],t)}}catch(S){a={error:S}}finally{try{y&&!y.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}if(t.length<4)throw new p.a;var b=t.substring(0,4);try{for(var w=A(e.FOUR_DIGIT_DATA_LENGTH),_=w.next();!_.done;_=w.next()){var M;if((M=_.value)[0]===b)return M[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,M[2],t):e.processFixedAI(4,M[1],t)}}catch(O){c={error:O}}finally{try{_&&!_.done&&(u=w.return)&&u.call(w)}finally{if(c)throw c.error}}throw new p.a},e.processFixedAI=function(t,n,r){if(r.lengththis.information.getSize())return e+4<=this.information.getSize();for(var t=e;tthis.information.getSize()){var t=this.extractNumericValueFromBitArray(e,4);return new d(this.information.getSize(),0===t?d.FNC1:t-1,d.FNC1)}var n=this.extractNumericValueFromBitArray(e,7);return new d(e+7,(n-8)/11,(n-8)%11)},e.prototype.extractNumericValueFromBitArray=function(t,n){return e.extractNumericValueFromBitArray(this.information,t,n)},e.extractNumericValueFromBitArray=function(e,t,n){for(var r=0,o=0;othis.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+7>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,7);if(n>=64&&n<116)return!0;if(e+8>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(e,8);return r>=232&&r<253},e.prototype.decodeIsoIec646=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15===t)return new u(e+5,u.FNC1);if(t>=5&&t<15)return new u(e+5,"0"+(t-5));var n,o=this.extractNumericValueFromBitArray(e,7);if(o>=64&&o<90)return new u(e+7,""+(o+1));if(o>=90&&o<116)return new u(e+7,""+(o+7));switch(this.extractNumericValueFromBitArray(e,8)){case 232:n="!";break;case 233:n='"';break;case 234:n="%";break;case 235:n="&";break;case 236:n="'";break;case 237:n="(";break;case 238:n=")";break;case 239:n="*";break;case 240:n="+";break;case 241:n=",";break;case 242:n="-";break;case 243:n=".";break;case 244:n="/";break;case 245:n=":";break;case 246:n=";";break;case 247:n="<";break;case 248:n="=";break;case 249:n=">";break;case 250:n="?";break;case 251:n="_";break;case 252:n=" ";break;default:throw new r.a}return new u(e+8,n)},e.prototype.isStillAlpha=function(e){if(e+5>this.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+6>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,6);return n>=16&&n<63},e.prototype.decodeAlphanumeric=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15===t)return new u(e+5,u.FNC1);if(t>=5&&t<15)return new u(e+5,"0"+(t-5));var n,r=this.extractNumericValueFromBitArray(e,6);if(r>=32&&r<58)return new u(e+6,""+(r+33));switch(r){case 58:n="*";break;case 59:n=",";break;case 60:n="-";break;case 61:n=".";break;case 62:n="/";break;default:throw new o.a("Decoding invalid alphanumeric value: "+r)}return new u(e+6,n)},e.prototype.isAlphaTo646ToAlphaLatch=function(e){if(e+1>this.information.getSize())return!1;for(var t=0;t<5&&t+ethis.information.getSize())return!1;for(var t=e;tthis.information.getSize())return!1;for(var t=0;t<4&&t+el;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(43),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==u||n!=c&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(43);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t){e.exports={}},function(e,t,n){var r=n(286),o=n(284),i=n(69)("iterator");e.exports=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(464),o=n(141),i=n(69)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r=n(584),o=n(460);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(62),o=n(232),i=n(69)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(43),o=n(69),i=n(468),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"===typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"===typeof e},t.isString=function(e){return"string"===typeof e},t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"===typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"===typeof e},t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=e.isBuffer}).call(this,n(84).Buffer)},function(e,t,n){"use strict";var r=n(58),o=n(488),i=n(489),a=n(490),s=n(181);function c(e){s.call(this,"digest"),this._hash=e}r(c,s),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new o:"rmd160"===e||"ripemd160"===e?new i:new c(a(e))}},function(e,t,n){(function(t){e.exports=function(e,n){for(var r=Math.min(e.length,n.length),o=new t(r),i=0;i=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var o=0;o>>24&255,r[o++]=e>>>16&255,r[o++]=e>>>8&255,r[o++]=255&e}else for(r[o++]=255&e,r[o++]=e>>>8&255,r[o++]=e>>>16&255,r[o++]=e>>>24&255,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,i=8;i-1&&e%1==0&&e0?1:0):0};t.lazySlidesOnLeft=d;var p=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=p;var A=function(e){return e&&e.offsetWidth||0};t.getWidth=A;var g=function(e){return e&&e.offsetHeight||0};t.getHeight=g;var v=function(e){var t,n,r,o,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(o=Math.round(180*r/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":!0===i?o>=35&&o<=135?"up":"down":"vertical"};t.getSwipeDirection=v;var m=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=m;t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n};t.initializedState=function(e){var t,n=o.default.Children.count(e.children),r=e.listRef,i=Math.ceil(A(r)),s=e.trackRef&&e.trackRef.node,c=Math.ceil(A(s));if(e.vertical)t=i;else{var u=e.centerMode&&2*parseInt(e.centerPadding);"string"===typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(u*=i/100),t=Math.ceil((i-u)/e.slidesToShow)}var f=r&&g(r.querySelector('[data-index="0"]')),h=f*e.slidesToShow,d=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(d=n-1-e.initialSlide);var p=e.lazyLoadedList||[],v=l(a(a({},e),{},{currentSlide:d,lazyLoadedList:p})),m={slideCount:n,slideWidth:t,listWidth:i,trackWidth:c,currentSlide:d,slideHeight:f,listHeight:h,lazyLoadedList:p=p.concat(v)};return null===e.autoplaying&&e.autoplay&&(m.autoplaying="playing"),m};t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,i=e.index,s=e.slideCount,u=e.lazyLoad,f=e.currentSlide,h=e.centerMode,d=e.slidesToScroll,p=e.slidesToShow,A=e.useCSS,g=e.lazyLoadedList;if(t&&n)return{};var v,y,b,w=i,_={},S={},O=o?i:c(i,0,s-1);if(r){if(!o&&(i<0||i>=s))return{};i<0?w=i+s:i>=s&&(w=i-s),u&&g.indexOf(w)<0&&(g=g.concat(w)),_={animating:!0,currentSlide:w,lazyLoadedList:g,targetSlide:w},S={animating:!1,targetSlide:w}}else v=w,w<0?(v=w+s,o?s%d!==0&&(v=s-s%d):v=0):!m(e)&&w>f?w=v=f:h&&w>=s?(w=o?s:s-1,v=o?0:s-1):w>=s&&(v=w-s,o?s%d!==0&&(v=0):v=s-p),!o&&w+p>=s&&(v=s-p),y=C(a(a({},e),{},{slideIndex:w})),b=C(a(a({},e),{},{slideIndex:v})),o||(y===b&&(w=v),y=b),u&&(g=g.concat(l(a(a({},e),{},{currentSlide:w})))),A?(_={animating:!0,currentSlide:v,trackStyle:E(a(a({},e),{},{left:y})),lazyLoadedList:g,targetSlide:O},S={animating:!1,currentSlide:v,trackStyle:M(a(a({},e),{},{left:b})),swipeLeft:null,targetSlide:O}):_={currentSlide:v,trackStyle:M(a(a({},e),{},{left:b})),lazyLoadedList:g,targetSlide:O};return{state:_,nextState:S}};t.changeSlide=function(e,t){var n,r,o,i,s=e.slidesToScroll,c=e.slidesToShow,u=e.slideCount,l=e.currentSlide,f=e.targetSlide,h=e.lazyLoad,d=e.infinite;if(n=u%s!==0?0:(u-l)%s,"previous"===t.message)i=l-(o=0===n?s:c-n),h&&!d&&(i=-1===(r=l-o)?u-1:r),d||(i=f-s);else if("next"===t.message)i=l+(o=0===n?s:n),h&&!d&&(i=(l+s)%u+n),d||(i=f+s);else if("dots"===t.message)i=t.index*t.slidesToScroll;else if("children"===t.message){if(i=t.index,d){var p=T(a(a({},e),{},{targetSlide:i}));i>t.currentSlide&&"left"===p?i-=u:i10)return{scrolling:!0};s&&(w.swipeLength=N);var x=(c?-1:1)*(w.curX>w.startX?1:-1);s&&(x=w.curY>w.startY?1:-1);var k=Math.ceil(g/y),I=v(t.touchObject,s),P=w.swipeLength;return b||(0===l&&("right"===I||"down"===I)||l+1>=k&&("left"===I||"up"===I)||!m(t)&&("left"===I||"up"===I))&&(P=w.swipeLength*f,!1===h&&d&&(d(I),B.edgeDragged=!0)),!p&&_&&(_(I),B.swiped=!0),O=o?T+P*(E/S)*x:c?T-P*x:T+P*x,s&&(O=T+P*x),B=a(a({},B),{},{touchObject:w,swipeLeft:O,trackStyle:M(a(a({},t),{},{left:O}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)?B:(w.swipeLength>10&&(B.swiping=!0,u(e)),B)}};t.swipeEnd=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,i=t.listWidth,s=t.touchThreshold,c=t.verticalSwiping,l=t.listHeight,f=t.swipeToSlide,h=t.scrolling,d=t.onSwipe,p=t.targetSlide,A=t.currentSlide,g=t.infinite;if(!n)return r&&u(e),{};var m=c?l/s:i/s,y=v(o,c),_={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(h)return _;if(!o.swipeLength)return _;if(o.swipeLength>m){var M,S;u(e),d&&d(y);var O=g?A:p;switch(y){case"left":case"up":S=O+w(t),M=f?b(t,S):S,_.currentDirection=0;break;case"right":case"down":S=O-w(t),M=f?b(t,S):S,_.currentDirection=1;break;default:M=O}_.triggerSlideHandler=M}else{var B=C(t);_.trackStyle=E(a(a({},t),{},{left:B}))}return _};var y=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];nn[n.length-1])t=n[n.length-1];else for(var o in n){if(t-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+A(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1}return e.slidesToScroll};t.getSlideCount=w;var _=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=_;var M=function(e){var t,n;_(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=B(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",c=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=a(a({},o),{},{WebkitTransform:i,transform:s,msTransform:c})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o};t.getTrackCSS=M;var E=function(e){_(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=M(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=E;var C=function(e){if(e.unslick)return 0;_(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,o=e.trackRef,i=e.infinite,a=e.centerMode,s=e.slideCount,c=e.slidesToShow,u=e.slidesToScroll,l=e.slideWidth,f=e.listWidth,h=e.variableWidth,d=e.slideHeight,p=e.fade,A=e.vertical;if(p||1===e.slideCount)return 0;var g=0;if(i?(g=-S(e),s%u!==0&&r+u>s&&(g=-(r>s?c-(r-s):s%u)),a&&(g+=parseInt(c/2))):(s%u!==0&&r+u>s&&(g=c-s%u),a&&(g=parseInt(c/2))),t=A?r*d*-1+g*d:r*l*-1+g*l,!0===h){var v,m=o&&o.node;if(v=r+S(e),t=(n=m&&m.childNodes[v])?-1*n.offsetLeft:0,!0===a){v=i?r+S(e):r,n=m&&m.children[v],t=0;for(var y=0;ye.currentSlide?e.targetSlide>e.currentSlide+N(e)?"left":"right":e.targetSlide0&&(i+=1),r&&t%2===0&&(i+=1),i}return r?0:t-1};t.slidesOnRight=N;var x=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r||t%2!==0||(i+=1),i}return r?t-1:0};t.slidesOnLeft=x;t.canUseDOM=function(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);c()(this.context.router,"You should not use outside a "),c()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"===typeof t?Object(u.c)(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",l({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);p.propTypes={onClick:a.a.func,target:a.a.string,replace:a.a.bool,to:a.a.oneOfType([a.a.string,a.a.object]).isRequired,innerRef:a.a.oneOfType([a.a.string,a.a.func])},p.defaultProps={replace:!1},p.contextTypes={router:a.a.shape({history:a.a.shape({push:a.a.func.isRequired,replace:a.a.func.isRequired,createHref:a.a.func.isRequired}).isRequired}).isRequired},t.a=p},function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;a.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),w="undefined"!==typeof WeakMap?new WeakMap:new n,_=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new b(t,n,this);w.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){_.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}}));var M="undefined"!==typeof o.ResizeObserver?o.ResizeObserver:_;t.default=M}.call(this,n(73))},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?s="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var c=e.displayName||e.name,u="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var l=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;l.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return a})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(33),o=n(23),i=n(21);function a(e,t){Object(i.a)(2,arguments);var n=Object(o.default)(e),a=Object(r.a)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(33),o=n(23),i=n(21);function a(e,t){Object(i.a)(2,arguments);var n=Object(o.default)(e),a=Object(r.a)(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),c=new Date(n.getTime());c.setMonth(n.getMonth()+a+1,0);var u=c.getDate();return s>=u?c:(n.setFullYear(c.getFullYear(),c.getMonth(),s),n)}},function(e,t,n){"use strict";var r,o=n(155),i=n(86),a=n(156),s=n(104),c=n(24),u=n(44),l=n(41);!function(e){e[e.UPPER=0]="UPPER",e[e.LOWER=1]="LOWER",e[e.MIXED=2]="MIXED",e[e.DIGIT=3]="DIGIT",e[e.PUNCT=4]="PUNCT",e[e.BINARY=5]="BINARY"}(r||(r={}));var f=function(){function e(){}return e.prototype.decode=function(t){this.ddata=t;var n=t.getBits(),r=this.extractBits(n),i=this.correctBits(r),a=e.convertBoolArrayToByteArray(i),s=e.getEncodedData(i),c=new o.a(a,s,null,null);return c.setNumBits(i.length),c},e.highLevelDecode=function(e){return this.getEncodedData(e)},e.getEncodedData=function(t){for(var n=t.length,o=r.UPPER,i=r.UPPER,a="",s=0;s1,A,A+r-1),A+=r-1;else for(var v=r-1;v>=0;--v)p[A++]=0!==(g&1<=8?e.readCode(t,n,8):e.readCode(t,n,r)<<8-r},e.convertBoolArrayToByteArray=function(t){for(var n=new Uint8Array((t.length+7)/8),r=0;r","?","[","]","{","}","CTRL_UL"],e.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],e}();t.a=f},function(e,t,n){"use strict";var r=n(17),o=function(){function e(){}return e.checkAndNudgePoints=function(e,t){for(var n=e.getWidth(),o=e.getHeight(),i=!0,a=0;an||c<-1||c>o)throw new r.a;i=!1,-1===s?(t[a]=0,i=!0):s===n&&(t[a]=n-1,i=!0),-1===c?(t[a+1]=0,i=!0):c===o&&(t[a+1]=o-1,i=!0)}i=!0;for(a=t.length-2;a>=0&&i;a-=2){s=Math.floor(t[a]),c=Math.floor(t[a+1]);if(s<-1||s>n||c<-1||c>o)throw new r.a;i=!1,-1===s?(t[a]=0,i=!0):s===n&&(t[a]=n-1,i=!0),-1===c?(t[a+1]=0,i=!0):c===o&&(t[a+1]=o-1,i=!0)}},e}();t.a=o},function(e,t,n){"use strict";var r=n(31),o=n(68),i=n(56),a=n(24),s=n(17),c=n(61),u=n(32),l=n(66),f=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.findStartPattern=function(e){for(var n=e.getSize(),r=e.getNextSet(0),o=0,i=Int32Array.from([0,0,0,0,0,0]),a=r,c=!1,u=r;u=0&&e.isRange(Math.max(0,a-(u-a)/2),a,!1))return Int32Array.from([a,u,h]);a+=i[0]+i[1],(i=i.slice(2,i.length))[o-1]=0,i[o]=0,o--}else o++;i[o]=1,c=!c}throw new s.a},t.decodeCode=function(e,n,r){l.a.recordPattern(e,r,n);for(var o=t.MAX_AVG_VARIANCE,i=-1,a=0;a=0)return i;throw new s.a},t.prototype.decodeRow=function(e,n,l){var f,h=l&&!0===l.get(i.a.ASSUME_GS1),d=t.findStartPattern(n),p=d[2],A=0,g=new Uint8Array(20);switch(g[A++]=p,p){case t.CODE_START_A:f=t.CODE_CODE_A;break;case t.CODE_START_B:f=t.CODE_CODE_B;break;case t.CODE_START_C:f=t.CODE_CODE_C;break;default:throw new a.a}for(var v=!1,m=!1,y="",b=d[0],w=d[1],_=Int32Array.from([0,0,0,0,0,0]),M=0,E=0,C=p,S=0,O=!0,B=!1,T=!1;!v;){var N=m;switch(m=!1,M=E,E=t.decodeCode(n,_,w),g[A++]=E,E!==t.CODE_STOP&&(O=!0),E!==t.CODE_STOP&&(C+=++S*E),b=w,w+=_.reduce((function(e,t){return e+t}),0),E){case t.CODE_START_A:case t.CODE_START_B:case t.CODE_START_C:throw new a.a}switch(f){case t.CODE_CODE_A:if(E<64)y+=T===B?String.fromCharCode(" ".charCodeAt(0)+E):String.fromCharCode(" ".charCodeAt(0)+E+128),T=!1;else if(E<96)y+=T===B?String.fromCharCode(E-64):String.fromCharCode(E+64),T=!1;else switch(E!==t.CODE_STOP&&(O=!1),E){case t.CODE_FNC_1:h&&(0===y.length?y+="]C1":y+=String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_A:!B&&T?(B=!0,T=!1):B&&T?(B=!1,T=!1):T=!0;break;case t.CODE_SHIFT:m=!0,f=t.CODE_CODE_B;break;case t.CODE_CODE_B:f=t.CODE_CODE_B;break;case t.CODE_CODE_C:f=t.CODE_CODE_C;break;case t.CODE_STOP:v=!0}break;case t.CODE_CODE_B:if(E<96)y+=T===B?String.fromCharCode(" ".charCodeAt(0)+E):String.fromCharCode(" ".charCodeAt(0)+E+128),T=!1;else switch(E!==t.CODE_STOP&&(O=!1),E){case t.CODE_FNC_1:h&&(0===y.length?y+="]C1":y+=String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_B:!B&&T?(B=!0,T=!1):B&&T?(B=!1,T=!1):T=!0;break;case t.CODE_SHIFT:m=!0,f=t.CODE_CODE_A;break;case t.CODE_CODE_A:f=t.CODE_CODE_A;break;case t.CODE_CODE_C:f=t.CODE_CODE_C;break;case t.CODE_STOP:v=!0}break;case t.CODE_CODE_C:if(E<100)E<10&&(y+="0"),y+=E;else switch(E!==t.CODE_STOP&&(O=!1),E){case t.CODE_FNC_1:h&&(0===y.length?y+="]C1":y+=String.fromCharCode(29));break;case t.CODE_CODE_A:f=t.CODE_CODE_A;break;case t.CODE_CODE_B:f=t.CODE_CODE_B;break;case t.CODE_STOP:v=!0}}N&&(f=f===t.CODE_CODE_A?t.CODE_CODE_B:t.CODE_CODE_A)}var x=w-b;if(w=n.getNextUnset(w),!n.isRange(w,Math.min(n.getSize(),w+(w-b)/2),!1))throw new s.a;if((C-=S*M)%103!==M)throw new o.a;var k=y.length;if(0===k)throw new s.a;k>0&&O&&(y=f===t.CODE_CODE_C?y.substring(0,k-2):y.substring(0,k-1));for(var I=(d[1]+d[0])/2,P=b+x/2,L=g.length,R=new Uint8Array(L),D=0;D=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(e){function t(t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.call(this)||this;return r.usingCheckDigit=t,r.extendedMode=n,r.decodeRowResult="",r.counters=new Int32Array(9),r}return l(t,e),t.prototype.decodeRow=function(e,n,i){var s,l,h,d,p=this.counters;p.fill(0),this.decodeRowResult="";var A,g,v=t.findAsteriskPattern(n,p),m=n.getNextSet(v[1]),y=n.getSize();do{t.recordPattern(n,m,p);var b=t.toNarrowWidePattern(p);if(b<0)throw new a.a;A=t.patternToChar(b),this.decodeRowResult+=A,g=m;try{for(var w=(s=void 0,f(p)),_=w.next();!_.done;_=w.next()){m+=_.value}}catch(k){s={error:k}}finally{try{_&&!_.done&&(l=w.return)&&l.call(w)}finally{if(s)throw s.error}}m=n.getNextSet(m)}while("*"!==A);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var M,E=0;try{for(var C=f(p),S=C.next();!S.done;S=C.next()){E+=S.value}}catch(I){h={error:I}}finally{try{S&&!S.done&&(d=C.return)&&d.call(C)}finally{if(h)throw h.error}}if(m!==y&&2*(m-g-E)i&&(a=d)}}catch(p){t={error:p}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}i=a,r=0;for(var u=0,l=0,h=0;hi&&(l|=1<0;h++){var d;if((d=e[h])>i&&(r--,2*d>=u))return-1}return l}}while(r>3);return-1},t.patternToChar=function(e){for(var n=0;n="A"&&a<="Z"))throw new i.a;s=String.fromCharCode(a.charCodeAt(0)+32);break;case"$":if(!(a>="A"&&a<="Z"))throw new i.a;s=String.fromCharCode(a.charCodeAt(0)-64);break;case"%":if(a>="A"&&a<="E")s=String.fromCharCode(a.charCodeAt(0)-38);else if(a>="F"&&a<="J")s=String.fromCharCode(a.charCodeAt(0)-11);else if(a>="K"&&a<="O")s=String.fromCharCode(a.charCodeAt(0)+16);else if(a>="P"&&a<="T")s=String.fromCharCode(a.charCodeAt(0)+43);else if("U"===a)s="\0";else if("V"===a)s="@";else if("W"===a)s="`";else{if("X"!==a&&"Y"!==a&&"Z"!==a)throw new i.a;s="\x7f"}break;case"/":if(a>="A"&&a<="O")s=String.fromCharCode(a.charCodeAt(0)-32);else{if("Z"!==a)throw new i.a;s=":"}}n+=s,r++}else n+=o}return n},t.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",t.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],t.ASTERISK_ENCODING=148,t}(s.a);t.a=h},function(e,t,n){"use strict";var r=n(31),o=n(68),i=n(24),a=n(17),s=n(66),c=n(61),u=n(32),l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(e){function t(){var t=e.call(this)||this;return t.decodeRowResult="",t.counters=new Int32Array(6),t}return l(t,e),t.prototype.decodeRow=function(e,n,o){var i,s,l,h,d,p,A=this.findAsteriskPattern(n),g=n.getNextSet(A[1]),v=n.getSize(),m=this.counters;m.fill(0),this.decodeRowResult="";do{t.recordPattern(n,g,m);var y=this.toPattern(m);if(y<0)throw new a.a;d=this.patternToChar(y),this.decodeRowResult+=d,p=g;try{for(var b=(i=void 0,f(m)),w=b.next();!w.done;w=b.next()){g+=w.value}}catch(B){i={error:B}}finally{try{w&&!w.done&&(s=b.return)&&s.call(b)}finally{if(i)throw i.error}}g=n.getNextSet(g)}while("*"!==d);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var _=0;try{for(var M=f(m),E=M.next();!E.done;E=M.next()){_+=E.value}}catch(T){l={error:T}}finally{try{E&&!E.done&&(h=M.return)&&h.call(M)}finally{if(l)throw l.error}}if(g===v||!n.get(g))throw new a.a;if(this.decodeRowResult.length<2)throw new a.a;this.checkChecksums(this.decodeRowResult),this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-2);var C=this.decodeExtended(this.decodeRowResult),S=(A[1]+A[0])/2,O=p+_/2;return new c.a(C,null,0,[new u.a(S,e),new u.a(O,e)],r.a.CODE_93,(new Date).getTime())},t.prototype.findAsteriskPattern=function(e){var n=e.getSize(),r=e.getNextSet(0);this.counters.fill(0);for(var o=this.counters,i=r,s=!1,c=o.length,u=0,l=r;l4)return-1;if(0===(1&c))for(var l=0;l="a"&&o<="d"){if(r>=t-1)throw new i.a;var a=e.charAt(r+1),s="\0";switch(o){case"d":if(!(a>="A"&&a<="Z"))throw new i.a;s=String.fromCharCode(a.charCodeAt(0)+32);break;case"a":if(!(a>="A"&&a<="Z"))throw new i.a;s=String.fromCharCode(a.charCodeAt(0)-64);break;case"b":if(a>="A"&&a<="E")s=String.fromCharCode(a.charCodeAt(0)-38);else if(a>="F"&&a<="J")s=String.fromCharCode(a.charCodeAt(0)-11);else if(a>="K"&&a<="O")s=String.fromCharCode(a.charCodeAt(0)+16);else if(a>="P"&&a<="T")s=String.fromCharCode(a.charCodeAt(0)+43);else if("U"===a)s="\0";else if("V"===a)s="@";else if("W"===a)s="`";else{if(!(a>="X"&&a<="Z"))throw new i.a;s=String.fromCharCode(127)}break;case"c":if(a>="A"&&a<="O")s=String.fromCharCode(a.charCodeAt(0)-32);else{if("Z"!==a)throw new i.a;s=":"}}n+=s,r++}else n+=o}return n},t.prototype.checkChecksums=function(e){var t=e.length;this.checkOneChecksum(e,t-2,20),this.checkOneChecksum(e,t-1,15)},t.prototype.checkOneChecksum=function(e,n,r){for(var i=1,a=0,s=n-1;s>=0;s--)a+=i*t.ALPHABET_STRING.indexOf(e.charAt(s)),++i>r&&(i=1);if(e.charAt(n)!==t.ALPHABET_STRING[a%47])throw new o.a},t.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*",t.CHARACTER_ENCODINGS=[276,328,324,322,296,292,290,336,274,266,424,420,418,404,402,394,360,356,354,308,282,344,332,326,300,278,436,434,428,422,406,410,364,358,310,314,302,468,466,458,366,374,430,294,474,470,306,350],t.ASTERISK_ENCODING=t.CHARACTER_ENCODINGS[47],t}(s.a);t.a=h},function(e,t,n){"use strict";var r=n(31),o=n(56),i=n(24),a=n(17),s=n(61),c=n(32),u=n(35),l=n(49),f=n(66),h=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.narrowLineWidth=-1,t}return h(t,e),t.prototype.decodeRow=function(e,n,a){var l,f,h=this.decodeStart(n),p=this.decodeEnd(n),A=new u.a;t.decodeMiddle(n,h[1],p[0],A);var g=A.toString(),v=null;null!=a&&(v=a.get(o.a.ALLOWED_LENGTHS)),null==v&&(v=t.DEFAULT_ALLOWED_LENGTHS);var m=g.length,y=!1,b=0;try{for(var w=d(v),_=w.next();!_.done;_=w.next()){var M=_.value;if(m===M){y=!0;break}M>b&&(b=M)}}catch(C){l={error:C}}finally{try{_&&!_.done&&(f=w.return)&&f.call(w)}finally{if(l)throw l.error}}if(!y&&m>b&&(y=!0),!y)throw new i.a;var E=[new c.a(h[1],e),new c.a(p[0],e)];return new s.a(g,null,0,E,r.a.ITF,(new Date).getTime())},t.decodeMiddle=function(e,n,r,o){var i=new Int32Array(10),a=new Int32Array(5),s=new Int32Array(5);for(i.fill(0),a.fill(0),s.fill(0);n0&&r>=0&&!e.get(r);r--)n--;if(0!==n)throw new a.a},t.skipWhiteSpace=function(e){var t=e.getSize(),n=e.getNextSet(0);if(n===t)throw new a.a;return n},t.prototype.decodeEnd=function(e){e.reverse();try{var n=t.skipWhiteSpace(e),r=void 0;try{r=t.findGuardPattern(e,n,t.END_PATTERN_REVERSED[0])}catch(i){i instanceof a.a&&(r=t.findGuardPattern(e,n,t.END_PATTERN_REVERSED[1]))}this.validateQuietZone(e,r[0]);var o=r[0];return r[0]=e.getSize()-r[1],r[1]=e.getSize()-o,r}finally{e.reverse()}},t.findGuardPattern=function(e,n,r){var o=r.length,i=new Int32Array(o),s=e.getSize(),c=!1,u=0,h=n;i.fill(0);for(var d=n;d=0)return r%10;throw new a.a},t.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])],t.MAX_AVG_VARIANCE=.38,t.MAX_INDIVIDUAL_VARIANCE=.5,t.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],t.START_PATTERN=Int32Array.from([1,1,1,1]),t.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])],t}(f.a);t.a=p},function(e,t,n){"use strict";var r;!function(e){e[e.DATA_MASK_000=0]="DATA_MASK_000",e[e.DATA_MASK_001=1]="DATA_MASK_001",e[e.DATA_MASK_010=2]="DATA_MASK_010",e[e.DATA_MASK_011=3]="DATA_MASK_011",e[e.DATA_MASK_100=4]="DATA_MASK_100",e[e.DATA_MASK_101=5]="DATA_MASK_101",e[e.DATA_MASK_110=6]="DATA_MASK_110",e[e.DATA_MASK_111=7]="DATA_MASK_111"}(r||(r={}));var o=function(){function e(e,t){this.value=e,this.isMasked=t}return e.prototype.unmaskBitMatrix=function(e,t){for(var n=0;n0;){for(6===c&&(c-=1);u>=0&&u=r;)t^=n<=0)for(var c=0;c!==a;c++){var u=o[c];u>=0&&e.isEmpty(n.get(u,s))&&e.embedPositionAdjustmentPattern(u-2,s-2,n)}}},e.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),e.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),e.VERSION_INFO_POLY=7973,e.TYPE_INFO_POLY=1335,e.TYPE_INFO_MASK_PATTERN=21522,e}();t.a=u},,function(e,t,n){(function(r){var o,i;o=function(){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(e){if("object"!==o(e.console)){e.console={};for(var t,n,r=e.console,i=function(){},a=["memory"],s="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");t=a.pop();)r[t]||(r[t]={});for(;n=s.pop();)r[n]||(r[n]=i)}var c,u,l,f,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";void 0===e.btoa&&(e.btoa=function(e){var t,n,r,o,i,a=0,s=0,c="",u=[];if(!e)return e;for(;t=(i=e.charCodeAt(a++)<<16|e.charCodeAt(a++)<<8|e.charCodeAt(a++))>>18&63,n=i>>12&63,r=i>>6&63,o=63&i,u[s++]=h.charAt(t)+h.charAt(n)+h.charAt(r)+h.charAt(o),a>16&255,n=a>>8&255,r=255&a,u[c++]=64==o?String.fromCharCode(t):64==i?String.fromCharCode(t,n):String.fromCharCode(t,n,r),s>>0,r=new Array(n),o=1>>0,o=0;o>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r=arguments[1],o=0;o>16&255,r=u>>8&255,i=255&u}if(void 0===r||void 0===a&&n===r&&r===i)if("string"==typeof n)t=n+" "+s[0];else switch(e.precision){case 2:t=y(n/255)+" "+s[0];break;case 3:default:t=b(n/255)+" "+s[0]}else if(void 0===a||"object"===o(a)){if(a&&!isNaN(a.a)&&0===a.a)return["1.000","1.000","1.000",s[1]].join(" ");if("string"==typeof n)t=[n,r,i,s[1]].join(" ");else switch(e.precision){case 2:t=[y(n/255),y(r/255),y(i/255),s[1]].join(" ");break;default:case 3:t=[b(n/255),b(r/255),b(i/255),s[1]].join(" ")}}else if("string"==typeof n)t=[n,r,i,a,s[2]].join(" ");else switch(e.precision){case 2:t=[y(n/255),y(r/255),y(i/255),y(a/255),s[2]].join(" ");break;case 3:default:t=[b(n/255),b(r/255),b(i/255),b(a/255),s[2]].join(" ")}return t},Ae=d.__private__.getFilters=function(){return u},ge=d.__private__.putStream=function(e){var t,n=(e=e||{}).data||"",r=e.filters||Ae(),o=e.alreadyAppliedFilters||[],i=e.addLength1||!1,a=n.length;!0===r&&(r=["FlateEncode"]);var c=e.additionalKeyValues||[],u=(t=void 0!==s.API.processDataByFilters?s.API.processDataByFilters(n,r):{data:n,reverseChain:[]}).reverseChain+(Array.isArray(o)?o.join(" "):o.toString());0!==t.data.length&&(c.push({key:"Length",value:t.data.length}),!0===i&&c.push({key:"Length1",value:a})),0!=u.length&&(u.split("/").length-1==1?c.push({key:"Filter",value:u}):c.push({key:"Filter",value:"["+u+"]"})),j("<<");for(var l=0;l>"),0!==t.data.length&&(j("stream"),j(t.data),j("endstream"))},ve=d.__private__.putPage=function(e){e.mediaBox;var t=e.number,n=e.data,r=e.objId,o=e.contentsObjId;ue(r,!0),re[B].mediaBox.topRightX,re[B].mediaBox.bottomLeftX,re[B].mediaBox.topRightY,re[B].mediaBox.bottomLeftY,j("<>"),j("endobj");var i=n.join("\n");return ue(o,!0),ge({data:i,filters:Ae()}),j("endobj"),r},me=d.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=ne;e++)re[e].objId=ce(),re[e].contentsObjId=ce();for(e=1;e<=ne;e++)n.push(ve({number:e,data:F[e],objId:re[e].objId,contentsObjId:re[e].contentsObjId,mediaBox:re[e].mediaBox,cropBox:re[e].cropBox,bleedBox:re[e].bleedBox,trimBox:re[e].trimBox,artBox:re[e].artBox,userUnit:re[e].userUnit,rootDictionaryObjId:fe,resourceDictionaryObjId:he}));ue(fe,!0),j("<>"),j("endobj"),ie.publish("postPutPages")},ye=function(e,t,n){te.hasOwnProperty(t)||(te[t]={}),te[t][n]=e},be=function(e,t,n,r,o){o=o||!1;var i="F"+(Object.keys(ee).length+1).toString(10),a={id:i,postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:o,metadata:{}};return ie.publish("addFont",{font:a,instance:this}),void 0!==i&&(ee[i]=a,ye(i,t,n)),i},we=d.__private__.pdfEscape=d.pdfEscape=function(e,t){return function(e,t){var n,r,o,i,a,s,c,u,l;if(o=(t=t||{}).sourceEncoding||"Unicode",a=t.outputEncoding,(t.autoencode||a)&&ee[I].metadata&&ee[I].metadata[o]&&ee[I].metadata[o].encoding&&(i=ee[I].metadata[o].encoding,!a&&ee[I].encoding&&(a=ee[I].encoding),!a&&i.codePages&&(a=i.codePages[0]),"string"==typeof a&&(a=i[a]),a)){for(c=!1,s=[],n=0,r=e.length;n>8&&(c=!0);e=s.join("")}for(n=e.length;void 0===c&&0!==n;)e.charCodeAt(n-1)>>8&&(c=!0),n--;if(!c)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(l),s.push(u-(l<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},_e=d.__private__.beginPage=function(e,t){var r,o="string"==typeof t&&t.toLowerCase();if("string"==typeof e&&(r=v(e.toLowerCase()))&&(e=r[0],t=r[1]),Array.isArray(e)&&(t=e[1],e=e[0]),(isNaN(e)||isNaN(t))&&(e=n[0],t=n[1]),o){switch(o.substr(0,1)){case"l":e>"),j("endobj")},Be=d.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||fe;switch(se(),j("<<"),j("/Type /Catalog"),j("/Pages "+t+" 0 R"),N||(N="fullwidth"),N){case"fullwidth":j("/OpenAction [3 0 R /FitH null]");break;case"fullheight":j("/OpenAction [3 0 R /FitV null]");break;case"fullpage":j("/OpenAction [3 0 R /Fit]");break;case"original":j("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+N;"%"===n.substr(n.length-1)&&(N=parseInt(N)/100),"number"==typeof N&&j("/OpenAction [3 0 R /XYZ null null "+y(N)+"]")}switch(k||(k="continuous"),k){case"continuous":j("/PageLayout /OneColumn");break;case"single":j("/PageLayout /SinglePage");break;case"two":case"twoleft":j("/PageLayout /TwoColumnLeft");break;case"tworight":j("/PageLayout /TwoColumnRight")}x&&j("/PageMode /"+x),ie.publish("putCatalog"),j(">>"),j("endobj")},Te=d.__private__.putTrailer=function(){j("trailer"),j("<<"),j("/Size "+(Z+1)),j("/Root "+Z+" 0 R"),j("/Info "+(Z-1)+" 0 R"),j("/ID [ <"+w+"> <"+w+"> ]"),j(">>")},xe=d.__private__.putHeader=function(){j("%PDF-"+p),j("%\xba\xdf\xac\xe0")},ke=d.__private__.putXRef=function(){var e=1,t="0000000000";for(j("xref"),j("0 "+(Z+1)),j("0000000000 65535 f "),e=1;e<=Z;e++)"function"==typeof $[e]?j((t+$[e]()).slice(-10)+" 00000 n "):void 0!==$[e]?j((t+$[e]).slice(-10)+" 00000 n "):j("0000000000 00000 n ")},Ie=d.__private__.buildDocument=function(){D=!1,U=Z=0,z=[],$=[],oe=[],fe=ce(),he=ce(),ie.publish("buildDocument"),xe(),me(),function(){ie.publish("putAdditionalObjects");for(var e=0;e>"),j("endobj")));var t}(),ie.publish("putResources"),ue(he,!0),j("<<"),function(){for(var e in j("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),j("/Font <<"),ee)ee.hasOwnProperty(e)&&(!1===f||!0===f&&h.hasOwnProperty(e))&&j("/"+e+" "+ee[e].objectNumber+" 0 R");j(">>"),j("/XObject <<"),ie.publish("putXobjectDict"),j(">>")}(),j(">>"),j("endobj"),ie.publish("postPutResources"),Oe(),Be();var e=U;return ke(),Te(),j("startxref"),j(""+e),j("%%EOF"),D=!0,z.join("\n")},Pe=d.__private__.getBlob=function(e){return new Blob([W(e)],{type:"application/pdf"})},Le=d.output=d.__private__.output=((L=function(e,t){t=t||{};var n=Ie();switch("string"==typeof t?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return n;case"save":d.save(t.filename);break;case"arraybuffer":return W(n);case"blob":return Pe(n);case"bloburi":case"bloburl":if(void 0!==r.URL&&"function"==typeof r.URL.createObjectURL)return r.URL&&r.URL.createObjectURL(Pe(n))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+t.filename+";base64,"+btoa(n);case"dataurlnewwindow":var o='',i=r.open();if(null!==i&&i.document.write(o),i||"undefined"==typeof safari)return i;case"datauri":case"dataurl":return r.document.location.href="data:application/pdf;filename="+t.filename+";base64,"+btoa(n);default:return null}}).foo=function(){try{return L.apply(this,arguments)}catch(e){var t=e.stack||"";~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var n="Error in function "+t.split("\n")[0].split("<")[0]+": "+e.message;if(!r.console)throw new Error(n);r.console.error(n,e),r.alert&&alert(n)}},(L.foo.bar=L).foo),Re=function(e){return!0===Array.isArray(ae)&&-1":")"),te=1):(J=Ve(t),Z=Ge(n),$=(u?"<":"(")+_[Y]+(u?">":")")),void 0!==W&&void 0!==W[Y]&&(ne=W[Y]+" Tw\n"),0!==T.length&&0===Y?e.push(ne+T.join(" ")+" "+J.toFixed(2)+" "+Z.toFixed(2)+" Tm\n"+$):1===te||0===te&&0===Y?e.push(ne+J.toFixed(2)+" "+Z.toFixed(2)+" Td\n"+$):e.push(ne+$);e=0===te?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var re="BT\n/"+I+" "+Q+" Tf\n"+(Q*f).toFixed(2)+" TL\n"+et+"\n";return re+=l,re+=e,j(re+="ET"),h[I]=!0,d},d.__private__.lstext=d.lstext=function(e,t,n,r){return console.warn("jsPDF.lstext is deprecated"),this.text(e,t,n,{charSpace:r})},d.__private__.clip=d.clip=function(e){j("evenodd"===e?"W*":"W"),j("n")},d.__private__.clip_fixed=d.clip_fixed=function(e){console.log("clip_fixed is deprecated"),d.clip(e)};var Ue=d.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(e)&&(t=!0),t},je=d.__private__.getStyle=function(e){var t="S";return"F"===e?t="f":"FD"===e||"DF"===e?t="B":"f"!==e&&"f*"!==e&&"B"!==e&&"B*"!==e||(t=e),t};d.__private__.line=d.line=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[n-e,r-t]],e,t)},d.__private__.lines=d.lines=function(e,t,n,r,o,i){var a,s,c,u,l,f,h,d,p,A,g,v;if("number"==typeof e&&(v=n,n=t,t=e,e=v),r=r||[1,1],i=i||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!Ue(o)||"boolean"!=typeof i)throw new Error("Invalid arguments passed to jsPDF.lines");for(j(b(Ve(t))+" "+b(Ge(n))+" m "),a=r[0],s=r[1],u=e.length,A=t,g=n,c=0;c=a.length-1;if(E&&!C){y+=" ";continue}if(E||C){if(C)v=M;else if(e.multiline&&u<(h+2)*(b+2)+2)continue e}else{if(!e.multiline)continue e;if(u<(h+2)*(b+2)+2)continue e;v=M}for(var S="",O=g;O<=v;O++)S+=a[O]+" ";switch(S=" "==S.substr(S.length-1)?S.substr(0,S.length-1):S,m=_(S,e,c).width,e.textAlign){case"right":p=l-m-2;break;case"center":p=(l-m)/2;break;case"left":default:p=2}t+=s(p)+" "+s(A)+" Td\n",t+="("+i(S)+") Tj\n",t+=-s(p)+" 0 Td\n",A=-(c+2),m=0,g=v+1,b++,y=""}break}return o.text=t,o.fontSize=c,o},_=function(e,t,r){var o=n.internal.getFont(t.fontName,t.fontStyle),i=n.getStringUnitWidth(e,{font:o,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:n.getStringUnitWidth("3",{font:o,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},M={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},E=function(){n.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=n.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var t in e)if(e.hasOwnProperty(t)){var r=e[t];r.objId=void 0,r.hasAnnotation&&C.call(n,r)}},C=function(e){var t={type:"reference",object:e};void 0===n.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===t.type&&e.object===t.object}))&&n.internal.getPageInfo(e.page).pageContext.annotations.push(t)},S=function(){if(void 0===n.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");n.internal.write("/AcroForm "+n.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},O=function(){n.internal.events.unsubscribe(n.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete n.internal.acroformPlugin.acroFormDictionaryRoot._eventID,n.internal.acroformPlugin.printedOut=!0},B=function(e){var t=!e;for(var r in e||(n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||n.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(r)){var i=e[r],a=[],s=i.Rect;if(i.Rect&&(i.Rect=y.call(this,i.Rect)),n.internal.newObjectDeferredBegin(i.objId,!0),i.DA=V.createDefaultAppearanceStream(i),"object"===o(i)&&"function"==typeof i.getKeyValueListForStream&&(a=i.getKeyValueListForStream()),i.Rect=s,i.hasAppearanceStream&&!i.appearanceStreamContent){var c=b.call(this,i);a.push({key:"AP",value:"<>"}),n.internal.acroformPlugin.xForms.push(c)}if(i.appearanceStreamContent){var u="";for(var l in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(l)){var f=i.appearanceStreamContent[l];if(u+="/"+l+" ",u+="<<",1<=Object.keys(f).length||Array.isArray(f))for(var r in f){var h;f.hasOwnProperty(r)&&("function"==typeof(h=f[r])&&(h=h.call(this,i)),u+="/"+r+" "+h+" ",0<=n.internal.acroformPlugin.xForms.indexOf(h)||n.internal.acroformPlugin.xForms.push(h))}else"function"==typeof(h=f)&&(h=h.call(this,i)),u+="/"+r+" "+h,0<=n.internal.acroformPlugin.xForms.indexOf(h)||n.internal.acroformPlugin.xForms.push(h);u+=">>"}a.push({key:"AP",value:"<<\n"+u+">>"})}n.internal.putStream({additionalKeyValues:a}),n.internal.out("endobj")}t&&T.call(this,n.internal.acroformPlugin.xForms)},T=function(e){for(var t in e)if(e.hasOwnProperty(t)){var r=t,i=e[t];n.internal.newObjectDeferredBegin(i&&i.objId,!0),"object"===o(i)&&"function"==typeof i.putStream&&i.putStream(),delete e[r]}},N=function(){if(void 0!==this.internal&&(void 0===this.internal.acroformPlugin||!1===this.internal.acroformPlugin.isInitialized)){if(n=this,R.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(M)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");r=n.internal.scaleFactor,n.internal.acroformPlugin.acroFormDictionaryRoot=new L,n.internal.acroformPlugin.acroFormDictionaryRoot._eventID=n.internal.events.subscribe("postPutResources",O),n.internal.events.subscribe("buildDocument",E),n.internal.events.subscribe("putCatalog",S),n.internal.events.subscribe("postPutPages",B),n.internal.acroformPlugin.isInitialized=!0}},x=e.__acroform__.arrayToPdfArray=function(e){if(Array.isArray(e)){for(var t="[",n=0;n>"),n.join("\n")}},set:function(e){"object"===o(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};u(j,R);var H=function(){j.call(this),this.pushButton=!0};u(H,j);var W=function(){j.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};u(W,j);var q=function(){var e,t;R.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var n,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e,t=[];for(e in t.push("<<"),r)t.push("/"+e+" ("+r[e]+")");return t.push(">>"),t.join("\n")},set:function(e){"object"===o(e)&&(r=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(e){"string"==typeof e&&(r.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+e}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=V.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};u(q,R),W.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},W.prototype.createOption=function(e){this.Kids.length;var t=new q;return t.Parent=this,t.optionName=e,this.Kids.push(t),G.call(this,t),t};var Q=function(){j.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=V.CheckBox.createAppearanceStream()};u(Q,j);var X=function(){R.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,13):this.Ff=m(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,21):this.Ff=m(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,23):this.Ff=m(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,24):this.Ff=m(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,25):this.Ff=m(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,26):this.Ff=m(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};u(X,R);var K=function(){X.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,14):this.Ff=m(this.Ff,14)}}),this.password=!0};u(K,X);var V={CheckBox:{createAppearanceStream:function(){return{N:{On:V.CheckBox.YesNormal},D:{On:V.CheckBox.YesPushDown,Off:V.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=h(e),r=[],o=n.internal.getFont(e.fontName,e.fontStyle).id,i=n.__private__.encodeColorString(e.color),a=w(e,e.caption);return r.push("0.749023 g"),r.push("0 0 "+s(V.internal.getWidth(e))+" "+s(V.internal.getHeight(e))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+o+" "+s(a.fontSize)+" Tf "+i),r.push("BT"),r.push(a.text),r.push("ET"),r.push("Q"),r.push("EMC"),t.stream=r.join("\n"),t},YesNormal:function(e){var t=h(e),r=n.internal.getFont(e.fontName,e.fontStyle).id,o=n.__private__.encodeColorString(e.color),i=[],a=V.internal.getHeight(e),c=V.internal.getWidth(e),u=w(e,e.caption);return i.push("1 g"),i.push("0 0 "+s(c)+" "+s(a)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+s(c-1)+" "+s(a-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+s(u.fontSize)+" Tf "+o),i.push(u.text),i.push("ET"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(e){var t=h(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+s(V.internal.getWidth(e))+" "+s(V.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:V.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=V.RadioButton.Circle.YesNormal,t.D[e]=V.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=h(e),n=[],r=V.internal.getWidth(e)<=V.internal.getHeight(e)?V.internal.getWidth(e)/4:V.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var o=V.internal.Bezier_C,i=Number((r*o).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+c(V.internal.getWidth(e)/2)+" "+c(V.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),n.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),n.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),n.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=h(e),n=[],r=V.internal.getWidth(e)<=V.internal.getHeight(e)?V.internal.getWidth(e)/4:V.internal.getHeight(e)/4,o=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((o*V.internal.Bezier_C).toFixed(5)),a=Number((r*V.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+c(V.internal.getWidth(e)/2)+" "+c(V.internal.getHeight(e)/2)+" cm"),n.push(o+" 0 m"),n.push(o+" "+i+" "+i+" "+o+" 0 "+o+" c"),n.push("-"+i+" "+o+" -"+o+" "+i+" -"+o+" 0 c"),n.push("-"+o+" -"+i+" -"+i+" -"+o+" 0 -"+o+" c"),n.push(i+" -"+o+" "+o+" -"+i+" "+o+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+c(V.internal.getWidth(e)/2)+" "+c(V.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),n.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),n.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),n.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=h(e),n=[],r=V.internal.getWidth(e)<=V.internal.getHeight(e)?V.internal.getWidth(e)/4:V.internal.getHeight(e)/4,o=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((o*V.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+c(V.internal.getWidth(e)/2)+" "+c(V.internal.getHeight(e)/2)+" cm"),n.push(o+" 0 m"),n.push(o+" "+i+" "+i+" "+o+" 0 "+o+" c"),n.push("-"+i+" "+o+" -"+o+" "+i+" -"+o+" 0 c"),n.push("-"+o+" -"+i+" -"+i+" -"+o+" 0 -"+o+" c"),n.push(i+" -"+o+" "+o+" -"+i+" "+o+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:V.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=V.RadioButton.Cross.YesNormal,t.D[e]=V.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=h(e),n=[],r=V.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+s(V.internal.getWidth(e)-2)+" "+s(V.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(s(r.x1.x)+" "+s(r.x1.y)+" m"),n.push(s(r.x2.x)+" "+s(r.x2.y)+" l"),n.push(s(r.x4.x)+" "+s(r.x4.y)+" m"),n.push(s(r.x3.x)+" "+s(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=h(e),n=V.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+s(V.internal.getWidth(e))+" "+s(V.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+s(V.internal.getWidth(e)-2)+" "+s(V.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(s(n.x1.x)+" "+s(n.x1.y)+" m"),r.push(s(n.x2.x)+" "+s(n.x2.y)+" l"),r.push(s(n.x4.x)+" "+s(n.x4.y)+" m"),r.push(s(n.x3.x)+" "+s(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=h(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+s(V.internal.getWidth(e))+" "+s(V.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=n.internal.getFont(e.fontName,e.fontStyle).id,r=n.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+r}};V.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=V.internal.getWidth(e),n=V.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},V.internal.getWidth=function(e){var t=0;return"object"===o(e)&&(t=l(e.Rect[2])),t},V.internal.getHeight=function(e){var t=0;return"object"===o(e)&&(t=l(e.Rect[3])),t};var G=e.addField=function(e){if(N.call(this),!(e instanceof R))throw new Error("Invalid argument passed to jsPDF.addField.");return function(e){n.internal.acroformPlugin.printedOut&&(n.internal.acroformPlugin.printedOut=!1,n.internal.acroformPlugin.acroFormDictionaryRoot=null),n.internal.acroformPlugin.acroFormDictionaryRoot||N.call(n),n.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e)}.call(this,e),e.page=n.internal.getCurrentPageInfo().pageNumber,this};e.addButton=function(e){if(e instanceof j==0)throw new Error("Invalid argument passed to jsPDF.addButton.");return G.call(this,e)},e.addTextField=function(e){if(e instanceof X==0)throw new Error("Invalid argument passed to jsPDF.addTextField.");return G.call(this,e)},e.addChoiceField=function(e){if(e instanceof D==0)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return G.call(this,e)},"object"==o(t)&&void 0===t.ChoiceField&&void 0===t.ListBox&&void 0===t.ComboBox&&void 0===t.EditBox&&void 0===t.Button&&void 0===t.PushButton&&void 0===t.RadioButton&&void 0===t.CheckBox&&void 0===t.TextField&&void 0===t.PasswordField?(t.ChoiceField=D,t.ListBox=F,t.ComboBox=z,t.EditBox=U,t.Button=j,t.PushButton=H,t.RadioButton=W,t.CheckBox=Q,t.TextField=X,t.PasswordField=K,t.AcroForm={Appearance:V}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),e.AcroFormChoiceField=D,e.AcroFormListBox=F,e.AcroFormComboBox=z,e.AcroFormEditBox=U,e.AcroFormButton=j,e.AcroFormPushButton=H,e.AcroFormRadioButton=W,e.AcroFormCheckBox=Q,e.AcroFormTextField=X,e.AcroFormPasswordField=K,e.AcroFormAppearance=V,e.AcroForm={ChoiceField:D,ListBox:F,ComboBox:z,EditBox:U,Button:j,PushButton:H,RadioButton:W,CheckBox:Q,TextField:X,PasswordField:K,Appearance:V}})((window.tmp=pe).API,"undefined"!=typeof window&&window||"undefined"!=typeof r&&r),function(e){var t="addImage_",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},r=e.getImageFileTypeByImageData=function(t,r){var o,i;r=r||"UNKNOWN";var a,s,c,u="UNKNOWN";for(c in e.isArrayBufferView(t)&&(t=e.arrayBufferToBinaryString(t)),n)for(a=n[c],o=0;o>"}),"trns"in t&&t.trns.constructor==Array){for(var s="",c=0,u=t.trns.length;c>18]+r[(258048&t)>>12]+r[(4032&t)>>6]+r[63&t];return 1==a?n+=r[(252&(t=o[s]))>>2]+r[(3&t)<<4]+"==":2==a&&(n+=r[(64512&(t=o[s]<<8|o[s+1]))>>10]+r[(1008&t)>>4]+r[(15&t)<<2]+"="),n},e.createImageInfo=function(e,t,n,r,o,i,a,s,c,u,l,f,h){var d={alias:s,w:t,h:n,cs:r,bpc:o,i:a,data:e};return i&&(d.f=i),c&&(d.dp=c),u&&(d.trns=u),l&&(d.pal=l),f&&(d.smask=f),h&&(d.p=h),d},e.addImage=function(n,r,i,h,d,p,A,g,v){var m="";if("string"!=typeof r){var y=p;p=d,d=h,h=i,i=r,r=y}if("object"===o(n)&&!u(n)&&"imageData"in n){var b=n;n=b.imageData,r=b.format||r||"UNKNOWN",i=b.x||i||0,h=b.y||h||0,d=b.w||d,p=b.h||p,A=b.alias||A,g=b.compression||g,v=b.rotation||b.angle||v}var w=this.internal.getFilters();if(void 0===g&&-1!==w.indexOf("FlateEncode")&&(g="SLOW"),"string"==typeof n&&(n=unescape(n)),isNaN(i)||isNaN(h))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var _,M,E,C,S,O,B,T=function(){var e=this.internal.collections[t+"images"];return e||(this.internal.collections[t+"images"]=e={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s)),e}.call(this);if(!((_=f(n,T))||(u(n)&&(n=l(n,r)),(null==(B=A)||0===B.length)&&(A="string"==typeof(O=n)?e.sHashCode(O):e.isArrayBufferView(O)?e.sHashCode(e.arrayBufferToBinaryString(O)):null),_=f(A,T)))){if(this.isString(n)&&(""!==(m=this.convertStringToImageData(n))||void 0!==(m=e.loadFile(n)))&&(n=m),r=this.getImageFileTypeByImageData(n,r),!c(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if(this.supportsArrayBuffer()&&(n instanceof Uint8Array||(M=n,n=this.binaryStringToUint8Array(n))),!(_=this["process"+r.toUpperCase()](n,(S=0,(C=T)&&(S=Object.keys?Object.keys(C).length:function(e){var t=0;for(var n in e)e.hasOwnProperty(n)&&t++;return t}(C)),S),A,((E=g)&&"string"==typeof E&&(E=E.toUpperCase()),E in e.image_compression?E:e.image_compression.NONE),M)))throw new Error("An unknown error occurred whilst processing the image")}return function(e,t,n,r,o,i,a,s){var c=function(e,t,n){return e||t||(t=e=-96),e<0&&(e=-1*n.w*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.h*72/t/this.internal.scaleFactor),0===e&&(e=t*n.w/n.h),0===t&&(t=e*n.h/n.w),[e,t]}.call(this,n,r,o),u=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString;if(n=c[0],r=c[1],a[i]=o,s){s*=Math.PI/180;var f=Math.cos(s),h=Math.sin(s),d=function(e){return e.toFixed(4)},p=[d(f),d(h),d(-1*h),d(f),0,0,"cm"]}this.internal.write("q"),s?(this.internal.write([1,"0","0",1,u(e),l(t+r),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([u(n),"0","0",u(r),"0","0","cm"].join(" "))):this.internal.write([u(n),"0","0",u(r),u(e),l(t+r),"cm"].join(" ")),this.internal.write("/I"+o.i+" Do"),this.internal.write("Q")}.call(this,i,h,d,p,_,_.i,T,v),this},e.convertStringToImageData=function(t){var n,r="";if(this.isString(t)){var o;n=null!==(o=this.extractImageFromDataUrl(t))?o.data:t;try{r=atob(n)}catch(t){throw e.validateStringAsBase64(n)?new Error("atob-Error in jsPDF.convertStringToImageData "+t.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return r};var h=function(e,t){return e.subarray(t,t+5)};e.processJPEG=function(e,t,n,o,i,a){var s,c=this.decode.DCT_DECODE;if(!this.isString(e)&&!this.isArrayBuffer(e)&&!this.isArrayBufferView(e))return null;if(this.isString(e)&&(s=function(e){var t;if("JPEG"!==r(e))throw new Error("getJpegSize requires a binary string jpeg file");for(var n=256*e.charCodeAt(4)+e.charCodeAt(5),o=4,i=e.length;o>",u.content=g;var h=u.objId+" 0 R";g="<>";else if(c.options.pageNumber)switch(g="<>",this.internal.write(g))}}this.internal.write("]")}}]),a.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},a.link=function(e,t,n,r,o){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:e,y:t,w:n,h:r,options:o,type:"link"})},a.textWithLink=function(e,t,n,r){var o=this.getTextWidth(e),i=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(e,t,n),n+=.2*i,this.link(t,n-i,o,i,r),o},a.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor},function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},o=[1570,1571,1573,1575];e.__arabicParser__={};var i=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},a=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length<=2},c=e.__arabicParser__.isArabicAlfLetter=function(e){return a(e)&&0<=o.indexOf(e.charCodeAt(0))},u=(e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return a(e)&&i(e)&&1<=t[e.charCodeAt(0)].length},e.__arabicParser__.arabicLetterHasFinalForm=function(e){return a(e)&&i(e)&&2<=t[e.charCodeAt(0)].length}),l=(e.__arabicParser__.arabicLetterHasInitialForm=function(e){return a(e)&&i(e)&&3<=t[e.charCodeAt(0)].length},e.__arabicParser__.arabicLetterHasMedialForm=function(e){return a(e)&&i(e)&&4==t[e.charCodeAt(0)].length}),f=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,o=0,i="",a=0;for(t=0;t>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+t+" 0 R")}))}return this},s=pe.API,(c=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=e}});var o={};Object.defineProperty(this,"style",{get:function(){return o},set:function(e){o=e}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return(this.pdf.context2d._canvas=this).pdf.context2d},c.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},s.events.push(["initialized",function(){this.canvas=new c,this.canvas.pdf=this}]),u=pe.API,f={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},h=1,d=function(e,t,n,r,o){f={x:e,y:t,w:n,h:r,ln:o}},p=function(){return f},A={left:0,top:0,bottom:0},u.setHeaderFunction=function(e){l=e},u.getTextDimensions=function(e,t){var n=this.table_font_size||this.internal.getFontSize(),r=(this.internal.getFont().fontStyle,(t=t||{}).scaleFactor||this.internal.scaleFactor),o=0,i=0,a=0;if("string"==typeof e)0!=(o=this.getStringUnitWidth(e)*n)&&(i=1);else{if("[object Array]"!==Object.prototype.toString.call(e))throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var s=0;s=this.internal.pageSize.getHeight()-u.bottom&&(this.cellAddPage(),c=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(i,!0)),t=p().y+p().h,c&&(t=23)}if(void 0!==o[0])if(this.printingHeaderRow?this.rect(e,t,n,r,"FD"):this.rect(e,t,n,r),"right"===a){o instanceof Array||(o=[o]);for(var l=0;l=2*Math.PI&&(r=0,o=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:r,endAngle:o,counterclockwise:i})},u.prototype.arcTo=function(e,t,n,r,o){throw new Error("arcTo not implemented.")},u.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},u.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!f.call(this)){var o={};"butt"!==this.lineCap&&(o.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(o.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,r),this.fill(),o.hasOwnProperty("lineCap")&&(this.lineCap=o.lineCap),o.hasOwnProperty("lineJoin")&&(this.lineJoin=o.lineJoin)}},u.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");h.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},u.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,n,r))},u.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n"},m=function(e){var t,n,r,o,i,a=String,s="length",c="charCodeAt",u="slice",l="replace";for(e[u](-2),e=e[u](0,-2)[l](/\s/g,"")[l]("z","!!!!!"),r=[],o=0,i=(e+=t="uuuuu"[u](e[s]%5||5))[s];o>24,255&n>>16,255&n>>8,255&n);return function(e,n){for(var r=t[s];0"},b=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",r=0;r>8&255,n>>16&255,n>>24&255]),e.length+2),String.fromCharCode.apply(null,o)},g.processDataByFilters=function(e,t){var n=0,r=e||"",o=[];for("string"==typeof(t=t||[])&&(t=[t]),n=0;n>"),this.internal.out("endobj"),T=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+N+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==B&&void 0!==T&&this.internal.out("/Names <>")})),this},(x=pe.API).events.push(["postPutResources",function(){var e=this,t=/^(\d+) 0 obj$/;if(0> endobj")}var f=e.internal.newObject();for(e.internal.write("<< /Names [ "),r=0;r>","endobj"),e.internal.newObject(),e.internal.write("<< /Dests "+f+" 0 R"),e.internal.write(">>","endobj")}}]),x.events.push(["putCatalog",function(){0> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n>>24&255,h[f++]=s>>>16&255,h[f++]=s>>>8&255,h[f++]=255&s,k.arrayBufferToBinaryString(h)},L=function(e,t){var n=Math.LOG2E*Math.log(32768)-8<<4|8,r=n<<8;return r|=Math.min(3,(t-1&255)>>1)<<6,r|=0,[n,255&(r+=31-r%31)]},R=function(e,t){for(var n,r=1,o=0,i=e.length,a=0;0>>0},D=function(e,t,n,r){for(var o,i,a,s=e.length/t,c=new Uint8Array(e.length+s),u=q(),l=0;l>>1)&255;return i},H=function(e,t,n){var r,o,i,a,s=[],c=0,u=e.length;for(s[0]=4;c>>p&255,p+=i.bits;v[y]=w>>>p&255}if(16===i.bits){A=(S=new Uint32Array(i.decodePixels().buffer)).length,g=new Uint8Array(A*(32/i.pixelBitlength)*i.colors),v=new Uint8Array(A*(32/i.pixelBitlength));for(var w,_=1>>0&255,_&&(g[b++]=w>>>16&255,w=S[y++],g[b++]=w>>>0&255),v[M++]=w>>>16&255;d=8}r!==k.image_compression.NONE&&I()?(e=P(g,i.width*i.colors,i.colors,r),l=P(v,i.width,1,r)):(e=g,l=v,h=null)}if(3===i.colorType&&(f=this.color_spaces.INDEXED,u=i.palette,i.transparency.indexed)){var E=i.transparency.indexed,C=0;for(y=0,A=E.length;yr&&(o.push(e.slice(c,i)),s=0,c=i),s+=t[i],i++;return c!==i&&o.push(e.slice(c,i)),o},ee=function(e,t,n){n||(n={});var r,o,i,a,s,c,u=[],l=[u],f=n.textIndent||0,h=0,d=0,p=e.split(" "),A=Y.apply(this,[" ",n])[0];if(c=-1===n.lineIndent?p[0].length+2:n.lineIndent||0){var g=Array(c).join(" "),v=[];p.map((function(e){1<(e=e.split(/\s*\n/)).length?v=v.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):v.push(e[0])})),p=v,c=Z.apply(this,[g,n])}for(i=0,a=p.length;i>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},ce=pe.API,fe=le=ue="",ce.addMetadata=function(e,t){return le=t||"http://jspdf.default.namespaceuri/",ue=e,this.internal.events.subscribe("postPutResources",(function(){if(ue){var e='',t=unescape(encodeURIComponent('')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(ue)),o=unescape(encodeURIComponent("")),i=unescape(encodeURIComponent("")),a=n.length+r.length+o.length+t.length+i.length;fe=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+a+" >>"),this.internal.write("stream"),this.internal.write(t+n+r+o+i),this.internal.write("endstream"),this.internal.write("endobj")}else fe=""})),this.internal.events.subscribe("putCatalog",(function(){fe&&this.internal.write("/Metadata "+fe+" 0 R")})),this},function(e,t){var n=e.API,r=n.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,o=["","0","00","000","0000"],i=[""],a=0,s=e.length;a<"+o+">");return r.length&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};n.events.push(["putFont",function(t){!function(t,n,r,i){if(t.metadata instanceof e.API.TTFFont&&"Identity-H"===t.encoding){for(var a=t.metadata.Unicode.widths,s=t.metadata.subset.encode(t.metadata.glyIdsUsed,1),c="",u=0;u>"),n("endobj");var d=r();n("<<"),n("/Type /Font"),n("/BaseFont /"+t.fontName),n("/FontDescriptor "+h+" 0 R"),n("/W "+e.API.PDFObject.convert(a)),n("/CIDToGIDMap /Identity"),n("/DW 1000"),n("/Subtype /CIDFontType2"),n("/CIDSystemInfo"),n("<<"),n("/Supplement 0"),n("/Registry (Adobe)"),n("/Ordering ("+t.encoding+")"),n(">>"),n(">>"),n("endobj"),t.objectNumber=r(),n("<<"),n("/Type /Font"),n("/Subtype /Type0"),n("/ToUnicode "+f+" 0 R"),n("/BaseFont /"+t.fontName),n("/Encoding /"+t.encoding),n("/DescendantFonts ["+d+" 0 R]"),n(">>"),n("endobj"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject,t.putStream)}]),n.events.push(["putFont",function(t){!function(t,n,r,i){if(t.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===t.encoding){t.metadata.Unicode.widths;for(var a=t.metadata.rawData,s="",c=0;c>"),n("endobj"),t.objectNumber=r(),c=0;c>"),n("endobj"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject,t.putStream)}]);var i=function(e){var t,n,o=e.text||"",i=e.x,a=e.y,s=e.options||{},c=e.mutex||{},u=c.pdfEscape,l=c.activeFontKey,f=c.fonts,h=(c.activeFontSize,""),d=0,p="",A=f[n=l].encoding;if("Identity-H"!==f[n].encoding)return{text:o,x:i,y:a,options:s,mutex:c};for(p=o,n=l,"[object Array]"===Object.prototype.toString.call(o)&&(p=o[0]),d=0;dc-u.top-u.bottom&&r.pagesplit){var p=function(e,t,n,o,i){var a=document.createElement("canvas");a.height=i,a.width=o;var s=a.getContext("2d");return s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.fillStyle=r.backgroundColor||"#ffffff",s.fillRect(0,0,o,i),s.drawImage(e,t,n,o,i,0,0,o,i),a},A=function(){for(var r,i,l=0,A=0,g={},v=!1;;){var m;if(A=0,g.top=0!==l?u.top:n,g.left=0!==l?u.left:t,v=(s-u.left-u.right)*a=e.width)break;this.addPage()}else y=[m=p(e,0,l,r,i),g.left,g.top,m.width/a,m.height/a,h,null,d],this.addImage.apply(this,y);if((l+=i)>=e.height)break;this.addPage()}o(f,l,null,y)}.bind(this);if("CANVAS"===e.nodeName){var g=new Image;g.onload=A,g.src=e.toDataURL("image/png"),e=g}else A()}else{var v=Math.random().toString(35),m=[e,t,n,f,l,h,v,d];this.addImage.apply(this,m),o(f,l,v,m)}}.bind(this),"undefined"!=typeof html2canvas&&!r.rstz)return html2canvas(e,r);if("undefined"==typeof rasterizeHTML)return null;var u="drawDocument";return"string"==typeof e&&(u=/^http/.test(e)?"drawURL":"drawHTML"),r.width=r.width||s*a,rasterizeHTML[u](e,void 0,r).then((function(e){r.onrendered(e.image)}),(function(e){o(null,e)}))},function(e){var t,n,r,i,a,s,c,u,l,f,h,d,p,A,g,v,m,y,b,w;t=function(){return function(t){return e.prototype=t,new e};function e(){}}(),f=function(e){var t,n,r,o,i,a,s;for(n=0,r=e.length,t=void 0,a=o=!1;!o&&n!==r;)(t=e[n]=e[n].trimLeft())&&(o=!0),n++;for(n=r-1;r&&!a&&-1!==n;)(t=e[n]=e[n].trimRight())&&(a=!0),n--;for(i=/\s+$/g,s=!0,n=0;n!==r;)"\u2028"!=e[n]&&(t=e[n].replace(/\s+/g," "),s&&(t=t.trimLeft()),t&&(s=i.test(t)),e[n]=t),n++;return e},d=function(e){var t,n,o;for(t=void 0,n=(o=e.split(",")).shift();!t&&n;)t=r[n.trim().toLowerCase()],n=o.shift();return t},p=function(e){var t;return-1<(e="auto"===e?"0px":e).indexOf("em")&&!isNaN(Number(e.replace("em","")))&&(e=18.719*Number(e.replace("em",""))+"px"),-1r.pdf.margins_doc.top&&(r.pdf.addPage(),r.y=r.pdf.margins_doc.top,r.executeWatchFunctions(a));var T=l(a),N=r.x,x=12/r.pdf.internal.scaleFactor,k=(T["margin-left"]+T["padding-left"])*x,I=(T["margin-right"]+T["padding-right"])*x,P=(T["margin-top"]+T["padding-top"])*x,L=(T["margin-bottom"]+T["padding-bottom"])*x;void 0!==T.float&&"right"===T.float?N+=r.settings.width-a.width-I:N+=k,r.pdf.addImage(O,N,r.y+P,a.width,a.height),O=void 0,"right"===T.float||"left"===T.float?(r.watchFunctions.push(function(e,t,n,o){return r.y>=t?(r.x+=e,r.settings.width+=n,!0):!!(o&&1===o.nodeType&&!_[o.nodeName]&&r.x+o.width>r.pdf.margins_doc.left+r.pdf.margins_doc.width)&&(r.x+=e,r.y=t,r.settings.width+=n,!0)}.bind(this,"left"===T.float?-a.width-k-I:0,r.y+a.height+P+L,a.width)),r.watchFunctions.push(function(e,t,n){return!(r.y]*?>/gi,""),l="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(u=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",u.innerHTML='