<commit_before>/*------------------------------------------------------------------------------
Function:      eCSStender()
Author:        <NAME> (aaron at easy-designs dot net)
Creation Date: 2006-12-03
Version:       1.2
Homepage:      http://eCSStender.org
License:       MIT License (see homepage)
------------------------------------------------------------------------------*/
(function(){var n,ah=true,bg=false,X=null,bn="string",af="number",K=Array,bh=Function,aR=RegExp,f=document,aD=window,az=aD.location.href,i=function(){},ap="eCSStender",g="extension",bb="selector",T="property",E="specificity",aP="all",aN="media",q="find_by",y="test",w="lookup",bL="fragment",aY="prefix",aO="properties",ar="callback",am="filter",bk="processed",aJ="fingerprint",a9="||||",aC="",S=" ",bd="*",o="/",bF=":",bv=";",ak="-",br="{",bl="}",V="div",ab="hidden",bJ=".*?",aq="-.*",bo="$1",a2="!"+ap+"-media-placeholder!",bz={},p=0,bf=0,a4=[],aX=0,ax=bg,r={},aL={},bM=new F(),u=bg,b=[],J=[bb,E],bA=az.replace(/^\w+:\/\/\/?(.*?)\/.*/,bo),an=(az.indexOf("http")!==0),bu={},H=[],P=f.expando,aH=i,a3=bg,ay=al("style"),B=[],aA=i,ao="-count",a={},aG=bg,d=bg,aE={xhr:{},extension:{},selector:{},property:{}},aS={},a7,au=i,bi=i,bK=i,I=/\s*,\s*/,aU=/.*\/(.*?\..*?)(?:\?.*)?$/,k=/\w+?\:\/\//,M=/@font-face\s*?{(.*?)\s*?}/ig,x=/@page\s*?(:\w*?){0,1}{\s*?(.*?)\s*?}/ig,s=/@media\s*(.*?)\s*{(.*?})}/ig,aF=/@([\w-]+)(.*?){([^}]*)}/ig,aI=/:(?!\/\/)/,a0=/[:()]/g,bq={name:ap,version:"1.2",fonts:[],pages:{},at:{},methods:{},cache:bg,exec_time:0};aD.eCSStender=bq;bM.onreadystatechange=h;function bc(){if(u){return}u=ah;bq.exec_time=a5();a3=f.getElementsByTagName("head")[0];ai();a8();N()}function aa(){ag();bI();aw();bx();ad();bq.exec_time=(a5()-bq.exec_time)*0.001;c()}function a8(){var bP=f.styleSheets,bO,bN;for(bO=0,bN=bP.length;bO<bN;bO++){D(bP[bO])}}function N(){var bP,bO,bQ,bN,bR;for(bP=0,bO=a4.length;bP<bO;bP++){bQ=t(a4[bP]);bj(bQ);R(a4[bP])}h()}function ag(){if(aG||an){return}var bO,bP=aE.xhr,bN=j=0;bq.cache=ah;for(bO in a){bN++;if(!aM(a,bO)&&a[bO]!=X){j++;if(!Z(bP[bO])||bP[bO]!=a[bO]){bq.cache=bg}aE.xhr[bO]=a[bO]}}if(bN>j){bq.cache=bg}}function bI(){if(bq.cache){return}var bO={},bQ,bP=0,bN;for(bQ in bz){if(!aM(bz,bQ)){bN=bz[bQ][y];if(!Z(bN)||(L(bN,bh)&&bN())){bO[bQ]=bz[bQ];bP++}}}bz=bO;p=bP}function aw(){if(p<1){return}var bN,bT,bY,bX,bP,b0,bV,b1,bS,bQ,bU,b4,bZ,bO,b2,bW,b3,bR;if(!bq.cache){for(bN in r){if(!aM(r,bN)){bT=r[bN];bY=Q(bT);for(bX=0,bP=bY.length;bX<bP;bX++){b0=bY[bX][bb];bV:for(b1 in bz){if(!aM(bz,b1)){bS=bz[b1][aN];if(Z(bS)&&bS!=aP){bS=bS.split(I);if(bN!=aP&&!ac(bN,bS)){continue}}bU=bz[b1][q];bQ=bz[b1][w];bO=bQ.length;if(bU==bb){for(bZ=0;bZ<bO;bZ++){if(W(b0,bQ[bZ])){aW(b1,bN,b0);continue bV}}}else{if(bU==T){for(bZ=0;bZ<bO;bZ++){if(Z(bT[b0][bQ[bZ]])){aW(b1,bN,b0);continue bV}}}else{if(bU==bL||bU==aY){b3=(bU==bL)?bJ+bQ+bJ:ak+bQ+aq;b3=aj(b3);for(bR in bT[b0]){if(!aM(bT,b0)&&!ac(bR,J)&&bR.match(b3)){aW(b1,bN,b0);continue bV}}}}}}}}}}}}function aW(bQ,bP,bN){var bO=bP+a9+bN;bC(g,g+(bf++),bQ+a9+bO,bg)}function bx(){var bR,bT,bU,bS,bN,bQ,bP,bO;for(bR=0;bR<bf;bR++){bT=aE[g][g+bR].split(a9);bU=bz[bT[0]];bS=r[bT[1]][bT[2]];bN=bT[1]+a9+bT[2];if(!Z(bU)||ac(bN,bU[bk])){continue}if(Z(bU[am])){if(!e(bS,bU[am])){continue}}bP=(!bq.cache)?bS[E]:bw(bT[2]);bQ=aZ(bT[1],bT[2],bU[aO]);bU[ar](bT[2],bQ,bT[1],bP);bU[bk].push(bN)}}function c(){for(var bN=H.length-1;bN>=0;bN--){H[bN]()}}function m(bQ){var bR,bO,bP,bN;if(Z(bQ.imports)){bO=bQ.imports;for(bP=0,bN=bO.length;bP<bN;bP++){D(bO[bP])}}else{bR=bQ.cssRules||bQ.rules;for(bP=0,bN=bR.length;bP<bN;bP++){if(bR[bP].type!=3){return}D(bR[bP].styleSheet)}if(bP===bN){b.push(bQ.href.replace(aU,bo))}}}function D(bO){var bN=bO.href;if(bO.disabled||(bN&&(R(bO).indexOf(bA)==-1||ac(bN.replace(aU,bo),b)))){return}m(bO);a4.push(bO)}function Q(bQ){var bO=[],bP,bN;for(bN in bQ){if(!aM(bQ,bN)){bP=bQ[bN];bP[bb]=bN;bP[E]=bw(bN);bO.push(bP)}}bO.sort(be);return bO}function be(bP,bO){var bN=bP[E],bQ=bO[E];return((bN<bQ)?-1:((bN>bQ)?1:0))}function bw(bN){var bO=0,bP;bN=bN.replace(/\s*\+\s*|\s*\>\s*/,S);bN=bN.replace(/(:not)\((.*)\)/,"$1 $2");bP=bN.match(/#/);if(bP!=X){bO+=(bP.length*100)}bN=bN.replace(/#[\w-_]+/,aC);bP=bN.match(/::|:|\.|\[.*?\]/);if(bP!=X){bO+=(bP.length*10)}bN=bN.replace(/(?:::|:|\.)[\w-_()]+|\[.*?\]/,aC);bP=Y(bN)!=aC?bN.split(S):[];bO+=bP.length;return bO}function R(bP){var bO=bP.actual_path,bR=bO||bP.href,bQ=bP.parentStyleSheet,bT,bS,bU,bN=prefix=aC;if(!bR){bR=X}if(!bO&&(bQ!=X||(bR!=X&&bR.match(k)===X))){if(bR.indexOf(o)===0){bR=bR.substring(1)}bT=az.substring(0,az.lastIndexOf(o));bS=bR.lastIndexOf(o);bU=bR.substring(bS+1);if(bQ==X){if(Z(bP.ownerNode)&&Z(CSSImportRule)&&L(bP.ownerRule,CSSImportRule)){bQ=bP.ownerRule.parentStyleSheet}}if(bQ==X){prefix=bT+o+bR.substring(0,bS)}else{bN=R(bQ);prefix=bN.substring(0,bN.lastIndexOf(o))}bR=prefix+o+bU}bP.actual_path=bR;return bR}function t(bO){var bQ=bO.media,bN=bO.ownerRule,bP=bg;if(!L(bQ,bn)){if(bN!=X){bP=bN.media.mediaText;if(!bP){bP=t(bN.parentStyleSheet)}}else{bP=bQ.mediaText}}else{if(L(bQ,bn)&&bQ){bP=bQ}}bO.actual_media=bP?bP:aP;if(L(bO.actual_media,bn)){bO.actual_media=bO.actual_media.split(I)}return bO.actual_media}function av(bN){bN=aB(bN);bN=ae(bN);bN=bG(bN);bN=bB(bN);return bN}function aB(bO){var bN;while((bN=M.exec(bO))!=X){bq.fonts.push(C(bN[1]))}return bO.replace(M,aC)}function ae(bO){var bN,bQ,bP;while((bN=x.exec(bO))!=X){bQ=(Z(bN[1])&&bN[1]!=aC)?bN[1].replace(bF,aC):aP;bP=C(bN[2]);if(!Z(bq.pages[bQ])){bq.pages[bQ]=bP}else{for(prop in bP){if(!aM(bP,prop)){bq.pages[bQ][prop]=bP[prop]}}}}return bO.replace(x,aC)}function bG(bP){var bO,bR,bN,bT,bQ,bS=0;while((bO=s.exec(bP))!=X){bP=G(bP,bO,bS);bS++}return bP}function bB(bP){var bO,bS,bR,bN,bQ,bT;while((bO=aF.exec(bP))!=X){bS=bO[1];bR=Y(bO[2]);bR=(bR==aC)?bg:bR.split(I);bQ=C(bO[3]);if(!Z(bq.at[bS])){bq.at[bS]=!bR?aQ([]):{}}if(!bR){bq.at[bS].push(bQ)}else{bN=bR.length-1;while(bN>-1){if(!Z(bq.at[bS][bR[bN]])){bq.at[bS][bR[bN]]=bQ}else{for(bT in bQ){if(!aM(bQ,bT)){bq.at[bS][bR[bN]][bT]=bQ[bT]}}}bN--}}}return bP.replace(aF,aC)}function G(bO,bN,bP){media=bN[1].split(I);styles=bN[2];bj(media);aL[bP]={media:media,styles:styles};return bO.replace(bN[0],a2+"{id:"+bP+bl)}function aK(bO){var bN=aL[bO];O(bN.media,bN.styles);aL[bO]=X}function O(bQ,bV){var bO=bV.split(bl),bX,bN,bW,bP,bT,bR,bZ,bU,bY,bS;bO.pop();for(bX=0,bN=bO.length;bX<bN;bX++){bO[bX]=bO[bX].split(br);bW=C(bO[bX][1]);bT=bO[bX][0];if(bT.indexOf(a2)!=-1){aK(bW.id)}else{bU=bT.split(I);for(bY=0,bS=bU.length;bY<bS;bY++){bT=Y(bU[bY]);for(bR in bQ){if(!aM(bQ,bR)){bZ=bQ[bR];if(!Z(r[bZ][bT])){r[bZ][bT]={}}for(bP in bW){if(!aM(bW,bP)){r[bZ][bT][bP]=bW[bP]}}}}}}}}function C(bP){if(!L(bP,bn)){return{}}bP=bP.split(bv);var bQ={},bS,bO,bN,bR;for(bS=0,bO=bP.length;bS<bO;bS++){bR=Y(bP[bS]);if(bR==aC){continue}bN=bR.split(aI);bQ[Y(bN[0])]=Y(bN[1])}return bQ}function bH(bU,bP){var bR=[],bT,bO,bS,bQ,bN;if(!A(bP)){if(bP!=bd){if(L(bP,bn)){bR.push(bP)}else{if(L(bP,K)){for(bQ=0,bN=bP.length;bQ<bN;bQ++){bR.push(bP[bQ])}}}}else{bR=bP}}if(bP!=bd){bT=bU[T];bO=bU[bL];bS=bU[aY];if(Z(bT)){if(L(bT,bn)){bR.push(bT)}else{if(L(bT,K)){for(bQ=0,bN=bT.length;bQ<bN;bQ++){bR.push(bT[bQ])}}}}else{if(Z(bO)){bR.push(aj(bJ+bO+bJ))}else{if(Z(bS)){bR.push(aj(ak+bS+aq))}}}}return bR}function aZ(bV,bP,bS){var bN,bU,bR={},bO,bQ,bT=r[bV][bP];if(L(bS,K)){for(bO=0,bQ=bS.length;bO<bQ;bO++){bN=bS[bO];if(L(bN,aR)){for(bU in bT){if(!aM(bT,bU)&&!ac(bU,J)&&bU.match(bN)!=X){bR[bU]=bT[bU]}}}else{if(L(bN,bn)&&Z(bT[bN])){bR[bN]=bT[bN]}}}}else{for(bU in bT){if(!aM(bT,bU)&&!ac(bU,J)){bR[bU]=bT[bU]}}}return bR}function bp(bR){var bP=[],bT,bO,bQ,bS,bN;if(!L(bR,K)){if(L(bR,bn)&&bR.indexOf(",")!=-1){bQ=bR.split(I);for(bT=0,bO=bQ.length;bT<bO;bT++){bP.push(bQ[bT])}}else{bP=[bR]}}else{for(bT=0,bO=bR.length;bT<bO;bT++){if(L(bR[bT],bn)&&bR[bT].indexOf(",")!=-1){bQ=bR[bT].split(I);for(bS=0,bN=bQ.length;bS<bN;bS++){bP.push(bQ[bS])}}else{bP.push(bR[bT])}}}return bP}function bj(bO){if(!L(bO,K)){bO=(bO+aC).split(I)}for(var bN=0,bP=bO.length;bN<bP;bN++){if(!Z(r[bO[bN]])){r[bO[bN]]={}}}}function W(bO,bP){var bN=/\*(?!\s|>|\+)/g;return((L(bP,aR)&&bO.match(bP)!=X)||(L(bP,bh)&&bP.call(bO)===ah)||(L(bP,bn)&&bO.indexOf(Y(bP.replace(bN,aC)))!=-1))}function e(bN,bQ){var bP,bR,bS,bO;for(bS in bN){if(!aM(bN,bS)&&!ac(bS,J)){bP=bR=0;for(bO in bQ){if(!aM(bQ,bO)){bR++;if(bO==T){if(bS.match(bQ[bO])){bP++}}else{if(bO=="value"){if(bN[bS].match(bQ[bO])){bP++}}}}}}if(bP==bR){return ah}}return bg}function bE(bN){bN=bN.replace(/\s*(?:\<\!--|--\>)\s*/g,aC).replace(/\/\*(?:.|\s)*?\*\//g,aC).replace(/\s*([,{}:;])\s*/g,bo).replace(/@import.*?;/g,aC);return bN}function ac(bP,bO){for(var bN in bO){if(bO[bN]==bP){return ah}}return bg}function a5(){return new Date().getTime()}function L(bP,bQ){var bN=bg;try{bN=bP instanceof bQ}catch(bO){bN=(typeof(bQ)==bn&&typeof(bP)==bQ)}return bN}function A(bN){return bN===bg}function Z(bN){return bN!=n}function aT(bN){return String.fromCharCode(bN)}function h(){var bQ,bP,bO,bN;if(!ax){if(bQ=a4[aX]){if(bP=bQ.actual_path){if(bP===X||ac(bP.replace(aU,bo),b)){h()}else{ax=ah;bM.open("GET",bP,bg);bM.send(X)}}else{aX++;ba(bD(bQ),bQ.actual_media);h()}}else{aa()}}else{if(bM.readyState==4){ax=bg;bN=bM.status;if(bN===0||(bN>=200&&bN<300)||bN==304){ba(bM.responseText,a4[aX].actual_media);a[a1(a4[aX].actual_path)]=bM.getResponseHeader("Last-Modified");aX++;h()}}}}function ba(bN,bO){bN=bE(bN);bN=av(bN);O(bO,bN)}function bD(bO){var bP,bN=bN,bQ;try{bP=bO.ownerNode.innerHTML}catch(bR){bQ=/(?:\s?([^.#:]+).*?[,{]|\s?([^:]+):)/ig;bP=bO.owningElement.innerHTML;bP=bP.replace(bQ,bN)}return bP}function a6(bN){return L(bN,bn)?bN.toLowerCase():bN}function l(bR){var bQ=bR.split(ak),bO=bQ.length,bN,bP=1;if(bO==1){return bQ[0]}if(bR.charAt(0)==ak){bN=bQ[0].charAt(0).toUpperCase()+bQ[0].substring(1)}else{bN=bQ[0]}while(bP<bO){bN+=bQ[bP].charAt(0).toUpperCase()+bQ[bP].substring(1);bP++}return bN}function bm(bN){if(L(bN,bn)){bN=bN.replace(/(\s0)px/g,bo)}return bN}function bt(bN,bP,bO){try{bN.style[bP]=bO;bN.style[l(bP)]=bO}catch(bQ){return bg}return ah}function F(){var bN;try{bN=new XMLHttpRequest()}catch(bO){try{bN=new ActiveXObject("Msxml2.XMLHTTP")}catch(bO){try{bN=new ActiveXObject("Microsoft.XMLHTTP")}catch(bO){bN=bg}}}return(!bN)?X:bN}function al(bN){return f.createElement(bN)}function aj(bN){return new RegExp(bN)}function aQ(bN){return bN}if(Array.prototype.push==X){var v=function(bN){this[this.length]=bN;return this.length};bq.fonts.push=bz.push=a4.push=B.push=H.push=v;aQ=function(bN){if(typeof(bN)==K){bN.push=v}return bN}}if(Z(P)){aH=function(){if(!Z(f.old_expando)||f.old_expando==X){f.old_expando=f.expando;f.expando=bg}else{f.expando=f.old_expando;f.old_expando=X}}}function U(){var bO,bN;for(bO in bu){if(!aM(bu,bO)){bN=f.getElementById(bO);aA(bN,bu[bO])}}}H.push(U);function at(){if(Z(aD.localStorage)){a7=aD.localStorage;bK=function(){a7.clear()};au=function(bP,bQ){return a7.getItem(bP+ak+bQ)};bi=function(bP,bQ,bR){a7.setItem(bP+ak+bQ,bR)}}else{var bO=al(V),bN=new Date();bO.style.behavior="url(#default#userData)";f.body.appendChild(bO);if(Z(bO.XMLDocument)){a7=bO;a7.load(ap);bN.setMinutes(bN.getMinutes()+1440);bN=bN.toUTCString();a7.expires=bN;bK=function(){a7.XMLDocument.childNodes[0].attributes.length=0};au=function(bP,bQ){return a7.getAttribute(bP+ak+bQ)};bi=function(bP,bQ,bR){a7.setAttribute(bP+ak+bQ,bR);a7.save(ap)}}}}function ai(){if(aG||an){return}at();var bP,bO,bN;for(bP in aE){if(!aM(aE,bP)&&Z(bP)){bN=au(ap,bP+ao);if(Z(bN)){if(bP==g){bf=bN;if(bN<1){bq.cache=bg}}while(bN>=0){bO=au(bP,bN);if(bO!=X){if(bP==g){aE[bP][g+bN]=bO}else{bO=bO.split(a9);aE[bP][bO[0]]=bO[1]}}bN--}}}}}function ad(){if(aG||an){return}var bP,bN,bO,bQ;for(bP in aE){if(!aM(aE,bP)&&Z(bP)){bO=0;for(bN in aE[bP]){if(!aM(aE[bP],bN)&&Z(bP)){if(bP==g){bQ=aE[bP][bN];bQ[bk]=[];bi(bP,bO,bQ)}else{bi(bP,bO,bN+a9+aE[bP][bN])}bO++}}bi(ap,bP+ao,bO)}}d=ah}function z(bO){var bP=aC,bN;for(bN in bO){if(!aM(bO,bN)){bP+=bN+bF+bO[bN]+bv}}return bP}function bs(bP){var bN,bO=bg;if((bN=bP.exec(/^{(.*?)}$/))!=X){bO=C(bN[1])}return bO}function a1(bX){bX=bX.replace(/\r\n/g,"\n");var bN="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",bS,bO=bX.length,bU=aC,bR,bQ,bP,bY,bW,bV,bT;for(bS=0;bS<bO;bS++){bR=bX.charCodeAt(bS);if(bR<128){bU+=aT(bR)}else{if((bR>127)&&(bR<2048)){bU+=aT((bR>>6)|192);bU+=aT((bR&63)|128)}else{bU+=aT((bR>>12)|224);bU+=aT(((bR>>6)&63)|128);bU+=aT((bR&63)|128)}}}bX=bU;bU=aC;bS=0;bO=bX.length;while(bS<bO){bR=bX.charCodeAt(bS++);bQ=bX.charCodeAt(bS++);bP=bX.charCodeAt(bS++);bY=bR>>2;bW=((bR&3)<<4)|(bQ>>4);bV=((bQ&15)<<2)|(bP>>6);bT=bP&63;if(isNaN(bQ)){bV=bT=64}else{if(isNaN(bP)){bT=64}}bU+=bN.charAt(bY)+bN.charAt(bW)+bN.charAt(bV)+bN.charAt(bT)}return bU}function bC(bQ,bN,bP,bO){bO=!Z(bO)?ah:bO;if(!A(bO)){bN=a1(bN)}aE[bQ][bN]=bP;if(d){bi(bQ,bN,bP)}}function aV(bQ,bN,bO){bO=!Z(bO)?ah:bO;if(!A(bO)){bN=a1(bN)}var bP=aE[bQ][bN];return !Z(bP)?n:bP}bq.register=function(bW,bQ,bT){var bV={},bP,bO,bU,bX,bR=[],bS,bN=aC;if(Z(bW[bb])){bV[q]=bb;bV[w]=bW[bb]}else{if(Z(bW[T])){bV[q]=T;bV[w]=bW[T]}else{if(Z(bW[bL])){bV[q]=bL;bV[w]=bW[bL]}else{if(Z(bW[aY])){bV[q]=aY;bV[w]=bW[aY]}}}}if(bV[q]==bb||bV[q]==T){bV[w]=bp(bV[w])}if(Z(bW[am])){bV[am]=bW[am]}if(Z(bW[aN])){bV[aN]=bW[aN]}if(Z(bW[y])){bV[y]=bW[y]}bV[aO]=bH(bW,bQ);if(!Z(bW[aJ])){for(bS in bV){if(!aM(bV,bS)){bN+=bS+bF+bV[bS].toString()+bv}}bN=a1(bN+"::"+p)}else{bN=bW[aJ]}bV[ar]=bT;bV[bk]=[];bz[bN]=bV;p++};bq.lookup=function(b8,bU){var bR=b8[E],bQ=b8[bb],b2=b8[T],bX=b8[bL],bN=b8[aY],b9=b8[aN],b1,b6,bS,bV,bP,bW,b0,bZ,bT,b4,bY,b5,b3,b7,bO=[];if(Z(bR)){if(L(bR,af)){b6=bR;b1=0}else{if(L(bR,"object")){b6=bR.max;b1=bR.min}}}if(Z(bQ)){bQ=bp(bQ)}else{if(Z(b2)){b2=bp(b2)}}props=bH(b8,bU);for(bS in r){if(!aM(r,bS)){if(Z(b9)&&b9!=aP){bV=b9.split(I);if(bS!=aP&&!ac(bS,bV)){continue}}bW=r[bS];b0=Q(bW);bP:for(bZ=0,bT=b0.length;bZ<bT;bZ++){b4=b0[bZ][bb];block=bW[b4];if(Z(bQ)){bY=bg;for(b5=0,b3=bQ.length;b5<b3;b5++){if(W(b4,bQ[b5])){bY=ah;break}}if(A(bY)){continue}}else{if(Z(b2)){bY=bg;for(b5=0,b3=b2.length;b5<b3;b5++){if(Z(block[b2[b5]])){bY=ah;break}}if(A(bY)){continue}}else{if(Z(bX)||Z(bN)){bY=bg;b7=(Z(bX))?bJ+bX+bJ:ak+bN+aq;b7=aj(b7);for(property in block){if(!aM(bW,b4)&&!ac(property,J)&&property.match(b7)){bY=ah;break}}if(A(bY)){continue}}}}if(Z(bR)){if(block[E]<b1||block[E]>b6){continue}}bO.push({medium:bS,properties:aZ(bS,b4,props),selector:b4,specificity:block[E]})}}}return bO};bq.addMethod=function(bN,bO){if(!Z(bq.methods[bN])){bq.methods[bN]=bO}};bq.onComplete=function(bN){H.push(bN)};bq.embedCSS=function(bP,bQ,bN){bQ=bQ||aP;bN=Z(bN)?bN:ah;var bR="eCSStension-"+bQ,bO;if(!ac(bQ,B)){bO=by(bQ,bR,bN);B.push(bQ)}else{bO=f.getElementById(bR)}if(bO!=X){if(!bN){aA(bO,bP)}else{bu[bR]+=bP}}return bO};function by(bP,bQ,bN){var bO=ay.cloneNode(ah);bP=bP||aP;bO.setAttribute(aN,bP);bQ=bQ||"temp-"+Math.round(Math.random()*2+1);bO.setAttribute("id",bQ);bN=Z(bN)?bN:ah;if(bN){bu[bQ]=aC}a3.appendChild(bO);return bO}bq.newStyleElement=by;ay.setAttribute("type","text/css");if(Z(ay.styleSheet)){aA=function(bN,bO){bN.styleSheet.cssText+=bO}}else{aA=function(bN,bO){bN.appendChild(f.createTextNode(bO))}}bq.addRules=aA;bq.isSupported=function(bT,bV,bP,bO){var bY,bQ=f.body,bX,bW,bS=ah,bU=aD.getComputedStyle,bN;if(Z(bY=aV(bT,bV))){return bY}else{bY=bg;if(bT==T){bO=al(V);bQ.appendChild(bO);bV=bV.split(aI);bX=bV[0];bW=Y(bV[1]);bV=bV.join(bF);aH();if(!bt(bO,bX,bW)){bS=bg}aH();if(bS&&(bO.currentStyle&&bm(bO.currentStyle[l(bX)])==bW)||(bU&&bm(bU(bO,X).getPropertyValue(bX))==bW)){bY=ah}bQ.removeChild(bO);bO=X}else{if(bT==bb){bQ.appendChild(bP);bN=by("screen",bg,bg);try{aA(bN,bV+" { visibility: hidden; }");if((bO.currentStyle&&bO.currentStyle.visibility==ab)||(bU&&bU(bO,X).getPropertyValue("visibility")==ab)){bY=ah}}catch(bR){}bQ.removeChild(bP);bN.parentNode.removeChild(bN);bN=X}}bC(bT,bV,bY);return bY}};bq.applyWeightedStyle=function(bP,bO,bN){if(!Z(bP.inlineStyles)){bP.inlineStyles={}}var bR,bQ=bP.inlineStyles;for(bR in bO){if(!aM(bO,bR)&&(!Z(bQ[bR])||bQ[bR]<=bN)){bt(bP,bR,bO[bR]);bP.inlineStyles[bR]=bN}}};bq.ignore=function(bP){if(L(bP,bn)){bP=[bP]}else{if(!L(bP,K)){return}}for(var bO=0,bN=bP.length;bO<bN;bO++){b.push(bP[bO])}};bq.disableCache=function(){aG=ah};function Y(bN){if(L(bN,bn)){return bN.replace(/^\s+|\s+$/g,aC)}return bN}bq.trim=Y;function aM(bN,bP){var bO=bN.constructor;if(bO&&bO.prototype){return bN[bP]===bO.prototype[bP]}return ah}bq.isInheritedProperty=aM;(function(){var bP="DOMContentLoaded",bO="onreadystatechange",bQ=aD.onload,bN=f.documentElement.doScroll;if(f.addEventListener){f.addEventListener(bP,function(){f.removeEventListener(bP,arguments.callee,bg);bc()},bg)}else{if(f.attachEvent){f.attachEvent(bO,function(){if(f.readyState==="complete"){f.detachEvent(bO,arguments.callee);bc()}});if(bN&&aD==aD.top){(function(){try{bN("left")}catch(bR){setTimeout(arguments.callee,0);return}bc()})()}}}})()})();<commit_msg>forgot to include the minified version<commit_after>/*------------------------------------------------------------------------------
Function:      eCSStender()
Author:        <NAME> (aaron at easy-designs dot net)
Creation Date: 2006-12-03
Version:       1.2.1
Homepage:      http://eCSStender.org
License:       MIT License (see homepage)
------------------------------------------------------------------------------*/
(function(){var n,ah=true,bg=false,X=null,bn="string",af="number",K=Array,bh=Function,aQ=RegExp,f=document,aC=window,ay=aC.location.href,i=function(){},ap="eCSStender",g="extension",bb="selector",T="property",E="specificity",aO="all",aM="media",q="find_by",y="test",w="lookup",bL="fragment",aY="prefix",aN="properties",ar="callback",am="filter",bk="processed",aI="fingerprint",a9="||||",aB="",S=" ",bd="*",o="/",bF=":",bv=";",ak="-",br="{",bl="}",V="div",ab="hidden",bJ=".*?",aq="-.*",bo="$1",a2="!"+ap+"-media-placeholder!",bz={},p=0,bf=0,a4=[],aX=0,r={},aK={},bM=new F(),u=bg,b=[],J=[bb,E],bA=ay.replace(/^\w+:\/\/\/?(.*?)\/.*/,bo),an=(ay.indexOf("http")!==0),bu={},H=[],P=f.expando,aG=i,a3=bg,ax=al("style"),B=[],az=i,ao="-count",a={},aF=bg,d=bg,aD={xhr:{},extension:{},selector:{},property:{}},aR={},a7,au=i,bi=i,bK=i,I=/\s*,\s*/,aU=/.*\/(.*?\..*?)(?:\?.*)?$/,k=/\w+?\:\/\//,M=/@font-face\s*?{(.*?)\s*?}/ig,x=/@page\s*?(:\w*?){0,1}{\s*?(.*?)\s*?}/ig,s=/@media\s*(.*?)\s*{(.*?})}/ig,aE=/@([\w-]+)(.*?){([^}]*)}/ig,aH=/:(?!\/\/)/,a0=/[:()]/g,bq={name:ap,version:"1.2.1",fonts:[],pages:{},at:{},methods:{},cache:bg,exec_time:0};aC.eCSStender=bq;function bc(){if(u){return}u=ah;bq.exec_time=a5();a3=f.getElementsByTagName("head")[0];ai();a8();N()}function aa(){ag();bI();aw();bx();ad();bq.exec_time=(a5()-bq.exec_time)*0.001;c()}function a8(){var bP=f.styleSheets,bO,bN;for(bO=0,bN=bP.length;bO<bN;bO++){D(bP[bO])}}function N(){var bP,bO,bQ,bN,bR;for(bP=0,bO=a4.length;bP<bO;bP++){bQ=t(a4[bP]);bj(bQ);R(a4[bP])}h()}function ag(){if(aF||an){return}var bO,bP=aD.xhr,bN=j=0;bq.cache=ah;for(bO in a){bN++;if(!aL(a,bO)&&a[bO]!=X){j++;if(!Z(bP[bO])||bP[bO]!=a[bO]){bq.cache=bg}aD.xhr[bO]=a[bO]}}if(bN>j){bq.cache=bg}}function bI(){if(bq.cache){return}var bO={},bQ,bP=0,bN;for(bQ in bz){if(!aL(bz,bQ)){bN=bz[bQ][y];if(!Z(bN)||(L(bN,bh)&&bN())){bO[bQ]=bz[bQ];bP++}}}bz=bO;p=bP}function aw(){if(p<1){return}var bN,bT,bY,bX,bP,b0,bV,b1,bS,bQ,bU,b4,bZ,bO,b2,bW,b3,bR;if(!bq.cache){for(bN in r){if(!aL(r,bN)){bT=r[bN];bY=Q(bT);for(bX=0,bP=bY.length;bX<bP;bX++){b0=bY[bX][bb];bV:for(b1 in bz){if(!aL(bz,b1)){bS=bz[b1][aM];if(Z(bS)&&bS!=aO){bS=bS.split(I);if(bN!=aO&&!ac(bN,bS)){continue}}bU=bz[b1][q];bQ=bz[b1][w];bO=bQ.length;if(bU==bb){for(bZ=0;bZ<bO;bZ++){if(W(b0,bQ[bZ])){aW(b1,bN,b0);continue bV}}}else{if(bU==T){for(bZ=0;bZ<bO;bZ++){if(Z(bT[b0][bQ[bZ]])){aW(b1,bN,b0);continue bV}}}else{if(bU==bL||bU==aY){b3=(bU==bL)?bJ+bQ+bJ:ak+bQ+aq;b3=aj(b3);for(bR in bT[b0]){if(!aL(bT,b0)&&!ac(bR,J)&&bR.match(b3)){aW(b1,bN,b0);continue bV}}}}}}}}}}}}function aW(bQ,bP,bN){var bO=bP+a9+bN;bC(g,g+(bf++),bQ+a9+bO,bg)}function bx(){var bR,bT,bU,bS,bN,bQ,bP,bO;for(bR=0;bR<bf;bR++){bT=aD[g][g+bR].split(a9);bU=bz[bT[0]];bS=r[bT[1]][bT[2]];bN=bT[1]+a9+bT[2];if(!Z(bU)||ac(bN,bU[bk])){continue}if(Z(bU[am])){if(!e(bS,bU[am])){continue}}bP=(!bq.cache)?bS[E]:bw(bT[2]);bQ=aZ(bT[1],bT[2],bU[aN]);bU[ar](bT[2],bQ,bT[1],bP);bU[bk].push(bN)}}function c(){for(var bN=H.length-1;bN>=0;bN--){H[bN]()}}function m(bQ){var bR,bO,bP,bN;if(Z(bQ.imports)){bO=bQ.imports;for(bP=0,bN=bO.length;bP<bN;bP++){D(bO[bP])}}else{bR=bQ.cssRules||bQ.rules;if(bR===X){return}for(bP=0,bN=bR.length;bP<bN;bP++){if(bR[bP].type!=3){return}D(bR[bP].styleSheet)}if(bP===bN){b.push(bQ.href.replace(aU,bo))}}}function D(bO){var bN=bO.href;if(bO.disabled||(bN&&(R(bO).indexOf(bA)==-1||ac(bN.replace(aU,bo),b)))){return}m(bO);a4.push(bO)}function Q(bQ){var bO=[],bP,bN;for(bN in bQ){if(!aL(bQ,bN)){bP=bQ[bN];bP[bb]=bN;bP[E]=bw(bN);bO.push(bP)}}bO.sort(be);return bO}function be(bP,bO){var bN=bP[E],bQ=bO[E];return((bN<bQ)?-1:((bN>bQ)?1:0))}function bw(bN){var bO=0,bP;bN=bN.replace(/\s*\+\s*|\s*\>\s*/,S);bN=bN.replace(/(:not)\((.*)\)/,"$1 $2");bP=bN.match(/#/);if(bP!=X){bO+=(bP.length*100)}bN=bN.replace(/#[\w-_]+/,aB);bP=bN.match(/::|:|\.|\[.*?\]/);if(bP!=X){bO+=(bP.length*10)}bN=bN.replace(/(?:::|:|\.)[\w-_()]+|\[.*?\]/,aB);bP=Y(bN)!=aB?bN.split(S):[];bO+=bP.length;return bO}function R(bP){var bO=bP.actual_path,bR=bO||bP.href,bQ=bP.parentStyleSheet,bT,bS,bU,bN=prefix=aB;if(!bR){bR=X}if(!bO&&(bQ!=X||(bR!=X&&bR.match(k)===X))){if(bR.indexOf(o)===0){bR=bR.substring(1)}bT=ay.substring(0,ay.lastIndexOf(o));bS=bR.lastIndexOf(o);bU=bR.substring(bS+1);if(bQ==X){if(Z(bP.ownerNode)&&Z(CSSImportRule)&&L(bP.ownerRule,CSSImportRule)){bQ=bP.ownerRule.parentStyleSheet}}if(bQ==X){prefix=bT+o+bR.substring(0,bS)}else{bN=R(bQ);prefix=bN.substring(0,bN.lastIndexOf(o))}bR=prefix+o+bU}bP.actual_path=bR;return bR}function t(bO){var bQ=bO.media,bN=bO.ownerRule,bP=bg;if(!L(bQ,bn)){if(bN!=X){bP=bN.media.mediaText;if(!bP){bP=t(bN.parentStyleSheet)}}else{bP=bQ.mediaText}}else{if(L(bQ,bn)&&bQ){bP=bQ}}bO.actual_media=bP?bP:aO;if(L(bO.actual_media,bn)){bO.actual_media=bO.actual_media.split(I)}return bO.actual_media}function av(bN){bN=aA(bN);bN=ae(bN);bN=bG(bN);bN=bB(bN);return bN}function aA(bO){var bN;while((bN=M.exec(bO))!=X){bq.fonts.push(C(bN[1]))}return bO.replace(M,aB)}function ae(bO){var bN,bQ,bP;while((bN=x.exec(bO))!=X){bQ=(Z(bN[1])&&bN[1]!=aB)?bN[1].replace(bF,aB):aO;bP=C(bN[2]);if(!Z(bq.pages[bQ])){bq.pages[bQ]=bP}else{for(prop in bP){if(!aL(bP,prop)){bq.pages[bQ][prop]=bP[prop]}}}}return bO.replace(x,aB)}function bG(bP){var bO,bR,bN,bT,bQ,bS=0;while((bO=s.exec(bP))!=X){bP=G(bP,bO,bS);bS++}return bP}function bB(bP){var bO,bS,bR,bN,bQ,bT;while((bO=aE.exec(bP))!=X){bS=bO[1];bR=Y(bO[2]);bR=(bR==aB)?bg:bR.split(I);bQ=C(bO[3]);if(!Z(bq.at[bS])){bq.at[bS]=!bR?aP([]):{}}if(!bR){bq.at[bS].push(bQ)}else{bN=bR.length-1;while(bN>-1){if(!Z(bq.at[bS][bR[bN]])){bq.at[bS][bR[bN]]=bQ}else{for(bT in bQ){if(!aL(bQ,bT)){bq.at[bS][bR[bN]][bT]=bQ[bT]}}}bN--}}}return bP.replace(aE,aB)}function G(bO,bN,bP){media=bN[1].split(I);styles=bN[2];bj(media);aK[bP]={media:media,styles:styles};return bO.replace(bN[0],a2+"{id:"+bP+bl)}function aJ(bO){var bN=aK[bO];O(bN.media,bN.styles);aK[bO]=X}function O(bQ,bV){var bO=bV.split(bl),bX,bN,bW,bP,bT,bR,bZ,bU,bY,bS;bO.pop();for(bX=0,bN=bO.length;bX<bN;bX++){bO[bX]=bO[bX].split(br);bW=C(bO[bX][1]);bT=bO[bX][0];if(bT.indexOf(a2)!=-1){aJ(bW.id)}else{bU=bT.split(I);for(bY=0,bS=bU.length;bY<bS;bY++){bT=Y(bU[bY]);for(bR in bQ){if(!aL(bQ,bR)){bZ=bQ[bR];if(!Z(r[bZ][bT])){r[bZ][bT]={}}for(bP in bW){if(!aL(bW,bP)){r[bZ][bT][bP]=bW[bP]}}}}}}}}function C(bP){if(!L(bP,bn)){return{}}bP=bP.split(bv);var bQ={},bS,bO,bN,bR;for(bS=0,bO=bP.length;bS<bO;bS++){bR=Y(bP[bS]);if(bR==aB){continue}bN=bR.split(aH);bQ[Y(bN[0])]=Y(bN[1])}return bQ}function bH(bU,bP){var bR=[],bT,bO,bS,bQ,bN;if(!A(bP)){if(bP!=bd){if(L(bP,bn)){bR.push(bP)}else{if(L(bP,K)){for(bQ=0,bN=bP.length;bQ<bN;bQ++){bR.push(bP[bQ])}}}}else{bR=bP}}if(bP!=bd){bT=bU[T];bO=bU[bL];bS=bU[aY];if(Z(bT)){if(L(bT,bn)){bR.push(bT)}else{if(L(bT,K)){for(bQ=0,bN=bT.length;bQ<bN;bQ++){bR.push(bT[bQ])}}}}else{if(Z(bO)){bR.push(aj(bJ+bO+bJ))}else{if(Z(bS)){bR.push(aj(ak+bS+aq))}}}}return bR}function aZ(bV,bP,bS){var bN,bU,bR={},bO,bQ,bT=r[bV][bP];if(L(bS,K)){for(bO=0,bQ=bS.length;bO<bQ;bO++){bN=bS[bO];if(L(bN,aQ)){for(bU in bT){if(!aL(bT,bU)&&!ac(bU,J)&&bU.match(bN)!=X){bR[bU]=bT[bU]}}}else{if(L(bN,bn)&&Z(bT[bN])){bR[bN]=bT[bN]}}}}else{for(bU in bT){if(!aL(bT,bU)&&!ac(bU,J)){bR[bU]=bT[bU]}}}return bR}function bp(bR){var bP=[],bT,bO,bQ,bS,bN;if(!L(bR,K)){if(L(bR,bn)&&bR.indexOf(",")!=-1){bQ=bR.split(I);for(bT=0,bO=bQ.length;bT<bO;bT++){bP.push(bQ[bT])}}else{bP=[bR]}}else{for(bT=0,bO=bR.length;bT<bO;bT++){if(L(bR[bT],bn)&&bR[bT].indexOf(",")!=-1){bQ=bR[bT].split(I);for(bS=0,bN=bQ.length;bS<bN;bS++){bP.push(bQ[bS])}}else{bP.push(bR[bT])}}}return bP}function bj(bO){if(!L(bO,K)){bO=(bO+aB).split(I)}for(var bN=0,bP=bO.length;bN<bP;bN++){if(!Z(r[bO[bN]])){r[bO[bN]]={}}}}function W(bO,bP){var bN=/\*(?!\s|>|\+)/g;return((L(bP,aQ)&&bO.match(bP)!=X)||(L(bP,bh)&&bP.call(bO)===ah)||(L(bP,bn)&&bO.indexOf(Y(bP.replace(bN,aB)))!=-1))}function e(bN,bQ){var bP,bR,bS,bO;for(bS in bN){if(!aL(bN,bS)&&!ac(bS,J)){bP=bR=0;for(bO in bQ){if(!aL(bQ,bO)){bR++;if(bO==T){if(bS.match(bQ[bO])){bP++}}else{if(bO=="value"){if(bN[bS].match(bQ[bO])){bP++}}}}}}if(bP==bR){return ah}}return bg}function bE(bN){bN=bN.replace(/\s*(?:\<\!--|--\>)\s*/g,aB).replace(/\/\*(?:.|\s)*?\*\//g,aB).replace(/\s*([,{}:;])\s*/g,bo).replace(/@import.*?;/g,aB);return bN}function ac(bP,bO){for(var bN in bO){if(bO[bN]==bP){return ah}}return bg}function a5(){return new Date().getTime()}function L(bP,bQ){var bN=bg;try{bN=bP instanceof bQ}catch(bO){bN=(typeof(bQ)==bn&&typeof(bP)==bQ)}return bN}function A(bN){return bN===bg}function Z(bN){return bN!=n}function aS(bN){return String.fromCharCode(bN)}function h(){var bQ,bP,bO,bN;if(bQ=a4[aX]){if(bP=bQ.actual_path){if(bP===X||ac(bP.replace(aU,bo),b)){h()}else{bM=new F();bM.onreadystatechange=aT;bM.open("GET",bP,bg);bM.send(X);try{if(bM.onreadystatechange!=aT){bM.onreadystatechange=aT()}}catch(bR){}}}else{ba(bD(bQ),bQ.actual_media);aX++;h()}}else{aa()}}function aT(bN){if(bM.readyState==4){status=bM.status;if(status==0||(status>=200&&status<300)||status==304){ba(bM.responseText,a4[aX].actual_media);a[a1(a4[aX].actual_path)]=bM.getResponseHeader("Last-Modified")}aX++;h()}}function ba(bN,bO){bN=bE(bN);bN=av(bN);O(bO,bN)}function bD(bO){var bP,bN=bN,bQ;try{bP=bO.ownerNode.innerHTML}catch(bR){bQ=/(?:\s?([^.#:]+).*?[,{]|\s?([^:]+):)/ig;bP=bO.owningElement.innerHTML;bP=bP.replace(bQ,bN)}return bP}function a6(bN){return L(bN,bn)?bN.toLowerCase():bN}function l(bR){var bQ=bR.split(ak),bO=bQ.length,bN,bP=1;if(bO==1){return bQ[0]}if(bR.charAt(0)==ak){bN=bQ[0].charAt(0).toUpperCase()+bQ[0].substring(1)}else{bN=bQ[0]}while(bP<bO){bN+=bQ[bP].charAt(0).toUpperCase()+bQ[bP].substring(1);bP++}return bN}function bm(bN){if(L(bN,bn)){bN=bN.replace(/(\s0)px/g,bo)}return bN}function bt(bN,bP,bO){try{bN.style[bP]=bO;bN.style[l(bP)]=bO}catch(bQ){return bg}return ah}function F(){var bN;try{bN=new XMLHttpRequest()}catch(bO){try{bN=new ActiveXObject("Msxml2.XMLHTTP")}catch(bO){try{bN=new ActiveXObject("Microsoft.XMLHTTP")}catch(bO){bN=bg}}}return(!bN)?X:bN}function al(bN){return f.createElement(bN)}function aj(bN){return new RegExp(bN)}function aP(bN){return bN}if(Array.prototype.push==X){var v=function(bN){this[this.length]=bN;return this.length};bq.fonts.push=bz.push=a4.push=B.push=H.push=v;aP=function(bN){if(typeof(bN)==K){bN.push=v}return bN}}if(Z(P)){aG=function(){if(!Z(f.old_expando)||f.old_expando==X){f.old_expando=f.expando;f.expando=bg}else{f.expando=f.old_expando;f.old_expando=X}}}function U(){var bO,bN;for(bO in bu){if(!aL(bu,bO)){bN=f.getElementById(bO);az(bN,bu[bO])}}}H.push(U);function at(){if(Z(aC.localStorage)){a7=aC.localStorage;bK=function(){a7.clear()};au=function(bP,bQ){return a7.getItem(bP+ak+bQ)};bi=function(bP,bQ,bR){a7.setItem(bP+ak+bQ,bR)}}else{var bO=al(V),bN=new Date();bO.style.behavior="url(#default#userData)";f.body.appendChild(bO);if(Z(bO.XMLDocument)){a7=bO;a7.load(ap);bN.setMinutes(bN.getMinutes()+1440);bN=bN.toUTCString();a7.expires=bN;bK=function(){a7.XMLDocument.childNodes[0].attributes.length=0};au=function(bP,bQ){return a7.getAttribute(bP+ak+bQ)};bi=function(bP,bQ,bR){a7.setAttribute(bP+ak+bQ,bR);a7.save(ap)}}}}function ai(){if(aF||an){return}at();var bP,bO,bN;for(bP in aD){if(!aL(aD,bP)&&Z(bP)){bN=au(ap,bP+ao);if(Z(bN)){if(bP==g){bf=bN;if(bN<1){bq.cache=bg}}while(bN>=0){bO=au(bP,bN);if(bO!=X){if(bP==g){aD[bP][g+bN]=bO}else{bO=bO.split(a9);aD[bP][bO[0]]=bO[1]}}bN--}}}}}function ad(){if(aF||an){return}var bP,bN,bO,bQ;for(bP in aD){if(!aL(aD,bP)&&Z(bP)){bO=0;for(bN in aD[bP]){if(!aL(aD[bP],bN)&&Z(bP)){if(bP==g){bQ=aD[bP][bN];bQ[bk]=[];bi(bP,bO,bQ)}else{bi(bP,bO,bN+a9+aD[bP][bN])}bO++}}bi(ap,bP+ao,bO)}}d=ah}function z(bO){var bP=aB,bN;for(bN in bO){if(!aL(bO,bN)){bP+=bN+bF+bO[bN]+bv}}return bP}function bs(bP){var bN,bO=bg;if((bN=bP.exec(/^{(.*?)}$/))!=X){bO=C(bN[1])}return bO}function a1(bX){bX=bX.replace(/\r\n/g,"\n");var bN="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",bS,bO=bX.length,bU=aB,bR,bQ,bP,bY,bW,bV,bT;for(bS=0;bS<bO;bS++){bR=bX.charCodeAt(bS);if(bR<128){bU+=aS(bR)}else{if((bR>127)&&(bR<2048)){bU+=aS((bR>>6)|192);bU+=aS((bR&63)|128)}else{bU+=aS((bR>>12)|224);bU+=aS(((bR>>6)&63)|128);bU+=aS((bR&63)|128)}}}bX=bU;bU=aB;bS=0;bO=bX.length;while(bS<bO){bR=bX.charCodeAt(bS++);bQ=bX.charCodeAt(bS++);bP=bX.charCodeAt(bS++);bY=bR>>2;bW=((bR&3)<<4)|(bQ>>4);bV=((bQ&15)<<2)|(bP>>6);bT=bP&63;if(isNaN(bQ)){bV=bT=64}else{if(isNaN(bP)){bT=64}}bU+=bN.charAt(bY)+bN.charAt(bW)+bN.charAt(bV)+bN.charAt(bT)}return bU}function bC(bQ,bN,bP,bO){bO=!Z(bO)?ah:bO;if(!A(bO)){bN=a1(bN)}aD[bQ][bN]=bP;if(d){bi(bQ,bN,bP)}}function aV(bQ,bN,bO){bO=!Z(bO)?ah:bO;if(!A(bO)){bN=a1(bN)}var bP=aD[bQ][bN];return !Z(bP)?n:bP}bq.register=function(bW,bQ,bT){var bV={},bP,bO,bU,bX,bR=[],bS,bN=aB;if(Z(bW[bb])){bV[q]=bb;bV[w]=bW[bb]}else{if(Z(bW[T])){bV[q]=T;bV[w]=bW[T]}else{if(Z(bW[bL])){bV[q]=bL;bV[w]=bW[bL]}else{if(Z(bW[aY])){bV[q]=aY;bV[w]=bW[aY]}}}}if(bV[q]==bb||bV[q]==T){bV[w]=bp(bV[w])}if(Z(bW[am])){bV[am]=bW[am]}if(Z(bW[aM])){bV[aM]=bW[aM]}if(Z(bW[y])){bV[y]=bW[y]}bV[aN]=bH(bW,bQ);if(!Z(bW[aI])){for(bS in bV){if(!aL(bV,bS)){bN+=bS+bF+bV[bS].toString()+bv}}bN=a1(bN+"::"+p)}else{bN=bW[aI]}bV[ar]=bT;bV[bk]=[];bz[bN]=bV;p++};bq.lookup=function(b8,bU){var bR=b8[E],bQ=b8[bb],b2=b8[T],bX=b8[bL],bN=b8[aY],b9=b8[aM],b1,b6,bS,bV,bP,bW,b0,bZ,bT,b4,bY,b5,b3,b7,bO=[];if(Z(bR)){if(L(bR,af)){b6=bR;b1=0}else{if(L(bR,"object")){b6=bR.max;b1=bR.min}}}if(Z(bQ)){bQ=bp(bQ)}else{if(Z(b2)){b2=bp(b2)}}props=bH(b8,bU);for(bS in r){if(!aL(r,bS)){if(Z(b9)&&b9!=aO){bV=b9.split(I);if(bS!=aO&&!ac(bS,bV)){continue}}bW=r[bS];b0=Q(bW);bP:for(bZ=0,bT=b0.length;bZ<bT;bZ++){b4=b0[bZ][bb];block=bW[b4];if(Z(bQ)){bY=bg;for(b5=0,b3=bQ.length;b5<b3;b5++){if(W(b4,bQ[b5])){bY=ah;break}}if(A(bY)){continue}}else{if(Z(b2)){bY=bg;for(b5=0,b3=b2.length;b5<b3;b5++){if(Z(block[b2[b5]])){bY=ah;break}}if(A(bY)){continue}}else{if(Z(bX)||Z(bN)){bY=bg;b7=(Z(bX))?bJ+bX+bJ:ak+bN+aq;b7=aj(b7);for(property in block){if(!aL(bW,b4)&&!ac(property,J)&&property.match(b7)){bY=ah;break}}if(A(bY)){continue}}}}if(Z(bR)){if(block[E]<b1||block[E]>b6){continue}}bO.push({medium:bS,properties:aZ(bS,b4,props),selector:b4,specificity:block[E]})}}}return bO};bq.addMethod=function(bN,bO){if(!Z(bq.methods[bN])){bq.methods[bN]=bO}};bq.onComplete=function(bN){H.push(bN)};bq.embedCSS=function(bP,bQ,bN){bQ=bQ||aO;bN=Z(bN)?bN:ah;var bR="eCSStension-"+bQ,bO;if(!ac(bQ,B)){bO=by(bQ,bR,bN);B.push(bQ)}else{bO=f.getElementById(bR)}if(bO!=X){if(!bN){az(bO,bP)}else{bu[bR]+=bP}}return bO};function by(bP,bQ,bN){var bO=ax.cloneNode(ah);bP=bP||aO;bO.setAttribute(aM,bP);bQ=bQ||"temp-"+Math.round(Math.random()*2+1);bO.setAttribute("id",bQ);bN=Z(bN)?bN:ah;if(bN){bu[bQ]=aB}a3.appendChild(bO);return bO}bq.newStyleElement=by;ax.setAttribute("type","text/css");if(Z(ax.styleSheet)){az=function(bN,bO){bN.styleSheet.cssText+=bO}}else{az=function(bN,bO){bN.appendChild(f.createTextNode(bO))}}bq.addRules=az;bq.isSupported=function(bT,bV,bP,bO){var bY,bQ=f.body,bX,bW,bS=ah,bU=aC.getComputedStyle,bN;if(Z(bY=aV(bT,bV))){return bY}else{bY=bg;if(bT==T){bO=al(V);bQ.appendChild(bO);bV=bV.split(aH);bX=bV[0];bW=Y(bV[1]);bV=bV.join(bF);aG();if(!bt(bO,bX,bW)){bS=bg}aG();if(bS&&(bO.currentStyle&&bm(bO.currentStyle[l(bX)])==bW)||(bU&&bm(bU(bO,X).getPropertyValue(bX))==bW)){bY=ah}bQ.removeChild(bO);bO=X}else{if(bT==bb){bQ.appendChild(bP);bN=by("screen",bg,bg);try{az(bN,bV+" { visibility: hidden; }");if((bO.currentStyle&&bO.currentStyle.visibility==ab)||(bU&&bU(bO,X).getPropertyValue("visibility")==ab)){bY=ah}}catch(bR){}bQ.removeChild(bP);bN.parentNode.removeChild(bN);bN=X}}bC(bT,bV,bY);return bY}};bq.applyWeightedStyle=function(bP,bO,bN){if(!Z(bP.inlineStyles)){bP.inlineStyles={}}var bR,bQ=bP.inlineStyles;for(bR in bO){if(!aL(bO,bR)&&(!Z(bQ[bR])||bQ[bR]<=bN)){bt(bP,bR,bO[bR]);bP.inlineStyles[bR]=bN}}};bq.ignore=function(bP){if(L(bP,bn)){bP=[bP]}else{if(!L(bP,K)){return}}for(var bO=0,bN=bP.length;bO<bN;bO++){b.push(bP[bO])}};bq.disableCache=function(){aF=ah};function Y(bN){if(L(bN,bn)){return bN.replace(/^\s+|\s+$/g,aB)}return bN}bq.trim=Y;function aL(bN,bP){var bO=bN.constructor;if(bO&&bO.prototype){return bN[bP]===bO.prototype[bP]}return ah}bq.isInheritedProperty=aL;(function(){var bP="DOMContentLoaded",bO="onreadystatechange",bQ=aC.onload,bN=f.documentElement.doScroll;if(f.addEventListener){f.addEventListener(bP,function(){f.removeEventListener(bP,arguments.callee,bg);bc()},bg)}else{if(f.attachEvent){f.attachEvent(bO,function(){if(f.readyState==="complete"){f.detachEvent(bO,arguments.callee);bc()}});if(bN&&aC==aC.top){(function(){try{bN("left")}catch(bR){setTimeout(arguments.callee,0);return}bc()})()}}}})()})();
{'fraction_non_alphanumeric': 0.3525463994060876, 'fraction_numerical': 0.0199554565701559, 'mean_word_length': 16.37667698658411, 'pattern_counts': {'":': 4, '<': 81, '<?xml version=': 0, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1963029', 'n_tokens_mistral': 19802, 'n_tokens_neox': 19580, 'n_words': 514}