varQRCode;!function(){functiona(a){this.mode=c.MODE_8BIT_BYTE,this.data=a,this.parsedData=[];for(varb=[],d=0,e=this.data.length;e>d;d++){varf=this.data.charCodeAt(d);f>65536?(b[0]=240|(1835008&f)>>>18,b[1]=128|(258048&f)>>>12,b[2]=128|(4032&f)>>>6,b[3]=128|63&f):f>2048?(b[0]=224|(61440&f)>>>12,b[1]=128|(4032&f)>>>6,b[2]=128|63&f):f>128?(b[0]=192|(1984&f)>>>6,b[1]=128|63&f):b[0]=f,this.parsedData=this.parsedData.concat(b)}this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}functionb(a,b){this.typeNumber=a,this.errorCorrectLevel=b,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}functioni(a,b){if(void0==a.length)thrownewError(a.length+"/"+b);for(varc=0;c<a.length&&0==a[c];)c++;this.num=newArray(a.length-c+b);for(vard=0;d<a.length-c;d++)this.num[d]=a[d+c]}functionj(a,b){this.totalCount=a,this.dataCount=b}functionk(){this.buffer=[],this.length=0}functionm(){return"undefined"!=typeofCanvasRenderingContext2D}functionn(){vara=!1,b=navigator.userAgent;return/android/i.test(b)&&(a=!0,aMat=b.toString().match(/android ([0-9]\.[0-9])/i),aMat&&aMat[1]&&(a=parseFloat(aMat[1]))),a}functionr(a,b){for(varc=1,e=s(a),f=0,g=l.length;g>=f;f++){varh=0;switch(b){cased.L:h=l[f][0];break;cased.M:h=l[f][1];break;cased.Q:h=l[f][2];break;cased.H:h=l[f][3]}if(h>=e)break;c++}if(c>l.length)thrownewError("Too long data");returnc}functions(a){varb=encodeURI(a).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");returnb.length+(b.length!=a?3:0)}a.prototype={getLength:function(){returnthis.parsedData.length},write:function(a){for(varb=0,c=this.parsedData.length;c>b;b++)a.put(this.parsedData[b],8)}},b.prototype={addData:function(b){varc=newa(b);this.dataList.push(c),this.dataCache=null},isDark:function(a,b){if(0>a||this.moduleCount<=a||0>b||this.moduleCount<=b)thrownewError(a+","+b);returnthis.modules[a][b]},getModuleCount:function(){returnthis.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(a,c){this.moduleCount=4*this.typeNumber+17,this.modules=newArray(this.moduleCount);for(vard=0;d<this.moduleCount;d++){this.modules[d]=newArray(this.moduleCount);for(vare=0;e<this.moduleCount;e++)this.modules[d][e]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(a,c),this.typeNumber>=7&&this.setupTypeNumber(a),null==this.dataCache&&(this.dataCache=b.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,c)},setupPositionProbePattern:function(a,b){for(varc=-1;7>=c;c++)if(!(-1>=a+c||this.moduleCount<=a+c))for(vard=-1;7>=d;d++)-1>=b+d||this.moduleCount<=b+d||(this.modules[a+c][b+d]=c>=0&&6>=c&&(0==d||6==d)||d>=0&&6>=d&&(0==c||6==c)||c>=2&&4>=c&&d>=2&&4>=d?!0:!1)},getBestMaskPattern:function(){for(vara=0,b=0,c=0;8>c;c++){this.makeImpl(!0,c);vard=f.getLostPoint(this);(0==c||a>d)&&(a=d,b=c)}returnb},createMovieClip:function(a,b,c){vard=a.createEmptyMovieClip(b,c),e=1;this.make();for(varf=0;f<this.modules.length;f++)for(varg=f*e,h=0;h<this.modules[f].length;h++){vari=h*e,j=this.modules[f][h];j&&(d.beginFill(0,100),d.moveTo(i,g),d.lineTo(i+e,g),d.lineTo(i+e,g+e),d.lineTo(i,g+e),d.endFill())}returnd},setupTimingPattern:function(){for(vara=8;a<this.moduleCount-8;a++)null==this.modules[a][6]&&(this.modules[a][6]=0==a%2);for(varb=8;b<this.moduleCount-8;b++)null==this.modules[6][b]&&(this.modules[6][b]=0==b%2)},setupPositionAdjustPattern:function(){for(vara=f.getPatternPosition(this.typeNumber),b=0;b<a.length;b++)for(varc=0;c<a.length;c++){vard=a[b],e=a[c];if(null==this.modules[d][e])for(varg=-2;2>=g;g++)for(varh=-2;2>=h;h++)this.modules[d+g][e+h]=-2==g||2==g||-2==h||2==h||0==g&&0==h?!0:!1}},setupTypeNumber:function(a){for(varb=f.getBCHTypeNumber(this.typeNumber),c=0;18>c;c++){vard=!a&&1==(1&b>>c);this.modules[Math.floor(c/3)][c%3+this.moduleCount-8-3]=d}for(varc=0;18>c