(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d221443"],{ca2a:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=function(t,e){const n=236,r=17;let o=t;const u=i[e];let c=null,p=0,y=null;const A=[],B={},k=function(t,e){p=4*o+17,c=function(t){const e=new Array(t);for(let n=0;n=7&&E(t),null==y&&(y=N(o,u,A)),x(y,e)},T=function(t,e){for(let n=-1;n<=7;n+=1)if(!(t+n<=-1||p<=t+n))for(let r=-1;r<=7;r+=1)e+r<=-1||p<=e+r||(c[t+n][e+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},C=function(){let t=0,e=0;for(let n=0;n<8;n+=1){k(!0,n);const r=l.getLostPoint(B);(0==n||t>r)&&(t=r,e=n)}return e},D=function(){for(let t=8;t>n&1);c[Math.floor(n/3)][n%3+p-8-3]=r}for(let n=0;n<18;n+=1){const r=!t&&1==(e>>n&1);c[n%3+p-8-3][Math.floor(n/3)]=r}},L=function(t,e){const n=u<<3|e,r=l.getBCHTypeInfo(n);for(let o=0;o<15;o+=1){const e=!t&&1==(r>>o&1);o<6?c[o][8]=e:o<8?c[o+1][8]=e:c[p-15+o][8]=e}for(let o=0;o<15;o+=1){const e=!t&&1==(r>>o&1);o<8?c[8][p-o-1]=e:o<9?c[8][15-o-1+1]=e:c[8][15-o-1]=e}c[p-8][8]=!t},x=function(t,e){let n=-1,r=p-1,o=7,i=0;const u=l.getMaskFunction(e);for(let l=p-1;l>0;l-=2){6==l&&(l-=1);while(1){for(let e=0;e<2;e+=1)if(null==c[r][l-e]){let n=!1;i>>o&1));const f=u(r,l-e);f&&(n=!n),c[r][l-e]=n,o-=1,-1==o&&(i+=1,o=7)}if(r+=n,r<0||p<=r){r-=n,n=-n;break}}}},m=function(t,e){let n=0,r=0,o=0;const i=new Array(e.length),u=new Array(e.length);for(let g=0;g=0?d.getAt(e):0}}let c=0;for(let l=0;l8*c)throw"code length overflow. ("+u.getLengthInBits()+">"+8*c+")";u.getLengthInBits()+4<=8*c&&u.put(0,4);while(u.getLengthInBits()%8!=0)u.putBit(!1);while(1){if(u.getLengthInBits()>=8*c)break;if(u.put(n,8),u.getLengthInBits()>=8*c)break;u.put(r,8)}return m(u,i)};B.addData=function(t,e){e=e||"Byte";let n=null;switch(e){case"Numeric":n=g(t);break;case"Alphanumeric":n=h(t);break;case"Byte":n=d(t);break;case"Kanji":n=w(t);break;default:throw"mode:"+e}A.push(n),y=null},B.isDark=function(t,e){if(t<0||p<=t||e<0||p<=e)throw t+","+e;return c[t][e]},B.getModuleCount=function(){return p},B.make=function(){if(o<1){let t=1;for(;t<40;t++){const e=s.getRSBlocks(t,u),n=a();for(let o=0;o";for(let e=0;e';n+=""}return n+="",n+="",n},B.createSvgTag=function(t,e,n,r){let o={};"object"==typeof arguments[0]&&(o=arguments[0],t=o.cellSize,e=o.margin,n=o.alt,r=o.title),t=t||2,e="undefined"==typeof e?4*t:e,n="string"===typeof n?{text:n}:n||{},n.text=n.text||null,n.id=n.text?n.id||"qrcode-description":null,r="string"===typeof r?{text:r}:r||{},r.text=r.text||null,r.id=r.text?r.id||"qrcode-title":null;const i=B.getModuleCount()*t+2*e;let u,l,c,f,s,a="";for(s="l"+t+",0 0,"+t+" -"+t+",0 0,-"+t+"z ",a+=''+P(r.text)+"":"",a+=n.text?''+P(n.text)+"":"",a+='',a+='":e+=">";break;case"&":e+="&";break;case'"':e+=""";break;default:e+=r;break}}return e},_=function(t){const e=1;t="undefined"==typeof t?2*e:t;const n=B.getModuleCount()*e+2*t,r=t,o=n-t;let i,u,l,c,f;const s={"██":"█","█ ":"▀"," █":"▄"," ":" "},a={"██":"▀","█ ":"▀"," █":" "," ":" "};let g="";for(i=0;i=o?a[f]:s[f];g+="\n"}return n%2&&t>0?g.substring(0,g.length-n-1)+Array(n+1).join("▀"):g.substring(0,g.length-1)};return B.createASCII=function(t,e){if(t=t||1,t<2)return _(e);t-=1,e="undefined"==typeof e?2*t:e;const n=B.getModuleCount()*t+2*e,r=e,o=n-e;let i,u,l,c;const f=Array(t+1).join("██"),s=Array(t+1).join(" ");let a="",g="";for(i=0;i>>8),e.push(255&i)):e.push(r)}}return e}};const o={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},i={L:1,M:0,Q:3,H:2},u={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},l=function(){const t=[[],[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]],e=1335,n=7973,r=21522,i={},l=function(t){let e=0;while(0!=t)e+=1,t>>>=1;return e};return i.getBCHTypeInfo=function(t){let n=t<<10;while(l(n)-l(e)>=0)n^=e<=0)e^=n<5&&(n+=3+o-5)}for(let i=0;i=256)e-=255;return t[e]}};return n}(),f=function(t,e){if("undefined"==typeof t.length)throw t.length+"/"+e;const n=function(){let n=0;while(n>>7-e%8&1)},put:function(t,e){for(let r=0;r>>e-r-1&1))},getLengthInBits:function(){return e},putBit:function(n){const r=Math.floor(e/8);t.length<=r&&t.push(0),n&&(t[r]|=128>>>e%8),e+=1}};return n},g=function(t){const e=o.MODE_NUMBER,n=t,r={getMode:function(){return e},getLength:function(t){return n.length},write:function(t){const e=n;let r=0;while(r+2>>8&255)+(255&r),t.put(r,13),n+=2}if(n>>8)},writeBytes:function(t,n,r){n=n||0,r=r||t.length;for(let o=0;o0&&(e+=","),e+=t[n];return e+="]",e}};return e},y=function(){let t=0,e=0,n=0,r="";const o={},i=function(t){r+=String.fromCharCode(u(63&t))},u=function(t){if(t<0)throw"n:"+t;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 o.writeByte=function(r){t=t<<8|255&r,e+=8,n+=1;while(e>=6)i(t>>>e-6),e-=6},o.flush=function(){if(e>0&&(i(t<<6-e),t=0,e=0),n%3!=0){const t=3-n%3;for(let e=0;e=e.length){if(0==o)return-1;throw"unexpected end of file./"+o}const t=e.charAt(n);if(n+=1,"="==t)return o=0,-1;t.match(/^\s$/)||(r=r<<6|u(t.charCodeAt(0)),o+=6)}const t=r>>>o-8&255;return o-=8,t}},u=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 i},B=function(t,e){const n=t,r=e,o=new Array(t*e),i={setPixel:function(t,e,r){o[e*n+t]=r},write:function(t){t.writeString("GIF87a"),t.writeShort(n),t.writeShort(r),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(n),t.writeShort(r),t.writeByte(0);const e=2,o=l(e);t.writeByte(e);let i=0;while(o.length-i>255)t.writeByte(255),t.writeBytes(o,i,255),i+=255;t.writeByte(o.length-i),t.writeBytes(o,i,o.length-i),t.writeByte(0),t.writeString(";")}},u=function(t){const e=t;let n=0,r=0;const o={write:function(t,o){if(t>>>o!=0)throw"length over";while(n+o>=8)e.writeByte(255&(t<>>=8-n,r=0,n=0;r|=t<0&&e.writeByte(r)}};return o},l=function(t){const e=1<