var fbg=new function(){var x=this,i=3E3,o=this.rfu=null,w=null;this.onFontFaceFailed=this.isFontFaceSupported=this.hideFOUT=null;o=function(){};w=function(g){window.addEventListener?addEventListener("load",g,false):attachEvent("onload",g)};this.hideFOUT=function(g,e){if(!(navigator.appName!="Microsoft Internet Explorer"&&!/Firefox\/3/.test(navigator.userAgent))){e=e||100;for(var k=[],b=[],f=[],m=true,j=0;j<document.styleSheets.length;j++){var p=document.styleSheets[j];if(!p.cssRules){m=false;p.cssText.replace(/@font-face\s*\{([^\}]+)\}/ig,
function(c){var a=c.replace(/([\s\S]*)(font-family:\s*['"]?)([-_0-9a-zA-Z]+)([\s\S]*)/,"$3");k.push(a);return c})}p=p.cssRules||p.rules;for(var l=0;l<p.length;l++){var s=p[l];if(m&&s instanceof CSSFontFaceRule){s=s.cssText.replace(/([\s\S]*)(font-family:\s*['"]?)([-_0-9a-zA-Z]+)([\s\S]*)/,"$3");k.push(s)}else b.push(s)}}for(j=0;j<k.length;j++)for(l=0;l<b.length;l++)(m?b[l].cssText:b[l].style.cssText).indexOf(k[j])!=-1&&f.push(b[l].selectorText);var t=document.body||document.documentElement,h=document.createElement("span");
h.innerHTML="Bubrerry";h.style.position="absolute";h.style.visibility="hidden";h.style.fontSize="99px";h.id="fonttest";t.appendChild(h);var q=document.createElement("style");document.getElementsByTagName("head")[0].appendChild(q);b="";for(j=0;j<f.length;j++)b+=f[j]+(j<f.length-1?", ":" ");b+="{visibility:hidden}";if(q.styleSheet)q.styleSheet.cssText=b;else q.textContent=b;h.style.font='99px "'+k[k.length-1]+'",_,serif';var u=h.offsetWidth,d="";f=function(){var c=setInterval(function(){if(!u&&document.body){t.removeChild(h);
document.body.appendChild(h);u=h.offsetWidth}var a=h.offsetWidth;d+=a+"   ";i-=20;if(u!=a||i<=0){clearInterval(c);setTimeout(function(){q.parentNode.removeChild(q)},e);i<=0&&x.onFontFaceFailed&&x.onFontFaceFailed();h.parentNode.removeChild(h)}},20)};if(g=="asap")f();else g=="onload"?w(f):f();window.TESTCAPTURE&&w(function(){document.getElementById("hf_monitor_div").innerHTML=d;setTimeout(function(){document.getElementById("hf_monitor_div").innerHTML+="<br>Final: "+h.offsetWidth},1E3)})}};this.isFontFaceSupported=
function(){var g,e=document,k=e.head||e.getElementsByTagName("head")[0]||docElement,b=e.createElement("style");e=e.implementation||{hasFeature:function(){return false}};b.type="text/css";k.insertBefore(b,k.firstChild);g=b.sheet||b.styleSheet;return(e.hasFeature("CSS2","")?function(f){if(!(g&&f))return false;var m=false;try{g.insertRule(f,0);m=!/unknown/i.test(g.cssRules[0].cssText);g.deleteRule(g.cssRules.length-1)}catch(j){}return m}:function(f){if(!(g&&f))return false;g.cssText=f;return g.cssText.length!==
0&&!/unknown/i.test(g.cssText)&&g.cssText.replace(/\r+|\n+/g,"").indexOf(f.split(" ")[0])===0})('@font-face { font-family: "font"; src: "font.ttf"; }')};o()};window.Modernizr=function(x,i,o){function w(d,c){var a=d.charAt(0).toUpperCase()+d.substr(1);a=(d+" "+j.join(a+" ")+a).split(" ");return g(a,c)}function g(d,c){for(var a in d)if(f[d[a]]!==o)return c=="pfx"?d[a]:true;return false}var e={},k=i.documentElement;i.head||i.getElementsByTagName("head");var b=i.createElement("modernizr"),f=b.style,m=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),j="Webkit Moz O ms Khtml".split(" ");b={};var p=[],l=function(d,c,a,n){var y,r=i.createElement("div");if(parseInt(a,
10))for(;a--;){y=i.createElement("div");y.id=n?n[a]:"modernizr"+(a+1);r.appendChild(y)}a=["&shy;<style>",d,"</style>"].join("");r.id="modernizr";r.innerHTML+=a;k.appendChild(r);d=c(r,d);r.parentNode.removeChild(r);return!!d},s=function(){var d={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(c,a){a=a||i.createElement(d[c]||"div");c="on"+c;var n=c in a;n||(a.setAttribute||(a=i.createElement("div")),a.setAttribute&&a.removeAttribute&&(a.setAttribute(c,
""),n=typeof a[c]==="function",typeof a[c]===o||(a[c]=o),a.removeAttribute(c)));return n}}(),t,h={}.hasOwnProperty,q;typeof h!==o&&typeof h.call!==o?q=function(d,c){return h.call(d,c)}:q=function(d,c){return c in d&&typeof d.constructor.prototype[c]===o};(function(d,c){var a=d.join(""),n=c.length;l(a,function(y,r){var v=i.styleSheets[i.styleSheets.length-1];v=v.cssRules&&v.cssRules[0]?v.cssRules[0].cssText:v.cssText||"";for(var z=y.childNodes,A={};n--;)A[z[n].id]=z[n];e.touch="ontouchstart"in x||
A.touch.offsetTop===9;e.fontface=/src/i.test(v)&&v.indexOf(r.split(" ")[0])===0},n,c)})(['@font-face {font-family:"font";src:url("https://")}',["@media (",m.join("touch-enabled),("),"modernizr){#touch{top:9px;position:absolute}}"].join("")],["fontface","touch"]);b.touch=function(){return e.touch};b.hashchange=function(){return s("hashchange",x)&&(i.documentMode===o||i.documentMode>7)};b.rgba=function(){f.cssText="background-color:rgba(150,255,150,.5)";return!!~(""+f.backgroundColor).indexOf("rgba")};
b.backgroundsize=function(){return w("backgroundSize")};b.cssgradients=function(){var d=("background-image:"+m.join("gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:")+m.join("linear-gradient(left top,#9f9, white);background-image:")).slice(0,-17);f.cssText=d;return!!~(""+f.backgroundImage).indexOf("gradient")};b.fontface=function(){return e.fontface};for(var u in b)q(b,u)&&(t=u.toLowerCase(),e[t]=b[u](),p.push((e[t]?"":"no-")+t));f.cssText="";b=null;e._version="2.0.6";
e._prefixes=m;e._domPrefixes=j;e.hasEvent=s;e.testProp=function(d){return g([d])};e.testAllProps=w;e.testStyles=l;k.className=k.className.replace(/\bno-js\b/,"")+(" js "+p.join(" "));return e}(this,this.document);

