tweb/public/vendors~index.chunk.js

1 line
60 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{101:function(t,e,r){window,t.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([function(t,e,r){var n,i,o=function(){var t=function(t,e){var r=t,n=i[e],a=null,g=0,v=null,y=[],p={},b=function(t,e){a=function(t){for(var e=new Array(t),r=0;r<t;r+=1){e[r]=new Array(t);for(var n=0;n<t;n+=1)e[r][n]=null}return e}(g=4*r+17),m(0,0),m(g-7,0),m(0,g-7),_(),k(),A(t,e),r>=7&&x(t),null==v&&(v=S(r,n,y)),C(v,e)},m=function(t,e){for(var r=-1;r<=7;r+=1)if(!(t+r<=-1||g<=t+r))for(var n=-1;n<=7;n+=1)e+n<=-1||g<=e+n||(a[t+r][e+n]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)},k=function(){for(var t=8;t<g-8;t+=1)null==a[t][6]&&(a[t][6]=t%2==0);for(var e=8;e<g-8;e+=1)null==a[6][e]&&(a[6][e]=e%2==0)},_=function(){for(var t=o.getPatternPosition(r),e=0;e<t.length;e+=1)for(var n=0;n<t.length;n+=1){var i=t[e],s=t[n];if(null==a[i][s])for(var f=-2;f<=2;f+=1)for(var u=-2;u<=2;u+=1)a[i+f][s+u]=-2==f||2==f||-2==u||2==u||0==f&&0==u}},x=function(t){for(var e=o.getBCHTypeNumber(r),n=0;n<18;n+=1){var i=!t&&1==(e>>n&1);a[Math.floor(n/3)][n%3+g-8-3]=i}for(n=0;n<18;n+=1)i=!t&&1==(e>>n&1),a[n%3+g-8-3][Math.floor(n/3)]=i},A=function(t,e){for(var r=n<<3|e,i=o.getBCHTypeInfo(r),s=0;s<15;s+=1){var f=!t&&1==(i>>s&1);s<6?a[s][8]=f:s<8?a[s+1][8]=f:a[g-15+s][8]=f}for(s=0;s<15;s+=1)f=!t&&1==(i>>s&1),s<8?a[8][g-s-1]=f:s<9?a[8][15-s-1+1]=f:a[8][15-s-1]=f;a[g-8][8]=!t},C=function(t,e){for(var r=-1,n=g-1,i=7,s=0,f=o.getMaskFunction(e),u=g-1;u>0;u-=2)for(6==u&&(u-=1);;){for(var h=0;h<2;h+=1)if(null==a[n][u-h]){var c=!1;s<t.length&&(c=1==(t[s]>>>i&1)),f(n,u-h)&&(c=!c),a[n][u-h]=c,-1==(i-=1)&&(s+=1,i=7)}if((n+=r)<0||g<=n){n-=r,r=-r;break}}},S=function(t,e,r){for(var n=f.getRSBlocks(t,e),i=u(),a=0;a<r.length;a+=1){var h=r[a];i.put(h.getMode(),4),i.put(h.getLength(),o.getLengthInBits(h.getMode(),t)),h.write(i)}var c=0;for(a=0;a<n.length;a+=1)c+=n[a].dataCount;if(i.getLengthInBits()>8*c)throw"code length overflow. ("+i.getLengthInBits()+">"+8*c+")";for(i.getLengthInBits()+4<=8*c&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*c||(i.put(236,8),i.getLengthInBits()>=8*c));)i.put(17,8);return function(t,e){for(var r=0,n=0,i=0,a=new Array(e.length),f=new Array(e.length),u=0;u<e.length;u+=1){var h=e[u].dataCount,c=e[u].totalCount-h;n=Math.max(n,h),i=Math.max(i,c),a[u]=new Array(h);for(var l=0;l<a[u].length;l+=1)a[u][l]=255&t.getBuffer()[l+r];r+=h;var d=o.getErrorCorrectPolynomial(c),g=s(a[u],d.getLength()-1).mod(d);for(f[u]=new Array(d.getLength()-1),l=0;l<f[u].length;l+=1){var v=l+g.getLength()-f[u].length;f[u][l]=v>=0?g.getAt(v):0}}var w=0;for(l=0;l<e.length;l+=1)w+=e[l].totalCount;var y=new Array(w),p=0;for(l=0;l<n;l+=1)for(u=0;u<e.length;u+=1)l<a[u].length&&(y[p]=a[u][l],p+=1);for(l=0;l<i;l+=1)for(u=0;u<e.length;u+=1)l<f[u].length&&(y[p]=f[u][l],p+=1);return y}(i,n)};p.addData=function(t,e){var r=null;switch(e=e||"Byte"){case"Numeric":r=h(t);break;case"Alphanumeric":r=c(t);break;case"Byte":r=l(t);break;case"Kanji":r=d(t);break;default:throw"mode:"+e}y.push(r),v=null},p.isDark=function(t,e){if(t<0||g<=t||e<0||g<=e)throw t+","+e;return a[t][e]},p.getModuleCount=function(){return g},p.make=function(){if(r<1){for(var t=1;t<40;t++){for(var e=f.getRSBlocks(t,n),i=u(),a=0;a<y.length;a++){var s=y[a];i.put(s.getMode(),4),i.put(s.getLength(),o.getLengthInBits(s.getMode(),t)),s.write(i)}var h=0;for(a=0;a<e.length;a++)h+=e[a].dataCount;if(i.getLengthInBits()<=8*h)break}r=t}b(!1,function(){for(var t=0,e=0,r=0;r<8;r+=1){b(!0,r);var n=o.getLostPoint(p);(0==r||t>n)&&(t=n,e=r)}return e}())},p.createTableTag=function(t,e){t=t||2;var r="";r+='<table style="',r+=" border-width: 0px; border-style: none;",r+=" border-collapse: collapse;",r+=" padding: 0px; margin: "+(e=void 0===e?4*t:e)+"px;",r+='">',r+="<tbody>";for(var n=0;n<p.getModuleCount();n+=1){r+="<tr>";for(var i=0;i<p.getModuleCount();i+=1)r+='<td style="',r+=" border-width: 0px; border-style: none;",r+=" border-collapse: collapse;",r+=" padding: 0px; margin: 0px;",r+=" width: "+t+"px;",r+=" height: "+t+"px;",r+=" background-color: ",r+=p.isDark(n,i)?"#000000":"#ffffff",r+=";",r+='"/>';r+="</tr>"}return(r+="</tbody>")+"</table>"},p.createSvgTag=function(t,e,r,n){var i={};"object"==typeof arguments[0]&&(t=(i=arguments[0]).cellSize,e=i.margin,r=i.alt,n=i.title),t=t||2,e=void 0===e?4*t:e,(r="string"==typeof r?{text:r}:r||{}).text=r.text||null,r.id=r.text?r.id||"qrcode-description":null,(n="string"==typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-title":null;var o,a,s,f,u=p.getModuleCount()*t+2*e,h="";for(f="l"+t+",0 0,"+t+" -"+t+",0 0,-"+t+"z ",h+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',h+=i.scalable?"":' width="'+u+'px" height="'+u+'px"',h+=' viewBox="0 0 '+u+" "+u+'" ',h+=' preserveAspectRatio="xMinYMin meet"',h+=n.text||r.text?' role="img" aria-labelledby="'+B([n.id,r.id].join(" ").trim())+'"':"",h+=">",h+=n.text?'<title id="'+B(n.id)+'">'+B(n.text)+"</title>":"",h+=r.text?'<description id="'+B(r.id)+'">'+B(r.text)+"</description>":"",h+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',h+='<path d="',a=0;a<p.getModuleCount();a+=1)for(s=a*t+e,o=0;o<p.getModuleCount();o+=1)p.isDark(a,o)&&(h+="M"+(o*t+e)+","+s+f);return(h+='" stroke="transparent" fill="black"/>')+"</svg>"},p.createDataURL=function(t,e){t=t||2,e=void 0===e?4*t:e;var r=p.getModuleCount()*t+2*e,n=e,i=r-e;return w(r,r,(function(e,r){if(n<=e&&e<i&&n<=r&&r<i){var o=Math.floor((e-n)/t),a=Math.floor((r-n)/t);return p.isDark(a,o)?0:1}return 1}))},p.createImgTag=function(t,e,r){t=t||2,e=void 0===e?4*t:e;var n=p.getModuleCount()*t+2*e,i="";return i+="<img",i+=' src="',i+=p.createDataURL(t,e),i+='"',i+=' width="',i+=n,i+='"',i+=' height="',i+=n,i+='"',r&&(i+=' alt="',i+=B(r),i+='"'),i+"/>"};var B=function(t){for(var e="",r=0;r<t.length;r+=1){var n=t.charAt(r);switch(n){case"<":e+="&lt;";break;case">":e+="&gt;";break;case"&":e+="&amp;";break;case'"':e+="&quot;";break;default:e+=n}}return e};return p.createASCII=function(t,e){if((t=t||1)<2)return function(t){t=void 0===t?2:t;var e,r,n,i,o,a=1*p.getModuleCount()+2*t,s=t,f=a-t,u={"██":"█","█ ":"▀"," █":"▄"," ":" "},h={"██":"▀","█ ":"▀"," █":" "," ":" "},c="";for(e=0;e<a;e+=2){for(n=Math.floor((e-s)/1),i=Math.floor((e+1-s)/1),r=0;r<a;r+=1)o="█",s<=r&&r<f&&s<=e&&e<f&&p.isDark(n,Math.floor((r-s)/1))&&(o=" "),s<=r&&r<f&&s<=e+1&&e+1<f&&p.isDark(i,Math.floor((r-s)/1))?o+=" ":o+="█",c+=t<1&&e+1>=f?h[o]:u[o];c+="\n"}return a%2&&t>0?c.substring(0,c.length-a-1)+Array(a+1).join("▀"):c.substring(0,c.length-1)}(e);t-=1,e=void 0===e?2*t:e;var r,n,i,o,a=p.getModuleCount()*t+2*e,s=e,f=a-e,u=Array(t+1).join("██"),h=Array(t+1).join(" "),c="",l="";for(r=0;r<a;r+=1){for(i=Math.floor((r-s)/t),l="",n=0;n<a;n+=1)o=1,s<=n&&n<f&&s<=r&&r<f&&p.isDark(i,Math.floor((n-s)/t))&&(o=0),l+=o?u:h;for(i=0;i<t;i+=1)c+=l+"\n"}return c.substring(0,c.length-1)},p.renderTo2dContext=function(t,e){e=e||2;for(var r=p.getModuleCount(),n=0;n<r;n++)for(var i=0;i<r;i++)t.fillStyle=p.isDark(n,i)?"black":"white",t.fillRect(n*e,i*e,e,e)},p};t.stringToBytes=(t.stringToBytesFuncs={default:function(t){for(var e=[],r=0;r<t.length;r+=1){var n=t.charCodeAt(r);e.push(255&n)}return e}}).default,t.createStringToBytes=function(t,e){var r=function(){for(var r=v(t),n=function(){var t=r.read();if(-1==t)throw"eof";return t},i=0,o={};;){var a=r.read();if(-1==a)break;var s=n(),f=n()<<8|n();o[String.fromCharCode(a<<8|s)]=f,i+=1}if(i!=e)throw i+" != "+e;return o}(),n="?".charCodeAt(0);return function(t){for(var e=[],i=0;i<t.length;i+=1){var o=t.charCodeAt(i);if(o<128)e.push(o);else{var a=r[t.charAt(i)];"number"==typeof a?(255&a)==a?e.push(a):(e.push(a>>>8),e.push(255&a)):e.push(n)}}return e}};var e,r,n,i={L:1,M:0,Q:3,H:2},o=(e=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],n=function(t){for(var e=0;0!=t;)e+=1,t>>>=1;return e},(r={}).getBCHTypeInfo=function(t){for(var e=t<<10;n(e)-n(1335)>=0;)e^=1335<<n(e)-n(1335);return 21522^(t<<10|e)},r.getBCHTypeNumber=function(t){for(var e=t<<12;n(e)-n(7973)>=0;)e^=7973<<n(e)-n(7973);return t<<12|e},r.getPatternPosition=function(t){return e[t-1]},r.getMaskFunction=function(t){switch(t){case 0:return function(t,e){return(t+e)%2==0};case 1:return function(t,e){return t%2==0};case 2:return function(t,e){return e%3==0};case 3:return function(t,e){return(t+e)%3==0};case 4:return function(t,e){return(Math.floor(t/2)+Math.floor(e/3))%2==0};case 5:return function(t,e){return t*e%2+t*e%3==0};case 6:return function(t,e){return(t*e%2+t*e%3)%2==0};case 7:return function(t,e){return(t*e%3+(t+e)%2)%2==0};default:throw"bad maskPattern:"+t}},r.getErrorCorrectPolynomial=function(t){for(var e=s([1],0),r=0;r<t;r+=1)e=e.multiply(s([1,a.gexp(r)],0));return e},r.getLengthInBits=function(t,e){if(1<=e&&e<10)switch(t){case 1:return 10;case 2:return 9;case 4:case 8:return 8;default:throw"mode:"+t}else if(e<27)switch(t){case 1:return 12;case 2:return 11;case 4:return 16;case 8:return 10;default:throw"mode:"+t}else{if(!(e<41))throw"type:"+e;switch(t){case 1:return 14;case 2:return 13;case 4:return 16;case 8:return 12;default:throw"mode:"+t}}},r.getLostPoint=function(t){for(var e=t.getModuleCount(),r=0,n=0;n<e;n+=1)for(var i=0;i<e;i+=1){for(var o=0,a=t.isDark(n,i),s=-1;s<=1;s+=1)if(!(n+s<0||e<=n+s))for(var f=-1;f<=1;f+=1)i+f<0||e<=i+f||0==s&&0==f||a==t.isDark(n+s,i+f)&&(o+=1);o>5&&(r+=3+o-5)}for(n=0;n<e-1;n+=1)for(i=0;i<e-1;i+=1){var u=0;t.isDark(n,i)&&(u+=1),t.isDark(n+1,i)&&(u+=1),t.isDark(n,i+1)&&(u+=1),t.isDark(n+1,i+1)&&(u+=1),0!=u&&4!=u||(r+=3)}for(n=0;n<e;n+=1)for(i=0;i<e-6;i+=1)t.isDark(n,i)&&!t.isDark(n,i+1)&&t.isDark(n,i+2)&&t.isDark(n,i+3)&&t.isDark(n,i+4)&&!t.isDark(n,i+5)&&t.isDark(n,i+6)&&(r+=40);for(i=0;i<e;i+=1)for(n=0;n<e-6;n+=1)t.isDark(n,i)&&!t.isDark(n+1,i)&&t.isDark(n+2,i)&&t.isDark(n+3,i)&&t.isDark(n+4,i)&&!t.isDark(n+5,i)&&t.isDark(n+6,i)&&(r+=40);var h=0;for(i=0;i<e;i+=1)for(n=0;n<e;n+=1)t.isDark(n,i)&&(h+=1);return r+Math.abs(100*h/e/e-50)/5*10},r),a=function(){for(var t=new Array(256),e=new Array(256),r=0;r<8;r+=1)t[r]=1<<r;for(r=8;r<256;r+=1)t[r]=t[r-4]^t[r-5]^t[r-6]^t[r-8];for(r=0;r<255;r+=1)e[t[r]]=r;return{glog:function(t){if(t<1)throw"glog("+t+")";return e[t]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t[e]}}}();function s(t,e){if(void 0===t.length)throw t.length+"/"+e;var r=function(){for(var r=0;r<t.length&&0==t[r];)r+=1;for(var n=new Array(t.length-r+e),i=0;i<t.length-r;i+=1)n[i]=t[i+r];return n}(),n={getAt:function(t){return r[t]},getLength:function(){return r.length},multiply:function(t){for(var e=new Array(n.getLength()+t.getLength()-1),r=0;r<n.getLength();r+=1)for(var i=0;i<t.getLength();i+=1)e[r+i]^=a.gexp(a.glog(n.getAt(r))+a.glog(t.getAt(i)));return s(e,0)},mod:function(t){if(n.getLength()-t.getLength()<0)return n;for(var e=a.glog(n.getAt(0))-a.glog(t.getAt(0)),r=new Array(n.getLength()),i=0;i<n.getLength();i+=1)r[i]=n.getAt(i);for(i=0;i<t.getLength();i+=1)r[i]^=a.gexp(a.glog(t.getAt(i))+e);return s(r,0).mod(t)}};return n}var f=function(){var t=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],e=function(t,e){var r={};return r.totalCount=t,r.dataCount=e,r},r={getRSBlocks:function(r,n){var o=function(e,r){switch(r){case i.L:return t[4*(e-1)+0];case i.M:return t[4*(e-1)+1];case i.Q:return t[4*(e-1)+2];case i.H:return t[4*(e-1)+3];default:return}}(r,n);if(void 0===o)throw"bad rs block @ typeNumber:"+r+"/errorCorrectionLevel:"+n;for(var a=o.length/3,s=[],f=0;f<a;f+=1)for(var u=o[3*f+0],h=o[3*f+1],c=o[3*f+2],l=0;l<u;l+=1)s.push(e(h,c));return s}};return r}(),u=function(){var t=[],e=0,r={getBuffer:function(){return t},getAt:function(e){var r=Math.floor(e/8);return 1==(t[r]>>>7-e%8&1)},put:function(t,e){for(var n=0;n<e;n+=1)r.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return e},putBit:function(r){var n=Math.floor(e/8);t.length<=n&&t.push(0),r&&(t[n]|=128>>>e%8),e+=1}};return r},h=function(t){var e=t,r={getMode:function(){return 1},getLength:function(t){return e.length},write:function(t){for(var r=e,i=0;i+2<r.length;)t.put(n(r.substring(i,i+3)),10),i+=3;i<r.length&&(r.length-i==1?t.put(n(r.substring(i,i+1)),4):r.length-i==2&&t.put(n(r.substring(i,i+2)),7))}},n=function(t){for(var e=0,r=0;r<t.length;r+=1)e=10*e+i(t.charAt(r));return e},i=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+t};return r},c=function(t){var e=t,r={getMode:function(){return 2},getLength:function(t){return e.length},write:function(t){for(var r=e,i=0;i+1<r.length;)t.put(45*n(r.charAt(i))+n(r.charAt(i+1)),11),i+=2;i<r.length&&t.put(n(r.charAt(i)),6)}},n=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);if("A"<=t&&t<="Z")return t.charCodeAt(0)-"A".charCodeAt(0)+10;switch(t){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+t}};return r},l=function(e){var r=t.stringToBytes(e);return{getMode:function(){return 4},getLength:function(t){return r.length},write:function(t){for(var e=0;e<r.length;e+=1)t.put(r[e],8)}}},d=function(e){var r=t.stringToBytesFuncs.SJIS;if(!r)throw"sjis not supported.";!function(t,e){var n=r("友");if(2!=n.length||38726!=(n[0]<<8|n[1]))throw"sjis not supported."}();var n=r(e);return{getMode:function(){return 8},getLength:function(t){return~~(n.length/2)},write:function(t){for(var e=n,r=0;r+1<e.length;){var i=(255&e[r])<<8|255&e[r+1];if(33088<=i&&i<=40956)i-=33088;else{if(!(57408<=i&&i<=60351))throw"illegal char at "+(r+1)+"/"+i;i-=49472}i=192*(i>>>8&255)+(255&i),t.put(i,13),r+=2}if(r<e.length)throw"illegal char at "+(r+1)}}},g=function(){var t=[],e={writeByte:function(e){t.push(255&e)},writeShort:function(t){e.writeByte(t),e.writeByte(t>>>8)},writeBytes:function(t,r,n){r=r||0,n=n||t.length;for(var i=0;i<n;i+=1)e.writeByte(t[i+r])},writeString:function(t){for(var r=0;r<t.length;r+=1)e.writeByte(t.charCodeAt(r))},toByteArray:function(){return t},toString:function(){var e="";e+="[";for(var r=0;r<t.length;r+=1)r>0&&(e+=","),e+=t[r];return e+"]"}};return e},v=function(t){var e=t,r=0,n=0,i=0,o={read:function(){for(;i<8;){if(r>=e.length){if(0==i)return-1;throw"unexpected end of file./"+i}var t=e.charAt(r);if(r+=1,"="==t)return i=0,-1;t.match(/^\s$/)||(n=n<<6|a(t.charCodeAt(0)),i+=6)}var o=n>>>i-8&255;return i-=8,o}},a=function(t){if(65<=t&&t<=90)return t-65;if(97<=t&&t<=122)return t-97+26;if(48<=t&&t<=57)return t-48+52;if(43==t)return 62;if(47==t)return 63;throw"c:"+t};return o},w=function(t,e,r){for(var n=function(t,e){var r=t,n=e,i=new Array(t*e),o={setPixel:function(t,e,n){i[e*r+t]=n},write:function(t){t.writeString("GIF87a"),t.writeShort(r),t.writeShort(n),t.writeByte(128),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(255),t.writeByte(255),t.writeByte(255),t.writeString(","),t.writeShort(0),t.writeShort(0),t.writeShort(r),t.writeShort(n),t.writeByte(0);var e=a(2);t.writeByte(2);for(var i=0;e.length-i>255;)t.writeByte(255),t.writeBytes(e,i,255),i+=255;t.writeByte(e.length-i),t.writeBytes(e,i,e.length-i),t.writeByte(0),t.writeString(";")}},a=function(t){for(var e=1<<t,r=1+(1<<t),n=t+1,o=s(),a=0;a<e;a+=1)o.add(String.fromCharCode(a));o.add(String.fromCharCode(e)),o.add(String.fromCharCode(r));var f=g(),u=function(t){var e=t,r=0,n=0;return{write:function(t,i){if(t>>>i!=0)throw"length over";for(;r+i>=8;)e.writeByte(255&(t<<r|n)),i-=8-r,t>>>=8-r,n=0,r=0;n|=t<<r,r+=i},flush:function(){r>0&&e.writeByte(n)}}}(f);u.write(e,n);var h=0,c=String.fromCharCode(i[h]);for(h+=1;h<i.length;){var l=String.fromCharCode(i[h]);h+=1,o.contains(c+l)?c+=l:(u.write(o.indexOf(c),n),o.size()<4095&&(o.size()==1<<n&&(n+=1),o.add(c+l)),c=l)}return u.write(o.indexOf(c),n),u.write(r,n),u.flush(),f.toByteArray()},s=function(){var t={},e=0,r={add:function(n){if(r.contains(n))throw"dup key:"+n;t[n]=e,e+=1},size:function(){return e},indexOf:function(e){return t[e]},contains:function(e){return void 0!==t[e]}};return r};return o}(t,e),i=0;i<e;i+=1)for(var o=0;o<t;o+=1)n.setPixel(o,i,r(o,i));var a=g();n.write(a);for(var s=function(){var t=0,e=0,r=0,n="",i={},o=function(t){n+=String.fromCharCode(a(63&t))},a=function(t){if(t<0);else{if(t<26)return 65+t;if(t<52)return t-26+97;if(t<62)return t-52+48;if(62==t)return 43;if(63==t)return 47}throw"n:"+t};return i.writeByte=function(n){for(t=t<<8|255&n,e+=8,r+=1;e>=6;)o(t>>>e-6),e-=6},i.flush=function(){if(e>0&&(o(t<<6-e),t=0,e=0),r%3!=0)for(var i=3-r%3,a=0;a<i;a+=1)n+="="},i.toString=function(){return n},i}(),f=a.toByteArray(),u=0;u<f.length;u+=1)s.writeByte(f[u]);return s.flush(),"data:image/gif;base64,"+s};return t}();o.stringToBytesFuncs["UTF-8"]=function(t){return function(t){for(var e=[],r=0;r<t.length;r++){var n=t.charCodeAt(r);n<128?e.push(n):n<2048?e.push(192|n>>6,128|63&n):n<55296||n>=57344?e.push(224|n>>12,128|n>>6&63,128|63&n):(r++,n=65536+((1023&n)<<10|1023&t.charCodeAt(r)),e.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return e}(t)},void 0===(i="function"==typeof(n=function(){return o})?n.apply(e,[]):n)||(t.exports=i)},function(t,e,r){"use strict";r.r(e);var n={numeric:"Numeric",alphanumeric:"Alphanumeric",byte:"Byte",kanji:"Kanji"},i=function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},o=function(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),i=0;for(e=0;e<r;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n},a=function(t){return!!t&&"object"==typeof t&&!Array.isArray(t)};function s(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!e.length)return t;var n=e.shift();return void 0!==n&&a(t)&&a(n)?(t=i({},t),Object.keys(n).forEach((function(e){var r=t[e],i=n[e];Array.isArray(r)&&Array.isArray(i)?t[e]=r.concat(i):a(r)&&a(i)?t[e]=s(Object.assign({},r),i):t[e]=i})),s.apply(void 0,o([t],e))):t}for(var f={L:.07,M:.15,Q:.25,H:.3},u=function(){function t(t){var e=t.context,r=t.type;this._context=e,this._type=r}return t.prototype.draw=function(t,e,r,n){var i,o=this._context;switch(this._type){case"dots":i=this._drawDots;break;case"rounded":i=this._drawRounded;break;case"square":default:i=this._drawSquare}i({x:t,y:e,size:r,context:o,getNeighbor:n})},t.prototype._drawDots=function(t){var e=t.x,r=t.y,n=t.size,i=t.context;i.beginPath(),i.arc(e+n/2,r+n/2,n/2,0,2*Math.PI),i.fill()},t.prototype._drawSquare=function(t){var e=t.x,r=t.y,n=t.size;t.context.fillRect(e,r,n,n)},t.prototype._drawRounded=function(t){var e=t.x,r=t.y,n=t.size,i=t.context,o=t.getNeighbor;i.beginPath(),i.moveTo(e,r+n/2),o(-1,0)||o(0,-1)?(i.lineTo(e,r),i.lineTo(e+n/2,r)):i.arc(e+n/2,r+n/2,n/2,-Math.PI,-Math.PI/2),o(0,-1)||o(1,0)?(i.lineTo(e+n,r),i.lineTo(e+n,r+n/2)):i.arc(e+n/2,r+n/2,n/2,-Math.PI/2,0),o(1,0)||o(0,1)?(i.lineTo(e+n,r+n),i.lineTo(e+n/2,r+n)):i.arc(e+n/2,r+n/2,n/2,0,Math.PI/2),o(0,1)||o(-1,0)?(i.lineTo(e,r+n),i.lineTo(e,r+n/2)):i.arc(e+n/2,r+n/2,n/2,Math.PI/2,Math.PI),i.fill()},t}(),h=function(){function t(t){this._canvas=document.createElement("canvas"),this._canvas.width=t.width,this._canvas.height=t.height,this._options=t}return Object.defineProperty(t.prototype,"context",{get:function(){return this._canvas.getContext("2d")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._canvas.width},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._canvas.height},enumerable:!0,configurable:!0}),t.prototype.getCanvas=function(){return this._canvas},t.prototype.clear=function(){var t=this.context;t&&t.clearRect(0,0,this._canvas.width,this._canvas.height)},t.prototype.drawQR=function(t){return this.clear(),this.drawBackground(),this._qr=t,this._options.image?this.drawImageAndDots():(this.drawDots(),Promise.resolve())},t.prototype.drawBackground=function(){var t=this.context,e=this._options;t&&(t.fillStyle=e.backgroundOptions.color,t.fillRect(0,0,this._canvas.width,this._canvas.height))},t.prototype.drawDots=function(t){var e=this;if(!this._qr)throw"QR code is not defined";var r=this.context;if(!r)throw"QR code is not defined";var n=this._options,i=this._qr.getModuleCount();if(i>n.width||i>n.height)throw"The canvas is too small.";for(var o=Math.min(n.width,n.height),a=Math.floor(o/i),s=Math.floor((n.width-i*a)/2),f=Math.floor((n.height-i*a)/2),h=new u({context:r,type:n.dotsOptions.type}),c=function(o){for(var u=function(u){return t&&!t(o,u)?"continue":l._qr.isDark(o,u)?(r.fillStyle=n.dotsOptions.color,void h.draw(s+o*a,f+u*a,a,(function(r,n){return!(o+r<0||u+n<0||o+r>=i||u+n>=i)&&!(t&&!t(o+r,u+n))&&!!e._qr&&e._qr.isDark(o+r,u+n)}))):"continue"},c=0;c<i;c++)u(c)},l=this,d=0;d<i;d++)c(d)},t.prototype.drawImageAndDots=function(){var t=this;return new Promise((function(e,r){if(!t._qr)return r("QR code is not defined");var n=t.context;if(!n)return r("QR code is not defined");var i=t._options,o=t._qr.getModuleCount(),a=Math.min(i.width,i.height),s=Math.floor(a/o),u=Math.floor((i.width-o*s)/2),h=Math.floor((i.height-o*s)/2),c=new Image,l=i.imageOptions.imageSize*f[i.qrOptions.errorCorrectionLevel];if(!i.image)return r("Image is not defined");t._image=c,c.onload=function(){var r=Math.floor(l*o*o),a=function(t){var e=t.originalHeight,r=t.originalWidth,n=t.maxHiddenDots,i=t.maxHiddenAxisDots,o=t.dotSize,a={x:0,y:0},s={x:0,y:0};if(e<=0||r<=0||n<=0||o<=0)return{height:0,width:0,hideYDots:0,hideXDots:0};var f=e/r;return a.x=Math.floor(Math.sqrt(n/f)),a.x<=0&&(a.x=1),i&&i<a.x&&(a.x=i),a.x%2==0&&a.x--,s.x=a.x*o,a.y=1+2*Math.ceil((a.x*f-1)/2),s.y=Math.round(s.x*f),(a.y*a.x>n||i&&i<a.y)&&(i&&i<a.y?(a.y=i,a.y%2==0&&a.x--):a.y-=2,s.y=a.y*o,a.x=1+2*Math.ceil((a.y/f-1)/2),s.x=Math.round(s.y/f)),{height:s.y,width:s.x,hideYDots:a.y,hideXDots:a.x}}({originalWidth:c.width,originalHeight:c.height,maxHiddenDots:r,maxHiddenAxisDots:o-14,dotSize:s}),f=a.width,d=a.height,g=a.hideXDots,v=a.hideYDots;t.drawDots((function(t,e){return!i.imageOptions.hideBackgroundDots||t<(o-g)/2||t>=(o+g)/2||e<(o-v)/2||e>=(o+v)/2})),n.drawImage(c,u+(o*s-f)/2,h+(o*s-d)/2,f,d),e()},c.src=i.image}))},t}(),c={},l=0;l<=40;l++)c[l]=l;var d=c,g={L:"L",M:"M",Q:"Q",H:"H"},v={width:300,height:300,data:void 0,image:void 0,qrOptions:{typeNumber:d[0],mode:void 0,errorCorrectionLevel:g.Q},imageOptions:{hideBackgroundDots:!0,imageSize:.4},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{color:"#fff"}},w=r(0),y=r.n(w),p=function(){function t(t){this._options=t?s(v,t):v,this.update()}return t._clearContainer=function(t){t&&(t.innerHTML="")},t.prototype.update=function(e){t._clearContainer(this._container),this._options=e?s(this._options,e):this._options,this._options.data&&(this._qr=y()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||function(t){switch(!0){case/^[0-9]*$/.test(t):return n.numeric;case/^[0-9A-Z $%*+\-.\/:]*$/.test(t):return n.alphanumeric;default:return n.byte}}(this._options.data)),this._qr.make(),this._canvas=new h(this._options),this._canvas.drawQR(this._qr),this.append(this._container))},t.prototype.append=function(t){if(t){if("function"!=typeof t.appendChild)throw"Container should be a single DOM node";this._canvas&&t.appendChild(this._canvas.getCanvas()),this._container=t}},t.prototype.download=function(t){var e,r,n;this._canvas&&(e=this._canvas.getCanvas().toDataURL(t?"image/"+t:void 0),r="qr."+(t||"png"),(n=document.createElement("a")).download=r,n.href=e,document.body.appendChild(n),n.click(),document.body.removeChild(n))},t}(),b={dots:"dots",rounded:"rounded",square:"square"};r.d(e,"dotTypes",(function(){return b})),r.d(e,"errorCorrectionLevels",(function(){return g})),r.d(e,"errorCorrectionPercents",(function(){return f})),r.d(e,"modes",(function(){return n})),r.d(e,"qrTypes",(function(){return d})),e.default=p}]).default},69:function(t,e,r){"use strict";function n(t){return String.fromCharCode(t>>24&255)+String.fromCharCode(t>>16&255)+String.fromCharCode(t>>8&255)+String.fromCharCode(255&t)}Object.defineProperty(e,"__esModule",{value:!0});for(var i=String.fromCharCode(128),o=64;o--;)i+=String.fromCharCode(0);e.default=function(t){for(var e=t.length,r=e/4294967296>>>0,o=e>>>0,a=[0,0],s=a.length-1;s>=0;s-=1)a[s]+=o,o=r+(a[s]/4294967296>>>0),a[s]>>>=0,r=o/4294967296>>>0;var f,u=t,h=63&a[a.length-1]+8;u+=i.substr(0,64-h);var c=8*a[0];for(s=0;s<a.length-1;s+=1)u+=n((c+=(f=8*a[s+1])/4294967296>>>0)>>>0),c=f>>>0;var l=function(t){for(var e,r,n,i,o,a,s,f=0,u=0,h=new Uint32Array(80),c=1732584193,l=4023233417,d=2562383102,g=271733878,v=3285377520,w=t.length,y=0;w>=64;){for(e=c,r=l,n=d,i=g,o=v,f=0;f<16;f+=1)h[f]=(s=y,(a=t).charCodeAt(s)<<24^a.charCodeAt(s+1)<<16^a.charCodeAt(s+2)<<8^a.charCodeAt(s+3)),y+=4,u=(e<<5|e>>>27)+(i^r&(n^i))+o+1518500249+h[f],o=i,i=n,n=(r<<30|r>>>2)>>>0,r=e,e=u;for(;f<20;f+=1)u=(u=h[f-3]^h[f-8]^h[f-14]^h[f-16])<<1|u>>>31,h[f]=u,u=(e<<5|e>>>27)+(i^r&(n^i))+o+1518500249+u,o=i,i=n,n=(r<<30|r>>>2)>>>0,r=e,e=u;for(;f<32;f+=1)u=(u=h[f-3]^h[f-8]^h[f-14]^h[f-16])<<1|u>>>31,h[f]=u,u=(e<<5|e>>>27)+(r^n^i)+o+1859775393+u,o=i,i=n,n=(r<<30|r>>>2)>>>0,r=e,e=u;for(;f<40;f+=1)u=(u=h[f-6]^h[f-16]^h[f-28]^h[f-32])<<2|u>>>30,h[f]=u,u=(e<<5|e>>>27)+(r^n^i)+o+1859775393+u,o=i,i=n,n=(r<<30|r>>>2)>>>0,r=e,e=u;for(;f<60;f+=1)u=(u=h[f-6]^h[f-16]^h[f-28]^h[f-32])<<2|u>>>30,h[f]=u,u=(e<<5|e>>>27)+(r&n|i&(r^n))+o+2400959708+u,o=i,i=n,n=(r<<30|r>>>2)>>>0,r=e,e=u;for(;f<80;f+=1)u=(u=h[f-6]^h[f-16]^h[f-28]^h[f-32])<<2|u>>>30,h[f]=u,u=(e<<5|e>>>27)+(r^n^i)+o+3395469782+u,o=i,i=n,n=(r<<30|r>>>2)>>>0,r=e,e=u;c=c+e|0,l=l+r|0,d=d+n|0,g=g+i|0,v=v+o|0,w-=64}return{h1:c,h2:l,h3:d,h4:g,h5:v}}(u+=n(c));return n(l.h1)+n(l.h2)+n(l.h3)+n(l.h4)+n(l.h5)}},70:function(t,e,r){"use strict";function n(t,e){return t.charCodeAt(e)<<24^t.charCodeAt(e+1)<<16^t.charCodeAt(e+2)<<8^t.charCodeAt(e+3)}function i(t){return String.fromCharCode(t>>24&255)+String.fromCharCode(t>>16&255)+String.fromCharCode(t>>8&255)+String.fromCharCode(255&t)}function o(t){return("00000000"+t.toString(16)).slice(-8)}function a(t){return t||(t=new Uint32Array(8)),t[0]=1779033703,t[1]=3144134277,t[2]=1013904242,t[3]=2773480762,t[4]=1359893119,t[5]=2600822924,t[6]=528734635,t[7]=1541459225,t}r.r(e);var s=new Uint32Array(64),f=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function u(t,e){var r=t[0],n=t[1],i=t[2],o=t[3],a=t[4],u=t[5],h=t[6],c=t[7];s.set(e);for(var l=16;l<64;l+=1){w=((w=s[l-2])>>>17|w<<15)^(w>>>19|w<<13)^w>>>10,d=((d=s[l-15])>>>7|d<<25)^(d>>>18|d<<14)^d>>>3,s[l]=w+s[l-7]+d+s[l-16]}for(l=0;l<64;l+=1){var d,g=(r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10),v=r&n|i&(r^n),w=c+((a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(h^a&(u^h))+f[l]+s[l];c=h,h=u,u=a,a=o+w|0,o=i,i=n,n=r,r=w+(d=g+v)|0}t[0]+=r,t[1]+=n,t[2]+=i,t[3]+=o,t[4]+=a,t[5]+=u,t[6]+=h,t[7]+=c}function h(t,e,r,i){for(void 0===i&&(i=0);t.length>=64;){for(var o=i;o<16;o++)e[o]=n(t,4*o);t=t.slice(64-4*i),i=0,u(r,e)}return t}function c(t,e,r,n){for(void 0===n&&(n=0);t.length>=e.length-n;)e.set(t.subarray(0,e.length-n),n),t=t.subarray(e.length-n),n=0,u(r,e);return t.length>0&&(e.set(t,n),n+=t.length),n}function l(t,e,r,n){void 0===n&&(n=0);for(var i=t/4294967296>>>0,o=t>>>0,a=n+1;a<e.length;a++)e[a]=0;if(n>=14){u(r,e);for(a=0;a<e.length;a++)e[a]=0}e[14]=i<<3|i>>>28,e[15]=o<<3,u(r,e)}function d(t,e,r,i,o){for(void 0===o&&(o=0);t.length>=4;o++)r[o]=n(t,0),t=t.slice(4);o>=16&&(u(i,r),o=0),r[o]=n(t+"€\0\0\0",0),l(e,r,i,o)}function g(t,e,r,n){void 0===n&&(n=0),e[n]=2147483648,l(t,e,r,n)}function v(t,e){switch(void 0===e&&(e="array"),e){case"hex":return o(t[0])+o(t[1])+o(t[2])+o(t[3])+o(t[4])+o(t[5])+o(t[6])+o(t[7]);case"binary":return i(t[0])+i(t[1])+i(t[2])+i(t[3])+i(t[4])+i(t[5])+i(t[6])+i(t[7]);default:return t}}var w=function(){function t(t){this.buffer=new Uint32Array(16),this.state=a(t),this.length=0,this.offset=0,this.tail=""}return t.prototype.update=function(t){if("string"==typeof t)this.length+=t.length,this.tail=h(this.tail+t,this.buffer,this.state,this.offset),this.offset=0;else{if(this.tail.length>0)throw new Error("Unable to update hash-stream with array");this.length+=4*t.length,this.offset=c(t,this.buffer,this.state,this.offset)}return this},t.prototype.digest=function(t){return void 0===t&&(t="array"),this.tail.length>0?d(this.tail,this.length,this.buffer,this.state,this.offset):g(this.length,this.buffer,this.state,this.offset),v(this.state,t)},t.prototype.clear=function(){this.state=a(),this.length=0,this.offset=0,this.tail=""},t}();function y(t,e){void 0===e&&(e="array");var r=new Uint32Array(16),n=a();return"string"==typeof t?d(h(t,r,n),t.length,r,n):g(4*t.length,r,n,c(t,r,n)),v(n,e)}y.stream=function(t){return new w(t)},y.blockLength=64,y.digestLength=32,e.default=y},71:function(t,e,r){"use strict";r.r(e),r.d(e,"CTR",(function(){return y})),r.d(e,"IGE",(function(){return w}));var n=new Uint8Array(256),i=new Uint8Array(256),o=new Uint32Array(256),a=new Uint32Array(256),s=new Uint32Array(256),f=new Uint32Array(256),u=new Uint32Array(256),h=new Uint32Array(256),c=new Uint32Array(256),l=new Uint32Array(256);function d(t){if(t instanceof Uint32Array)return t;if("string"==typeof t){if(t.length%4!=0)for(var e=t.length%4;e<=4;e++)t+="\0x00";var r=new Uint32Array(t.length/4);for(e=0;e<t.length;e+=4)r[e/4]=(i=e,(n=t).charCodeAt(i)<<24^n.charCodeAt(i+1)<<16^n.charCodeAt(i+2)<<8^n.charCodeAt(i+3));return r}var n,i;if(t instanceof Uint8Array){for(r=new Uint32Array(t.length/4),e=0;e<t.length;e+=4)r[e/4]=t[e]<<24^t[e+1]<<16^t[e+2]<<8^t[e+3];return r}throw new Error("Unable to create 32-bit words")}function g(t,e,r){void 0===r&&(r=t);for(var n=0;n<t.length;n++)r[n]=t[n]^e[n]}!function(){for(var t,e,r,d,g,v=new Uint8Array(256),w=new Uint8Array(256),y=0,p=0,b=0;b<256;b++)v[b]=b<<1^283*(b>>7),w[v[b]^b]=b;for(;!n[y];y^=t||1)r=(r=p^p<<1^p<<2^p<<3^p<<4)>>8^255&r^99,n[y]=r,i[r]=y,g=16843009*v[e=v[t=v[y]]]^65537*e^257*t^16843008*y,d=257*v[r]^16843008*r,o[y]=d=d<<24^d>>>8,a[y]=d=d<<24^d>>>8,s[y]=d=d<<24^d>>>8,f[y]=d=d<<24^d>>>8,u[r]=g=g<<24^g>>>8,h[r]=g=g<<24^g>>>8,c[r]=g=g<<24^g>>>8,l[r]=g=g<<24^g>>>8,p=w[p]||1}();var v=function(){function t(t){var e=d(t);if(4!==e.length&&6!==e.length&&8!==e.length)throw new Error("Invalid key size");this.encKey=new Uint32Array(4*e.length+28),this.decKey=new Uint32Array(4*e.length+28),this.encKey.set(e);for(var r,i=1,o=e.length;o<4*e.length+28;o++)r=this.encKey[o-1],(o%e.length==0||8===e.length&&o%e.length==4)&&(r=n[r>>>24]<<24^n[r>>16&255]<<16^n[r>>8&255]<<8^n[255&r],o%e.length==0&&(r=r<<8^r>>>24^i<<24,i=i<<1^283*(i>>7))),this.encKey[o]=this.encKey[o-e.length]^r;for(var a=0;o;a++,o--)r=this.encKey[3&a?o:o-4],this.decKey[a]=o<=4||a<4?r:u[n[r>>>24]]^h[n[r>>16&255]]^c[n[r>>8&255]]^l[n[255&r]]}return t.prototype.encrypt=function(t){for(var e,r,i,u=d(t),h=new Uint32Array(4),c=u[0]^this.encKey[0],l=u[1]^this.encKey[1],g=u[2]^this.encKey[2],v=u[3]^this.encKey[3],w=this.encKey.length/4-2,y=4,p=0;p<w;p++)e=o[c>>>24]^a[l>>16&255]^s[g>>8&255]^f[255&v]^this.encKey[y],r=o[l>>>24]^a[g>>16&255]^s[v>>8&255]^f[255&c]^this.encKey[y+1],i=o[g>>>24]^a[v>>16&255]^s[c>>8&255]^f[255&l]^this.encKey[y+2],v=o[v>>>24]^a[c>>16&255]^s[l>>8&255]^f[255&g]^this.encKey[y+3],c=e,l=r,g=i,y+=4;for(p=0;p<4;p++)h[p]=n[c>>>24]<<24^n[l>>16&255]<<16^n[g>>8&255]<<8^n[255&v]^this.encKey[y++],e=c,c=l,l=g,g=v,v=e;return h},t.prototype.decrypt=function(t){for(var e,r,n,o=d(t),a=new Uint32Array(4),s=o[0]^this.decKey[0],f=o[3]^this.decKey[1],g=o[2]^this.decKey[2],v=o[1]^this.decKey[3],w=this.decKey.length/4-2,y=4,p=0;p<w;p++)e=u[s>>>24]^h[f>>16&255]^c[g>>8&255]^l[255&v]^this.decKey[y],r=u[f>>>24]^h[g>>16&255]^c[v>>8&255]^l[255&s]^this.decKey[y+1],n=u[g>>>24]^h[v>>16&255]^c[s>>8&255]^l[255&f]^this.decKey[y+2],v=u[v>>>24]^h[s>>16&255]^c[f>>8&255]^l[255&g]^this.decKey[y+3],s=e,f=r,g=n,y+=4;for(p=0;p<4;p++)a[3&-p]=i[s>>>24]<<24^i[f>>16&255]<<16^i[g>>8&255]<<8^i[255&v]^this.decKey[y++],e=s,s=f,f=g,g=v,v=e;return a},t}(),w=function(){function t(t,e,r){void 0===r&&(r=16),this.key=d(t),this.iv=d(e),this.cipher=new v(t),this.blockSize=r/4}return t.prototype.encrypt=function(t,e){for(var r=d(t),n=e||new Uint32Array(r.length),i=this.iv.subarray(this.blockSize,this.iv.length),o=this.iv.subarray(0,this.blockSize),a=new Uint32Array(this.blockSize),s=0;s<r.length;s+=this.blockSize){var f=r.subarray(s,s+this.blockSize);g(f,o,a);var u=this.cipher.encrypt(a);g(u,i),i=f,o=u;for(var h=s,c=0;h<r.length&&c<4;h++,c++)n[h]=u[c]}return n},t.prototype.decrypt=function(t,e){for(var r=d(t),n=e||new Uint32Array(r.length),i=this.iv.subarray(this.blockSize,this.iv.length),o=this.iv.subarray(0,this.blockSize),a=new Uint32Array(this.blockSize),s=0;s<n.length;s+=this.blockSize){var f=r.subarray(s,s+this.blockSize);g(f,i,a);var u=this.cipher.decrypt(a);g(u,o),o=f,i=u;for(var h=s,c=0;h<n.length&&c<4;h++,c++)n[h]=u[c]}return n},t}(),y=function(){function t(t,e,r){if(void 0===r&&(r=16),this.offset=0,this.key=d(t),this.counter=d(e),this.cipher=new v(t),this.blockSize=r/4,4!==this.counter.length)throw new Error("AES-CTR mode counter must be 16 bytes length")}return t.prototype.encrypt=function(t,e){for(var r=d(t),n=e||new Uint32Array(r.length),i=this.offset,o=0;o<r.length;o+=this.blockSize){for(var a=this.cipher.encrypt(this.counter),s=o,f=i;s<r.length&&f<this.blockSize;s++,f++)n[s]=a[f]^r[s];r.length-o>=this.blockSize&&this.incrementCounter(),i&&(o-=i,i=0)}return this.offset=(this.offset+r.length%4)%4,n},t.prototype.decrypt=function(t,e){return this.encrypt(t,e)},t.prototype.incrementCounter=function(){for(var t=this.counter.length-1;t>=0&&!(++this.counter[t]<4294967295);t--);},t}();e.default=v},72:function(t,e,r){t.exports=function t(e,r,n){function i(a,s){if(!r[a]){if(!e[a]){if(o)return o(a,!0);var f=new Error("Cannot find module '"+a+"'");throw f.code="MODULE_NOT_FOUND",f}var u=r[a]={exports:{}};e[a][0].call(u.exports,(function(t){return i(e[a][1][t]||t)}),u,u.exports,t,e,r,n)}return r[a].exports}for(var o=!1,a=0;a<n.length;a++)i(n[a]);return i}({1:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(t){for(var e,r,n=Array.prototype.slice.call(arguments,1);n.length;){var i=n.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var o in i)e=i,r=o,Object.prototype.hasOwnProperty.call(e,r)&&(t[o]=i[o])}}return t},r.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var i={arraySet:function(t,e,r,n,i){if(e.subarray&&t.subarray)t.set(e.subarray(r,r+n),i);else for(var o=0;o<n;o++)t[i+o]=e[r+o]},flattenChunks:function(t){var e,r,n,i,o,a;for(e=n=0,r=t.length;e<r;e++)n+=t[e].length;for(a=new Uint8Array(n),e=i=0,r=t.length;e<r;e++)o=t[e],a.set(o,i),i+=o.length;return a}},o={arraySet:function(t,e,r,n,i){for(var o=0;o<n;o++)t[i+o]=e[r+o]},flattenChunks:function(t){return[].concat.apply([],t)}};r.setTyped=function(t){t?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,o))},r.setTyped(n)},{}],2:[function(t,e,r){"use strict";var n=t("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var a=new n.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function f(t,e){if(e<65534&&(t.subarray&&o||!t.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var r="",a=0;a<e;a++)r+=String.fromCharCode(t[a]);return r}a[254]=a[254]=1,r.string2buf=function(t){var e,r,i,o,a,s=t.length,f=0;for(o=0;o<s;o++)55296==(64512&(r=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(i-56320),o++),f+=r<128?1:r<2048?2:r<65536?3:4;for(e=new n.Buf8(f),o=a=0;a<f;o++)55296==(64512&(r=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(i-56320),o++),r<128?e[a++]=r:(r<2048?e[a++]=192|r>>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},r.buf2binstring=function(t){return f(t,t.length)},r.binstring2buf=function(t){for(var e=new n.Buf8(t.length),r=0,i=e.length;r<i;r++)e[r]=t.charCodeAt(r);return e},r.buf2string=function(t,e){var r,n,i,o,s=e||t.length,u=new Array(2*s);for(r=n=0;r<s;)if((i=t[r++])<128)u[n++]=i;else if(4<(o=a[i]))u[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&r<s;)i=i<<6|63&t[r++],o--;1<o?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return f(u,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0||0===r?e:r+a[t[r]]>e?r:e}},{"./common":1}],3:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3<r?2e3:r;o=o+(i=i+e[n++]|0)|0,--a;);i%=65521,o%=65521}return i|o<<16|0}},{}],4:[function(t,e,r){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],5:[function(t,e,r){"use strict";var n=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,i){var o=n,a=i+r;t^=-1;for(var s=i;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}},{}],6:[function(t,e,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],7:[function(t,e,r){"use strict";e.exports=function(t,e){var r,n,i,o,a,s,f,u,h,c,l,d,g,v,w,y,p,b,m,k,_,x,A,C,S;r=t.state,n=t.next_in,C=t.input,i=n+(t.avail_in-5),o=t.next_out,S=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),f=r.dmax,u=r.wsize,h=r.whave,c=r.wnext,l=r.window,d=r.hold,g=r.bits,v=r.lencode,w=r.distcode,y=(1<<r.lenbits)-1,p=(1<<r.distbits)-1;t:do{g<15&&(d+=C[n++]<<g,g+=8,d+=C[n++]<<g,g+=8),b=v[d&y];e:for(;;){if(d>>>=m=b>>>24,g-=m,0==(m=b>>>16&255))S[o++]=65535&b;else{if(!(16&m)){if(0==(64&m)){b=v[(65535&b)+(d&(1<<m)-1)];continue e}if(32&m){r.mode=12;break t}t.msg="invalid literal/length code",r.mode=30;break t}k=65535&b,(m&=15)&&(g<m&&(d+=C[n++]<<g,g+=8),k+=d&(1<<m)-1,d>>>=m,g-=m),g<15&&(d+=C[n++]<<g,g+=8,d+=C[n++]<<g,g+=8),b=w[d&p];r:for(;;){if(d>>>=m=b>>>24,g-=m,!(16&(m=b>>>16&255))){if(0==(64&m)){b=w[(65535&b)+(d&(1<<m)-1)];continue r}t.msg="invalid distance code",r.mode=30;break t}if(_=65535&b,g<(m&=15)&&(d+=C[n++]<<g,(g+=8)<m&&(d+=C[n++]<<g,g+=8)),f<(_+=d&(1<<m)-1)){t.msg="invalid distance too far back",r.mode=30;break t}if(d>>>=m,g-=m,(m=o-a)<_){if(h<(m=_-m)&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(A=l,(x=0)===c){if(x+=u-m,m<k){for(k-=m;S[o++]=l[x++],--m;);x=o-_,A=S}}else if(c<m){if(x+=u+c-m,(m-=c)<k){for(k-=m;S[o++]=l[x++],--m;);if(x=0,c<k){for(k-=m=c;S[o++]=l[x++],--m;);x=o-_,A=S}}}else if(x+=c-m,m<k){for(k-=m;S[o++]=l[x++],--m;);x=o-_,A=S}for(;2<k;)S[o++]=A[x++],S[o++]=A[x++],S[o++]=A[x++],k-=3;k&&(S[o++]=A[x++],1<k&&(S[o++]=A[x++]))}else{for(x=o-_;S[o++]=S[x++],S[o++]=S[x++],S[o++]=S[x++],2<(k-=3););k&&(S[o++]=S[x++],1<k&&(S[o++]=S[x++]))}break}}break}}while(n<i&&o<s);n-=k=g>>3,d&=(1<<(g-=k<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n<i?i-n+5:5-(n-i),t.avail_out=o<s?s-o+257:257-(o-s),r.hold=d,r.bits=g}},{}],8:[function(t,e,r){"use strict";var n=t("../utils/common"),i=t("./adler32"),o=t("./crc32"),a=t("./inffast"),s=t("./inftrees"),f=-2;function u(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function h(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function c(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new n.Buf32(852),e.distcode=e.distdyn=new n.Buf32(592),e.sane=1,e.back=-1,0):f}function l(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,c(t)):f}function d(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15<e)?f:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,l(t))):f}function g(t,e){var r,n;return t?(n=new h,(t.state=n).window=null,0!==(r=d(t,e))&&(t.state=null),r):f}var v,w,y=!0;function p(t){if(y){var e;for(v=new n.Buf32(512),w=new n.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(1,t.lens,0,288,v,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(2,t.lens,0,32,w,0,t.work,{bits:5}),y=!1}t.lencode=v,t.lenbits=9,t.distcode=w,t.distbits=5}function b(t,e,r,i){var o,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new n.Buf8(a.wsize)),i>=a.wsize?(n.arraySet(a.window,e,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i<(o=a.wsize-a.wnext)&&(o=i),n.arraySet(a.window,e,r-i,o,a.wnext),(i-=o)?(n.arraySet(a.window,e,r-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}r.inflateReset=l,r.inflateReset2=d,r.inflateResetKeep=c,r.inflateInit=function(t){return g(t,15)},r.inflateInit2=g,r.inflate=function(t,e){var r,h,c,l,d,g,v,w,y,m,k,_,x,A,C,S,B,M,D,L,O,z,U,E,I=0,T=new n.Buf8(4),R=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return f;12===(r=t.state).mode&&(r.mode=13),d=t.next_out,c=t.output,v=t.avail_out,l=t.next_in,h=t.input,g=t.avail_in,w=r.hold,y=r.bits,m=g,k=v,z=0;t:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;y<16;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}if(2&r.wrap&&35615===w){T[r.check=0]=255&w,T[1]=w>>>8&255,r.check=o(r.check,T,2,0),y=w=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&w)<<8)+(w>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&w)){t.msg="unknown compression method",r.mode=30;break}if(y-=4,O=8+(15&(w>>>=4)),0===r.wbits)r.wbits=O;else if(O>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<<O,t.adler=r.check=1,r.mode=512&w?10:12,y=w=0;break;case 2:for(;y<16;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}if(r.flags=w,8!=(255&r.flags)){t.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=w>>8&1),512&r.flags&&(T[0]=255&w,T[1]=w>>>8&255,r.check=o(r.check,T,2,0)),y=w=0,r.mode=3;case 3:for(;y<32;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}r.head&&(r.head.time=w),512&r.flags&&(T[0]=255&w,T[1]=w>>>8&255,T[2]=w>>>16&255,T[3]=w>>>24&255,r.check=o(r.check,T,4,0)),y=w=0,r.mode=4;case 4:for(;y<16;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}r.head&&(r.head.xflags=255&w,r.head.os=w>>8),512&r.flags&&(T[0]=255&w,T[1]=w>>>8&255,r.check=o(r.check,T,2,0)),y=w=0,r.mode=5;case 5:if(1024&r.flags){for(;y<16;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}r.length=w,r.head&&(r.head.extra_len=w),512&r.flags&&(T[0]=255&w,T[1]=w>>>8&255,r.check=o(r.check,T,2,0)),y=w=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(g<(_=r.length)&&(_=g),_&&(r.head&&(O=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,h,l,_,O)),512&r.flags&&(r.check=o(r.check,h,_,l)),g-=_,l+=_,r.length-=_),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===g)break t;for(_=0;O=h[l+_++],r.head&&O&&r.length<65536&&(r.head.name+=String.fromCharCode(O)),O&&_<g;);if(512&r.flags&&(r.check=o(r.check,h,_,l)),g-=_,l+=_,O)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===g)break t;for(_=0;O=h[l+_++],r.head&&O&&r.length<65536&&(r.head.comment+=String.fromCharCode(O)),O&&_<g;);if(512&r.flags&&(r.check=o(r.check,h,_,l)),g-=_,l+=_,O)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;y<16;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}if(w!==(65535&r.check)){t.msg="header crc mismatch",r.mode=30;break}y=w=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;y<32;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}t.adler=r.check=u(w),y=w=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=d,t.avail_out=v,t.next_in=l,t.avail_in=g,r.hold=w,r.bits=y,2;t.adler=r.check=1,r.mode=12;case 12:if(5===e||6===e)break t;case 13:if(r.last){w>>>=7&y,y-=7&y,r.mode=27;break}for(;y<3;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}switch(r.last=1&w,y-=1,3&(w>>>=1)){case 0:r.mode=14;break;case 1:if(p(r),r.mode=20,6!==e)break;w>>>=2,y-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}w>>>=2,y-=2;break;case 14:for(w>>>=7&y,y-=7&y;y<32;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}if((65535&w)!=(w>>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&w,y=w=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(_=r.length){if(g<_&&(_=g),v<_&&(_=v),0===_)break t;n.arraySet(c,h,l,_,d),g-=_,l+=_,v-=_,d+=_,r.length-=_;break}r.mode=12;break;case 17:for(;y<14;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}if(r.nlen=257+(31&w),w>>>=5,y-=5,r.ndist=1+(31&w),w>>>=5,y-=5,r.ncode=4+(15&w),w>>>=4,y-=4,286<r.nlen||30<r.ndist){t.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;y<3;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}r.lens[R[r.have++]]=7&w,w>>>=3,y-=3}for(;r.have<19;)r.lens[R[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,U={bits:r.lenbits},z=s(0,r.lens,0,19,r.lencode,0,r.work,U),r.lenbits=U.bits,z){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;S=(I=r.lencode[w&(1<<r.lenbits)-1])>>>16&255,B=65535&I,!((C=I>>>24)<=y);){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}if(B<16)w>>>=C,y-=C,r.lens[r.have++]=B;else{if(16===B){for(E=C+2;y<E;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}if(w>>>=C,y-=C,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}O=r.lens[r.have-1],_=3+(3&w),w>>>=2,y-=2}else if(17===B){for(E=C+3;y<E;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}y-=C,O=0,_=3+(7&(w>>>=C)),w>>>=3,y-=3}else{for(E=C+7;y<E;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}y-=C,O=0,_=11+(127&(w>>>=C)),w>>>=7,y-=7}if(r.have+_>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;_--;)r.lens[r.have++]=O}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,U={bits:r.lenbits},z=s(1,r.lens,0,r.nlen,r.lencode,0,r.work,U),r.lenbits=U.bits,z){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,U={bits:r.distbits},z=s(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,U),r.distbits=U.bits,z){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=g&&258<=v){t.next_out=d,t.avail_out=v,t.next_in=l,t.avail_in=g,r.hold=w,r.bits=y,a(t,k),d=t.next_out,c=t.output,v=t.avail_out,l=t.next_in,h=t.input,g=t.avail_in,w=r.hold,y=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;S=(I=r.lencode[w&(1<<r.lenbits)-1])>>>16&255,B=65535&I,!((C=I>>>24)<=y);){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}if(S&&0==(240&S)){for(M=C,D=S,L=B;S=(I=r.lencode[L+((w&(1<<M+D)-1)>>M)])>>>16&255,B=65535&I,!(M+(C=I>>>24)<=y);){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}w>>>=M,y-=M,r.back+=M}if(w>>>=C,y-=C,r.back+=C,r.length=B,0===S){r.mode=26;break}if(32&S){r.back=-1,r.mode=12;break}if(64&S){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&S,r.mode=22;case 22:if(r.extra){for(E=r.extra;y<E;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}r.length+=w&(1<<r.extra)-1,w>>>=r.extra,y-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;S=(I=r.distcode[w&(1<<r.distbits)-1])>>>16&255,B=65535&I,!((C=I>>>24)<=y);){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}if(0==(240&S)){for(M=C,D=S,L=B;S=(I=r.distcode[L+((w&(1<<M+D)-1)>>M)])>>>16&255,B=65535&I,!(M+(C=I>>>24)<=y);){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}w>>>=M,y-=M,r.back+=M}if(w>>>=C,y-=C,r.back+=C,64&S){t.msg="invalid distance code",r.mode=30;break}r.offset=B,r.extra=15&S,r.mode=24;case 24:if(r.extra){for(E=r.extra;y<E;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}r.offset+=w&(1<<r.extra)-1,w>>>=r.extra,y-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===v)break t;if(_=k-v,r.offset>_){if((_=r.offset-_)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}_>r.wnext?(_-=r.wnext,x=r.wsize-_):x=r.wnext-_,_>r.length&&(_=r.length),A=r.window}else A=c,x=d-r.offset,_=r.length;for(v<_&&(_=v),v-=_,r.length-=_;c[d++]=A[x++],--_;);0===r.length&&(r.mode=21);break;case 26:if(0===v)break t;c[d++]=r.length,v--,r.mode=21;break;case 27:if(r.wrap){for(;y<32;){if(0===g)break t;g--,w|=h[l++]<<y,y+=8}if(k-=v,t.total_out+=k,r.total+=k,k&&(t.adler=r.check=r.flags?o(r.check,c,k,d-k):i(r.check,c,k,d-k)),k=v,(r.flags?w:u(w))!==r.check){t.msg="incorrect data check",r.mode=30;break}y=w=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;y<32;){if(0===g)break t;g--,w+=h[l++]<<y,y+=8}if(w!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=30;break}y=w=0}r.mode=29;case 29:z=1;break t;case 30:z=-3;break t;case 31:return-4;case 32:default:return f}return t.next_out=d,t.avail_out=v,t.next_in=l,t.avail_in=g,r.hold=w,r.bits=y,(r.wsize||k!==t.avail_out&&r.mode<30&&(r.mode<27||4!==e))&&b(t,t.output,t.next_out,k-t.avail_out)?(r.mode=31,-4):(m-=t.avail_in,k-=t.avail_out,t.total_in+=m,t.total_out+=k,r.total+=k,r.wrap&&k&&(t.adler=r.check=r.flags?o(r.check,c,k,t.next_out-k):i(r.check,c,k,t.next_out-k)),t.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0===m&&0===k||4===e)&&0===z&&(z=-5),z)},r.inflateEnd=function(t){if(!t||!t.state)return f;var e=t.state;return e.window&&(e.window=null),t.state=null,0},r.inflateGetHeader=function(t,e){var r;return t&&t.state?0==(2&(r=t.state).wrap)?f:((r.head=e).done=!1,0):f},r.inflateSetDictionary=function(t,e){var r,n=e.length;return t&&t.state?0!==(r=t.state).wrap&&11!==r.mode?f:11===r.mode&&i(1,e,n,0)!==r.check?-3:b(t,e,n,n)?(r.mode=31,-4):(r.havedict=1,0):f},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":1,"./adler32":3,"./crc32":5,"./inffast":7,"./inftrees":9}],9:[function(t,e,r){"use strict";var n=t("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,r,f,u,h,c,l){var d,g,v,w,y,p,b,m,k,_=l.bits,x=0,A=0,C=0,S=0,B=0,M=0,D=0,L=0,O=0,z=0,U=null,E=0,I=new n.Buf16(16),T=new n.Buf16(16),R=null,Z=0;for(x=0;x<=15;x++)I[x]=0;for(A=0;A<f;A++)I[e[r+A]]++;for(B=_,S=15;1<=S&&0===I[S];S--);if(S<B&&(B=S),0===S)return u[h++]=20971520,u[h++]=20971520,l.bits=1,0;for(C=1;C<S&&0===I[C];C++);for(B<C&&(B=C),x=L=1;x<=15;x++)if(L<<=1,(L-=I[x])<0)return-1;if(0<L&&(0===t||1!==S))return-1;for(T[1]=0,x=1;x<15;x++)T[x+1]=T[x]+I[x];for(A=0;A<f;A++)0!==e[r+A]&&(c[T[e[r+A]]++]=A);if(0===t?(U=R=c,p=19):1===t?(U=i,E-=257,R=o,Z-=257,p=256):(U=a,R=s,p=-1),x=C,y=h,D=A=z=0,v=-1,w=(O=1<<(M=B))-1,1===t&&852<O||2===t&&592<O)return 1;for(;;){for(b=x-D,c[A]<p?(m=0,k=c[A]):c[A]>p?(m=R[Z+c[A]],k=U[E+c[A]]):(m=96,k=0),d=1<<x-D,C=g=1<<M;u[y+(z>>D)+(g-=d)]=b<<24|m<<16|k|0,0!==g;);for(d=1<<x-1;z&d;)d>>=1;if(0!==d?(z&=d-1,z+=d):z=0,A++,0==--I[x]){if(x===S)break;x=e[r+c[A]]}if(B<x&&(z&w)!==v){for(0===D&&(D=B),y+=C,L=1<<(M=x-D);M+D<S&&!((L-=I[M+D])<=0);)M++,L<<=1;if(O+=1<<M,1===t&&852<O||2===t&&592<O)return 1;u[v=z&w]=B<<24|M<<16|y-h|0}}return 0!==z&&(u[y+z]=x-D<<24|64<<16|0),l.bits=B,0}},{"../utils/common":1}],10:[function(t,e,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],11:[function(t,e,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],"/lib/inflate.js":[function(t,e,r){"use strict";var n=t("./zlib/inflate"),i=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/constants"),s=t("./zlib/messages"),f=t("./zlib/zstream"),u=t("./zlib/gzheader"),h=Object.prototype.toString;function c(t){if(!(this instanceof c))return new c(t);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,e.windowBits);if(r!==a.Z_OK)throw new Error(s[r]);if(this.header=new u,n.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=o.string2buf(e.dictionary):"[object ArrayBuffer]"===h.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=n.inflateSetDictionary(this.strm,e.dictionary))!==a.Z_OK))throw new Error(s[r])}function l(t,e){var r=new c(e);if(r.push(t,!0),r.err)throw r.msg||s[r.err];return r.result}c.prototype.push=function(t,e){var r,s,f,u,c,l=this.strm,d=this.options.chunkSize,g=this.options.dictionary,v=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?l.input=o.binstring2buf(t):"[object ArrayBuffer]"===h.call(t)?l.input=new Uint8Array(t):l.input=t,l.next_in=0,l.avail_in=l.input.length;do{if(0===l.avail_out&&(l.output=new i.Buf8(d),l.next_out=0,l.avail_out=d),(r=n.inflate(l,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&g&&(r=n.inflateSetDictionary(this.strm,g)),r===a.Z_BUF_ERROR&&!0===v&&(r=a.Z_OK,v=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),!(this.ended=!0);l.next_out&&(0!==l.avail_out&&r!==a.Z_STREAM_END&&(0!==l.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(f=o.utf8border(l.output,l.next_out),u=l.next_out-f,c=o.buf2string(l.output,f),l.next_out=u,l.avail_out=d-u,u&&i.arraySet(l.output,l.output,f,u,0),this.onData(c)):this.onData(i.shrinkBuf(l.output,l.next_out)))),0===l.avail_in&&0===l.avail_out&&(v=!0)}while((0<l.avail_in||0===l.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(l.avail_out=0))},c.prototype.onData=function(t){this.chunks.push(t)},c.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Inflate=c,r.inflate=l,r.inflateRaw=function(t,e){return(e=e||{}).raw=!0,l(t,e)},r.ungzip=l},{"./utils/common":1,"./utils/strings":2,"./zlib/constants":4,"./zlib/gzheader":6,"./zlib/inflate":8,"./zlib/messages":10,"./zlib/zstream":11}]},{},[])("/lib/inflate.js")}}]);