<commit_before>/* jquery-qrcode v0.14.0 - https://larsjung.de/jquery-qrcode/ */
var qrCodeGenerator=null,QrCode=function(){};QrCode.render=function(D,C){C.appendChild(qrCodeGenerator(D))};
(function(D){function C(x,q,t,B){var y={},v=D(t,q);v.addData(x);v.make();B=B||0;var f=v.getModuleCount(),p=v.getModuleCount()+2*B;y.text=x;y.level=q;y.version=t;y.moduleCount=p;y.isDark=function(b,a){b-=B;a-=B;return 0>b||b>=f||0>a||a>=f?!1:v.isDark(b,a)};return y}var F={minVersion:1,maxVersion:40,ecLevel:"L",left:0,top:0,size:200,fill:"#000",background:null,text:"no text",radius:.5,quiet:0};qrCodeGenerator=function(x){var q={};Object.assign(q,F,x);x=document.createElement("canvas");x.width=q.size;
x.height=q.size;b:{var t=q.text,B=q.ecLevel,y=q.minVersion,v=q.maxVersion,f=q.quiet;y=Math.max(1,y||1);for(v=Math.min(40,v||40);y<=v;y+=1)try{var p=C(t,B,y,f);break b}catch(H){}p=void 0}if(p){t=x.getContext("2d");q.background&&(t.fillStyle=q.background,t.fillRect(q.left,q.top,q.size,q.size));B=p.moduleCount;v=q.size/B;t.beginPath();for(f=0;f<B;f+=1)for(y=0;y<B;y+=1){var b=t,a=q.left+y*v,g=q.top+f*v,A=f,c=y,d=p.isDark,m=a+v,w=g+v,h=q.radius*v,r=A-1,n=A+1,e=c-1,k=c+1,G=d(A,c),z=d(r,e),E=d(r,c),l=d(r,
k);r=d(A,k);k=d(n,k);c=d(n,c);n=d(n,e);A=d(A,e);G?(z=b,l=a,k=g,g=!E&&!A,E=!E&&!r,r=!c&&!r,c=!c&&!A,g?z.moveTo(l+h,k):z.moveTo(l,k),E?(z.lineTo(m-h,k),z.arcTo(m,k,m,w,h)):z.lineTo(m,k),r?(z.lineTo(m,w-h),z.arcTo(m,w,l,w,h)):z.lineTo(m,w),c?(z.lineTo(l+h,w),z.arcTo(l,w,l,k,h)):z.lineTo(l,w),g?(z.lineTo(l,k+h),z.arcTo(l,k,m,k,h)):z.lineTo(l,k)):(l=E&&r&&l,r=c&&r&&k,c=c&&A&&n,E&&A&&z&&(b.moveTo(a+h,g),b.lineTo(a,g),b.lineTo(a,g+h),b.arcTo(a,g,a+h,g,h)),l&&(b.moveTo(m-h,g),b.lineTo(m,g),b.lineTo(m,g+h),
b.arcTo(m,g,m-h,g,h)),r&&(b.moveTo(m-h,w),b.lineTo(m,w),b.lineTo(m,w-h),b.arcTo(m,w,m-h,w,h)),c&&(b.moveTo(a+h,w),b.lineTo(a,w),b.lineTo(a,w-h),b.arcTo(a,w,a+h,w,h)))}t.fillStyle=q.fill;t.fill();q=x}else q=null;return q}})(function(){var D=function(){function C(f,p){if("undefined"==typeof f.length)throw Error(f.length+"/"+p);var b=function(){for(var a=0;a<f.length&&0==f[a];)a+=1;for(var b=Array(f.length-a+p),c=0;c<f.length-a;c+=1)b[c]=f[c+a];return b}(),a={getAt:function(a){return b[a]},getLength:function(){return b.length},
multiply:function(g){for(var b=Array(a.getLength()+g.getLength()-1),c=0;c<a.getLength();c+=1)for(var d=0;d<g.getLength();d+=1)b[c+d]^=t.gexp(t.glog(a.getAt(c))+t.glog(g.getAt(d)));return C(b,0)},mod:function(g){if(0>a.getLength()-g.getLength())return a;for(var b=t.glog(a.getAt(0))-t.glog(g.getAt(0)),c=Array(a.getLength()),d=0;d<a.getLength();d+=1)c[d]=a.getAt(d);for(d=0;d<g.getLength();d+=1)c[d]^=t.gexp(t.glog(g.getAt(d))+b);return C(c,0).mod(g)}};return a}var D=function(f,p){var b=x[p],a=null,g=
0,A=null,c=[],d={},m=function(d,p){for(var n=g=4*f+17,e=Array(n),k=0;k<n;k+=1){e[k]=Array(n);for(var h=0;h<n;h+=1)e[k][h]=null}a=e;w(0,0);w(g-7,0);w(0,g-7);n=q.getPatternPosition(f);for(e=0;e<n.length;e+=1)for(k=0;k<n.length;k+=1){h=n[e];var m=n[k];if(null==a[h][m])for(var r=-2;2>=r;r+=1)for(var l=-2;2>=l;l+=1)a[h+r][m+l]=-2==r||2==r||-2==l||2==l||0==r&&0==l}for(n=8;n<g-8;n+=1)null==a[n][6]&&(a[n][6]=0==n%2);for(n=8;n<g-8;n+=1)null==a[6][n]&&(a[6][n]=0==n%2);n=q.getBCHTypeInfo(b<<3|p);for(e=0;15>
e;e+=1)k=!d&&1==(n>>e&1),a[6>e?e:8>e?e+1:g-15+e][8]=k,a[8][8>e?g-e-1:9>e?15-e:14-e]=k;a[g-8][8]=!d;if(7<=f){n=q.getBCHTypeNumber(f);for(e=0;18>e;e+=1)k=!d&&1==(n>>e&1),a[Math.floor(e/3)][e%3+g-8-3]=k;for(e=0;18>e;e+=1)k=!d&&1==(n>>e&1),a[e%3+g-8-3][Math.floor(e/3)]=k}if(null==A){n=B.getRSBlocks(f,b);e=y();for(k=0;k<c.length;k+=1)h=c[k],e.put(h.getMode(),4),e.put(h.getLength(),q.getLengthInBits(h.getMode(),f)),h.write(e);for(k=h=0;k<n.length;k+=1)h+=n[k].dataCount;if(e.getLengthInBits()>8*h)throw Error("code length overflow. ("+
e.getLengthInBits()+">"+8*h+")");for(e.getLengthInBits()+4<=8*h&&e.put(0,4);0!=e.getLengthInBits()%8;)e.putBit(!1);for(;!(e.getLengthInBits()>=8*h);){e.put(236,8);if(e.getLengthInBits()>=8*h)break;e.put(17,8)}var t=0;h=k=0;m=Array(n.length);r=Array(n.length);for(l=0;l<n.length;l+=1){var v=n[l].dataCount,x=n[l].totalCount-v;k=Math.max(k,v);h=Math.max(h,x);m[l]=Array(v);for(var u=0;u<m[l].length;u+=1)m[l][u]=255&e.getBuffer()[u+t];t+=v;u=q.getErrorCorrectPolynomial(x);v=C(m[l],u.getLength()-1).mod(u);
r[l]=Array(u.getLength()-1);for(u=0;u<r[l].length;u+=1)x=u+v.getLength()-r[l].length,r[l][u]=0<=x?v.getAt(x):0}for(u=e=0;u<n.length;u+=1)e+=n[u].totalCount;e=Array(e);for(u=t=0;u<k;u+=1)for(l=0;l<n.length;l+=1)u<m[l].length&&(e[t]=m[l][u],t+=1);for(u=0;u<h;u+=1)for(l=0;l<n.length;l+=1)u<r[l].length&&(e[t]=r[l][u],t+=1);A=e}n=A;e=-1;k=g-1;h=7;m=0;r=q.getMaskFunction(p);for(l=g-1;0<l;l-=2)for(6==l&&--l;;){for(u=0;2>u;u+=1)null==a[k][l-u]&&(t=!1,m<n.length&&(t=1==(n[m]>>>h&1)),r(k,l-u)&&(t=!t),a[k][l-
u]=t,--h,-1==h&&(m+=1,h=7));k+=e;if(0>k||g<=k){k-=e;e=-e;break}}},w=function(c,b){for(var d=-1;7>=d;d+=1)if(!(-1>=c+d||g<=c+d))for(var e=-1;7>=e;e+=1)-1>=b+e||g<=b+e||(a[c+d][b+e]=0<=d&&6>=d&&(0==e||6==e)||0<=e&&6>=e&&(0==d||6==d)||2<=d&&4>=d&&2<=e&&4>=e?!0:!1)};d.addData=function(a){a=v(a);c.push(a);A=null};d.isDark=function(d,c){if(0>d||g<=d||0>c||g<=c)throw Error(d+","+c);return a[d][c]};d.getModuleCount=function(){return g};d.make=function(){for(var a=0,g=0,c=0;8>c;c+=1){m(!0,c);var b=q.getLostPoint(d);
if(0==c||a>b)a=b,g=c}m(!1,g)};return d};D.stringToBytes=function(f){for(var p=[],b=0;b<f.length;b++){var a=f.charCodeAt(b);128>a?p.push(a):2048>a?p.push(192|a>>6,128|a&63):55296>a||57344<=a?p.push(224|a>>12,128|a>>6&63,128|a&63):(b++,a=65536+((a&1023)<<10|f.charCodeAt(b)&1023),p.push(240|a>>18,128|a>>12&63,128|a>>6&63,128|a&63))}return p};var x={L:1,M:0,Q:3,H:2},q=function(){var f=[[],[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]],p={},
b=function(a){for(var g=0;0!=a;)g+=1,a>>>=1;return g};p.getBCHTypeInfo=function(a){for(var g=a<<10;0<=b(g)-b(1335);)g^=1335<<b(g)-b(1335);return(a<<10|g)^21522};p.getBCHTypeNumber=function(a){for(var g=a<<12;0<=b(g)-b(7973);)g^=7973<<b(g)-b(7973);return a<<12|g};p.getPatternPosition=function(a){return f[a-1]};p.getMaskFunction=function(a){switch(a){case 0:return function(a,b){return 0==(a+b)%2};case 1:return function(a,b){return 0==a%2};case 2:return function(a,b){return 0==b%3};case 3:return function(a,
b){return 0==(a+b)%3};case 4:return function(a,b){return 0==(Math.floor(a/2)+Math.floor(b/3))%2};case 5:return function(a,b){return 0==a*b%2+a*b%3};case 6:return function(a,b){return 0==(a*b%2+a*b%3)%2};case 7:return function(a,b){return 0==(a*b%3+(a+b)%2)%2};default:throw Error("bad maskPattern:"+a);}};p.getErrorCorrectPolynomial=function(a){for(var b=C([1],0),f=0;f<a;f+=1)b=b.multiply(C([1,t.gexp(f)],0));return b};p.getLengthInBits=function(a,b){if(4!=a)throw Error("mode:"+a);if(1<=b&&10>b)return 8;
if(41>b)return 16;throw Error("type:"+b);};p.getLostPoint=function(a){for(var b=a.getModuleCount(),f=0,c=0;c<b;c+=1)for(var d=0;d<b;d+=1){for(var m=0,p=a.isDark(c,d),h=-1;1>=h;h+=1)if(!(0>c+h||b<=c+h))for(var r=-1;1>=r;r+=1)0>d+r||b<=d+r||(0!=h||0!=r)&&p==a.isDark(c+h,d+r)&&(m+=1);5<m&&(f+=3+m-5)}for(c=0;c<b-1;c+=1)for(d=0;d<b-1;d+=1)if(m=0,a.isDark(c,d)&&(m+=1),a.isDark(c+1,d)&&(m+=1),a.isDark(c,d+1)&&(m+=1),a.isDark(c+1,d+1)&&(m+=1),0==m||4==m)f+=3;for(c=0;c<b;c+=1)for(d=0;d<b-6;d+=1)a.isDark(c,
d)&&!a.isDark(c,d+1)&&a.isDark(c,d+2)&&a.isDark(c,d+3)&&a.isDark(c,d+4)&&!a.isDark(c,d+5)&&a.isDark(c,d+6)&&(f+=40);for(d=0;d<b;d+=1)for(c=0;c<b-6;c+=1)a.isDark(c,d)&&!a.isDark(c+1,d)&&a.isDark(c+2,d)&&a.isDark(c+3,d)&&a.isDark(c+4,d)&&!a.isDark(c+5,d)&&a.isDark(c+6,d)&&(f+=40);for(d=m=0;d<b;d+=1)for(c=0;c<b;c+=1)a.isDark(c,d)&&(m+=1);return f+Math.abs(100*m/b/b-50)/5*10};return p}(),t=function(){for(var f=Array(256),p=Array(256),b=0;8>b;b+=1)f[b]=1<<b;for(b=8;256>b;b+=1)f[b]=f[b-4]^f[b-5]^f[b-6]^
f[b-8];for(b=0;255>b;b+=1)p[f[b]]=b;return{glog:function(a){if(1>a)throw Error("glog("+a+")");return p[a]},gexp:function(a){for(;0>a;)a+=255;for(;256<=a;)a-=255;return f[a]}}}(),B=function(){var f=[[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]],p=function(a,b){var c={};c.totalCount=a;c.dataCount=b;return c},b={},a=function(a,b){switch(b){case x.L:return f[4*(a-1)+0];case x.M:return f[4*(a-1)+1];case x.Q:return f[4*(a-1)+2];case x.H:return f[4*(a-1)+3]}};b.getRSBlocks=function(b,f){var c=a(b,f);if("undefined"==typeof c)throw Error("bad rs block @ typeNumber:"+b+"/errorCorrectLevel:"+f);for(var d=c.length/3,g=[],q=0;q<d;q+=1)for(var h=c[3*q+0],r=c[3*q+1],n=c[3*q+2],e=0;e<h;e+=1)g.push(p(r,n));return g};
return b}(),y=function(){var f=[],p=0,b={getBuffer:function(){return f},getAt:function(a){return 1==(f[Math.floor(a/8)]>>>7-a%8&1)},put:function(a,g){for(var f=0;f<g;f+=1)b.putBit(1==(a>>>g-f-1&1))},getLengthInBits:function(){return p},putBit:function(a){var b=Math.floor(p/8);f.length<=b&&f.push(0);a&&(f[b]|=128>>>p%8);p+=1}};return b},v=function(f){var p=D.stringToBytes(f);return{getMode:function(){return 4},getLength:function(b){return p.length},write:function(b){for(var a=0;a<p.length;a+=1)b.put(p[a],
8)}}};return D}();(function(C){"function"===typeof define&&define.amd?define([],C):"object"===typeof exports&&(module.exports=C())})(function(){return D});return D}());<commit_msg>12.3k stripped out the module definition (amd, exports)<commit_after>/* jquery-qrcode v0.14.0 - https://larsjung.de/jquery-qrcode/ */
var qrCodeGenerator=null,QrCode=function(){};QrCode.render=function(C,D){D.appendChild(qrCodeGenerator(C))};
(function(C){function D(x,k,A,B){var v={},h=C(A,k);h.addData(x);h.make();B=B||0;var b=h.getModuleCount(),g=h.getModuleCount()+2*B;v.text=x;v.level=k;v.version=A;v.moduleCount=g;v.isDark=function(a,f){a-=B;f-=B;return 0>a||a>=b||0>f||f>=b?!1:h.isDark(a,f)};return v}var E={minVersion:1,maxVersion:40,ecLevel:"L",left:0,top:0,size:200,fill:"#000",background:null,text:"no text",radius:.5,quiet:0};qrCodeGenerator=function(x){var k={};Object.assign(k,E,x);x=document.createElement("canvas");x.width=k.size;
x.height=k.size;b:{var A=k.text,B=k.ecLevel,v=k.minVersion,h=k.maxVersion,b=k.quiet;v=Math.max(1,v||1);for(h=Math.min(40,h||40);v<=h;v+=1)try{var g=D(A,B,v,b);break b}catch(H){}g=void 0}if(g){A=x.getContext("2d");k.background&&(A.fillStyle=k.background,A.fillRect(k.left,k.top,k.size,k.size));B=g.moduleCount;h=k.size/B;A.beginPath();for(b=0;b<B;b+=1)for(v=0;v<B;v+=1){var a=A,f=k.left+v*h,t=k.top+b*h,c=b,d=v,y=g.isDark,w=f+h,p=t+h,q=k.radius*h,l=c-1,e=c+1,F=d-1,m=d+1,G=y(c,d),z=y(l,F),n=y(l,d),u=y(l,
m);l=y(c,m);m=y(e,m);d=y(e,d);e=y(e,F);c=y(c,F);G?(z=a,u=f,m=t,t=!n&&!c,n=!n&&!l,l=!d&&!l,d=!d&&!c,t?z.moveTo(u+q,m):z.moveTo(u,m),n?(z.lineTo(w-q,m),z.arcTo(w,m,w,p,q)):z.lineTo(w,m),l?(z.lineTo(w,p-q),z.arcTo(w,p,u,p,q)):z.lineTo(w,p),d?(z.lineTo(u+q,p),z.arcTo(u,p,u,m,q)):z.lineTo(u,p),t?(z.lineTo(u,m+q),z.arcTo(u,m,w,m,q)):z.lineTo(u,m)):(u=n&&l&&u,l=d&&l&&m,d=d&&c&&e,n&&c&&z&&(a.moveTo(f+q,t),a.lineTo(f,t),a.lineTo(f,t+q),a.arcTo(f,t,f+q,t,q)),u&&(a.moveTo(w-q,t),a.lineTo(w,t),a.lineTo(w,t+q),
a.arcTo(w,t,w-q,t,q)),l&&(a.moveTo(w-q,p),a.lineTo(w,p),a.lineTo(w,p-q),a.arcTo(w,p,w-q,p,q)),d&&(a.moveTo(f+q,p),a.lineTo(f,p),a.lineTo(f,p-q),a.arcTo(f,p,f+q,p,q)))}A.fillStyle=k.fill;A.fill();k=x}else k=null;return k}})(function(){return function(){function C(h,b){if("undefined"==typeof h.length)throw Error(h.length+"/"+b);var g=function(){for(var a=0;a<h.length&&0==h[a];)a+=1;for(var t=Array(h.length-a+b),c=0;c<h.length-a;c+=1)t[c]=h[c+a];return t}(),a={getAt:function(a){return g[a]},getLength:function(){return g.length},
multiply:function(f){for(var t=Array(a.getLength()+f.getLength()-1),c=0;c<a.getLength();c+=1)for(var d=0;d<f.getLength();d+=1)t[c+d]^=k.gexp(k.glog(a.getAt(c))+k.glog(f.getAt(d)));return C(t,0)},mod:function(f){if(0>a.getLength()-f.getLength())return a;for(var t=k.glog(a.getAt(0))-k.glog(f.getAt(0)),c=Array(a.getLength()),d=0;d<a.getLength();d+=1)c[d]=a.getAt(d);for(d=0;d<f.getLength();d+=1)c[d]^=k.gexp(k.glog(f.getAt(d))+t);return C(c,0).mod(f)}};return a}var D=function(h,b){var g=E[b],a=null,f=
0,t=null,c=[],d={},k=function(d,q){for(var l=f=4*h+17,e=Array(l),b=0;b<l;b+=1){e[b]=Array(l);for(var m=0;m<l;m+=1)e[b][m]=null}a=e;w(0,0);w(f-7,0);w(0,f-7);l=x.getPatternPosition(h);for(e=0;e<l.length;e+=1)for(b=0;b<l.length;b+=1){m=l[e];var p=l[b];if(null==a[m][p])for(var k=-2;2>=k;k+=1)for(var n=-2;2>=n;n+=1)a[m+k][p+n]=-2==k||2==k||-2==n||2==n||0==k&&0==n}for(l=8;l<f-8;l+=1)null==a[l][6]&&(a[l][6]=0==l%2);for(l=8;l<f-8;l+=1)null==a[6][l]&&(a[6][l]=0==l%2);l=x.getBCHTypeInfo(g<<3|q);for(e=0;15>
e;e+=1)b=!d&&1==(l>>e&1),a[6>e?e:8>e?e+1:f-15+e][8]=b,a[8][8>e?f-e-1:9>e?15-e:14-e]=b;a[f-8][8]=!d;if(7<=h){l=x.getBCHTypeNumber(h);for(e=0;18>e;e+=1)b=!d&&1==(l>>e&1),a[Math.floor(e/3)][e%3+f-8-3]=b;for(e=0;18>e;e+=1)b=!d&&1==(l>>e&1),a[e%3+f-8-3][Math.floor(e/3)]=b}if(null==t){l=A.getRSBlocks(h,g);e=B();for(b=0;b<c.length;b+=1)m=c[b],e.put(m.getMode(),4),e.put(m.getLength(),x.getLengthInBits(m.getMode(),h)),m.write(e);for(b=m=0;b<l.length;b+=1)m+=l[b].dataCount;if(e.getLengthInBits()>8*m)throw Error("code length overflow. ("+
e.getLengthInBits()+">"+8*m+")");for(e.getLengthInBits()+4<=8*m&&e.put(0,4);0!=e.getLengthInBits()%8;)e.putBit(!1);for(;!(e.getLengthInBits()>=8*m);){e.put(236,8);if(e.getLengthInBits()>=8*m)break;e.put(17,8)}var u=0;m=b=0;p=Array(l.length);k=Array(l.length);for(n=0;n<l.length;n+=1){var y=l[n].dataCount,v=l[n].totalCount-y;b=Math.max(b,y);m=Math.max(m,v);p[n]=Array(y);for(var r=0;r<p[n].length;r+=1)p[n][r]=255&e.getBuffer()[r+u];u+=y;r=x.getErrorCorrectPolynomial(v);y=C(p[n],r.getLength()-1).mod(r);
k[n]=Array(r.getLength()-1);for(r=0;r<k[n].length;r+=1)v=r+y.getLength()-k[n].length,k[n][r]=0<=v?y.getAt(v):0}for(r=e=0;r<l.length;r+=1)e+=l[r].totalCount;e=Array(e);for(r=u=0;r<b;r+=1)for(n=0;n<l.length;n+=1)r<p[n].length&&(e[u]=p[n][r],u+=1);for(r=0;r<m;r+=1)for(n=0;n<l.length;n+=1)r<k[n].length&&(e[u]=k[n][r],u+=1);t=e}l=t;e=-1;b=f-1;m=7;p=0;k=x.getMaskFunction(q);for(n=f-1;0<n;n-=2)for(6==n&&--n;;){for(r=0;2>r;r+=1)null==a[b][n-r]&&(u=!1,p<l.length&&(u=1==(l[p]>>>m&1)),k(b,n-r)&&(u=!u),a[b][n-
r]=u,--m,-1==m&&(p+=1,m=7));b+=e;if(0>b||f<=b){b-=e;e=-e;break}}},w=function(d,b){for(var c=-1;7>=c;c+=1)if(!(-1>=d+c||f<=d+c))for(var e=-1;7>=e;e+=1)-1>=b+e||f<=b+e||(a[d+c][b+e]=0<=c&&6>=c&&(0==e||6==e)||0<=e&&6>=e&&(0==c||6==c)||2<=c&&4>=c&&2<=e&&4>=e?!0:!1)};d.addData=function(a){a=v(a);c.push(a);t=null};d.isDark=function(c,d){if(0>c||f<=c||0>d||f<=d)throw Error(c+","+d);return a[c][d]};d.getModuleCount=function(){return f};d.make=function(){for(var a=0,f=0,c=0;8>c;c+=1){k(!0,c);var e=x.getLostPoint(d);
if(0==c||a>e)a=e,f=c}k(!1,f)};return d};D.stringToBytes=function(h){for(var b=[],g=0;g<h.length;g++){var a=h.charCodeAt(g);128>a?b.push(a):2048>a?b.push(192|a>>6,128|a&63):55296>a||57344<=a?b.push(224|a>>12,128|a>>6&63,128|a&63):(g++,a=65536+((a&1023)<<10|h.charCodeAt(g)&1023),b.push(240|a>>18,128|a>>12&63,128|a>>6&63,128|a&63))}return b};var E={L:1,M:0,Q:3,H:2},x=function(){var h=[[],[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]],b={},
g=function(a){for(var f=0;0!=a;)f+=1,a>>>=1;return f};b.getBCHTypeInfo=function(a){for(var f=a<<10;0<=g(f)-g(1335);)f^=1335<<g(f)-g(1335);return(a<<10|f)^21522};b.getBCHTypeNumber=function(a){for(var f=a<<12;0<=g(f)-g(7973);)f^=7973<<g(f)-g(7973);return a<<12|f};b.getPatternPosition=function(a){return h[a-1]};b.getMaskFunction=function(a){switch(a){case 0:return function(a,b){return 0==(a+b)%2};case 1:return function(a,b){return 0==a%2};case 2:return function(a,b){return 0==b%3};case 3:return function(a,
b){return 0==(a+b)%3};case 4:return function(a,b){return 0==(Math.floor(a/2)+Math.floor(b/3))%2};case 5:return function(a,b){return 0==a*b%2+a*b%3};case 6:return function(a,b){return 0==(a*b%2+a*b%3)%2};case 7:return function(a,b){return 0==(a*b%3+(a+b)%2)%2};default:throw Error("bad maskPattern:"+a);}};b.getErrorCorrectPolynomial=function(a){for(var f=C([1],0),b=0;b<a;b+=1)f=f.multiply(C([1,k.gexp(b)],0));return f};b.getLengthInBits=function(a,b){if(4!=a||1>b||40<b)throw Error("mode: "+a+"; type: "+
b);return 10>b?8:16};b.getLostPoint=function(a){for(var b=a.getModuleCount(),h=0,c=0;c<b;c+=1)for(var d=0;d<b;d+=1){for(var g=0,k=a.isDark(c,d),p=-1;1>=p;p+=1)if(!(0>c+p||b<=c+p))for(var q=-1;1>=q;q+=1)0>d+q||b<=d+q||(0!=p||0!=q)&&k==a.isDark(c+p,d+q)&&(g+=1);5<g&&(h+=3+g-5)}for(c=0;c<b-1;c+=1)for(d=0;d<b-1;d+=1)if(g=0,a.isDark(c,d)&&(g+=1),a.isDark(c+1,d)&&(g+=1),a.isDark(c,d+1)&&(g+=1),a.isDark(c+1,d+1)&&(g+=1),0==g||4==g)h+=3;for(c=0;c<b;c+=1)for(d=0;d<b-6;d+=1)a.isDark(c,d)&&!a.isDark(c,d+1)&&
a.isDark(c,d+2)&&a.isDark(c,d+3)&&a.isDark(c,d+4)&&!a.isDark(c,d+5)&&a.isDark(c,d+6)&&(h+=40);for(d=0;d<b;d+=1)for(c=0;c<b-6;c+=1)a.isDark(c,d)&&!a.isDark(c+1,d)&&a.isDark(c+2,d)&&a.isDark(c+3,d)&&a.isDark(c+4,d)&&!a.isDark(c+5,d)&&a.isDark(c+6,d)&&(h+=40);for(d=g=0;d<b;d+=1)for(c=0;c<b;c+=1)a.isDark(c,d)&&(g+=1);return h+Math.abs(100*g/b/b-50)/5*10};return b}(),k=function(){for(var h=Array(256),b=Array(256),g=0;8>g;g+=1)h[g]=1<<g;for(g=8;256>g;g+=1)h[g]=h[g-4]^h[g-5]^h[g-6]^h[g-8];for(g=0;255>g;g+=
1)b[h[g]]=g;return{glog:function(a){if(1>a)throw Error("glog("+a+")");return b[a]},gexp:function(a){for(;0>a;)a+=255;for(;256<=a;)a-=255;return h[a]}}}(),A=function(){var h=[[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]],b=function(a,b){var c={};c.totalCount=a;c.dataCount=b;return c},g={},a=function(a,b){switch(b){case E.L:return h[4*(a-1)+0];case E.M:return h[4*(a-1)+1];case E.Q:return h[4*(a-1)+2];case E.H:return h[4*(a-1)+3]}};g.getRSBlocks=function(f,g){var c=a(f,g);if("undefined"==typeof c)throw Error("bad rs block @ typeNumber:"+f+"/errorCorrectLevel:"+g);for(var d=c.length/3,h=[],k=0;k<d;k+=1)for(var p=c[3*k+0],q=c[3*k+1],l=c[3*k+2],e=0;e<p;e+=1)h.push(b(q,l));return h};return g}(),B=function(){var h=
[],b=0,g={getBuffer:function(){return h},getAt:function(a){return 1==(h[Math.floor(a/8)]>>>7-a%8&1)},put:function(a,b){for(var f=0;f<b;f+=1)g.putBit(1==(a>>>b-f-1&1))},getLengthInBits:function(){return b},putBit:function(a){var f=Math.floor(b/8);h.length<=f&&h.push(0);a&&(h[f]|=128>>>b%8);b+=1}};return g},v=function(h){var b=D.stringToBytes(h);return{getMode:function(){return 4},getLength:function(g){return b.length},write:function(g){for(var a=0;a<b.length;a+=1)g.put(b[a],8)}}};return D}()}());
{'fraction_non_alphanumeric': 0.38364124554161827, 'fraction_numerical': 0.20899290666452933, 'mean_word_length': 23.392961876832846, 'pattern_counts': {'":': 0, '<': 171, '<?xml version=': 0, '>': 161, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1261046', 'n_tokens_mistral': 17212, 'n_tokens_neox': 14555, 'n_words': 349}