/*! For license information please see 2.f053b9ec.chunk.js.LICENSE.txt */ (this["webpackJsonptv-netwarehouse"]=this["webpackJsonptv-netwarehouse"]||[]).push([[2],[function(t,e,r){"use strict";t.exports=r(1302)},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(5);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e"']/g,I=RegExp(N.source),P=RegExp(k.source),D=/<%-([\s\S]+?)%>/g,F=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,H=/^\w*$/,X=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Q=/[\\^$.*+?()[\]{}|]/g,K=RegExp(Q.source),V=/^\s+/,G=/\s/,Y=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,$=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,rt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nt=/\w*$/,ot=/^[-+]0x[0-9a-f]+$/i,it=/^0b[01]+$/i,at=/^\[object .+?Constructor\]$/,st=/^0o[0-7]+$/i,ct=/^(?:0|[1-9]\d*)$/,ut=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,lt=/($^)/,pt=/['\n\r\u2028\u2029\\]/g,ft="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",At="\\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",ht="[\\ud800-\\udfff]",dt="["+At+"]",bt="["+ft+"]",Mt="\\d+",gt="[\\u2700-\\u27bf]",mt="[a-z\\xdf-\\xf6\\xf8-\\xff]",Ot="[^\\ud800-\\udfff"+At+Mt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",vt="\\ud83c[\\udffb-\\udfff]",yt="[^\\ud800-\\udfff]",zt="(?:\\ud83c[\\udde6-\\uddff]){2}",wt="[\\ud800-\\udbff][\\udc00-\\udfff]",_t="[A-Z\\xc0-\\xd6\\xd8-\\xde]",qt="(?:"+mt+"|"+Ot+")",Bt="(?:"+_t+"|"+Ot+")",St="(?:"+bt+"|"+vt+")"+"?",Ct="[\\ufe0e\\ufe0f]?"+St+("(?:\\u200d(?:"+[yt,zt,wt].join("|")+")[\\ufe0e\\ufe0f]?"+St+")*"),Et="(?:"+[gt,zt,wt].join("|")+")"+Ct,Rt="(?:"+[yt+bt+"?",bt,zt,wt,ht].join("|")+")",Wt=RegExp("['\u2019]","g"),Tt=RegExp(bt,"g"),xt=RegExp(vt+"(?="+vt+")|"+Rt+Ct,"g"),Lt=RegExp([_t+"?"+mt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[dt,_t,"$"].join("|")+")",Bt+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[dt,_t+qt,"$"].join("|")+")",_t+"?"+qt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",_t+"+(?:['\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_])",Mt,Et].join("|"),"g"),Nt=RegExp("[\\u200d\\ud800-\\udfff"+ft+"\\ufe0e\\ufe0f]"),kt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,It=["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"],Pt=-1,Dt={};Dt[_]=Dt[q]=Dt[B]=Dt[S]=Dt[C]=Dt[E]=Dt["[object Uint8ClampedArray]"]=Dt[R]=Dt[W]=!0,Dt[c]=Dt[u]=Dt[z]=Dt[l]=Dt[w]=Dt[p]=Dt[f]=Dt[A]=Dt[d]=Dt[b]=Dt[M]=Dt[g]=Dt[m]=Dt[O]=Dt[y]=!1;var Ft={};Ft[c]=Ft[u]=Ft[z]=Ft[w]=Ft[l]=Ft[p]=Ft[_]=Ft[q]=Ft[B]=Ft[S]=Ft[C]=Ft[d]=Ft[b]=Ft[M]=Ft[g]=Ft[m]=Ft[O]=Ft[v]=Ft[E]=Ft["[object Uint8ClampedArray]"]=Ft[R]=Ft[W]=!0,Ft[f]=Ft[A]=Ft[y]=!1;var Ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},jt=parseFloat,Ht=parseInt,Xt="object"==typeof t&&t&&t.Object===Object&&t,Qt="object"==typeof self&&self&&self.Object===Object&&self,Kt=Xt||Qt||Function("return this")(),Vt=e&&!e.nodeType&&e,Gt=Vt&&"object"==typeof n&&n&&!n.nodeType&&n,Yt=Gt&&Gt.exports===Vt,Zt=Yt&&Xt.process,Jt=function(){try{var t=Gt&&Gt.require&&Gt.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(e){}}(),$t=Jt&&Jt.isArrayBuffer,te=Jt&&Jt.isDate,ee=Jt&&Jt.isMap,re=Jt&&Jt.isRegExp,ne=Jt&&Jt.isSet,oe=Jt&&Jt.isTypedArray;function ie(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function ae(t,e,r,n){for(var o=-1,i=null==t?0:t.length;++o-1}function fe(t,e,r){for(var n=-1,o=null==t?0:t.length;++n-1;);return r}function Le(t,e){for(var r=t.length;r--&&ve(e,t[r],0)>-1;);return r}function Ne(t,e){for(var r=t.length,n=0;r--;)t[r]===e&&++n;return n}var ke=qe({"\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"}),Ie=qe({"&":"&","<":"<",">":">",'"':""","'":"'"});function Pe(t){return"\\"+Ut[t]}function De(t){return Nt.test(t)}function Fe(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}function Ue(t,e){return function(r){return t(e(r))}}function je(t,e){for(var r=-1,n=t.length,o=0,i=[];++r",""":'"',"'":"'"});var Ye=function t(e){var r=(e=null==e?Kt:Ye.defaults(Kt.Object(),e,Ye.pick(Kt,It))).Array,n=e.Date,o=e.Error,G=e.Function,ft=e.Math,At=e.Object,ht=e.RegExp,dt=e.String,bt=e.TypeError,Mt=r.prototype,gt=G.prototype,mt=At.prototype,Ot=e["__core-js_shared__"],vt=gt.toString,yt=mt.hasOwnProperty,zt=0,wt=function(){var t=/[^.]+$/.exec(Ot&&Ot.keys&&Ot.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),_t=mt.toString,qt=vt.call(At),Bt=Kt._,St=ht("^"+vt.call(yt).replace(Q,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ct=Yt?e.Buffer:void 0,Et=e.Symbol,Rt=e.Uint8Array,xt=Ct?Ct.allocUnsafe:void 0,Nt=Ue(At.getPrototypeOf,At),Ut=At.create,Xt=mt.propertyIsEnumerable,Qt=Mt.splice,Vt=Et?Et.isConcatSpreadable:void 0,Gt=Et?Et.iterator:void 0,Zt=Et?Et.toStringTag:void 0,Jt=function(){try{var t=ti(At,"defineProperty");return t({},"",{}),t}catch(e){}}(),ge=e.clearTimeout!==Kt.clearTimeout&&e.clearTimeout,qe=n&&n.now!==Kt.Date.now&&n.now,Ze=e.setTimeout!==Kt.setTimeout&&e.setTimeout,Je=ft.ceil,$e=ft.floor,tr=At.getOwnPropertySymbols,er=Ct?Ct.isBuffer:void 0,rr=e.isFinite,nr=Mt.join,or=Ue(At.keys,At),ir=ft.max,ar=ft.min,sr=n.now,cr=e.parseInt,ur=ft.random,lr=Mt.reverse,pr=ti(e,"DataView"),fr=ti(e,"Map"),Ar=ti(e,"Promise"),hr=ti(e,"Set"),dr=ti(e,"WeakMap"),br=ti(At,"create"),Mr=dr&&new dr,gr={},mr=Bi(pr),Or=Bi(fr),vr=Bi(Ar),yr=Bi(hr),zr=Bi(dr),wr=Et?Et.prototype:void 0,_r=wr?wr.valueOf:void 0,qr=wr?wr.toString:void 0;function Br(t){if(Ha(t)&&!Ta(t)&&!(t instanceof Rr)){if(t instanceof Er)return t;if(yt.call(t,"__wrapped__"))return Si(t)}return new Er(t)}var Sr=function(){function t(){}return function(e){if(!ja(e))return{};if(Ut)return Ut(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();function Cr(){}function Er(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Rr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Wr(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Gr(t,e,r,n,o,i){var a,s=1&e,u=2&e,f=4&e;if(r&&(a=o?r(t,n,o,i):r(t)),void 0!==a)return a;if(!ja(t))return t;var y=Ta(t);if(y){if(a=function(t){var e=t.length,r=new t.constructor(e);e&&"string"==typeof t[0]&&yt.call(t,"index")&&(r.index=t.index,r.input=t.input);return r}(t),!s)return go(t,a)}else{var T=ni(t),x=T==A||T==h;if(ka(t))return po(t,s);if(T==M||T==c||x&&!o){if(a=u||x?{}:ii(t),!s)return u?function(t,e){return mo(t,ri(t),e)}(t,function(t,e){return t&&mo(e,vs(e),t)}(a,t)):function(t,e){return mo(t,ei(t),e)}(t,Xr(a,t))}else{if(!Ft[T])return o?t:{};a=function(t,e,r){var n=t.constructor;switch(e){case z:return fo(t);case l:case p:return new n(+t);case w:return function(t,e){var r=e?fo(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case _:case q:case B:case S:case C:case E:case"[object Uint8ClampedArray]":case R:case W:return Ao(t,r);case d:return new n;case b:case O:return new n(t);case g:return function(t){var e=new t.constructor(t.source,nt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case m:return new n;case v:return o=t,_r?At(_r.call(o)):{}}var o}(t,T,s)}}i||(i=new Nr);var L=i.get(t);if(L)return L;i.set(t,a),Ga(t)?t.forEach((function(n){a.add(Gr(n,e,r,n,t,i))})):Xa(t)&&t.forEach((function(n,o){a.set(o,Gr(n,e,r,o,t,i))}));var N=y?void 0:(f?u?Ko:Qo:u?vs:Os)(t);return se(N||t,(function(n,o){N&&(n=t[o=n]),Ur(a,o,Gr(n,e,r,o,t,i))})),a}function Yr(t,e,r){var n=r.length;if(null==t)return!n;for(t=At(t);n--;){var o=r[n],i=e[o],a=t[o];if(void 0===a&&!(o in t)||!i(a))return!1}return!0}function Zr(t,e,r){if("function"!=typeof t)throw new bt(i);return Oi((function(){t.apply(void 0,r)}),e)}function Jr(t,e,r,n){var o=-1,i=pe,a=!0,s=t.length,c=[],u=e.length;if(!s)return c;r&&(e=Ae(e,Re(r))),n?(i=fe,a=!1):e.length>=200&&(i=Te,a=!1,e=new Lr(e));t:for(;++o-1},Tr.prototype.set=function(t,e){var r=this.__data__,n=jr(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this},xr.prototype.clear=function(){this.size=0,this.__data__={hash:new Wr,map:new(fr||Tr),string:new Wr}},xr.prototype.delete=function(t){var e=Jo(this,t).delete(t);return this.size-=e?1:0,e},xr.prototype.get=function(t){return Jo(this,t).get(t)},xr.prototype.has=function(t){return Jo(this,t).has(t)},xr.prototype.set=function(t,e){var r=Jo(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this},Lr.prototype.add=Lr.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Lr.prototype.has=function(t){return this.__data__.has(t)},Nr.prototype.clear=function(){this.__data__=new Tr,this.size=0},Nr.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},Nr.prototype.get=function(t){return this.__data__.get(t)},Nr.prototype.has=function(t){return this.__data__.has(t)},Nr.prototype.set=function(t,e){var r=this.__data__;if(r instanceof Tr){var n=r.__data__;if(!fr||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new xr(n)}return r.set(t,e),this.size=r.size,this};var $r=yo(cn),tn=yo(un,!0);function en(t,e){var r=!0;return $r(t,(function(t,n,o){return r=!!e(t,n,o)})),r}function rn(t,e,r){for(var n=-1,o=t.length;++n0&&r(s)?e>1?on(s,e-1,r,n,o):he(o,s):n||(o[o.length]=s)}return o}var an=zo(),sn=zo(!0);function cn(t,e){return t&&an(t,e,Os)}function un(t,e){return t&&sn(t,e,Os)}function ln(t,e){return le(e,(function(e){return Da(t[e])}))}function pn(t,e){for(var r=0,n=(e=so(e,t)).length;null!=t&&re}function dn(t,e){return null!=t&&yt.call(t,e)}function bn(t,e){return null!=t&&e in At(t)}function Mn(t,e,n){for(var o=n?fe:pe,i=t[0].length,a=t.length,s=a,c=r(a),u=1/0,l=[];s--;){var p=t[s];s&&e&&(p=Ae(p,Re(e))),u=ar(p.length,u),c[s]=!n&&(e||i>=120&&p.length>=120)?new Lr(s&&p):void 0}p=t[0];var f=-1,A=c[0];t:for(;++f=s)return c;var u=r[n];return c*("desc"==u?-1:1)}}return t.index-e.index}(t,e,r)}))}function Tn(t,e,r){for(var n=-1,o=e.length,i={};++n-1;)s!==t&&Qt.call(s,c,1),Qt.call(t,c,1);return t}function Ln(t,e){for(var r=t?e.length:0,n=r-1;r--;){var o=e[r];if(r==n||o!==i){var i=o;si(o)?Qt.call(t,o,1):$n(t,o)}}return t}function Nn(t,e){return t+$e(ur()*(e-t+1))}function kn(t,e){var r="";if(!t||e<1||e>9007199254740991)return r;do{e%2&&(r+=t),(e=$e(e/2))&&(t+=t)}while(e);return r}function In(t,e){return vi(di(t,e,Qs),t+"")}function Pn(t){return Ir(Cs(t))}function Dn(t,e){var r=Cs(t);return wi(r,Vr(e,0,r.length))}function Fn(t,e,r,n){if(!ja(t))return t;for(var o=-1,i=(e=so(e,t)).length,a=i-1,s=t;null!=s&&++oi?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var a=r(i);++o>>1,a=t[i];null!==a&&!Za(a)&&(r?a<=e:a=200){var u=e?null:Io(t);if(u)return He(u);a=!1,o=Te,c=new Lr}else c=e?[]:s;t:for(;++n=n?t:Xn(t,e,r)}var lo=ge||function(t){return Kt.clearTimeout(t)};function po(t,e){if(e)return t.slice();var r=t.length,n=xt?xt(r):new t.constructor(r);return t.copy(n),n}function fo(t){var e=new t.constructor(t.byteLength);return new Rt(e).set(new Rt(t)),e}function Ao(t,e){var r=e?fo(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function ho(t,e){if(t!==e){var r=void 0!==t,n=null===t,o=t===t,i=Za(t),a=void 0!==e,s=null===e,c=e===e,u=Za(e);if(!s&&!u&&!i&&t>e||i&&a&&c&&!s&&!u||n&&a&&c||!r&&c||!o)return 1;if(!n&&!i&&!u&&t1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,a&&ci(r[0],r[1],a)&&(i=o<3?void 0:i,o=1),e=At(e);++n-1?o[i?e[a]:a]:void 0}}function So(t){return Xo((function(e){var r=e.length,n=r,o=Er.prototype.thru;for(t&&e.reverse();n--;){var a=e[n];if("function"!=typeof a)throw new bt(i);if(o&&!s&&"wrapper"==Go(a))var s=new Er([],!0)}for(n=s?n:r;++n1&&m.reverse(),p&&us))return!1;var u=i.get(t),l=i.get(e);if(u&&l)return u==e&&l==t;var p=-1,f=!0,A=2&r?new Lr:void 0;for(i.set(t,e),i.set(e,t);++p-1&&t%1==0&&t1?"& ":"")+e[n],e=e.join(r>2?", ":" "),t.replace(Y,"{\n/* [wrapped with "+e+"] */\n")}(n,function(t,e){return se(s,(function(r){var n="_."+r[0];e&r[1]&&!pe(t,n)&&t.push(n)})),t.sort()}(function(t){var e=t.match(Z);return e?e[1].split(J):[]}(n),r)))}function zi(t){var e=0,r=0;return function(){var n=sr(),o=16-(n-r);if(r=n,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function wi(t,e){var r=-1,n=t.length,o=n-1;for(e=void 0===e?n:e;++r1?t[e-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Vi(t,r)}));function ea(t){var e=Br(t);return e.__chain__=!0,e}function ra(t,e){return e(t)}var na=Xo((function(t){var e=t.length,r=e?t[0]:0,n=this.__wrapped__,o=function(e){return Kr(e,t)};return!(e>1||this.__actions__.length)&&n instanceof Rr&&si(r)?((n=n.slice(r,+r+(e?1:0))).__actions__.push({func:ra,args:[o],thisArg:void 0}),new Er(n,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(o)}));var oa=Oo((function(t,e,r){yt.call(t,r)?++t[r]:Qr(t,r,1)}));var ia=Bo(Wi),aa=Bo(Ti);function sa(t,e){return(Ta(t)?se:$r)(t,Zo(e,3))}function ca(t,e){return(Ta(t)?ce:tn)(t,Zo(e,3))}var ua=Oo((function(t,e,r){yt.call(t,r)?t[r].push(e):Qr(t,r,[e])}));var la=In((function(t,e,n){var o=-1,i="function"==typeof e,a=La(t)?r(t.length):[];return $r(t,(function(t){a[++o]=i?ie(e,t,n):gn(t,e,n)})),a})),pa=Oo((function(t,e,r){Qr(t,r,e)}));function fa(t,e){return(Ta(t)?Ae:Bn)(t,Zo(e,3))}var Aa=Oo((function(t,e,r){t[r?0:1].push(e)}),(function(){return[[],[]]}));var ha=In((function(t,e){if(null==t)return[];var r=e.length;return r>1&&ci(t,e[0],e[1])?e=[]:r>2&&ci(e[0],e[1],e[2])&&(e=[e[0]]),Wn(t,on(e,1),[])})),da=qe||function(){return Kt.Date.now()};function ba(t,e,r){return e=r?void 0:e,Do(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function Ma(t,e){var r;if("function"!=typeof e)throw new bt(i);return t=ns(t),function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=void 0),r}}var ga=In((function(t,e,r){var n=1;if(r.length){var o=je(r,Yo(ga));n|=32}return Do(t,n,e,r,o)})),ma=In((function(t,e,r){var n=3;if(r.length){var o=je(r,Yo(ma));n|=32}return Do(e,n,t,r,o)}));function Oa(t,e,r){var n,o,a,s,c,u,l=0,p=!1,f=!1,A=!0;if("function"!=typeof t)throw new bt(i);function h(e){var r=n,i=o;return n=o=void 0,l=e,s=t.apply(i,r)}function d(t){return l=t,c=Oi(M,e),p?h(t):s}function b(t){var r=t-u;return void 0===u||r>=e||r<0||f&&t-l>=a}function M(){var t=da();if(b(t))return g(t);c=Oi(M,function(t){var r=e-(t-u);return f?ar(r,a-(t-l)):r}(t))}function g(t){return c=void 0,A&&n?h(t):(n=o=void 0,s)}function m(){var t=da(),r=b(t);if(n=arguments,o=this,u=t,r){if(void 0===c)return d(u);if(f)return lo(c),c=Oi(M,e),h(u)}return void 0===c&&(c=Oi(M,e)),s}return e=is(e)||0,ja(r)&&(p=!!r.leading,a=(f="maxWait"in r)?ir(is(r.maxWait)||0,e):a,A="trailing"in r?!!r.trailing:A),m.cancel=function(){void 0!==c&&lo(c),l=0,n=u=o=c=void 0},m.flush=function(){return void 0===c?s:g(da())},m}var va=In((function(t,e){return Zr(t,1,e)})),ya=In((function(t,e,r){return Zr(t,is(e)||0,r)}));function za(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new bt(i);var r=function r(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(za.Cache||xr),r}function wa(t){if("function"!=typeof t)throw new bt(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}za.Cache=xr;var _a=co((function(t,e){var r=(e=1==e.length&&Ta(e[0])?Ae(e[0],Re(Zo())):Ae(on(e,1),Re(Zo()))).length;return In((function(n){for(var o=-1,i=ar(n.length,r);++o=e})),Wa=mn(function(){return arguments}())?mn:function(t){return Ha(t)&&yt.call(t,"callee")&&!Xt.call(t,"callee")},Ta=r.isArray,xa=$t?Re($t):function(t){return Ha(t)&&An(t)==z};function La(t){return null!=t&&Ua(t.length)&&!Da(t)}function Na(t){return Ha(t)&&La(t)}var ka=er||ic,Ia=te?Re(te):function(t){return Ha(t)&&An(t)==p};function Pa(t){if(!Ha(t))return!1;var e=An(t);return e==f||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Ka(t)}function Da(t){if(!ja(t))return!1;var e=An(t);return e==A||e==h||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Fa(t){return"number"==typeof t&&t==ns(t)}function Ua(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function ja(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ha(t){return null!=t&&"object"==typeof t}var Xa=ee?Re(ee):function(t){return Ha(t)&&ni(t)==d};function Qa(t){return"number"==typeof t||Ha(t)&&An(t)==b}function Ka(t){if(!Ha(t)||An(t)!=M)return!1;var e=Nt(t);if(null===e)return!0;var r=yt.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&vt.call(r)==qt}var Va=re?Re(re):function(t){return Ha(t)&&An(t)==g};var Ga=ne?Re(ne):function(t){return Ha(t)&&ni(t)==m};function Ya(t){return"string"==typeof t||!Ta(t)&&Ha(t)&&An(t)==O}function Za(t){return"symbol"==typeof t||Ha(t)&&An(t)==v}var Ja=oe?Re(oe):function(t){return Ha(t)&&Ua(t.length)&&!!Dt[An(t)]};var $a=Lo(qn),ts=Lo((function(t,e){return t<=e}));function es(t){if(!t)return[];if(La(t))return Ya(t)?Ke(t):go(t);if(Gt&&t[Gt])return function(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}(t[Gt]());var e=ni(t);return(e==d?Fe:e==m?He:Cs)(t)}function rs(t){return t?(t=is(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t===t?t:0:0===t?t:0}function ns(t){var e=rs(t),r=e%1;return e===e?r?e-r:e:0}function os(t){return t?Vr(ns(t),0,4294967295):0}function is(t){if("number"==typeof t)return t;if(Za(t))return NaN;if(ja(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ja(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ee(t);var r=it.test(t);return r||st.test(t)?Ht(t.slice(2),r?2:8):ot.test(t)?NaN:+t}function as(t){return mo(t,vs(t))}function ss(t){return null==t?"":Zn(t)}var cs=vo((function(t,e){if(fi(e)||La(e))mo(e,Os(e),t);else for(var r in e)yt.call(e,r)&&Ur(t,r,e[r])})),us=vo((function(t,e){mo(e,vs(e),t)})),ls=vo((function(t,e,r,n){mo(e,vs(e),t,n)})),ps=vo((function(t,e,r,n){mo(e,Os(e),t,n)})),fs=Xo(Kr);var As=In((function(t,e){t=At(t);var r=-1,n=e.length,o=n>2?e[2]:void 0;for(o&&ci(e[0],e[1],o)&&(n=1);++r1),e})),mo(t,Ko(t),r),n&&(r=Gr(r,7,jo));for(var o=e.length;o--;)$n(r,e[o]);return r}));var _s=Xo((function(t,e){return null==t?{}:function(t,e){return Tn(t,e,(function(e,r){return bs(t,r)}))}(t,e)}));function qs(t,e){if(null==t)return{};var r=Ae(Ko(t),(function(t){return[t]}));return e=Zo(e),Tn(t,r,(function(t,r){return e(t,r[0])}))}var Bs=Po(Os),Ss=Po(vs);function Cs(t){return null==t?[]:We(t,Os(t))}var Es=_o((function(t,e,r){return e=e.toLowerCase(),t+(r?Rs(e):e)}));function Rs(t){return Ps(ss(t).toLowerCase())}function Ws(t){return(t=ss(t))&&t.replace(ut,ke).replace(Tt,"")}var Ts=_o((function(t,e,r){return t+(r?"-":"")+e.toLowerCase()})),xs=_o((function(t,e,r){return t+(r?" ":"")+e.toLowerCase()})),Ls=wo("toLowerCase");var Ns=_o((function(t,e,r){return t+(r?"_":"")+e.toLowerCase()}));var ks=_o((function(t,e,r){return t+(r?" ":"")+Ps(e)}));var Is=_o((function(t,e,r){return t+(r?" ":"")+e.toUpperCase()})),Ps=wo("toUpperCase");function Ds(t,e,r){return t=ss(t),void 0===(e=r?void 0:e)?function(t){return kt.test(t)}(t)?function(t){return t.match(Lt)||[]}(t):function(t){return t.match($)||[]}(t):t.match(e)||[]}var Fs=In((function(t,e){try{return ie(t,void 0,e)}catch(r){return Pa(r)?r:new o(r)}})),Us=Xo((function(t,e){return se(e,(function(e){e=qi(e),Qr(t,e,ga(t[e],t))})),t}));function js(t){return function(){return t}}var Hs=So(),Xs=So(!0);function Qs(t){return t}function Ks(t){return zn("function"==typeof t?t:Gr(t,1))}var Vs=In((function(t,e){return function(r){return gn(r,t,e)}})),Gs=In((function(t,e){return function(r){return gn(t,r,e)}}));function Ys(t,e,r){var n=Os(e),o=ln(e,n);null!=r||ja(e)&&(o.length||!n.length)||(r=e,e=t,t=this,o=ln(e,Os(e)));var i=!(ja(r)&&"chain"in r)||!!r.chain,a=Da(t);return se(o,(function(r){var n=e[r];t[r]=n,a&&(t.prototype[r]=function(){var e=this.__chain__;if(i||e){var r=t(this.__wrapped__),o=r.__actions__=go(this.__actions__);return o.push({func:n,args:arguments,thisArg:t}),r.__chain__=e,r}return n.apply(t,he([this.value()],arguments))})})),t}function Zs(){}var Js=Wo(Ae),$s=Wo(ue),tc=Wo(Me);function ec(t){return ui(t)?_e(qi(t)):function(t){return function(e){return pn(e,t)}}(t)}var rc=xo(),nc=xo(!0);function oc(){return[]}function ic(){return!1}var ac=Ro((function(t,e){return t+e}),0),sc=ko("ceil"),cc=Ro((function(t,e){return t/e}),1),uc=ko("floor");var lc=Ro((function(t,e){return t*e}),1),pc=ko("round"),fc=Ro((function(t,e){return t-e}),0);return Br.after=function(t,e){if("function"!=typeof e)throw new bt(i);return t=ns(t),function(){if(--t<1)return e.apply(this,arguments)}},Br.ary=ba,Br.assign=cs,Br.assignIn=us,Br.assignInWith=ls,Br.assignWith=ps,Br.at=fs,Br.before=Ma,Br.bind=ga,Br.bindAll=Us,Br.bindKey=ma,Br.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ta(t)?t:[t]},Br.chain=ea,Br.chunk=function(t,e,n){e=(n?ci(t,e,n):void 0===e)?1:ir(ns(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var i=0,a=0,s=r(Je(o/e));io?0:o+r),(n=void 0===n||n>o?o:ns(n))<0&&(n+=o),n=r>n?0:os(n);r>>0)?(t=ss(t))&&("string"==typeof e||null!=e&&!Va(e))&&!(e=Zn(e))&&De(t)?uo(Ke(t),0,r):t.split(e,r):[]},Br.spread=function(t,e){if("function"!=typeof t)throw new bt(i);return e=null==e?0:ir(ns(e),0),In((function(r){var n=r[e],o=uo(r,0,e);return n&&he(o,n),ie(t,this,o)}))},Br.tail=function(t){var e=null==t?0:t.length;return e?Xn(t,1,e):[]},Br.take=function(t,e,r){return t&&t.length?Xn(t,0,(e=r||void 0===e?1:ns(e))<0?0:e):[]},Br.takeRight=function(t,e,r){var n=null==t?0:t.length;return n?Xn(t,(e=n-(e=r||void 0===e?1:ns(e)))<0?0:e,n):[]},Br.takeRightWhile=function(t,e){return t&&t.length?eo(t,Zo(e,3),!1,!0):[]},Br.takeWhile=function(t,e){return t&&t.length?eo(t,Zo(e,3)):[]},Br.tap=function(t,e){return e(t),t},Br.throttle=function(t,e,r){var n=!0,o=!0;if("function"!=typeof t)throw new bt(i);return ja(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Oa(t,e,{leading:n,maxWait:e,trailing:o})},Br.thru=ra,Br.toArray=es,Br.toPairs=Bs,Br.toPairsIn=Ss,Br.toPath=function(t){return Ta(t)?Ae(t,qi):Za(t)?[t]:go(_i(ss(t)))},Br.toPlainObject=as,Br.transform=function(t,e,r){var n=Ta(t),o=n||ka(t)||Ja(t);if(e=Zo(e,4),null==r){var i=t&&t.constructor;r=o?n?new i:[]:ja(t)&&Da(i)?Sr(Nt(t)):{}}return(o?se:cn)(t,(function(t,n,o){return e(r,t,n,o)})),r},Br.unary=function(t){return ba(t,1)},Br.union=Hi,Br.unionBy=Xi,Br.unionWith=Qi,Br.uniq=function(t){return t&&t.length?Jn(t):[]},Br.uniqBy=function(t,e){return t&&t.length?Jn(t,Zo(e,2)):[]},Br.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Jn(t,void 0,e):[]},Br.unset=function(t,e){return null==t||$n(t,e)},Br.unzip=Ki,Br.unzipWith=Vi,Br.update=function(t,e,r){return null==t?t:to(t,e,ao(r))},Br.updateWith=function(t,e,r,n){return n="function"==typeof n?n:void 0,null==t?t:to(t,e,ao(r),n)},Br.values=Cs,Br.valuesIn=function(t){return null==t?[]:We(t,vs(t))},Br.without=Gi,Br.words=Ds,Br.wrap=function(t,e){return qa(ao(e),t)},Br.xor=Yi,Br.xorBy=Zi,Br.xorWith=Ji,Br.zip=$i,Br.zipObject=function(t,e){return oo(t||[],e||[],Ur)},Br.zipObjectDeep=function(t,e){return oo(t||[],e||[],Fn)},Br.zipWith=ta,Br.entries=Bs,Br.entriesIn=Ss,Br.extend=us,Br.extendWith=ls,Ys(Br,Br),Br.add=ac,Br.attempt=Fs,Br.camelCase=Es,Br.capitalize=Rs,Br.ceil=sc,Br.clamp=function(t,e,r){return void 0===r&&(r=e,e=void 0),void 0!==r&&(r=(r=is(r))===r?r:0),void 0!==e&&(e=(e=is(e))===e?e:0),Vr(is(t),e,r)},Br.clone=function(t){return Gr(t,4)},Br.cloneDeep=function(t){return Gr(t,5)},Br.cloneDeepWith=function(t,e){return Gr(t,5,e="function"==typeof e?e:void 0)},Br.cloneWith=function(t,e){return Gr(t,4,e="function"==typeof e?e:void 0)},Br.conformsTo=function(t,e){return null==e||Yr(t,e,Os(e))},Br.deburr=Ws,Br.defaultTo=function(t,e){return null==t||t!==t?e:t},Br.divide=cc,Br.endsWith=function(t,e,r){t=ss(t),e=Zn(e);var n=t.length,o=r=void 0===r?n:Vr(ns(r),0,n);return(r-=e.length)>=0&&t.slice(r,o)==e},Br.eq=Ca,Br.escape=function(t){return(t=ss(t))&&P.test(t)?t.replace(k,Ie):t},Br.escapeRegExp=function(t){return(t=ss(t))&&K.test(t)?t.replace(Q,"\\$&"):t},Br.every=function(t,e,r){var n=Ta(t)?ue:en;return r&&ci(t,e,r)&&(e=void 0),n(t,Zo(e,3))},Br.find=ia,Br.findIndex=Wi,Br.findKey=function(t,e){return me(t,Zo(e,3),cn)},Br.findLast=aa,Br.findLastIndex=Ti,Br.findLastKey=function(t,e){return me(t,Zo(e,3),un)},Br.floor=uc,Br.forEach=sa,Br.forEachRight=ca,Br.forIn=function(t,e){return null==t?t:an(t,Zo(e,3),vs)},Br.forInRight=function(t,e){return null==t?t:sn(t,Zo(e,3),vs)},Br.forOwn=function(t,e){return t&&cn(t,Zo(e,3))},Br.forOwnRight=function(t,e){return t&&un(t,Zo(e,3))},Br.get=ds,Br.gt=Ea,Br.gte=Ra,Br.has=function(t,e){return null!=t&&oi(t,e,dn)},Br.hasIn=bs,Br.head=Li,Br.identity=Qs,Br.includes=function(t,e,r,n){t=La(t)?t:Cs(t),r=r&&!n?ns(r):0;var o=t.length;return r<0&&(r=ir(o+r,0)),Ya(t)?r<=o&&t.indexOf(e,r)>-1:!!o&&ve(t,e,r)>-1},Br.indexOf=function(t,e,r){var n=null==t?0:t.length;if(!n)return-1;var o=null==r?0:ns(r);return o<0&&(o=ir(n+o,0)),ve(t,e,o)},Br.inRange=function(t,e,r){return e=rs(e),void 0===r?(r=e,e=0):r=rs(r),function(t,e,r){return t>=ar(e,r)&&t=-9007199254740991&&t<=9007199254740991},Br.isSet=Ga,Br.isString=Ya,Br.isSymbol=Za,Br.isTypedArray=Ja,Br.isUndefined=function(t){return void 0===t},Br.isWeakMap=function(t){return Ha(t)&&ni(t)==y},Br.isWeakSet=function(t){return Ha(t)&&"[object WeakSet]"==An(t)},Br.join=function(t,e){return null==t?"":nr.call(t,e)},Br.kebabCase=Ts,Br.last=Pi,Br.lastIndexOf=function(t,e,r){var n=null==t?0:t.length;if(!n)return-1;var o=n;return void 0!==r&&(o=(o=ns(r))<0?ir(n+o,0):ar(o,n-1)),e===e?function(t,e,r){for(var n=r+1;n--;)if(t[n]===e)return n;return n}(t,e,o):Oe(t,ze,o,!0)},Br.lowerCase=xs,Br.lowerFirst=Ls,Br.lt=$a,Br.lte=ts,Br.max=function(t){return t&&t.length?rn(t,Qs,hn):void 0},Br.maxBy=function(t,e){return t&&t.length?rn(t,Zo(e,2),hn):void 0},Br.mean=function(t){return we(t,Qs)},Br.meanBy=function(t,e){return we(t,Zo(e,2))},Br.min=function(t){return t&&t.length?rn(t,Qs,qn):void 0},Br.minBy=function(t,e){return t&&t.length?rn(t,Zo(e,2),qn):void 0},Br.stubArray=oc,Br.stubFalse=ic,Br.stubObject=function(){return{}},Br.stubString=function(){return""},Br.stubTrue=function(){return!0},Br.multiply=lc,Br.nth=function(t,e){return t&&t.length?Rn(t,ns(e)):void 0},Br.noConflict=function(){return Kt._===this&&(Kt._=Bt),this},Br.noop=Zs,Br.now=da,Br.pad=function(t,e,r){t=ss(t);var n=(e=ns(e))?Qe(t):0;if(!e||n>=e)return t;var o=(e-n)/2;return To($e(o),r)+t+To(Je(o),r)},Br.padEnd=function(t,e,r){t=ss(t);var n=(e=ns(e))?Qe(t):0;return e&&ne){var n=t;t=e,e=n}if(r||t%1||e%1){var o=ur();return ar(t+o*(e-t+jt("1e-"+((o+"").length-1))),e)}return Nn(t,e)},Br.reduce=function(t,e,r){var n=Ta(t)?de:Be,o=arguments.length<3;return n(t,Zo(e,4),r,o,$r)},Br.reduceRight=function(t,e,r){var n=Ta(t)?be:Be,o=arguments.length<3;return n(t,Zo(e,4),r,o,tn)},Br.repeat=function(t,e,r){return e=(r?ci(t,e,r):void 0===e)?1:ns(e),kn(ss(t),e)},Br.replace=function(){var t=arguments,e=ss(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Br.result=function(t,e,r){var n=-1,o=(e=so(e,t)).length;for(o||(o=1,t=void 0);++n9007199254740991)return[];var r=4294967295,n=ar(t,4294967295);t-=4294967295;for(var o=Ce(n,e=Zo(e));++r=i)return t;var s=r-Qe(n);if(s<1)return n;var c=a?uo(a,0,s).join(""):t.slice(0,s);if(void 0===o)return c+n;if(a&&(s+=c.length-s),Va(o)){if(t.slice(s).search(o)){var u,l=c;for(o.global||(o=ht(o.source,ss(nt.exec(o))+"g")),o.lastIndex=0;u=o.exec(l);)var p=u.index;c=c.slice(0,void 0===p?s:p)}}else if(t.indexOf(Zn(o),s)!=s){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+n},Br.unescape=function(t){return(t=ss(t))&&I.test(t)?t.replace(N,Ge):t},Br.uniqueId=function(t){var e=++zt;return ss(t)+e},Br.upperCase=Is,Br.upperFirst=Ps,Br.each=sa,Br.eachRight=ca,Br.first=Li,Ys(Br,function(){var t={};return cn(Br,(function(e,r){yt.call(Br.prototype,r)||(t[r]=e)})),t}(),{chain:!1}),Br.VERSION="4.17.23",se(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Br[t].placeholder=Br})),se(["drop","take"],(function(t,e){Rr.prototype[t]=function(r){r=void 0===r?1:ir(ns(r),0);var n=this.__filtered__&&!e?new Rr(this):this.clone();return n.__filtered__?n.__takeCount__=ar(r,n.__takeCount__):n.__views__.push({size:ar(r,4294967295),type:t+(n.__dir__<0?"Right":"")}),n},Rr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),se(["filter","map","takeWhile"],(function(t,e){var r=e+1,n=1==r||3==r;Rr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Zo(t,3),type:r}),e.__filtered__=e.__filtered__||n,e}})),se(["head","last"],(function(t,e){var r="take"+(e?"Right":"");Rr.prototype[t]=function(){return this[r](1).value()[0]}})),se(["initial","tail"],(function(t,e){var r="drop"+(e?"":"Right");Rr.prototype[t]=function(){return this.__filtered__?new Rr(this):this[r](1)}})),Rr.prototype.compact=function(){return this.filter(Qs)},Rr.prototype.find=function(t){return this.filter(t).head()},Rr.prototype.findLast=function(t){return this.reverse().find(t)},Rr.prototype.invokeMap=In((function(t,e){return"function"==typeof t?new Rr(this):this.map((function(r){return gn(r,t,e)}))})),Rr.prototype.reject=function(t){return this.filter(wa(Zo(t)))},Rr.prototype.slice=function(t,e){t=ns(t);var r=this;return r.__filtered__&&(t>0||e<0)?new Rr(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==e&&(r=(e=ns(e))<0?r.dropRight(-e):r.take(e-t)),r)},Rr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Rr.prototype.toArray=function(){return this.take(4294967295)},cn(Rr.prototype,(function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),n=/^(?:head|last)$/.test(e),o=Br[n?"take"+("last"==e?"Right":""):e],i=n||/^find/.test(e);o&&(Br.prototype[e]=function(){var e=this.__wrapped__,a=n?[1]:arguments,s=e instanceof Rr,c=a[0],u=s||Ta(e),l=function(t){var e=o.apply(Br,he([t],a));return n&&p?e[0]:e};u&&r&&"function"==typeof c&&1!=c.length&&(s=u=!1);var p=this.__chain__,f=!!this.__actions__.length,A=i&&!p,h=s&&!f;if(!i&&u){e=h?e:new Rr(this);var d=t.apply(e,a);return d.__actions__.push({func:ra,args:[l],thisArg:void 0}),new Er(d,p)}return A&&h?t.apply(this,a):(d=this.thru(l),A?n?d.value()[0]:d.value():d)})})),se(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Mt[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",n=/^(?:pop|shift)$/.test(t);Br.prototype[t]=function(){var t=arguments;if(n&&!this.__chain__){var o=this.value();return e.apply(Ta(o)?o:[],t)}return this[r]((function(r){return e.apply(Ta(r)?r:[],t)}))}})),cn(Rr.prototype,(function(t,e){var r=Br[e];if(r){var n=r.name+"";yt.call(gr,n)||(gr[n]=[]),gr[n].push({name:e,func:r})}})),gr[Co(void 0,2).name]=[{name:"wrapper",func:void 0}],Rr.prototype.clone=function(){var t=new Rr(this.__wrapped__);return t.__actions__=go(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=go(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=go(this.__views__),t},Rr.prototype.reverse=function(){if(this.__filtered__){var t=new Rr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Rr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,r=Ta(t),n=e<0,o=r?t.length:0,i=function(t,e,r){var n=-1,o=r.length;for(;++n=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Br.prototype.plant=function(t){for(var e,r=this;r instanceof Cr;){var n=Si(r);n.__index__=0,n.__values__=void 0,e?o.__wrapped__=n:e=n;var o=n;r=r.__wrapped__}return o.__wrapped__=t,e},Br.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Rr){var e=t;return this.__actions__.length&&(e=new Rr(this)),(e=e.reverse()).__actions__.push({func:ra,args:[ji],thisArg:void 0}),new Er(e,this.__chain__)}return this.thru(ji)},Br.prototype.toJSON=Br.prototype.valueOf=Br.prototype.value=function(){return ro(this.__wrapped__,this.__actions__)},Br.prototype.first=Br.prototype.head,Gt&&(Br.prototype[Gt]=function(){return this}),Br}();Kt._=Ye,void 0===(o=function(){return Ye}.call(e,r,e,n))||(n.exports=o)}).call(this)}).call(this,r(60),r(121)(t))},function(t,e,r){t.exports=r(1306)()},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",(function(){return n}))},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t,e){for(var r=0;r, or explicitly pass "'+C+'" as a prop to "'+n+'".'),o.initSelector(),o.initSubscription(),o}o(s,r);var c=s.prototype;return c.getChildContext=function(){var t,e=this.propsMode?null:this.subscription;return(t={})[T]=e||this.context[T],t},c.componentDidMount=function(){B&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},c.componentWillReceiveProps=function(t){this.selector.run(t)},c.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},c.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=q,this.store=null,this.selector.run=q,this.selector.shouldComponentUpdate=!1},c.getWrappedInstance=function(){return m()(R,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+f+"() call."),this.wrappedInstance},c.setWrappedInstance=function(t){this.wrappedInstance=t},c.initSelector=function(){var e=t(this.store.dispatch,a);this.selector=function(t,e){var r={run:function(n){try{var o=t(e.getState(),n);(o!==r.props||r.error)&&(r.shouldComponentUpdate=!0,r.props=o,r.error=null)}catch(i){r.shouldComponentUpdate=!0,r.error=i}}};return r}(e,this.store),this.selector.run(this.props)},c.initSubscription=function(){if(B){var t=(this.propsMode?this.props:this.context)[T];this.subscription=new y(this.store,t,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(_)):this.notifyNestedSubs()},c.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},c.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},c.addExtraProps=function(t){if(!R&&!g&&(!this.propsMode||!this.subscription))return t;var e=Object(h.a)({},t);return R&&(e.ref=this.setWrappedInstance),g&&(e[g]=this.renderCount++),this.propsMode&&this.subscription&&(e[T]=this.subscription),e},c.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return Object(i.createElement)(e,this.addExtraProps(t.props))},s}(i.Component);return z&&(s.prototype.UNSAFE_componentWillReceiveProps=s.prototype.componentWillReceiveProps,delete s.prototype.componentWillReceiveProps),s.WrappedComponent=e,s.displayName=n,s.childContextTypes=N,s.contextTypes=L,s.propTypes=L,M()(s,e)}}var S=Object.prototype.hasOwnProperty;function C(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function E(t,e){if(C(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(var o=0;o=0;n--){var o=e[n](t);if(o)return o}return function(e,n){throw new Error("Invalid value of type "+typeof t+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function j(t,e){return t===e}var H=function(t){var e=void 0===t?{}:t,r=e.connectHOC,n=void 0===r?B:r,o=e.mapStateToPropsFactories,i=void 0===o?N:o,a=e.mapDispatchToPropsFactories,s=void 0===a?L:a,c=e.mergePropsFactories,u=void 0===c?I:c,l=e.selectorFactory,p=void 0===l?F:l;return function(t,e,r,o){void 0===o&&(o={});var a=o,c=a.pure,l=void 0===c||c,f=a.areStatesEqual,A=void 0===f?j:f,b=a.areOwnPropsEqual,M=void 0===b?E:b,g=a.areStatePropsEqual,m=void 0===g?E:g,O=a.areMergedPropsEqual,v=void 0===O?E:O,y=d(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),z=U(t,i,"mapStateToProps"),w=U(e,s,"mapDispatchToProps"),_=U(r,u,"mergeProps");return n(p,Object(h.a)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:z,initMapDispatchToProps:w,initMergeProps:_,pure:l,areStatesEqual:A,areOwnPropsEqual:M,areStatePropsEqual:m,areMergedPropsEqual:v},y))}}()},function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,"a",(function(){return n}))},function(t,e,r){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var t=[],e=0;e1?"s":"")+" required, but only "+e.length+" present")}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n={};r.r(n),r.d(n,"someByType",(function(){return u})),r.d(n,"findByType",(function(){return l})),r.d(n,"isNil",(function(){return p}));var o=r(475),i=r.n(o),a=r(220),s=r.n(a),c=r(0),u=function(t,e){return s()(c.Children.toArray(t),{type:e})},l=function(t,e){return i()(c.Children.toArray(t),{type:e})},p=function(t){return null===t||void 0===t||Array.isArray(t)&&0===t.length}},function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return i}));var n=r(106),o=r(20);function i(t){Object(o.a)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===Object(n.a)(t)&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"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://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(492);function o(t,e,r){return(e=Object(n.a)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(68),o=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.getFormatInstance=function(){return new e},e.kind="FormatException",e}(n.a);e.a=i},function(t,e,r){var n=r(1674),o=r(283)(n);t.exports=o},function(t,e,r){(function(t){var n=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return t}})),c=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),h(r)?n.showHidden=r:r&&e._extend(n,r),g(n.showHidden)&&(n.showHidden=!1),g(n.depth)&&(n.depth=2),g(n.colors)&&(n.colors=!1),g(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),l(n,t,n.depth)}function c(t,e){var r=s.styles[e];return r?"\x1b["+s.colors[r][0]+"m"+t+"\x1b["+s.colors[r][1]+"m":t}function u(t,e){return t}function l(t,r,n){if(t.customInspect&&r&&z(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,t);return M(o)||(o=l(t,o,n)),o}var i=function(t,e){if(g(e))return t.stylize("undefined","undefined");if(M(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(b(e))return t.stylize(""+e,"number");if(h(e))return t.stylize(""+e,"boolean");if(d(e))return t.stylize("null","null")}(t,r);if(i)return i;var a=Object.keys(r),s=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(r)),y(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(r);if(0===a.length){if(z(r)){var c=r.name?": "+r.name:"";return t.stylize("[Function"+c+"]","special")}if(m(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(v(r))return t.stylize(Date.prototype.toString.call(r),"date");if(y(r))return p(r)}var u,O="",w=!1,_=["{","}"];(A(r)&&(w=!0,_=["[","]"]),z(r))&&(O=" [Function"+(r.name?": "+r.name:"")+"]");return m(r)&&(O=" "+RegExp.prototype.toString.call(r)),v(r)&&(O=" "+Date.prototype.toUTCString.call(r)),y(r)&&(O=" "+p(r)),0!==a.length||w&&0!=r.length?n<0?m(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),u=w?function(t,e,r,n,o){for(var i=[],a=0,s=e.length;a=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(u,O,_)):_[0]+O+_[1]}function p(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t,e,r,n,o,i){var a,s,c;if((c=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?s=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(s=t.stylize("[Setter]","special")),S(n,o)||(a="["+o+"]"),s||(t.seen.indexOf(c.value)<0?(s=d(r)?l(t,c.value,null):l(t,c.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),g(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=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function A(t){return Array.isArray(t)}function h(t){return"boolean"===typeof t}function d(t){return null===t}function b(t){return"number"===typeof t}function M(t){return"string"===typeof t}function g(t){return void 0===t}function m(t){return O(t)&&"[object RegExp]"===w(t)}function O(t){return"object"===typeof t&&null!==t}function v(t){return O(t)&&"[object Date]"===w(t)}function y(t){return O(t)&&("[object Error]"===w(t)||t instanceof Error)}function z(t){return"function"===typeof t}function w(t){return Object.prototype.toString.call(t)}function _(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(r){if(g(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||""),r=r.toUpperCase(),!a[r])if(new RegExp("\\b"+r+"\\b","i").test(i)){var n=t.pid;a[r]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",r,n,t)}}else a[r]=function(){};return a[r]},e.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"},e.isArray=A,e.isBoolean=h,e.isNull=d,e.isNullOrUndefined=function(t){return null==t},e.isNumber=b,e.isString=M,e.isSymbol=function(t){return"symbol"===typeof t},e.isUndefined=g,e.isRegExp=m,e.isObject=O,e.isDate=v,e.isError=y,e.isFunction=z,e.isPrimitive=function(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t},e.isBuffer=r(1321);var q=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function B(){var t=new Date,e=[_(t.getHours()),_(t.getMinutes()),_(t.getSeconds())].join(":");return[t.getDate(),q[t.getMonth()],e].join(" ")}function S(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",B(),e.format.apply(e,arguments))},e.inherits=r(1322),e._extend=function(t,e){if(!e||!O(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var C="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function E(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');if(C&&t[C]){var e;if("function"!==typeof(e=t[C]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,C,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),o=[],i=0;i1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(r&&"equal"===t)return"equal width";var n=o()(t);return"string"!==n&&"number"!==n||!e?Object(i.a)(t):"".concat(Object(i.a)(t)," ").concat(e)}},,function(t,e,r){var n=r(157).default,o=r(6);t.exports=function(t,e){if(e&&("object"==n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return o(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";var n=r(52),o=r(375),i=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.equals=function(e){if(e instanceof t){var r=e;return this.x===r.x&&this.y===r.y}return!1},t.prototype.hashCode=function(){return 31*o.a.floatToIntBits(this.x)+o.a.floatToIntBits(this.y)},t.prototype.toString=function(){return"("+this.x+","+this.y+")"},t.orderBestPatterns=function(t){var e,r,n,o=this.distance(t[0],t[1]),i=this.distance(t[1],t[2]),a=this.distance(t[0],t[2]);if(i>=o&&i>=a?(r=t[0],e=t[1],n=t[2]):a>=i&&a>=o?(r=t[1],e=t[0],n=t[2]):(r=t[2],e=t[0],n=t[1]),this.crossProductZ(e,r,n)<0){var s=e;e=n,n=s}t[0]=e,t[1]=r,t[2]=n},t.distance=function(t,e){return n.a.distance(t.x,t.y,e.x,e.y)},t.crossProductZ=function(t,e,r){var n=e.x,o=e.y;return(r.x-n)*(t.y-o)-(r.y-o)*(t.x-n)},t}();e.a=i},function(t,e,r){"use strict";var n;!function(t){t[t.AZTEC=0]="AZTEC",t[t.CODABAR=1]="CODABAR",t[t.CODE_39=2]="CODE_39",t[t.CODE_93=3]="CODE_93",t[t.CODE_128=4]="CODE_128",t[t.DATA_MATRIX=5]="DATA_MATRIX",t[t.EAN_8=6]="EAN_8",t[t.EAN_13=7]="EAN_13",t[t.ITF=8]="ITF",t[t.MAXICODE=9]="MAXICODE",t[t.PDF_417=10]="PDF_417",t[t.QR_CODE=11]="QR_CODE",t[t.RSS_14=12]="RSS_14",t[t.RSS_EXPANDED=13]="RSS_EXPANDED",t[t.UPC_A=14]="UPC_A",t[t.UPC_E=15]="UPC_E",t[t.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"}(n||(n={})),e.a=n},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,r){"use strict";r.r(e),r.d(e,"BrowserRouter",(function(){return h})),r.d(e,"HashRouter",(function(){return g})),r.d(e,"Link",(function(){return m.a})),r.d(e,"MemoryRouter",(function(){return w})),r.d(e,"NavLink",(function(){return C})),r.d(e,"Prompt",(function(){return L})),r.d(e,"Redirect",(function(){return Q})),r.d(e,"Route",(function(){return _.a})),r.d(e,"Router",(function(){return l.a})),r.d(e,"StaticRouter",(function(){return nt})),r.d(e,"Switch",(function(){return ot.a})),r.d(e,"generatePath",(function(){return it})),r.d(e,"matchPath",(function(){return at})),r.d(e,"withRouter",(function(){return st.a}));var n=r(86),o=r.n(n),i=r(0),a=r.n(i),s=r(4),c=r.n(s),u=r(93),l=r(293);function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var A=function(t){function e(){var r,n;p(this,e);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 { BrowserRouter as Router }`.")},e.prototype.render=function(){return a.a.createElement(l.a,{history:this.history,children:this.props.children})},e}(a.a.Component);A.propTypes={basename:c.a.string,forceRefresh:c.a.bool,getUserConfirmation:c.a.func,keyLength:c.a.number,children:c.a.node};var h=A;function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var M=function(t){function e(){var r,n;d(this,e);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 }`.")},e.prototype.render=function(){return a.a.createElement(l.a,{history:this.history,children:this.props.children})},e}(a.a.Component);M.propTypes={basename:c.a.string,getUserConfirmation:c.a.func,hashType:c.a.oneOf(["hashbang","noslash","slash"]),children:c.a.node};var g=M,m=r(352),O=r(303);function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var z=function(t){function e(){var r,n;v(this,e);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 }`.")},e.prototype.render=function(){return a.a.createElement(O.a,{history:this.history,children:this.props.children})},e}(a.a.Component);z.propTypes={initialEntries:c.a.array,initialIndex:c.a.number,getUserConfirmation:c.a.func,keyLength:c.a.number,children:c.a.node};var w=z,_=r(465),q=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(t,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),A="object"===("undefined"===typeof e?"undefined":B(e))?e.pathname:e,h=A&&A.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return a.a.createElement(_.a,{path:h,exact:r,strict:n,location:o,children:function(t){var r=t.location,n=t.match,o=!!(l?l(n,r):n);return a.a.createElement(m.a,q({to:e,className:o?[s,i].filter((function(t){return t})).join(" "):s,style:o?q({},u,c):u,"aria-current":o&&p||null},f))}})};S.propTypes={to:m.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"])},S.defaultProps={activeClassName:"active","aria-current":"page"};var C=S,E=r(100),R=r.n(E);function W(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var x=function(t){function e(){return W(this,e),T(this,t.apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.enable=function(t){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(t)},e.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},e.prototype.componentWillMount=function(){R()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},e.prototype.componentWillReceiveProps=function(t){t.when?this.props.when&&this.props.message===t.message||this.enable(t.message):this.disable()},e.prototype.componentWillUnmount=function(){this.disable()},e.prototype.render=function(){return null},e}(a.a.Component);x.propTypes={when:c.a.bool,message:c.a.oneOfType([c.a.func,c.a.string]).isRequired},x.defaultProps={when:!0},x.contextTypes={router:c.a.shape({history:c.a.shape({block:c.a.func.isRequired}).isRequired}).isRequired};var L=x,N=r(482),k=r.n(N),I={},P=0,D=function(t){var e=t,r=I[e]||(I[e]={});if(r[t])return r[t];var n=k.a.compile(t);return P<1e4&&(r[t]=n,P++),n},F=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("/"===t)return t;var r=D(t);return r(e,{pretty:!0})},U=Object.assign||function(t){for(var e=1;e outside a "),this.isStatic()&&this.perform()},e.prototype.componentDidMount=function(){this.isStatic()||this.perform()},e.prototype.componentDidUpdate=function(t){var e=Object(u.c)(t.to),r=Object(u.c)(this.props.to);Object(u.f)(e,r)?o()(!1,"You tried to redirect to the same route you're currently on: \""+r.pathname+r.search+'"'):this.perform()},e.prototype.computeTo=function(t){var e=t.computedMatch,r=t.to;return e?"string"===typeof r?F(r,e.params):U({},r,{pathname:F(r.pathname,e.params)}):r},e.prototype.perform=function(){var t=this.context.router.history,e=this.props.push,r=this.computeTo(this.props);e?t.push(r):t.replace(r)},e.prototype.render=function(){return null},e}(a.a.Component);X.propTypes={computedMatch:c.a.object,push:c.a.bool,from:c.a.string,to:c.a.oneOfType([c.a.string,c.a.object]).isRequired},X.defaultProps={push:!1},X.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 Q=X,K=Object.assign||function(t){for(var e=1;e",t)}},et=function(){},rt=function(t){function e(){var r,n;V(this,e);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 }`.")},e.prototype.render=function(){var t=this.props,e=t.basename,r=(t.context,t.location),n=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(t,["basename","context","location"]),o={createHref:this.createHref,action:"POP",location:J(e,Object(u.c)(r)),push:this.handlePush,replace:this.handleReplace,go:tt("go"),goBack:tt("goBack"),goForward:tt("goForward"),listen:this.handleListen,block:this.handleBlock};return a.a.createElement(O.a,K({},n,{history:o}))},e}(a.a.Component);rt.propTypes={basename:c.a.string,context:c.a.object.isRequired,location:c.a.oneOfType([c.a.string,c.a.object])},rt.defaultProps={basename:"",location:"/"},rt.childContextTypes={router:c.a.object.isRequired};var nt=rt,ot=r(941),it=F,at=r(297).a,st=r(910)},function(t,e,r){"use strict";function n(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}r.d(e,"a",(function(){return n}))},function(t,e){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){var n=r(887);function o(t,e){for(var r=0;r>>31)},t.numberOfLeadingZeros=function(t){if(0===t)return 32;var e=1;return t>>>16===0&&(e+=16,t<<=16),t>>>24===0&&(e+=8,t<<=8),t>>>28===0&&(e+=4,t<<=4),t>>>30===0&&(e+=2,t<<=2),e-=t>>>31},t.toHexString=function(t){return t.toString(16)},t.toBinaryString=function(t){return String(parseInt(String(t),2))},t.bitCount=function(t){return t=(t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135,t+=t>>>8,63&(t+=t>>>16)},t.truncDivision=function(t,e){return Math.trunc(t/e)},t.parseInt=function(t,e){return void 0===e&&(e=void 0),parseInt(t,e)},t.MIN_VALUE_32_BITS=-2147483648,t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}();e.a=n},function(t,e,r){var n=r(72),o=n.Buffer;function i(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return o(t,e,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(i(n,e),e.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(t,e,r){if("number"===typeof t)throw new TypeError("Argument must not be a number");return o(t,e,r)},a.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError("Argument must be a number");var n=o(t);return void 0!==e?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return o(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){"use strict";var n=r(59),o=function(){function t(t){void 0===t&&(t=""),this.value=t}return t.prototype.enableDecoding=function(t){return this.encoding=t,this},t.prototype.append=function(t){return"string"===typeof t?this.value+=t.toString():this.encoding?this.value+=n.a.castAsNonUtf8Char(t,this.encoding):this.value+=String.fromCharCode(t),this},t.prototype.appendChars=function(t,e,r){for(var n=e;e=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:t+(t<0?-.5:.5)|0},t.distance=function(t,e,r,n){var o=t-r,i=e-n;return Math.sqrt(o*o+i*i)},t.sum=function(t){for(var e=0,r=0,n=t.length;r!==n;r++){e+=t[r]}return e},t}();e.a=n},function(t,e,r){var n=r(311),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},,function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=M(r(840)),o=M(r(102)),i=M(r(170)),a=M(r(99)),s=M(r(103)),c=M(r(0)),u=M(r(4)),l=M(r(14)),p=M(r(1579)),f=r(1580),A=M(r(1587)),h=M(r(1588)),d=M(r(1589)),b=M(r(1590));function M(t){return t&&t.__esModule?t:{default:t}}var g=function(t){function e(t){(0,o.default)(this,e);var r=(0,a.default)(this,(e.__proto__||(0,n.default)(e)).call(this,t));return r.componentWillUnmount=function(){b.default.removeListenable(r.eventToken)},r.handleGlobalKeydown=function(t){return r.props.closeOnEscape&&27==t.keyCode&&(t.stopPropagation(),r.onClose()),!1},r.onClose=function(){r.props.onClose&&r.props.onClose()},r.onMinimize=function(){r.setState({isMinimized:!0,isMaximized:!1})},r.onMaximize=function(){r.setState({isMinimized:!1,isMaximized:!0})},r.onRestore=function(){r.setState({isMinimized:!1,isMaximized:!1})},r.onResize=function(t,e){e.element;var n=e.size;r.setState({width:n.width,height:n.height})},r.getDialogTitle=function(){return c.default.createElement(A.default,{title:r.props.title,hasCloseIcon:r.props.hasCloseIcon,allowMinimize:r.props.allowMinimize,allowMaximize:r.props.allowMaximize,isMinimized:r.state.isMinimized,isMaximized:r.state.isMaximized,onMinimize:r.onMinimize,onMaximize:r.onMaximize,onRestore:r.onRestore,onClose:r.onClose})},r.state={height:t.height,width:t.width,isMinimized:!1,isMaximized:!1},r}return(0,s.default)(e,t),(0,i.default)(e,[{key:"componentWillMount",value:function(){this.eventToken=b.default.addListenable([["keydown",this.handleGlobalKeydown]])}},{key:"render",value:function(){var t=this.state,e=t.height,r=t.width,n=t.isMinimized,o=t.isMaximized,i=this.props,a=i.modal,s=i.isDraggable,u=i.isResizable,A=i.buttons,b=i.children,M=i.position,g=M.x,m=void 0===g?-r/2:g,O=M.y,v=void 0===O?-e/2:O,y=c.default.createElement("div",{style:{height:e,width:r,transform:"translate("+m+"px, "+v+"px)"},className:(0,l.default)("ui-dialog",{minimized:n,maximized:o})},this.getDialogTitle(),!n&&c.default.createElement(h.default,null,b),!n&&c.default.createElement(d.default,{buttons:A,onClose:this.onClose}));return n||o||!u||(y=c.default.createElement(f.Resizable,{className:"box",height:e,width:r,onResize:this.onResize},y)),n||o||!1===s||(y=c.default.createElement(p.default,{handle:".ui-dialog-titlebar",bounds:"body",defaultPosition:{x:m,y:v}},y)),c.default.createElement("div",{className:(0,l.default)("ui-dialog-container",{"":a})},y,a&&c.default.createElement("div",{className:"ui-dialog-overlay"}))}}]),e}(c.default.Component);g.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)])},g.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}},e.default=g},function(t,e,r){"use strict";var n=r(83),o=r(52),i=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(){}return t.prototype.PDF417Common=function(){},t.getBitCountSum=function(t){return o.a.sum(t)},t.toIntArray=function(e){var r,n;if(null==e||!e.length)return t.EMPTY_INT_ARRAY;var o=new Int32Array(e.length),a=0;try{for(var s=i(e),c=s.next();!c.done;c=s.next()){var u=c.value;o[a++]=u}}catch(l){r={error:l}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o},t.getCodeword=function(e){var r=n.a.binarySearch(t.SYMBOL_TABLE,262143&e);return r<0?-1:(t.CODEWORD_TABLE[r]-1)%t.NUMBER_OF_CODEWORDS},t.NUMBER_OF_CODEWORDS=929,t.MAX_CODEWORDS_IN_BARCODE=t.NUMBER_OF_CODEWORDS-1,t.MIN_ROWS_IN_BARCODE=3,t.MAX_ROWS_IN_BARCODE=90,t.MODULES_IN_CODEWORD=17,t.MODULES_IN_STOP_PATTERN=18,t.BARS_IN_MODULE=8,t.EMPTY_INT_ARRAY=new Int32Array([]),t.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),t.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]),t}();e.a=a},function(t,e,r){"use strict";var n;!function(t){t[t.OTHER=0]="OTHER",t[t.PURE_BARCODE=1]="PURE_BARCODE",t[t.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",t[t.TRY_HARDER=3]="TRY_HARDER",t[t.CHARACTER_SET=4]="CHARACTER_SET",t[t.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",t[t.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",t[t.ASSUME_GS1=7]="ASSUME_GS1",t[t.RETURN_CODABAR_START_END=8]="RETURN_CODABAR_START_END",t[t.NEED_RESULT_POINT_CALLBACK=9]="NEED_RESULT_POINT_CALLBACK",t[t.ALLOWED_EAN_EXTENSIONS=10]="ALLOWED_EAN_EXTENSIONS"}(n||(n={})),e.a=n},function(t,e,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(o){return!1}}()?Object.assign:function(t,e){for(var r,s,c=a(t),u=1;u3&&239===e[0]&&187===e[1]&&191===e[2],O=0;O0?0===(128&v)?s=!1:c--:0!==(128&v)&&(0===(64&v)?s=!1:(c++,0===(32&v)?u++:(c++,0===(16&v)?l++:(c++,0===(8&v)?p++:s=!1))))),i&&(v>127&&v<160?i=!1:v>159&&(v<192||215===v||247===v)&&g++),a&&(f>0?v<64||127===v||v>252?a=!1:f--:128===v||160===v||v>239?a=!1:v>160&&v<224?(A++,d=0,++h>b&&(b=h)):v>127?(f++,h=0,++d>M&&(M=d)):(h=0,d=0))}return s&&c>0&&(s=!1),a&&f>0&&(a=!1),s&&(m||u+l+p>0)?t.UTF8:a&&(t.ASSUME_SHIFT_JIS||b>=3||M>=3)?t.SHIFT_JIS:i&&a?2===b&&2===A||10*g>=o?t.SHIFT_JIS:t.ISO88591:i?t.ISO88591:a?t.SHIFT_JIS:s?t.UTF8:t.PLATFORM_DEFAULT_ENCODING},t.format=function(t){for(var e=[],r=1;r0){var r=new Array(e.length+t.length);n.a.arraycopy(e,0,r,0,e.length),n.a.arraycopy(t,0,r,e.length,t.length),this.resultPoints=r}},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.toString=function(){return this.text},t}();e.a=o},function(t,e,r){"use strict";function n(t,e){void 0===e&&(e=t.constructor);var r=Error.captureStackTrace;r&&r(t,e)}var o=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(e,r)};return function(e,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e,r){var o=this.constructor,i=t.call(this,e,r)||this;return Object.defineProperty(i,"name",{value:o.name,enumerable:!1,configurable:!0}),function(t,e){var r=Object.setPrototypeOf;r?r(t,e):t.__proto__=e}(i,o.prototype),n(i),i}return o(e,t),e}(Error);var a=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),s=function(t){function e(e){void 0===e&&(e=void 0);var r=t.call(this,e)||this;return r.message=e,r}return a(e,t),e.prototype.getKind=function(){return this.constructor.kind},e.kind="Exception",e}(i);e.a=s},function(t,e,r){"use strict";var n,o=r(28);!function(t){t[t.TERMINATOR=0]="TERMINATOR",t[t.NUMERIC=1]="NUMERIC",t[t.ALPHANUMERIC=2]="ALPHANUMERIC",t[t.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",t[t.BYTE=4]="BYTE",t[t.ECI=5]="ECI",t[t.KANJI=6]="KANJI",t[t.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",t[t.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",t[t.HANZI=9]="HANZI"}(n||(n={}));var i=function(){function t(e,r,n,o){this.value=e,this.stringValue=r,this.characterCountBitsForVersions=n,this.bits=o,t.FOR_BITS.set(o,this),t.FOR_VALUE.set(e,this)}return t.forBits=function(e){var r=t.FOR_BITS.get(e);if(void 0===r)throw new o.a;return r},t.prototype.getCharacterCountBits=function(t){var e,r=t.getVersionNumber();return e=r<=9?0:r<=26?1:2,this.characterCountBitsForVersions[e]},t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.value===r.value},t.prototype.toString=function(){return this.stringValue},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.TERMINATOR=new t(n.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),t.NUMERIC=new t(n.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),t.ALPHANUMERIC=new t(n.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),t.STRUCTURED_APPEND=new t(n.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),t.BYTE=new t(n.BYTE,"BYTE",Int32Array.from([8,16,16]),4),t.ECI=new t(n.ECI,"ECI",Int32Array.from([0,0,0]),7),t.KANJI=new t(n.KANJI,"KANJI",Int32Array.from([8,10,12]),8),t.FNC1_FIRST_POSITION=new t(n.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),t.FNC1_SECOND_POSITION=new t(n.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),t.HANZI=new t(n.HANZI,"HANZI",Int32Array.from([8,10,12]),13),t}();e.a=i},function(t,e,r){"use strict";var n=r(68),o=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="WriterException",e}(n.a);e.a=i},function(t,e,r){var n=r(41),o=r(84),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,r){"use strict";(function(t){var n=r(1340),o=r(1341),i=r(1342);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function h(t,e){if(c.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return D(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return F(t).length;default:if(n)return D(t).length;e=(""+e).toLowerCase(),n=!0}}function d(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return C(this,e,r);case"utf8":case"utf-8":return q(this,e,r);case"ascii":return B(this,e,r);case"latin1":case"binary":return S(this,e,r);case"base64":return _(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function b(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function M(t,e,r,n,o){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"===typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:g(t,e,r,n,o);if("number"===typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):g(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function g(t,e,r,n,o){var i,a=1,s=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,c/=2,r/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var l=-1;for(i=r;is&&(r=s-c),i=r;i>=0;i--){for(var p=!0,f=0;fo&&(n=o):n=o;var i=e.length;if(i%2!==0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function _(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function q(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o239?4:u>223?3:u>191?2:1;if(o+p<=r)switch(p){case 1:u<128&&(l=u);break;case 2:128===(192&(i=t[o+1]))&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=t[o+1],a=t[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=t[o+1],a=t[o+2],s=t[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,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=p}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),""},c.prototype.compare=function(t,e,r,n,o){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(i,a),u=this.slice(n,o),l=t.slice(e,r),p=0;po)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return m(this,t,e,r);case"utf8":case"utf-8":return O(this,t,e,r);case"ascii":return v(this,t,e,r);case"latin1":case"binary":return y(this,t,e,r);case"base64":return z(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function B(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;on)&&(r=n);for(var o="",i=e;ir)throw new RangeError("Trying to access beyond buffer length")}function W(t,e,r,n,o,i){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw new RangeError("Index out of range")}function T(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o>>8*(n?o:1-o)}function x(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o>>8*(n?o:3-o)&255}function L(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function N(t,e,r,n,i){return i||L(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function k(t,e,r,n,i){return i||L(t,0,r,8),o.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(o*=256);)n+=this[t+--e]*o;return n},c.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||R(t,e,this.length);for(var n=this[t],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||R(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},c.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||W(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i=0&&(i*=256);)this[e+o]=t/i&255;return e+r},c.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||W(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||W(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):T(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||W(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):T(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||W(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):x(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||W(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):x(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);W(this,t,e,r,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i>0)-s&255;return e+r},c.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);W(this,t,e,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||W(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||W(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):T(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||W(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):T(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||W(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):x(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||W(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):x(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,r){return N(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return N(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return k(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return k(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--o)t[o+e]=this[o+r];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(i=e;i55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function F(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(I,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function U(t,e,r,n){for(var o=0;o=e.length||o>=t.length);++o)e[o+r]=t[o];return o}}).call(this,r(60))},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){"use strict";var n=r(68),o=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.getChecksumInstance=function(){return new e},e.kind="ChecksumException",e}(n.a);e.a=i},function(t,e,r){"use strict";var n=r(28),o=r(83),i=r(45),a=r(51),s=function(){function t(e,r){void 0===e?(this.size=0,this.bits=new Int32Array(1)):(this.size=e,this.bits=void 0===r||null===r?t.makeArray(e):r)}return t.prototype.getSize=function(){return this.size},t.prototype.getSizeInBytes=function(){return Math.floor((this.size+7)/8)},t.prototype.ensureCapacity=function(e){if(e>32*this.bits.length){var r=t.makeArray(e);a.a.arraycopy(this.bits,0,r,0,this.bits.length),this.bits=r}},t.prototype.get=function(t){return 0!==(this.bits[Math.floor(t/32)]&1<<(31&t))},t.prototype.set=function(t){this.bits[Math.floor(t/32)]|=1<<(31&t)},t.prototype.flip=function(t){this.bits[Math.floor(t/32)]^=1<<(31&t)},t.prototype.getNextSet=function(t){var e=this.size;if(t>=e)return e;var r=this.bits,n=Math.floor(t/32),o=r[n];o&=~((1<<(31&t))-1);for(var a=r.length;0===o;){if(++n===a)return e;o=r[n]}var s=32*n+i.a.numberOfTrailingZeros(o);return s>e?e:s},t.prototype.getNextUnset=function(t){var e=this.size;if(t>=e)return e;var r=this.bits,n=Math.floor(t/32),o=~r[n];o&=~((1<<(31&t))-1);for(var a=r.length;0===o;){if(++n===a)return e;o=~r[n]}var s=32*n+i.a.numberOfTrailingZeros(o);return s>e?e:s},t.prototype.setBulk=function(t,e){this.bits[Math.floor(t/32)]=e},t.prototype.setRange=function(t,e){if(ethis.size)throw new n.a;if(e!==t){e--;for(var r=Math.floor(t/32),o=Math.floor(e/32),i=this.bits,a=r;a<=o;a++){var s=(2<<(ar?0:31&t));i[a]|=s}}},t.prototype.clear=function(){for(var t=this.bits.length,e=this.bits,r=0;rthis.size)throw new n.a;if(e===t)return!0;e--;for(var o=Math.floor(t/32),i=Math.floor(e/32),a=this.bits,s=o;s<=i;s++){var c=(2<<(so?0:31&t))&4294967295;if((a[s]&c)!==(r?c:0))return!1}return!0},t.prototype.appendBit=function(t){this.ensureCapacity(this.size+1),t&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++},t.prototype.appendBits=function(t,e){if(e<0||e>32)throw new n.a("Num bits must be between 0 and 32");this.ensureCapacity(this.size+e);for(var r=e;r>0;r--)this.appendBit(1===(t>>r-1&1))},t.prototype.appendBitArray=function(t){var e=t.size;this.ensureCapacity(this.size+e);for(var r=0;r>1&1431655765|(1431655765&i)<<1)>>2&858993459|(858993459&i)<<2)>>4&252645135|(252645135&i)<<4)>>8&16711935|(16711935&i)<<8)>>16&65535|(65535&i)<<16,t[e-o]=i}if(this.size!==32*r){var a=32*r-this.size,s=t[0]>>>a;for(o=1;o>>a}t[r-1]=s}this.bits=t},t.makeArray=function(t){return new Int32Array(Math.floor((t+31)/32))},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.size===r.size&&o.a.equals(this.bits,r.bits)},t.prototype.hashCode=function(){return 31*this.size+o.a.hashCode(this.bits)},t.prototype.toString=function(){for(var t="",e=0,r=this.size;e=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(t){t[t.Cp437=0]="Cp437",t[t.ISO8859_1=1]="ISO8859_1",t[t.ISO8859_2=2]="ISO8859_2",t[t.ISO8859_3=3]="ISO8859_3",t[t.ISO8859_4=4]="ISO8859_4",t[t.ISO8859_5=5]="ISO8859_5",t[t.ISO8859_6=6]="ISO8859_6",t[t.ISO8859_7=7]="ISO8859_7",t[t.ISO8859_8=8]="ISO8859_8",t[t.ISO8859_9=9]="ISO8859_9",t[t.ISO8859_10=10]="ISO8859_10",t[t.ISO8859_11=11]="ISO8859_11",t[t.ISO8859_13=12]="ISO8859_13",t[t.ISO8859_14=13]="ISO8859_14",t[t.ISO8859_15=14]="ISO8859_15",t[t.ISO8859_16=15]="ISO8859_16",t[t.SJIS=16]="SJIS",t[t.Cp1250=17]="Cp1250",t[t.Cp1251=18]="Cp1251",t[t.Cp1252=19]="Cp1252",t[t.Cp1256=20]="Cp1256",t[t.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",t[t.UTF8=22]="UTF8",t[t.ASCII=23]="ASCII",t[t.Big5=24]="Big5",t[t.GB18030=25]="GB18030",t[t.EUC_KR=26]="EUC_KR"}(n||(n={}));var a=function(){function t(e,r,n){for(var o,a,s=[],c=3;c=900)throw new o.a("incorect value");var r=t.VALUES_TO_ECI.get(e);if(void 0===r)throw new o.a("incorect value");return r},t.getCharacterSetECIByName=function(e){var r=t.NAME_TO_ECI.get(e);if(void 0===r)throw new o.a("incorect value");return r},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.getName()===r.getName()},t.VALUE_IDENTIFIER_TO_ECI=new Map,t.VALUES_TO_ECI=new Map,t.NAME_TO_ECI=new Map,t.Cp437=new t(n.Cp437,Int32Array.from([0,2]),"Cp437"),t.ISO8859_1=new t(n.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),t.ISO8859_2=new t(n.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),t.ISO8859_3=new t(n.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),t.ISO8859_4=new t(n.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),t.ISO8859_5=new t(n.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),t.ISO8859_6=new t(n.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),t.ISO8859_7=new t(n.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),t.ISO8859_8=new t(n.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),t.ISO8859_9=new t(n.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),t.ISO8859_10=new t(n.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),t.ISO8859_11=new t(n.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),t.ISO8859_13=new t(n.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),t.ISO8859_14=new t(n.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),t.ISO8859_15=new t(n.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),t.ISO8859_16=new t(n.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),t.SJIS=new t(n.SJIS,20,"SJIS","Shift_JIS"),t.Cp1250=new t(n.Cp1250,21,"Cp1250","windows-1250"),t.Cp1251=new t(n.Cp1251,22,"Cp1251","windows-1251"),t.Cp1252=new t(n.Cp1252,23,"Cp1252","windows-1252"),t.Cp1256=new t(n.Cp1256,24,"Cp1256","windows-1256"),t.UnicodeBigUnmarked=new t(n.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),t.UTF8=new t(n.UTF8,26,"UTF8","UTF-8"),t.ASCII=new t(n.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),t.Big5=new t(n.Big5,28,"Big5"),t.GB18030=new t(n.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),t.EUC_KR=new t(n.EUC_KR,30,"EUC_KR","EUC-KR"),t}();e.a=a},function(t,e,r){var n=r(163),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},function(t,e,r){"use strict";var n;!function(t){t[t.OTHER=0]="OTHER",t[t.ORIENTATION=1]="ORIENTATION",t[t.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",t[t.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",t[t.ISSUE_NUMBER=4]="ISSUE_NUMBER",t[t.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",t[t.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",t[t.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",t[t.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",t[t.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",t[t.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY"}(n||(n={})),e.a=n},function(t,e,r){"use strict";var n=r(75),o=r(57),i=r(78),a=r(33),s=r(18),c=function(){function t(){}return t.prototype.decode=function(t,e){try{return this.doDecode(t,e)}catch(A){if(e&&!0===e.get(o.a.TRY_HARDER)&&t.isRotateSupported()){var r=t.rotateCounterClockwise(),n=this.doDecode(r,e),c=n.getResultMetadata(),u=270;null!==c&&!0===c.get(i.a.ORIENTATION)&&(u+=c.get(i.a.ORIENTATION)%360),n.putMetadata(i.a.ORIENTATION,u);var l=n.getResultPoints();if(null!==l)for(var p=r.getHeight(),f=0;f>(p?8:5));r=p?u:15;for(var A=Math.trunc(u/2),h=0;h=u)break;try{l=t.getBlackRow(b,l)}catch(v){continue}for(var M=function(t){if(1===t&&(l.reverse(),e&&!0===e.get(o.a.NEED_RESULT_POINT_CALLBACK))){var r=new Map;e.forEach((function(t,e){return r.set(e,t)})),r.delete(o.a.NEED_RESULT_POINT_CALLBACK),e=r}try{var n=g.decodeRow(b,l,e);if(1===t){n.putMetadata(i.a.ORIENTATION,180);var s=n.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:n}}catch(u){}},g=this,m=0;m<2;m++){var O=M(m);if("object"===typeof O)return O.value}}throw new s.a},t.recordPattern=function(t,e,r){for(var n=r.length,o=0;o=i)throw new s.a;for(var a=!t.get(e),c=0,u=e;u0&&o>=0;)e.get(--r)!==i&&(o--,i=!i);if(o>=0)throw new s.a;t.recordPattern(e,r+1,n)},t.patternMatchVariance=function(t,e,r){for(var n=t.length,o=0,i=0,a=0;ap?l-p:p-l;if(f>r)return Number.POSITIVE_INFINITY;c+=f}return c/o},t}();e.a=c},function(t,e){var r,n,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(r===setTimeout)return setTimeout(t,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"===typeof setTimeout?setTimeout:i}catch(t){r=i}try{n="function"===typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var c,u=[],l=!1,p=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):p=-1,u.length&&A())}function A(){if(!l){var t=s(f);l=!0;for(var e=u.length;e;){for(c=u,u=[];++p1)for(var r=1;ra){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(e.substring(l,l+r.length)===r)l+=r.length,o[i]=!0,i++;else{if(e.substring(l,l+n.length)!==n)throw new s.a("illegal character encountered: "+e.substring(l));l+=n.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 p=new t(c,u),f=0;f>>(31&t)&1)},t.prototype.set=function(t,e){var r=e*this.rowSize+Math.floor(t/32);this.bits[r]|=1<<(31&t)&4294967295},t.prototype.unset=function(t,e){var r=e*this.rowSize+Math.floor(t/32);this.bits[r]&=~(1<<(31&t)&4294967295)},t.prototype.flip=function(t,e){var r=e*this.rowSize+Math.floor(t/32);this.bits[r]^=1<<(31&t)&4294967295},t.prototype.xor=function(t){if(this.width!==t.getWidth()||this.height!==t.getHeight()||this.rowSize!==t.getRowSize())throw new s.a("input matrix dimensions do not match");for(var e=new n.a(Math.floor(this.width/32)+1),r=this.rowSize,o=this.bits,i=0,a=this.height;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=e;us&&(s=c),32*ua){for(p=31;l>>>p===0;)p--;32*u+p>a&&(a=32*u+p)}}}return a=0&&0===e[r];)r--;if(r<0)return null;for(var n=Math.floor(r/t),o=32*Math.floor(r%t),i=e[r],a=31;i>>>a===0;)a--;return o+=a,Int32Array.from([o,n])},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRowSize=function(){return this.rowSize},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.width===r.width&&this.height===r.height&&this.rowSize===r.rowSize&&i.a.equals(this.bits,r.bits)},t.prototype.hashCode=function(){var t=this.width;return t=31*(t=31*(t=31*(t=31*t+this.width)+this.height)+this.rowSize)+i.a.hashCode(this.bits)},t.prototype.toString=function(t,e,r){return void 0===t&&(t="X "),void 0===e&&(e=" "),void 0===r&&(r="\n"),this.buildToString(t,e,r)},t.prototype.buildToString=function(t,e,r){for(var n=new a.a,o=0,i=this.height;o=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(){function t(){}return t.fill=function(t,e){for(var r=0,n=t.length;rr)throw new o.a("fromIndex("+e+") > toIndex("+r+")");if(e<0)throw new s(e);if(r>t)throw new s(r)},t.asList=function(){for(var t=[],e=0;e>1,s=n(r,e[a]);if(s>0)o=a+1;else{if(!(s<0))return a;i=a-1}}return-o-1},t.numberComparator=function(t,e){return t-e},t}();e.a=u},function(t,e,r){var n=r(126),o=Object;t.exports=function(t){return o(n(t))}},function(t,e,r){var n=r(63),o=r(228),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},function(t,e,r){"use strict";var n=function(){};t.exports=n},function(t,e,r){"use strict";var n;!function(t){t[t.ERROR_CORRECTION=0]="ERROR_CORRECTION",t[t.CHARACTER_SET=1]="CHARACTER_SET",t[t.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",t[t.MIN_SIZE=3]="MIN_SIZE",t[t.MAX_SIZE=4]="MAX_SIZE",t[t.MARGIN=5]="MARGIN",t[t.PDF417_COMPACT=6]="PDF417_COMPACT",t[t.PDF417_COMPACTION=7]="PDF417_COMPACTION",t[t.PDF417_DIMENSIONS=8]="PDF417_DIMENSIONS",t[t.AZTEC_LAYERS=9]="AZTEC_LAYERS",t[t.QR_VERSION=10]="QR_VERSION"}(n||(n={})),e.a=n},function(t,e,r){var n=r(230),o=r(85),i=r(311),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},function(t,e,r){var n,o;"undefined"!=typeof self&&self,t.exports=(n=r(0),o=r(50),function(){"use strict";var t={655:function(t,e,r){r.r(e),r.d(e,{__assign:function(){return i},__asyncDelegator:function(){return _},__asyncGenerator:function(){return w},__asyncValues:function(){return q},__await:function(){return z},__awaiter:function(){return h},__classPrivateFieldGet:function(){return R},__classPrivateFieldIn:function(){return T},__classPrivateFieldSet:function(){return W},__createBinding:function(){return b},__decorate:function(){return s},__esDecorate:function(){return u},__exportStar:function(){return M},__extends:function(){return o},__generator:function(){return d},__importDefault:function(){return E},__importStar:function(){return C},__makeTemplateObject:function(){return B},__metadata:function(){return A},__param:function(){return c},__propKey:function(){return p},__read:function(){return m},__rest:function(){return a},__runInitializers:function(){return l},__setFunctionName:function(){return f},__spread:function(){return O},__spreadArray:function(){return y},__spreadArrays:function(){return v},__values:function(){return g}});var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var i=function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,r,a):o(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a}function c(t,e){return function(r,n){e(r,n,t)}}function u(t,e,r,n,o,i){function a(t){if(void 0!==t&&"function"!=typeof t)throw new TypeError("Function expected");return t}for(var s,c=n.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!e&&t?n.static?t:t.prototype:null,p=e||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),f=!1,A=r.length-1;A>=0;A--){var h={};for(var d in n)h[d]="access"===d?{}:n[d];for(var d in n.access)h.access[d]=n.access[d];h.addInitializer=function(t){if(f)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(t||null))};var b=(0,r[A])("accessor"===c?{get:p.get,set:p.set}:p[u],h);if("accessor"===c){if(void 0===b)continue;if(null===b||"object"!=typeof b)throw new TypeError("Object expected");(s=a(b.get))&&(p.get=s),(s=a(b.set))&&(p.set=s),(s=a(b.init))&&o.push(s)}else(s=a(b))&&("field"===c?o.push(s):p[u]=s)}l&&Object.defineProperty(l,n.name,p),f=!0}function l(t,e,r){for(var n=arguments.length>2,o=0;o0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function O(){for(var t=[],e=0;e1||s(t,e)}))})}function s(t,e){try{(r=o[t](e)).value instanceof z?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(t){l(i[0][3],t)}var r}function c(t){s("next",t)}function u(t){s("throw",t)}function l(t,e){t(e),i.shift(),i.length&&s(i[0][0],i[0][1])}}function _(t){var e,r;return e={},n("next"),n("throw",(function(t){throw t})),n("return"),e[Symbol.iterator]=function(){return this},e;function n(n,o){e[n]=t[n]?function(e){return(r=!r)?{value:z(t[n](e)),done:!1}:o?o(e):e}:o}}function q(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=g(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise((function(n,o){!function(t,e,r,n){Promise.resolve(n).then((function(e){t({value:e,done:r})}),e)}(n,o,(e=t[r](e)).done,e.value)}))}}}function B(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var S=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function C(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&b(e,t,r);return S(e,t),e}function E(t){return t&&t.__esModule?t:{default:t}}function R(t,e,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)}function W(t,e,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(t,r):o?o.value=r:e.set(t,r),r}function T(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}},156:function(t){t.exports=n},111:function(t){t.exports=o}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return function(){var t=i;Object.defineProperty(t,"__esModule",{value:!0}),t.useReactToPrint=t.PrintContextConsumer=void 0;var e=r(655),n=r(156),o=r(111),a=Object.prototype.hasOwnProperty.call(n,"createContext"),s=Object.prototype.hasOwnProperty.call(n,"useMemo")&&Object.prototype.hasOwnProperty.call(n,"useCallback"),c=a?n.createContext({}):null;t.PrintContextConsumer=c?c.Consumer:function(){return null};var u={copyStyles:!0,pageStyle:"\n @page {\n /* Remove browser default header (title) and footer (url) */\n margin: 0;\n }\n @media print {\n body {\n /* Tell browsers to print background colors */\n -webkit-print-color-adjust: exact; /* Chrome/Safari/Edge/Opera */\n color-adjust: exact; /* Firefox */\n }\n }\n ",removeAfterPrint:!1,suppressErrors:!1},l=function(t){function r(){var r=null!==t&&t.apply(this,arguments)||this;return r.startPrint=function(t){var e=r.props,n=e.onAfterPrint,o=e.onPrintError,i=e.print,a=e.documentTitle;setTimeout((function(){var e,s;if(t.contentWindow){if(t.contentWindow.focus(),i)i(t).then(r.handleRemoveIframe).catch((function(t){o?o("print",t):r.logMessages(["An error was thrown by the specified `print` function"])}));else if(t.contentWindow.print){var c=null!==(s=null===(e=t.contentDocument)||void 0===e?void 0:e.title)&&void 0!==s?s:"",u=t.ownerDocument.title;a&&(t.ownerDocument.title=a,t.contentDocument&&(t.contentDocument.title=a)),t.contentWindow.print(),a&&(t.ownerDocument.title=u,t.contentDocument&&(t.contentDocument.title=c))}else r.logMessages(["Printing for this browser is not currently possible: the browser does not have a `print` method available for iframes."]);n&&n(),r.handleRemoveIframe()}else r.logMessages(["Printing failed because the `contentWindow` of the print iframe did not load. This is possibly an error with `react-to-print`. Please file an issue: https://github.com/gregnb/react-to-print/issues/"])}),500)},r.triggerPrint=function(t){var e=r.props,n=e.onBeforePrint,o=e.onPrintError;if(n){var i=n();i&&"function"==typeof i.then?i.then((function(){r.startPrint(t)})).catch((function(t){o&&o("onBeforePrint",t)})):r.startPrint(t)}else r.startPrint(t)},r.handleClick=function(){var t=r.props,e=t.onBeforeGetContent,n=t.onPrintError;if(e){var o=e();o&&"function"==typeof o.then?o.then(r.handlePrint).catch((function(t){n&&n("onBeforeGetContent",t)})):r.handlePrint()}else r.handlePrint()},r.handlePrint=function(){var t=r.props,n=t.bodyClass,i=t.content,a=t.copyStyles,s=t.fonts,c=t.pageStyle,u=t.nonce,l=i();if(void 0!==l)if(null!==l){var p=document.createElement("iframe");p.width="".concat(document.documentElement.clientWidth,"px"),p.height="".concat(document.documentElement.clientHeight,"px"),p.style.position="absolute",p.style.top="-".concat(document.documentElement.clientHeight+100,"px"),p.style.left="-".concat(document.documentElement.clientWidth+100,"px"),p.id="printWindow",p.srcdoc="";var f=(0,o.findDOMNode)(l);if(f){var A=f.cloneNode(!0),h=A instanceof Text,d=document.querySelectorAll("link[rel='stylesheet']"),b=h?[]:A.querySelectorAll("img"),M=h?[]:A.querySelectorAll("video"),g=s?s.length:0;r.numResourcesToLoad=d.length+b.length+M.length+g,r.resourcesLoaded=[],r.resourcesErrored=[];var m=function(t,n){r.resourcesLoaded.includes(t)?r.logMessages(["Tried to mark a resource that has already been handled",t],"debug"):(n?(r.logMessages(e.__spreadArray(['"react-to-print" was unable to load a resource but will continue attempting to print the page'],e.__read(n),!1)),r.resourcesErrored.push(t)):r.resourcesLoaded.push(t),r.resourcesLoaded.length+r.resourcesErrored.length===r.numResourcesToLoad&&r.triggerPrint(p))};p.onload=function(){var t,o,i,l;p.onload=null;var d=p.contentDocument||(null===(o=p.contentWindow)||void 0===o?void 0:o.document);if(d){d.body.appendChild(A),s&&((null===(i=p.contentDocument)||void 0===i?void 0:i.fonts)&&(null===(l=p.contentWindow)||void 0===l?void 0:l.FontFace)?s.forEach((function(t){var e=new FontFace(t.family,t.source,{weight:t.weight,style:t.style});p.contentDocument.fonts.add(e),e.loaded.then((function(){m(e)})).catch((function(t){m(e,["Failed loading the font:",e,"Load error:",t])}))})):(s.forEach((function(t){return m(t)})),r.logMessages(['"react-to-print" is not able to load custom fonts because the browser does not support the FontFace API but will continue attempting to print the page'])));var g="function"==typeof c?c():c;if("string"!=typeof g)r.logMessages(['"react-to-print" expected a "string" from `pageStyle` but received "'.concat(typeof g,'". Styles from `pageStyle` will not be applied.')]);else{var O=d.createElement("style");u&&(O.setAttribute("nonce",u),d.head.setAttribute("nonce",u)),O.appendChild(d.createTextNode(g)),d.head.appendChild(O)}if(n&&(t=d.body.classList).add.apply(t,e.__spreadArray([],e.__read(n.split(" ")),!1)),!h){for(var v=h?[]:f.querySelectorAll("canvas"),y=d.querySelectorAll("canvas"),z=0;z",e,"Error",i])},n.src=r}else m(e,['Found an tag with an empty "src" attribute. This prevents pre-loading it. The is:',e])};for(z=0;z=2?m(e):(e.onloadeddata=function(){return m(e)},e.onerror=function(t,r,n,o,i){return m(e,["Error loading video",e,"Error",i])},e.onstalled=function(){return m(e,["Loading video stalled, skipping",e])})};for(z=0;z tag with a `disabled` attribute and will ignore it. Note that the `disabled` attribute is deprecated, and some browsers ignore it. You should stop using it. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-disabled. The is:",n],"warning"),m(n);else{for(var l=d.createElement(n.tagName),p=(c=0,n.attributes.length);c 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:",n],"warning"),m(n)},P=(z=0,k.length);z=r&&(s^=e,s&=r-1);i.expTable=a;var u=new Int32Array(r);for(c=0;c=0&&(n=t.isRange(s,a,!1))}return r},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var r=t.length;if(0===r)return!1;var n=parseInt(t.charAt(r-1),10);return e.getStandardUPCEANChecksum(t.substring(0,r-1))===n},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,r=0,n=e-1;n>=0;n-=2){if((o=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new l.a;r+=o}r*=3;for(n=e-2;n>=0;n-=2){var o;if((o=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new l.a;r+=o}return(1e3-r)%10},e.decodeEnd=function(t,r){return e.findGuardPattern(t,r,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e.findGuardPatternWithoutCounters=function(t,e,r,n){return this.findGuardPattern(t,e,r,n,new Int32Array(n.length))},e.findGuardPattern=function(t,r,n,o,i){for(var a=t.getSize(),s=0,l=r=n?t.getNextUnset(r):t.getNextSet(r),p=o.length,f=n,A=r;A=0)return a;throw new u.a},e.MAX_AVG_VARIANCE=.48,e.MAX_INDIVIDUAL_VARIANCE=.7,e.START_END_PATTERN=Int32Array.from([1,1,1]),e.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),e.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])],e}(c.a),A=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function t(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,r,o){var a=this.decodeRowStringBuffer,c=this.decodeMiddle(r,o,a),u=a.toString(),l=t.parseExtensionString(u),p=[new s.a((o[0]+o[1])/2,e),new s.a(c,e)],f=new i.a(u,null,0,p,n.a.UPC_EAN_EXTENSION,(new Date).getTime());return null!=l&&f.putAllMetadata(l),f},t.prototype.decodeMiddle=function(e,r,n){var o,i,a=this.decodeMiddleCounters;a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=e.getSize(),c=r[1],l=0,p=0;p<5&&c=10&&(l|=1<<4-p),4!==p&&(c=e.getNextSet(c),c=e.getNextUnset(c))}if(5!==n.length)throw new u.a;var M=this.determineCheckDigit(l);if(t.extensionChecksum(n.toString())!==M)throw new u.a;return c},t.extensionChecksum=function(t){for(var e=t.length,r=0,n=e-2;n>=0;n-=2)r+=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);r*=3;for(n=e-1;n>=0;n-=2)r+=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);return(r*=3)%10},t.prototype.determineCheckDigit=function(t){for(var e=0;e<10;e++)if(t===this.CHECK_DIGIT_ENCODINGS[e])return e;throw new u.a},t.parseExtensionString=function(e){if(5!==e.length)return null;var r=t.parseExtension5String(e);return null==r?null:new Map([[a.a.SUGGESTED_PRICE,r]])},t.parseExtension5String=function(t){var e;switch(t.charAt(0)){case"0":e="\xa3";break;case"5":e="$";break;case"9":switch(t){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}e="";break;default:e=""}var r=parseInt(t.substring(1)),n=r%100;return e+(r/100).toString()+"."+(n<10?"0"+n:n.toString())},t}(),d=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},b=function(){function t(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,r,o){var a=this.decodeRowStringBuffer,c=this.decodeMiddle(r,o,a),u=a.toString(),l=t.parseExtensionString(u),p=[new s.a((o[0]+o[1])/2,e),new s.a(c,e)],f=new i.a(u,null,0,p,n.a.UPC_EAN_EXTENSION,(new Date).getTime());return null!=l&&f.putAllMetadata(l),f},t.prototype.decodeMiddle=function(t,e,r){var n,o,i=this.decodeMiddleCounters;i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var a=t.getSize(),s=e[1],c=0,l=0;l<2&&s=10&&(c|=1<<1-l),1!==l&&(s=t.getNextSet(s),s=t.getNextUnset(s))}if(2!==r.length)throw new u.a;if(parseInt(r.toString())%4!==c)throw new u.a;return s},t.parseExtensionString=function(t){return 2!==t.length?null:new Map([[a.a.ISSUE_NUMBER,parseInt(t)]])},t}(),M=function(){function t(){}return t.decodeRow=function(t,e,r){var n=f.findGuardPattern(e,r,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new h).decodeRow(t,e,n)}catch(o){return(new b).decodeRow(t,e,n)}},t.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),t}(),g=r(74),m=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),O=function(t){function e(){var r=t.call(this)||this;r.decodeRowStringBuffer="",e.L_AND_G_PATTERNS=e.L_PATTERNS.map((function(t){return Int32Array.from(t)}));for(var n=10;n<20;n++){for(var o=e.L_PATTERNS[n-10],i=new Int32Array(o.length),a=0;a=r.getSize()||!r.isRange(y,z,!1))throw new u.a;var w=b.toString();if(w.length<8)throw new l.a;if(!e.checkChecksum(w))throw new g.a;var _=(p[1]+p[0])/2,q=(O[1]+O[0])/2,B=this.getBarcodeFormat(),S=[new s.a(_,t),new s.a(q,t)],C=new i.a(w,null,0,S,B,(new Date).getTime()),E=0;try{var R=M.decodeRow(t,r,O[1]);C.putMetadata(a.a.UPC_EAN_EXTENSION,R.getText()),C.putAllMetadata(R.getResultMetadata()),C.addResultPoints(R.getResultPoints()),E=R.getText().length}catch(L){}var W=null==c?null:c.get(o.a.ALLOWED_EAN_EXTENSIONS);if(null!=W){var T=!1;for(var x in W)if(E.toString()===x){T=!0;break}if(!T)throw new u.a}return B===n.a.EAN_13||n.a.UPC_A,C},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var r=t.length;if(0===r)return!1;var n=parseInt(t.charAt(r-1),10);return e.getStandardUPCEANChecksum(t.substring(0,r-1))===n},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,r=0,n=e-1;n>=0;n-=2){if((o=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new l.a;r+=o}r*=3;for(n=e-2;n>=0;n-=2){var o;if((o=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new l.a;r+=o}return(1e3-r)%10},e.decodeEnd=function(t,r){return e.findGuardPattern(t,r,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e}(f);e.a=O},function(t,e,r){var n=r(61),o=r(657),i=r(656),a=r(62),s=r(200),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor;e.f=n?i?function(t,e,r){if(a(t),e=s(e),a(r),"function"===typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=l(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(a(t),e=s(e),a(r),o)try{return u(t,e,r)}catch(n){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){"use strict";r.d(e,"a",(function(){return y})),r.d(e,"b",(function(){return B})),r.d(e,"d",(function(){return C})),r.d(e,"c",(function(){return b})),r.d(e,"f",(function(){return M})),r.d(e,"e",(function(){return d}));var n=r(152);function o(t){return"/"===t.charAt(0)}function i(t,e){for(var r=e,n=r+1,o=t.length;n=0;f--){var A=a[f];"."===A?i(a,f):".."===A?(i(a,f),p++):p&&(i(a,f),p--)}if(!u)for(;p--;p)a.unshift("..");!u||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return r&&"/"!==h.substr(-1)&&(h+="/"),h};function s(t){return t.valueOf?t.valueOf():Object.prototype.valueOf.call(t)}var c=function t(e,r){if(e===r)return!0;if(null==e||null==r)return!1;if(Array.isArray(e))return Array.isArray(r)&&e.length===r.length&&e.every((function(e,n){return t(e,r[n])}));if("object"===typeof e||"object"===typeof r){var n=s(e),o=s(r);return n!==e||o!==r?t(n,o):Object.keys(Object.assign({},e,r)).every((function(n){return t(e[n],r[n])}))}return!1},u="Invariant failed";function l(t,e){if(!t)throw new Error(u)}function p(t){return"/"===t.charAt(0)?t:"/"+t}function f(t){return"/"===t.charAt(0)?t.substr(1):t}function A(t,e){return function(t,e){return 0===t.toLowerCase().indexOf(e.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(e.length))}(t,e)?t.substr(e.length):t}function h(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function d(t){var e=t.pathname,r=t.search,n=t.hash,o=e||"/";return r&&"?"!==r&&(o+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o}function b(t,e,r,o){var i;"string"===typeof t?(i=function(t){var e=t||"/",r="",n="",o=e.indexOf("#");-1!==o&&(n=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(r=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===r?"":r,hash:"#"===n?"":n}}(t)).state=e:(void 0===(i=Object(n.a)({},t)).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!==e&&void 0===i.state&&(i.state=e));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 r&&(i.key=r),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function M(t,e){return t.pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&c(t.state,e.state)}function g(){var t=null;var e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,r,n,o){if(null!=t){var i="function"===typeof t?t(e,r):t;"string"===typeof i?"function"===typeof n?n(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var r=!0;function n(){r&&t.apply(void 0,arguments)}return e.push(n),function(){r=!1,e=e.filter((function(t){return t!==n}))}},notifyListeners:function(){for(var t=arguments.length,r=new Array(t),n=0;ne?r.splice(e,r.length-e,n):r.push(n),p({action:"PUSH",location:n,index:e,entries:r})}}))},replace:function(t,e){var n=b(t,e,f(),O.location);l.confirmTransitionTo(n,"REPLACE",r,(function(t){t&&(O.entries[O.index]=n,p({action:"REPLACE",location:n}))}))},go:m,goBack:function(){m(-1)},goForward:function(){m(1)},canGo:function(t){var e=O.index+t;return e>=0&&e-1:!!l&&n(t,e,r)>-1}},function(t,e,r){"use strict";for(var n=function(t){return null!==t&&!Array.isArray(t)&&"object"===typeof t},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(t){return n(t)?t.keyCode||t.which||this[t.key]:this[t]},getKey:function(t){var e=n(t);if(e&&t.key)return t.key;var r=o[e?t.keyCode||t.which:t];return Array.isArray(r)&&(r=e?r[t.shiftKey?1:0]:r[0]),r},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["]"],t.exports=c},function(t,e,r){"use strict";r.d(e,"b",(function(){return h})),r.d(e,"a",(function(){return m})),r.d(e,"c",(function(){return w}));var n="persist/REHYDRATE",o="persist/REGISTER",i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(b,["_persist"]);if("persist/PERSIST"===l.type){var m=!1,O=function(e,r){m||(l.rehydrate(t.key,e,r),m=!0)};if(a&&setTimeout((function(){!m&&O(void 0,new Error('redux-persist: persist timed out for persist key "'+t.key+'"'))}),a),h=!1,u||(u=c(t)),M)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(t.key),i(t).then((function(e){(t.migrate||function(t,e){return Promise.resolve(t)})(e,r).then((function(t){O(t)}),(function(t){O(void 0,t)}))}),(function(t){O(void 0,t)})),A({},e(g,l),{_persist:{version:r,rehydrated:!1}})}if("persist/PURGE"===l.type)return p=!0,l.result(function(t){var e=t.storage,r=""+(void 0!==t.keyPrefix?t.keyPrefix:"persist:")+t.key;return e.removeItem(r,f)}(t)),A({},e(g,l),{_persist:M});if("persist/FLUSH"===l.type)return l.result(u&&u.flush()),A({},e(g,l),{_persist:M});if("persist/PAUSE"===l.type)h=!0;else if(l.type===n){if(p)return A({},g,{_persist:A({},M,{rehydrated:!0})});if(l.key===t.key){var v=e(g,l),y=l.payload,z=!1!==o&&void 0!==y?o(y,s,v,t):v,w=A({},z,{_persist:A({},M,{rehydrated:!0})});return d(w)}}if(!M)return e(s,l);var _=e(g,l);return _===g?s:(_._persist=M,d(_))}}var d=r(17),b="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},M=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:y,e=arguments[1];switch(e.type){case o:return O({},t,{registry:[].concat(v(t.registry),[e.key])});case n:var r=t.registry.indexOf(e.key),i=[].concat(v(t.registry));return i.splice(r,1),O({},t,{registry:i,bootstrapped:0===i.length});default:return t}};function w(t,e,r){var i=r||!1,a=Object(d.createStore)(z,y,e?e.enhancer:void 0),s=function(t){a.dispatch({type:o,key:t})},c=function(e,r,o){var s={type:n,payload:r,err:o,key:e};t.dispatch(s),a.dispatch(s),i&&u.getState().bootstrapped&&(i(),i=!1)},u=O({},a,{purge:function(){var e=[];return t.dispatch({type:"persist/PURGE",result:function(t){e.push(t)}}),Promise.all(e)},flush:function(){var e=[];return t.dispatch({type:"persist/FLUSH",result:function(t){e.push(t)}}),Promise.all(e)},pause:function(){t.dispatch({type:"persist/PAUSE"})},persist:function(){t.dispatch({type:"persist/PERSIST",register:s,rehydrate:c})}});return u.persist(),u}},function(t,e,r){var n=r(143);t.exports=function(t){return n(t.length)}},function(t,e,r){"use strict";e.__esModule=!0;var n,o=r(1309),i=(n=o)&&n.__esModule?n:{default:n};e.default=(0,i.default)("local")},function(t,e,r){"use strict";e.__esModule=!0;var n,o=r(445),i=(n=o)&&n.__esModule?n:{default:n};e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==("undefined"===typeof e?"undefined":(0,i.default)(e))&&"function"!==typeof e?t:e}},function(t,e,r){"use strict";t.exports=function(t,e,r,n,o,i,a,s){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,i,a,s],l=0;(c=new Error(e.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(t,e,r){var n=r(63),o=r(92),i=r(509),a=r(504);t.exports=function(t,e,r,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:e;if(n(r)&&i(r,u,s),s.global)c?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(l){}c?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,r){"use strict";e.__esModule=!0;var n=a(r(1572)),o=a(r(1576)),i=a(r(445));function a(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof e?"undefined":(0,i.default)(e)));t.prototype=(0,o.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(n.default?(0,n.default)(t,e):t.__proto__=e)}},function(t,e,r){"use strict";var n=r(68),o=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="IllegalStateException",e}(n.a);e.a=i},function(t,e,r){var n=r(432);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(219),o=r(76),i=function(){function t(){}return t.decode=function(t,e){var r=this.encodingName(e);return this.customDecoder?this.customDecoder(t,r):"undefined"===typeof TextDecoder||this.shouldDecodeOnFallback(r)?this.decodeFallback(t,r):new TextDecoder(r).decode(t)},t.shouldDecodeOnFallback=function(e){return!t.isBrowser()&&"ISO-8859-1"===e},t.encode=function(t,e){var r=this.encodingName(e);return this.customEncoder?this.customEncoder(t,r):"undefined"===typeof TextEncoder?this.encodeFallback(t):(new TextEncoder).encode(t)},t.isBrowser=function(){return"undefined"!==typeof window&&"[object Window]"==={}.toString.call(window)},t.encodingName=function(t){return"string"===typeof t?t:t.getName()},t.encodingCharacterSet=function(t){return t instanceof o.a?t:o.a.getCharacterSetECIByName(t)},t.decodeFallback=function(e,r){var i=this.encodingCharacterSet(r);if(t.isDecodeFallbackSupported(i)){for(var a="",s=0,c=e.length;sr?r:t:te?e:t}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(473);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){o=!0,i=c}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}(t,e)||Object(n.a)(t,e)||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(t,e){t.exports=!1},function(t,e,r){var n=r(44),o=r(63),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},function(t,e,r){var n,o,i,a=r(662),s=r(44),c=r(65),u=r(161),l=r(71),p=r(503),f=r(381),A=r(315),h=s.TypeError,d=s.WeakMap;if(a||p.state){var b=p.state||(p.state=new d);b.get=b.get,b.has=b.has,b.set=b.set,n=function(t,e){if(b.has(t))throw h("Object already initialized");return e.facade=t,b.set(t,e),e},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var M=f("state");A[M]=!0,n=function(t,e){if(l(t,M))throw h("Object already initialized");return e.facade=t,u(t,M,e),e},o=function(t){return l(t,M)?t[M]:{}},i=function(t){return l(t,M)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw h("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(88),o=r(41),i=r(310),a=r(84),s=r(97),c=r(322),u=o([].push),l=function(t){var e=1==t,r=2==t,o=3==t,l=4==t,p=6==t,f=7==t,A=5==t||p;return function(h,d,b,M){for(var g,m,O=a(h),v=i(O),y=n(d,b),z=s(v),w=0,_=M||c,q=e?_(h,z):r||f?_(h,0):void 0;z>w;w++)if((A||w in v)&&(m=y(g=v[w],w,O),t))if(e)q[w]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return w;case 2:u(q,g)}else switch(t){case 4:return!1;case 7:u(q,g)}return p?-1:o||l?l:q}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){(function(t){function r(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===r(t)},e.isBoolean=function(t){return"boolean"===typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"===typeof t},e.isString=function(t){return"string"===typeof t},e.isSymbol=function(t){return"symbol"===typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===r(t)},e.isObject=function(t){return"object"===typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===r(t)},e.isError=function(t){return"[object Error]"===r(t)||t instanceof Error},e.isFunction=function(t){return"function"===typeof t},e.isPrimitive=function(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t},e.isBuffer=t.isBuffer}).call(this,r(72).Buffer)},function(t,e,r){"use strict";var n=r(68),o=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="ArgumentException",e}(n.a);e.a=i},function(t,e,r){"use strict";e.a=function(t,e,r){var n=t.defaultProps,o=void 0===n?{}:n;if(e.as&&e.as!==o.as)return e.as;if(r){var i=r();if(i)return i}return e.href?"a":o.as||"div"}},function(t,e,r){var n=r(310),o=r(126);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(133),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},function(t,e,r){var n=r(41),o=Set.prototype;t.exports={Set:Set,add:n(o.add),has:n(o.has),remove:n(o.delete),proto:o}},function(t,e){function r(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=r,r.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}},function(t,e,r){var n=r(858),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},function(t,e,r){var n=r(882),o=r(283),i=r(435),a=o((function(t,e){return i(t)?n(t,e):[]}));t.exports=a},function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r(123),o=r(447),i=r(74),a=r(448),s=r(25),c=r(18),u=r(451),l=r(452),p=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{c(n.next(t))}catch(e){i(e)}}function s(t){try{c(n.throw(t))}catch(e){i(e)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}c((n=n.apply(t,e||[])).next())}))},f=function(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next: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(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(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]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function t(t,e,r){void 0===e&&(e=500),this.reader=t,this.timeBetweenScansMillis=e,this._hints=r,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}return Object.defineProperty(t.prototype,"hasNavigator",{get:function(){return"undefined"!==typeof navigator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMediaDevicesSuported",{get:function(){return this.hasNavigator&&!!navigator.mediaDevices},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canEnumerateDevices",{get:function(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timeBetweenDecodingAttempts",{get:function(){return this._timeBetweenDecodingAttempts},set:function(t){this._timeBetweenDecodingAttempts=t<0?0:t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hints",{get:function(){return this._hints},set:function(t){this._hints=t||null},enumerable:!1,configurable:!0}),t.prototype.listVideoInputDevices=function(){return p(this,void 0,void 0,(function(){var t,e,r,n,o,i,a,s,c,u,l,p;return f(this,(function(f){switch(f.label){case 0:if(!this.hasNavigator)throw new Error("Can't enumerate devices, navigator is not present.");if(!this.canEnumerateDevices)throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:t=f.sent(),e=[];try{for(r=A(t),n=r.next();!n.done;n=r.next())o=n.value,"videoinput"===(i="video"===o.kind?"videoinput":o.kind)&&(a=o.deviceId||o.id,s=o.label||"Video device "+(e.length+1),c=o.groupId,u={deviceId:a,label:s,kind:i,groupId:c},e.push(u))}catch(h){l={error:h}}finally{try{n&&!n.done&&(p=r.return)&&p.call(r)}finally{if(l)throw l.error}}return[2,e]}}))}))},t.prototype.getVideoInputDevices=function(){return p(this,void 0,void 0,(function(){return f(this,(function(t){switch(t.label){case 0:return[4,this.listVideoInputDevices()];case 1:return[2,t.sent().map((function(t){return new l.a(t.deviceId,t.label)}))]}}))}))},t.prototype.findDeviceById=function(t){return p(this,void 0,void 0,(function(){var e;return f(this,(function(r){switch(r.label){case 0:return[4,this.listVideoInputDevices()];case 1:return(e=r.sent())?[2,e.find((function(e){return e.deviceId===t}))]:[2,null]}}))}))},t.prototype.decodeFromInputVideoDevice=function(t,e){return p(this,void 0,void 0,(function(){return f(this,(function(r){switch(r.label){case 0:return[4,this.decodeOnceFromVideoDevice(t,e)];case 1:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromVideoDevice=function(t,e){return p(this,void 0,void 0,(function(){var r;return f(this,(function(n){switch(n.label){case 0:return this.reset(),r={video:t?{deviceId:{exact:t}}:{facingMode:"environment"}},[4,this.decodeOnceFromConstraints(r,e)];case 1:return[2,n.sent()]}}))}))},t.prototype.decodeOnceFromConstraints=function(t,e){return p(this,void 0,void 0,(function(){var r;return f(this,(function(n){switch(n.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return r=n.sent(),[4,this.decodeOnceFromStream(r,e)];case 2:return[2,n.sent()]}}))}))},t.prototype.decodeOnceFromStream=function(t,e){return p(this,void 0,void 0,(function(){var r;return f(this,(function(n){switch(n.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return r=n.sent(),[4,this.decodeOnce(r)];case 2:return[2,n.sent()]}}))}))},t.prototype.decodeFromInputVideoDeviceContinuously=function(t,e,r){return p(this,void 0,void 0,(function(){return f(this,(function(n){switch(n.label){case 0:return[4,this.decodeFromVideoDevice(t,e,r)];case 1:return[2,n.sent()]}}))}))},t.prototype.decodeFromVideoDevice=function(t,e,r){return p(this,void 0,void 0,(function(){var n;return f(this,(function(o){switch(o.label){case 0:return n={video:t?{deviceId:{exact:t}}:{facingMode:"environment"}},[4,this.decodeFromConstraints(n,e,r)];case 1:return[2,o.sent()]}}))}))},t.prototype.decodeFromConstraints=function(t,e,r){return p(this,void 0,void 0,(function(){var n;return f(this,(function(o){switch(o.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return n=o.sent(),[4,this.decodeFromStream(n,e,r)];case 2:return[2,o.sent()]}}))}))},t.prototype.decodeFromStream=function(t,e,r){return p(this,void 0,void 0,(function(){var n;return f(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return n=o.sent(),[4,this.decodeContinuously(n,r)];case 2:return[2,o.sent()]}}))}))},t.prototype.stopAsyncDecode=function(){this._stopAsyncDecode=!0},t.prototype.stopContinuousDecode=function(){this._stopContinuousDecode=!0},t.prototype.attachStreamToVideo=function(t,e){return p(this,void 0,void 0,(function(){var r;return f(this,(function(n){switch(n.label){case 0:return r=this.prepareVideoElement(e),this.addVideoSource(r,t),this.videoElement=r,this.stream=t,[4,this.playVideoOnLoadAsync(r)];case 1:return n.sent(),[2,r]}}))}))},t.prototype.playVideoOnLoadAsync=function(t){var e=this;return new Promise((function(r,n){return e.playVideoOnLoad(t,(function(){return r()}))}))},t.prototype.playVideoOnLoad=function(t,e){var r=this;this.videoEndedListener=function(){return r.stopStreams()},this.videoCanPlayListener=function(){return r.tryPlayVideo(t)},t.addEventListener("ended",this.videoEndedListener),t.addEventListener("canplay",this.videoCanPlayListener),t.addEventListener("playing",e),this.tryPlayVideo(t)},t.prototype.isVideoPlaying=function(t){return t.currentTime>0&&!t.paused&&!t.ended&&t.readyState>2},t.prototype.tryPlayVideo=function(t){return p(this,void 0,void 0,(function(){return f(this,(function(e){switch(e.label){case 0:if(this.isVideoPlaying(t))return console.warn("Trying to play video that is already playing."),[2];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,t.play()];case 2:return e.sent(),[3,4];case 3:return e.sent(),console.warn("It was not possible to play the video."),[3,4];case 4:return[2]}}))}))},t.prototype.getMediaElement=function(t,e){var r=document.getElementById(t);if(!r)throw new n.a("element with id '"+t+"' not found");if(r.nodeName.toLowerCase()!==e.toLowerCase())throw new n.a("element with id '"+t+"' must be an "+e+" element");return r},t.prototype.decodeFromImage=function(t,e){if(!t&&!e)throw new n.a("either imageElement with a src set or an url must be provided");return e&&!t?this.decodeFromImageUrl(e):this.decodeFromImageElement(t)},t.prototype.decodeFromVideo=function(t,e){if(!t&&!e)throw new n.a("Either an element with a src set or an URL must be provided");return e&&!t?this.decodeFromVideoUrl(e):this.decodeFromVideoElement(t)},t.prototype.decodeFromVideoContinuously=function(t,e,r){if(void 0===t&&void 0===e)throw new n.a("Either an element with a src set or an URL must be provided");return e&&!t?this.decodeFromVideoUrlContinuously(e,r):this.decodeFromVideoElementContinuously(t,r)},t.prototype.decodeFromImageElement=function(t){if(!t)throw new n.a("An image element must be provided.");this.reset();var e=this.prepareImageElement(t);return this.imageElement=e,this.isImageLoaded(e)?this.decodeOnce(e,!1,!0):this._decodeOnLoadImage(e)},t.prototype.decodeFromVideoElement=function(t){var e=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideo(e)},t.prototype.decodeFromVideoElementContinuously=function(t,e){var r=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideoContinuously(r,e)},t.prototype._decodeFromVideoElementSetup=function(t){if(!t)throw new n.a("A video element must be provided.");this.reset();var e=this.prepareVideoElement(t);return this.videoElement=e,e},t.prototype.decodeFromImageUrl=function(t){if(!t)throw new n.a("An URL must be provided.");this.reset();var e=this.prepareImageElement();this.imageElement=e;var r=this._decodeOnLoadImage(e);return e.src=t,r},t.prototype.decodeFromVideoUrl=function(t){if(!t)throw new n.a("An URL must be provided.");this.reset();var e=this.prepareVideoElement(),r=this.decodeFromVideoElement(e);return e.src=t,r},t.prototype.decodeFromVideoUrlContinuously=function(t,e){if(!t)throw new n.a("An URL must be provided.");this.reset();var r=this.prepareVideoElement(),o=this.decodeFromVideoElementContinuously(r,e);return r.src=t,o},t.prototype._decodeOnLoadImage=function(t){var e=this;return new Promise((function(r,n){e.imageLoadedListener=function(){return e.decodeOnce(t,!1,!0).then(r,n)},t.addEventListener("load",e.imageLoadedListener)}))},t.prototype._decodeOnLoadVideo=function(t){return p(this,void 0,void 0,(function(){return f(this,(function(e){switch(e.label){case 0:return[4,this.playVideoOnLoadAsync(t)];case 1:return e.sent(),[4,this.decodeOnce(t)];case 2:return[2,e.sent()]}}))}))},t.prototype._decodeOnLoadVideoContinuously=function(t,e){return p(this,void 0,void 0,(function(){return f(this,(function(r){switch(r.label){case 0:return[4,this.playVideoOnLoadAsync(t)];case 1:return r.sent(),this.decodeContinuously(t,e),[2]}}))}))},t.prototype.isImageLoaded=function(t){return!!t.complete&&0!==t.naturalWidth},t.prototype.prepareImageElement=function(t){var e;return"undefined"===typeof t&&((e=document.createElement("img")).width=200,e.height=200),"string"===typeof t&&(e=this.getMediaElement(t,"img")),t instanceof HTMLImageElement&&(e=t),e},t.prototype.prepareVideoElement=function(t){var e;return t||"undefined"===typeof document||((e=document.createElement("video")).width=200,e.height=200),"string"===typeof t&&(e=this.getMediaElement(t,"video")),t instanceof HTMLVideoElement&&(e=t),e.setAttribute("autoplay","true"),e.setAttribute("muted","true"),e.setAttribute("playsinline","true"),e},t.prototype.decodeOnce=function(t,e,r){var n=this;void 0===e&&(e=!0),void 0===r&&(r=!0),this._stopAsyncDecode=!1;return new Promise((function(o,a){return function o(a,u){if(n._stopAsyncDecode)return u(new c.a("Video stream has ended before any code could be detected.")),void(n._stopAsyncDecode=void 0);try{a(n.decode(t))}catch(f){var l=e&&f instanceof c.a,p=f instanceof i.a||f instanceof s.a;if(l||p&&r)return setTimeout(o,n._timeBetweenDecodingAttempts,a,u);u(f)}}(o,a)}))},t.prototype.decodeContinuously=function(t,e){var r=this;this._stopContinuousDecode=!1;!function n(){if(r._stopContinuousDecode)r._stopContinuousDecode=void 0;else try{var o=r.decode(t);e(o,null),setTimeout(n,r.timeBetweenScansMillis)}catch(l){e(null,l);var a=l instanceof i.a||l instanceof s.a,u=l instanceof c.a;(a||u)&&setTimeout(n,r._timeBetweenDecodingAttempts)}}()},t.prototype.decode=function(t){var e=this.createBinaryBitmap(t);return this.decodeBitmap(e)},t.prototype.createBinaryBitmap=function(t){var e=this.getCaptureCanvasContext(t);this.drawImageOnCanvas(e,t);var r=this.getCaptureCanvas(t),n=new u.a(r),i=new a.a(n);return new o.a(i)},t.prototype.getCaptureCanvasContext=function(t){if(!this.captureCanvasContext){var e=this.getCaptureCanvas(t).getContext("2d");this.captureCanvasContext=e}return this.captureCanvasContext},t.prototype.getCaptureCanvas=function(t){if(!this.captureCanvas){var e=this.createCaptureCanvas(t);this.captureCanvas=e}return this.captureCanvas},t.prototype.drawImageOnCanvas=function(t,e){t.drawImage(e,0,0)},t.prototype.decodeBitmap=function(t){return this.reader.decode(t,this._hints)},t.prototype.createCaptureCanvas=function(t){if("undefined"===typeof document)return this._destroyCaptureCanvas(),null;var e,r,n=document.createElement("canvas");return"undefined"!==typeof t&&(t instanceof HTMLVideoElement?(e=t.videoWidth,r=t.videoHeight):t instanceof HTMLImageElement&&(e=t.naturalWidth||t.width,r=t.naturalHeight||t.height)),n.style.width=e+"px",n.style.height=r+"px",n.width=e,n.height=r,n},t.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach((function(t){return t.stop()})),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()},t.prototype.reset=function(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()},t.prototype._destroyVideoElement=function(){this.videoElement&&("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)},t.prototype._destroyImageElement=function(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)},t.prototype._destroyCaptureCanvas=function(){this.captureCanvasContext=void 0,this.captureCanvas=void 0},t.prototype.addVideoSource=function(t,e){try{t.srcObject=e}catch(r){t.src=URL.createObjectURL(e)}},t.prototype.cleanVideoSource=function(t){try{t.srcObject=null}catch(e){t.src=""}this.videoElement.removeAttribute("src")},t}()},function(t,e,r){"use strict";var n=r(39),o=r.n(n),i=r(40),a=r.n(i),s=r(11),c=r.n(s),u=r(177),l=r(149),p=r.n(l),f=function(){function t(e){o()(this,t),this.handlers=new Set(e)}return a()(t,[{key:"addHandlers",value:function(e){var r=new Set(this.handlers);return e.forEach((function(t){r.delete(t),r.add(t)})),new t(r)}},{key:"dispatchEvent",value:function(t,e){e?this.handlers.forEach((function(e){e(t)})):p()(this.handlers).pop()(t)}},{key:"hasHandlers",value:function(){return this.handlers.size>0}},{key:"removeHandlers",value:function(e){var r=new Set(this.handlers);return e.forEach((function(t){r.delete(t)})),new t(r)}}]),t}(),A=function(){function t(e,r){o()(this,t),this.handlerSets=r,this.poolName=e}return a()(t,[{key:"addHandlers",value:function(e,r){var n=new Map(this.handlerSets);return n.has(e)?n.set(e,n.get(e).addHandlers(r)):n.set(e,new f(r)),new t(this.poolName,n)}},{key:"dispatchEvent",value:function(t,e){var r=this.handlerSets.get(t);r&&r.dispatchEvent(e,"default"===this.poolName)}},{key:"hasHandlers",value:function(t){var e=this.handlerSets.get(t);return!!e&&e.hasHandlers()}},{key:"removeHandlers",value:function(e,r){var n=new Map(this.handlerSets);if(!n.has(e))return new t(this.poolName,n);var o=n.get(e).removeHandlers(r);return o.hasHandlers()?n.set(e,o):n.delete(e),new t(this.poolName,n)}}]),t}();c()(A,"createByType",(function(t,e,r){var n=new Map;return n.set(e,new f(r)),new A(t,n)}));var h=function(){function t(e){o()(this,t),c()(this,"handlers",new Map),c()(this,"pools",new Map),c()(this,"createEmitter",(function(t,e){return function(r){e.forEach((function(e){e.dispatchEvent(t,r)}))}})),this.target=e}return a()(t,[{key:"addHandlers",value:function(t,e,r){this.removeTargetHandler(e),this.pools.has(t)?this.pools.set(t,this.pools.get(t).addHandlers(e,r)):this.pools.set(t,A.createByType(t,e,r)),this.addTargetHandler(e)}},{key:"hasHandlers",value:function(){return this.handlers.size>0}},{key:"removeHandlers",value:function(t,e,r){var n=this.pools.get(t);if(n){var o=n.removeHandlers(e,r);o.hasHandlers(e)?(this.removeTargetHandler(e),this.pools.set(t,o)):(this.removeTargetHandler(e),this.pools.delete(t)),this.pools.size>0&&this.addTargetHandler(e)}}},{key:"addTargetHandler",value:function(t){var e=this.createEmitter(t,this.pools);this.handlers.set(t,e),this.target.addEventListener(t,e)}},{key:"removeTargetHandler",value:function(t){this.handlers.has(t)&&(this.target.removeEventListener(t,this.handlers.get(t)),this.handlers.delete(t))}}]),t}(),d=r(73),b=r.n(d),M=function(t){return b()(t)?t:[t]},g=function(t){return"document"===t?document:"window"===t?window:t||document},m=new(function(){function t(){var e=this;o()(this,t),c()(this,"targets",new Map),c()(this,"getTarget",(function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=g(t);if(e.targets.has(n))return e.targets.get(n);if(!r)return null;var o=new h(n);return e.targets.set(n,o),o})),c()(this,"removeTarget",(function(t){e.targets.delete(g(t))}))}return a()(t,[{key:"sub",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Object(u.a)()){var n=r.target,o=void 0===n?document:n,i=r.pool,a=void 0===i?"default":i,s=this.getTarget(o);s.addHandlers(a,t,M(e))}}},{key:"unsub",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Object(u.a)()){var n=r.target,o=void 0===n?document:n,i=r.pool,a=void 0===i?"default":i,s=this.getTarget(o,!1);s&&(s.removeHandlers(a,t,M(e)),s.hasHandlers()||this.removeTarget(o))}}}]),t}());e.a=m},function(t,e){t.exports=function(t){return null===t||void 0===t}},function(t,e,r){var n=r(660);t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},function(t,e,r){var n=r(164).has;t.exports=function(t){return n(t),t}},function(t,e,r){var n=r(41),o=r(126),i=r(77),a=/"/g,s=n("".replace);t.exports=function(t,e,r,n){var c=i(o(t)),u="<"+e;return""!==r&&(u+=" "+r+'="'+s(i(n),a,""")+'"'),u+">"+c+""}},function(t,e,r){var n=r(35);t.exports=function(t){return n((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},function(t,e,r){"use strict";var n=r(739),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function a(t){return"undefined"===typeof t}function s(t){return null!==t&&"object"===typeof t}function c(t){return"[object Function]"===o.call(t)}function u(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),i(t))for(var r=0,n=t.length;r1&&0===e[0]){for(var n=1;na.length){var s=r;r=a,a=s}var c=new Int32Array(a.length),u=a.length-r.length;o.a.arraycopy(a,0,c,0,u);for(var l=u;l=t.getDegree()&&!n.isZero();){var s=n.getDegree()-t.getDegree(),c=e.multiply(n.getCoefficient(n.getDegree()),a),u=t.multiplyByMonomial(s,c),l=e.buildMonomial(s,c);r=r.addOrSubtract(l),n=n.addOrSubtract(u)}return[r,n]},t.prototype.toString=function(){for(var t="",e=this.getDegree();e>=0;e--){var r=this.getCoefficient(e);if(0!==r){if(r<0?(t+=" - ",r=-r):t.length>0&&(t+=" + "),0===e||1!==r){var n=this.field.log(r);0===n?t+="1":1===n?t+="a":(t+="a^",t+=n)}0!==e&&(1===e?t+="x":(t+="x^",t+=e))}}return t},t}();e.a=a},function(t,e,r){"use strict";function n(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(u){return void r(u)}s.done?e(c):Promise.resolve(c).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function s(t){n(a,o,i,s,c,"next",t)}function c(t){n(a,o,i,s,c,"throw",t)}s(void 0)}))}}r.d(e,"a",(function(){return o}))},function(t,e,r){var n=r(41),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,e,r){var n=r(134),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e,r){var n=r(41),o=r(206),i=r(127),a=i.Set,s=i.proto,c=n(s.forEach),u=n(s.keys),l=u(new a).next;t.exports=function(t,e,r){return r?o(u(t),e,l):c(t,e)}},function(t,e,r){"use strict";(function(e){"undefined"===typeof e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,r,n,o){if("function"!==typeof t)throw new TypeError('"callback" argument must be a function');var i,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,r)}));case 3:return e.nextTick((function(){t.call(null,r,n)}));case 4:return e.nextTick((function(){t.call(null,r,n,o)}));default:for(i=new Array(s-1),a=0;a(i>>1)-1?(i>>1)-c:c,a.isubn(s)):s=0,o[n]=s,a.iushrn(1)}return o},n.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n,o=0,i=0;t.cmpn(-o)>0||e.cmpn(-i)>0;){var a,s,c=t.andln(3)+o&3,u=e.andln(3)+i&3;3===c&&(c=-1),3===u&&(u=-1),a=0===(1&c)?0:3!==(n=t.andln(7)+o&7)&&5!==n||2!==u?c:-c,r[0].push(a),s=0===(1&u)?0:3!==(n=e.andln(7)+i&7)&&5!==n||2!==c?u:-u,r[1].push(s),2*o===a+1&&(o=1-o),2*i===s+1&&(i=1-i),t.iushrn(1),e.iushrn(1)}return r},n.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(t){return"string"===typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new o(t,"hex","le")}},function(t,e,r){"use strict";var n=e,o=r(186),i=r(128),a=r(564);n.assert=i,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var o=1<(o>>1)-1?(o>>1)-c:c,i.isubn(s)):s=0,n[a]=s,i.iushrn(1)}return n},n.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n,o=0,i=0;t.cmpn(-o)>0||e.cmpn(-i)>0;){var a,s,c=t.andln(3)+o&3,u=e.andln(3)+i&3;3===c&&(c=-1),3===u&&(u=-1),a=0===(1&c)?0:3!==(n=t.andln(7)+o&7)&&5!==n||2!==u?c:-c,r[0].push(a),s=0===(1&u)?0:3!==(n=e.andln(7)+i&7)&&5!==n||2!==c?u:-u,r[1].push(s),2*o===a+1&&(o=1-o),2*i===s+1&&(i=1-i),t.iushrn(1),e.iushrn(1)}return r},n.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(t){return"string"===typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new o(t,"hex","le")}},function(t,e,r){var n=r(214),o=r(592);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(1677),o=r(1678),i=r(890),a=r(1679);t.exports=function(t){return n(t)||o(t)||i(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(22),o=r(20),i=r(37),a=r(114);function s(t,e){var r,s,c,u,l,p,f,A;Object(o.a)(1,arguments);var h=Object(a.a)(),d=Object(i.a)(null!==(r=null!==(s=null!==(c=null!==(u=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==u?u:null===e||void 0===e||null===(l=e.locale)||void 0===l||null===(p=l.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==c?c:h.weekStartsOn)&&void 0!==s?s:null===(f=h.locale)||void 0===f||null===(A=f.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==r?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var b=Object(n.default)(t),M=b.getUTCDay(),g=(M=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(t){for(var e=[],r=1;r=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},p=function(){function t(t,e){for(var r,n,o=[],i=2;i40)throw new u.a;return t.VERSIONS[e-1]},t.decodeVersionInformation=function(e){for(var r=Number.MAX_SAFE_INTEGER,n=0,i=0;i6&&(e.setRegion(t-11,0,3,6),e.setRegion(0,t-11,6,3)),e},t.prototype.toString=function(){return""+this.versionNumber},t.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),t.VERSIONS=[new t(1,new Int32Array(0),new a(7,new 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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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 t(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)))],t}();e.a=p},function(t,e,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(t){for(var e=1;eg;g++)if((O=E(t[g]))&&u(d,O))return O;return new h(!1)}b=l(t,M)}for(v=_?t.next:b.next;!(y=o(v,b)).done;){try{O=E(y.value)}catch(R){f(b,"throw",R)}if("object"==typeof O&&O&&u(d,O))return O}return new h(!1)}},function(t,e,r){var n=r(518),o=r(63),i=r(142),a=r(64)("toStringTag"),s=Object,c="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=s(t),a))?r:c?i(e):"Object"==(n=i(e))&&o(e.callee)?"Arguments":n}},function(t,e,r){var n=r(41),o=Map.prototype;t.exports={Map:Map,set:n(o.set),get:n(o.get),has:n(o.has),remove:n(o.delete),proto:o}},function(t,e,r){var n=r(41),o=r(206),i=r(164),a=i.Map,s=i.proto,c=n(s.forEach),u=n(s.entries),l=u(new a).next;t.exports=function(t,e,r){return r?o(u(t),(function(t){return e(t[1],t[0])}),l):c(t,e)}},function(t,e,r){var n=r(311),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},function(t,e,r){"use strict";var n=r(128),o=r(38);function i(t,e){return 55296===(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320===(64512&t.charCodeAt(e+1)))}function a(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function c(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=o,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"===typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(t="0"+t),o=0;o>6|192,r[n++]=63&a|128):i(t,o)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++o)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(o=0;o>>0}return a},e.split32=function(t,e){for(var r=new Array(4*t.length),n=0,o=0;n>>24,r[o+1]=i>>>16&255,r[o+2]=i>>>8&255,r[o+3]=255&i):(r[o+3]=i>>>24,r[o+2]=i>>>16&255,r[o+1]=i>>>8&255,r[o]=255&i)}return r},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,r){return t+e+r>>>0},e.sum32_4=function(t,e,r,n){return t+e+r+n>>>0},e.sum32_5=function(t,e,r,n,o){return t+e+r+n+o>>>0},e.sum64=function(t,e,r,n){var o=t[e],i=n+t[e+1]>>>0,a=(i>>0,t[e+1]=i},e.sum64_hi=function(t,e,r,n){return(e+n>>>0>>0},e.sum64_lo=function(t,e,r,n){return e+n>>>0},e.sum64_4_hi=function(t,e,r,n,o,i,a,s){var c=0,u=e;return c+=(u=u+n>>>0)>>0)>>0)>>0},e.sum64_4_lo=function(t,e,r,n,o,i,a,s){return e+n+i+s>>>0},e.sum64_5_hi=function(t,e,r,n,o,i,a,s,c,u){var l=0,p=e;return l+=(p=p+n>>>0)>>0)>>0)>>0)>>0},e.sum64_5_lo=function(t,e,r,n,o,i,a,s,c,u){return e+n+i+s+u>>>0},e.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},e.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},e.shr64_hi=function(t,e,r){return t>>>r},e.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},function(t,e){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){"use strict";e.__esModule=!0;var n,o=r(845),i=(n=o)&&n.__esModule?n:{default:n};e.default=function(){function t(t,e){for(var r=0;r=0&&this.structuredAppendSequenceNumber>=0},t.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},t.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},t}();e.a=n},function(t,e,r){"use strict";var n=r(90),o=r(140),i=r(254),a=r(104),s=function(){function t(t){this.field=t}return t.prototype.decode=function(t,e){for(var r=this.field,a=new o.a(r,t),s=new Int32Array(e),c=!0,u=0;u=(r/2|0);){var p=s,f=u;if(u=l,(s=c).isZero())throw new i.a("r_{i-1} was zero");c=p;for(var A=o.getZero(),h=s.getCoefficient(s.getDegree()),d=o.inverse(h);c.getDegree()>=s.getDegree()&&!c.isZero();){var b=c.getDegree()-s.getDegree(),M=o.multiply(c.getCoefficient(c.getDegree()),d);A=A.addOrSubtract(o.buildMonomial(b,M)),c=c.addOrSubtract(s.multiplyByMonomial(b,M))}if(l=A.multiply(u).addOrSubtract(f),c.getDegree()>=s.getDegree())throw new a.a("Division algorithm failed to reduce polynomial?")}var g=l.getCoefficient(0);if(0===g)throw new i.a("sigmaTilde(0) was zero");var m=o.inverse(g);return[l.multiplyScalar(m),c.multiplyScalar(m)]},t.prototype.findErrorLocations=function(t){var e=t.getDegree();if(1===e)return Int32Array.from([t.getCoefficient(1)]);for(var r=new Int32Array(e),n=0,o=this.field,a=1;a=t.FOR_BITS.size)throw new i.a;return t.FOR_BITS.get(e)},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.L=new t(n.L,"L",1),t.M=new t(n.M,"M",0),t.Q=new t(n.Q,"Q",3),t.H=new t(n.H,"H",2),t}();e.a=a},function(t,e,r){"use strict";function n(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(157),o=r.n(n),i=r(49),a=r.n(i),s="object"===("undefined"===typeof document?"undefined":o()(document))&&null!==document,c="object"===("undefined"===typeof window?"undefined":o()(window))&&null!==window&&window.self===window;e.a=function t(){return a()(t.override)?s&&c:t.override}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return a})),r.d(e,"c",(function(){return s}));var n=["D","DD"],o=["YY","YYYY"];function i(t){return-1!==n.indexOf(t)}function a(t){return-1!==o.indexOf(t)}function s(t,e,r){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},function(t,e){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(t,e,r){var n,o=r(62),i=r(505),a=r(507),s=r(315),c=r(661),u=r(380),l=r(381),p=l("IE_PROTO"),f=function(){},A=function(t){return"