//>>built define("xstyle/core/load-css",[],function(){function k(d){if(c.createStyleSheet){var b=c.createStyleSheet();b.cssText=d;return b.owningElement}b=c.createElement("style");b.setAttribute("type","text/css");b.appendChild(c.createTextNode(d));h.insertBefore(b,h.firstChild);return b}function f(d,b,e){var f=l[d];if(f)return a=k(f),b(a);var a=c.createElement("link");a.type="text/css";a.rel="stylesheet";a.href=d;var g=!e||!1!==e.wait;e=(e=navigator.userAgent.match(/AppleWebKit\/(\d+\.?\d*)/))&&+e[1];if(null=== a.onload&&!(536>e))a.onload=function(){a.onload=null;a.onerror=null;g&&b(a)},a.onerror=function(){console.error("Error loading stylesheet "+d);g&&b(a)};else if(g)var m=setInterval(function(){a.style&&(clearInterval(m),b(a))},15);(h||c.getElementsByTagName("head")[0]).appendChild(a);g||b(a)}var l="undefined"==typeof _css_cache?{}:_css_cache,c=document,h=c.head;f.insertCss=k;return f});