<commit_before><commit_msg>add browser script<commit_after>!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b){var c,d,e,f;d=a("ut1l/obj").creator,c=Math.cos,f=Math.sin,e={Lab:function(b){return null==b&&(b=a("./Lab")()),b.L=this.L,b.a=this.C*c(this.h),b.b=this.C*f(this.h),b},toString:function(){return"L="+this.L+", C="+this.C+", h="+this.h}},b.exports=d(e,function(a,b,c){this.L=a,this.C=b,this.h=c})},{"./Lab":2,"ut1l/obj":18}],2:[function(a,b){var c,d,e,f;d=a("ut1l/obj").creator,f=Math.sqrt,c=Math.atan2,e={LCh:function(b){return null==b&&(b=a("./LCh")()),b.L=this.L,b.C=f(this.a*this.a+this.b*this.b),b.h=c(this.b,this.a),b},toString:function(){return"L="+this.L+", a="+this.a+", b="+this.b}},b.exports=d(e,function(a,b,c){this.L=a,this.a=b,this.b=c})},{"./LCh":1,"ut1l/obj":18}],3:[function(a,b){var c,d,e,f,g,h;c=a("ut1l/obj").creator,d=function(a){return a>=0&&255>=a?a:void 0},f=function(a){return void 0===a?a:a/255},h=function(a){var b;return b=a.toString(16).toUpperCase(),1===b.length?"0"+b:b},e=function(a){return parseInt(a,16)},g={rgb:function(b){return null==b&&(b=a("./rgb")()),b.r=f(this.R),b.g=f(this.G),b.b=f(this.B),b},hex:function(a){return null!=a?(this.R=e(a.substring(0,2)),this.G=e(a.substring(2,4)),this.B=e(a.substring(4,6)),this):this.isDefined()?h(this.R)+h(this.G)+h(this.B):void 0},isDefined:function(){return null!=this.R&&null!=this.G&&null!=this.B},toString:function(){return"R="+this.R+", G="+this.G+", B="+this.B}},b.exports=c(g,function(a,b,c){this.R=a,this.G=b,this.B=c})},{"./rgb":8,"ut1l/obj":18}],4:[function(a,b){var c,d;c=a("ut1l/obj").creator,d={xyY:function(b){return null==b&&(b=a("./xyY")()),b.x=this.X/(this.X+this.Y+this.Z),b.y=this.Y/(this.X+this.Y+this.Z),b.Y=this.Y,b},isDefined:function(){return null!=this.X&&null!=this.Y&&null!=this.Z},toString:function(){return"X="+this.X+", Y="+this.Y+", Z="+this.Z}},b.exports=c(d,function(a,b,c){this.X=a,this.Y=b,this.Z=c})},{"./xyY":12,"ut1l/obj":18}],5:[function(a,b){var c,d,e,f,g,h,i,j;j=a("ut1l/log"),e=j.info,h=j.warn,d=j.fail,f=Math.pow,g=a("./rgb"),i=a("./XYZ"),c=function(){function a(a,b){this.rgbCs=a,this.labCs=b}return a.prototype.LChMaxC=function(a,b){var c,d,e,f,h,i;for(null==b&&(b=g()),a.C=0,e=110,f=null,d=i=0;50>=i;d=i+=1)c=a.Lab(c),h=this.labCs.XYZ(c,h),this.rgbCs.rgb(h,b),b.isValid()?(f=a.C,a.C+=e):a.C-=e,e/=2;return a.C=f,null!=f?this.rgbCs.rgb(this.labCs.XYZ(a.Lab(c),h),b):null},a}(),b.exports=function(a,b){return new c(a,b)}},{"./XYZ":4,"./rgb":8,"ut1l/log":17}],6:[function(a,b){var c,d,e,f,g;d=a("ut1l/obj").creator,e=Math.floor,g={rgb:function(b){var c,d,f,g,h;if(null==b&&(b=a("./rgb")()),0===this.s)return b.set(this.v,this.v,this.v);switch(d=6*(this.h-e(this.h)),c=d-e(d),f=this.v*(1-this.s),g=this.v*(1-this.s*c),h=this.v*(1-this.s*(1-c)),e(d)){case 0:return b.set(this.v,h,f);case 1:return b.set(g,this.v,f);case 2:return b.set(f,this.v,h);case 3:return b.set(f,g,this.v);case 4:return b.set(h,f,this.v);case 5:return b.set(this.v,f,g)}},set:function(a,b,c){return this.h=a,this.s=b,this.v=c,this},toString:function(){return"h="+this.h+", s="+this.s+", v="+this.v}},f=c=d(g,function(a,b,c){this.h=a,this.s=b,this.v=c}),a("./rgb").extendRgb(function(a){return a.hsv=function(a){var b,d,e;if(null==a&&(a=c()),d=Math.max(this.r,this.g,this.b),e=Math.min(this.r,this.g,this.b),a.v=d,b=d-e,a.s=0!==d?b/d:0,0===a.s)a.h=0;else{switch(d){case this.r:a.h=this.g<this.b?6:0,a.h+=(this.g-this.b)/b;break;case this.g:a.h=2+(this.b-this.r)/b;break;default:a.h=4+(this.r-this.g)/b}a.h/=6}return a}}),b.exports=f},{"./rgb":8,"ut1l/obj":18}],7:[function(a,b){var c;b.exports=c={rgb:a("./rgb"),RGB:a("./RGB"),hsv:a("./hsv"),Lab:a("./Lab"),LCh:a("./LCh"),XYZ:a("./XYZ"),xyY:a("./xyY"),white:a("./white"),space:{rgb:a("./space/rgb"),lab:a("./space/lab")}},"undefined"!=typeof window&&null!==window&&(window.c0lor=c)},{"./LCh":1,"./Lab":2,"./RGB":3,"./XYZ":4,"./hsv":6,"./rgb":8,"./space/lab":9,"./space/rgb":10,"./white":11,"./xyY":12}],8:[function(a,b){var c,d,e,f,g,h;c=a("ut1l/obj").creator,f=Math.round,d=function(a){return a>=0&&255>=a?a:void 0},g=function(a){return d(f(255*a))},h=function(a){return isFinite(a)&&a>=0&&1>=a},e={RGB:function(b){return null==b&&(b=a("./RGB")()),b.R=g(this.r),b.G=g(this.g),b.B=g(this.b),b},set:function(a,b,c){return this.r=a,this.g=b,this.b=c,this},isDefined:function(){return null!=this.r&&null!=this.g&&null!=this.b},isValid:function(){return this.isDefined()&&h(this.r)&&h(this.g)&&h(this.b)},toString:function(){return"r="+this.r+", g="+this.g+", b="+this.b}},b.exports=c(e,function(a,b,c){this.r=a,this.g=b,this.b=c},{extendRgb:function(a){return a(e)}})},{"./RGB":3,"ut1l/obj":18}],9:[function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n;e=a("ut1l/obj").creator,n=a("../XYZ"),c=a("../Lab"),m=Math.pow,d=4/29,g=216/24389,k=841/108,f=6/29,h=function(a){return a>g?m(a,1/3):k*a+d},j=function(a){return a>f?m(a,3):(a-d)/k},i=function(a){return a>g?1/(3*m(a,2/3)):k},l={Lab:function(a,b){var d;return null==b&&(b=c()),d=h(a.Y/this.white.Y),b.L=116*d-16,b.a=500*(h(a.X/this.white.X)-d),b.b=200*(d-h(a.Z/this.white.Z)),b},XYZ:function(a,b){var c;return null==b&&(b=n()),c=(a.L+16)/116,b.X=j(c+a.a/500)*this.white.X,b.Y=j(c)*this.white.Y,b.Z=j(c-a.b/200)*this.white.Z,b},LabderivL:function(a){return 116*i(a/this.white.Y)/this.white.Y}},b.exports=e(l,function(a){this.white=a})},{"../Lab":2,"../XYZ":4,"ut1l/obj":18}],10:[function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p;f=a("ut1l/obj").creator,d=a("../XYZ"),p=a("../xyY"),n=a("../white"),c=a("m4th/matrix"),j=a("m4th/lu"),o=p,k=Math.pow,g=function(a){return.04045>=a?a/12.92:k((a+.055)/1.055,2.4)},h=function(a){return.0031308>=a?12.92*a:1.055*k(a,1/2.4)-.055},i=function(){var a,b,d;a=c([this.red.x,this.green.x,this.blue.x,this.red.y,this.green.y,this.blue.y,1-this.red.x-this.red.y,1-this.green.x-this.green.y,1-this.blue.x-this.blue.y]),b=j(a),d=c(3,[this.white.X,this.white.Y,this.white.Z]),b.solve(d,d),a=a.mult(c.diag(d.array)),this.base=a.array,this.baseInv=j(a).getInverse().array,delete this.XYZ,delete this.rgb},l=function(a,b,c,d,e,f){this.red=a,this.green=b,this.blue=c,this.white=d,"function"==typeof e?(this.gamma=e,this.gammaInv=f):(this.g=e,this.gInv=1/e),this.rgb=function(){return i.call(this),this.rgb.apply(this,arguments)},this.XYZ=function(){return i.call(this),this.XYZ.apply(this,arguments)}},m={gamma:function(a){return k(a,this.g)},gammaInv:function(a){return k(a,this.gInv)},rgb:function(b,c){var d;return null==c&&(c=a("../rgb")()),d=this.baseInv,c.r=this.gammaInv(d[0]*b.X+d[1]*b.Y+d[2]*b.Z),c.g=this.gammaInv(d[3]*b.X+d[4]*b.Y+d[5]*b.Z),c.b=this.gammaInv(d[6]*b.X+d[7]*b.Y+d[8]*b.Z),c},XYZ:function(a,b){var c,e,f,g;return null==b&&(b=d()),c=this.base,g=this.gamma(a.r),f=this.gamma(a.g),e=this.gamma(a.b),b.X=c[0]*g+c[1]*f+c[2]*e,b.Y=c[3]*g+c[4]*f+c[5]*e,b.Z=c[6]*g+c[7]*f+c[8]*e,b}},e=f(m,l),e["Adobe-98"]=e(o(.64,.33),o(.21,.71),o(.15,.06),n.D65,2.2),e["Adobe-RGB"]=e(o(.625,.34),o(.28,.595),o(.155,.07),n.D65,1.8),e["CIE-RGB"]=e(o(.735,.265),o(.274,.717),o(.167,.009),n.E,1),e.ColorMatch=e(o(.63,.34),o(.295,.605),o(.15,.075),n.D50,1.8),e["EBU-Monitor"]=e(o(.6314,.3391),o(.2809,.5971),o(.1487,.0645),n.D50,1.9),e["ECI-RGB"]=e(o(.67,.33),o(.21,.71),o(.14,.08),n.D50,1.8),e.HDTV=e(o(.64,.33),o(.29,.6),o(.15,.06),n.D65,2.2),e["Kodak-DC"]=e(o(.6492,.3314),o(.3219,.5997),o(.1548,.0646),n.D50,2.22),e["NTSC-53"]=e(o(.67,.33),o(.21,.71),o(.14,.08),n.C,2.2),e["PAL-SECAM"]=e(o(.64,.33),o(.29,.6),o(.15,.06),n.D65,2.2),e.sRGB=e(o(.64,.33),o(.3,.6),o(.15,.06),n.D65,g,h),e.WideGamut=e(o(.7347,.2653),o(.1152,.8264),o(.1566,.0177),n.D50,2.2),b.exports=e},{"../XYZ":4,"../rgb":8,"../white":11,"../xyY":12,"m4th/lu":13,"m4th/matrix":14,"ut1l/obj":18}],11:[function(a,b){var c,d;d=a("./xyY"),c=function(a,b){return d(a,b,1).XYZ()},b.exports={A:c(.44757,.40745),B:c(.34842,.35161),C:c(.31006,.31616),D50:c(.34567,.3585),D55:c(.33242,.34743),D65:c(.31271,.32902),D75:c(.29902,.31485),E:c(1/3,1/3),F1:c(.3131,.33727),F2:c(.37208,.37529),F3:c(.4091,.3943),F4:c(.44018,.40329),F5:c(.31379,.34531),F6:c(.3779,.38835),F7:c(.31292,.32933),F8:c(.34588,.35875),F9:c(.37417,.37281),F10:c(.34609,.35986),F11:c(.38052,.37713),F12:c(.43695,.40441)}},{"./xyY":12}],12:[function(a,b){var c,d;c=a("ut1l/obj").creator,d={XYZ:function(b){return null==b&&(b=a("./XYZ")()),b.X=this.x*this.Y/this.y,b.Y=this.Y,b.Z=(1-this.x-this.y)*this.Y/this.y,b},isDefined:function(){return null!=this.x&&null!=this.y&&null!=this.Y},toString:function(){return"x="+this.x+", y="+this.y+", Y="+this.Y}},b.exports=c(d,function(a,b,c){this.x=a,this.y=b,this.Y=c})},{"./XYZ":4,"ut1l/obj":18}],13:[function(a,b){var c,d,e,f,g;c=a("./matrix"),d=a("ut1l/obj").creator,e=a("ut1l/log").fail,f=function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n;for(null==b&&(b=a.clone()),c=f=0,k=b.columns;k>f;c=f+=1){for(d=g=c,l=b.columns;l>g;d=g+=1)for(e=h=0;c>h;e=h+=1)b.set(c,d,b.get(c,d)-b.get(c,e)*b.get(e,d));for(d=i=m=c+1,n=b.columns;n>i;d=i+=1){for(e=j=0;c>j;e=j+=1)b.set(d,c,b.get(d,c)-b.get(d,e)*b.get(e,c));b.set(d,c,b.get(d,c)/b.get(c,c))}}this.lu=b},g={solve:function(a,b){var c,d,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;for(null==b&&(b=a.clone()),c=this.lu,a.rows===c.columns&&a.isSize(b)||e("unmatching matrix dimension"),g=h=0,o=c.columns;o>h;g=h+=1)for(d=i=p=g+1,q=c.columns;q>i;d=i+=1)for(f=j=0,r=b.columns;r>j;f=j+=1)b.set(d,f,b.get(d,f)-b.get(g,f)*c.get(d,g));for(g=k=s=c.columns-1;k>=0;g=k+=-1){for(f=l=0,t=b.columns;t>l;f=l+=1)b.set(g,f,b.get(g,f)/c.get(g,g));for(d=m=0;g>m;d=m+=1)for(f=n=0,u=b.columns;u>n;f=n+=1)b.set(d,f,b.get(d,f)-b.get(g,f)*c.get(d,g))}return b},getInverse:function(){var a;return a=c.I(this.lu.columns),this.solve(a,a)}},b.exports=d(g,f)},{"./matrix":14,"ut1l/log":15,"ut1l/obj":16}],14:[function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;j=a("ut1l/log").fail,f=a("ut1l/obj").creator,k=function(){return j("invalid dimension")},l=Math.floor,d=Math.ceil,u=Math.sqrt,s=Math.min,m=function(a){return a},c=function(a,b){return a+b},t=function(a,b){return a-b},n=function(a){return"number"==typeof a},p=function(a,b,c){var e,f,g;n(a)?(g=a,n(b)?(f=b,e=c):e=b):e=a,null==g&&(g=d(u(e.length))),null==f&&(f=0===g?0:null!=e?d(e.length/g):g),null==e&&(e=[]),this.columns=f,this.rows=g,this.array=e},r={I:function(a,b){var c,d,f,g;for(null==b&&(b=a),c=e(a,b),c.fill(0,c),d=f=0,g=s(a,b);g>f;d=f+=1)c.set(d,d,1);return c},diag:function(a,b){return null==b?b=e(a.length,a.length):b.isSize(a.length)||k(),b.each(function(c,d,e){return b.set(d,e,d===e?a[d]:0)}),b}},i=function(a,b){var c,d,e;for(c=d=0,e=this.columns;e>d;c=d+=1)b.call(this,this.get(a,c),a,c);return this},g=function(a){var b,c,d;for(b=c=0,d=this.rows;d>c;b=c+=1)i.call(this,b,a);return this},h=function(a){var b,c,d;for(b=c=0,d=s(this.rows,this.columns);d>c;b=c+=1)a.call(this,this.get(b,b),b,b);return this},o=function(a){return function(b,c){var d;return d=c,a.call(this,function(a,c,e){d=null!=d?b.call(this,d,a,c,e):a}),d}},q={get:function(a,b){return null==b&&(b=0),this.array[a*this.columns+b]},set:function(a,b,c){return this.array[a*this.columns+b]=c,this},isSize:function(a,b){return n(a)?(null==b&&(b=a),this.rows===a&&this.columns===b):this.isSize(a.rows,a.columns)},isSquare:function(){return this.rows===this.columns},each:g,eachDiagonal:h,reduce:o(g),reduceDiagonal:o(h),reduceRows:function(a,b){var c,d,e,f,g,h,i,j,k;for(e=[],c=h=0,j=this.rows;j>h;c=h+=1){for(g=b,d=i=0,k=this.columns;k>i;d=i+=1)f=this.get(c,d),g=null!=g?a.call(this,g,f,c,d):f;e.push(g)}return e},map:function(){var a,b,c,d,f,g,h=this;return b=arguments,g=b.length-1,void 0===b[g]&&(g-=1),"function"!=typeof b[g]?(a=b[g--],this.isSize(a)||k()):a=e(this.rows,this.columns),d=b[g],f=a.rows*a.columns,c=[],a.each(function(e,f,i){var j,k;for(c[0]=h.get(f,i),j=k=0;g>k;j=k+=1)c[j+1]=b[j].get(f,i);return c[++j]=f,c[++j]=i,a.set(f,i,d.apply(h,c))}),a},clone:function(a){return this.map(m,a)},fill:function(a,b){return this.map(function(){return a},b)},times:function(a,b){return this.map(function(b){return a*b},b)},add:function(a,b){return this.map(a,c,b)},minus:function(a,b){return this.map(a,t,b)},transp:function(a){var b,c,d,f,g,h,i,j;if(null==a&&(a=e(this.columns,this.rows)),a===this)return b=this.clone(),h=[this.columns,this.rows],this.rows=h[0],this.columns=h[1],b.transp(this);for((this.rows!==a.columns||this.columns!==a.rows)&&k(),c=f=0,i=this.columns;i>f;c=f+=1)for(d=g=0,j=this.rows;j>g;d=g+=1)a.set(c,d,this.get(d,c));return a},mult:function(a,b){var c,d,f,g,h,i,j,l,m;for(null==b&&(b=e(this.rows,a.columns)),(this.columns!==a.rows||b.rows!==this.rows||b.columns!==a.columns)&&k(),b.fill(0,b),c=g=0,j=this.rows;j>g;c=g+=1)for(d=h=0,l=a.columns;l>h;d=h+=1)for(f=i=0,m=this.columns;m>i;f=i+=1)b.array[c*b.columns+d]+=this.get(c,f)*a.get(f,d);return b},toString:function(){var a;return a=function(a,b){return a+" "+b},function(){return this.reduceRows(a).join("\n")}}()},b.exports=e=f(q,p,r)},{"ut1l/log":15,"ut1l/obj":16}],15:[function(a,b){b.exports={info:function(){},warn:function(a){console.log("WARN: "+a)},fail:function(a){throw{message:a}}}},{}],16:[function(a,b){b.exports={creator:function(a,b,c){var d,e,f,g;"function"==typeof a?(e=a,c=b):(d=null==b?function(){}:function(a){var c;return c=b.apply(this,a),void 0!==c?c:this},d.prototype=a,e=function(){return new d(arguments)});for(f in c)g=c[f],e[f]=g;return e}}},{}],17:[function(a,b){b.exports=a(15)},{}],18:[function(a,b){b.exports=a(16)},{}]},{},[1,2,4,3,6,7,5,8,9,10,12,11]);
{'fraction_non_alphanumeric': 0.3621605881924729, 'fraction_numerical': 0.061075926330348695, 'mean_word_length': 11.696857670979668, 'pattern_counts': {'":': 43, '<': 5, '<?xml version=': 0, '>': 39, 'https://': 0, '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': '3567209', 'n_tokens_mistral': 7764, 'n_tokens_neox': 7359, 'n_words': 190}