(function(j){function i(a){return a.replace(/-([a-z])/g,function(a,b){return b.toUpperCase()}).replace("-","")}function k(a){return a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()})}if(window.getComputedStyle&&window.addEventListener){var b=window.PrefixFree={prefixCSS:function(a,d){var c,f=b.prefix;b.values.length&&(c=RegExp("\\b("+b.values.join("|")+")\\b","gi"),a=a.replace(c,f+"$1"));b.properties.length&&(c=RegExp("\\b("+b.properties.join("|")+"):","gi"),a=a.replace(c,f+"$1:"));d&&(b.selectors.length&&
(c=RegExp("\\b("+b.selectors.join("|")+")\\b","gi"),a=a.replace(c,b.prefixSelector)),b.atrules.length&&(c=RegExp("@("+b.atrules.join("|")+")\\b","gi"),a=a.replace(c,"@"+f+"$1")));return a=a.replace(RegExp("-"+f,"g"),"-")},process:{link:function(a){if(/\bstylesheet\b/i.test(a.rel)){var d=a.getAttribute("href")||a.getAttribute("data-href"),c=d.replace(/[^\/]+$/,""),f=a.parentNode,e=new XMLHttpRequest;e.open("GET",d);e.onreadystatechange=function(){if(e.readyState===4){var d=e.responseText;if(d){var d=
b.prefixCSS(d,true),d=d.replace(/url\((?:'|")?(.+?)(?:'|")?\)/gi,function(a,b){return!/^\w+:\/\//i.test(b)?'url("'+c+b+'")':a}),g=document.createElement("style");g.textContent=d;f.insertBefore(g,a);f.removeChild(a)}}};try{e.send(null)}catch(g){window.console&&console.error(g)}}},styleElement:function(a){a.textContent=b.prefixCSS(a.textContent)},styleAttribute:function(a){var d=a.getAttribute("style"),d=b.prefixCSS(d);document.removeEventListener("DOMAttrModified",b.events.DOMAttrModified,false);a.setAttribute("style",
d);document.addEventListener("DOMAttrModified",b.events.DOMAttrModified,false)}},prefixSelector:function(a){return a.replace(/^:{1,2}/,function(a){return a+b.prefix})},events:{DOMNodeInserted:function(a){var a=a.target,d=a.nodeName;a.nodeType==1&&(/link/i.test(d)?b.process.link(a):/style/i.test(d)?b.process.styleElement(a):a.hasAttribute("style")&&b.process.styleAttribute(a))},DOMAttrModified:function(a){a.attrName==="style"&&b.process.styleAttribute(a.target)}}};(function(){var a={},d=[],c=getComputedStyle(document.documentElement,
null),f=document.createElement("div").style;b.prefix={prefix:"",uses:0};var e=function(c){d.indexOf(c)===-1&&d.push(c);if(c.indexOf("-")>-1){var e=c.split("-");if(c.charAt(0)==="-"){var c=e[1],g=++a[c]||1;a[c]=g;if(b.prefix.uses<g)b.prefix={prefix:c,uses:g};for(;e.length>3;)e.pop(),g=e.join("-"),i(g)in f&&(c=d,c.indexOf(g)===-1&&c.push(g))}}};if(c.length>0)for(var g=0;g<c.length;g++)e(c[g]);else for(var h in c)e(k(h));b.prefix="-"+b.prefix.prefix+"-";b.Prefix=i(b.prefix);d.sort();b.properties=[];
for(g=0;g<d.length;g++){h=d[g];if(h.charAt(0)!=="-")break;h.indexOf(b.prefix)===0&&(c=h.slice(b.prefix.length),d.indexOf(c)===-1&&b.properties.push(c))}b.Prefix=="Ms"&&!("transform"in f)&&!("MsTransform"in f)&&"msTransform"in f&&b.properties.push("transform","transform-origin");b.properties.sort()})();(function(){var a={"linear-gradient":{property:"backgroundImage",params:"red, teal"},calc:{property:"width",params:"1px+5%"},initial:{property:"color"}};a["repeating-linear-gradient"]=a["repeating-radial-gradient"]=
a["radial-gradient"]=a["linear-gradient"];b.values=[];var d=document.createElement("div").style,c;for(c in a){var f=a[c],e=f.property,f=c+(f.params?"("+f.params+")":"");d[e]="";d[e]=f;d[e]||(d[e]="",d[e]=b.prefix+f,d[e]&&b.values.push(c))}})();(function(){var a={":read-only":null,":read-write":null,":any-link":null,"::selection":null},d={keyframes:"name",viewport:null,document:'regexp(".")'};b.selectors=[];b.atrules=[];var c=j.appendChild(document.createElement("style")),f;for(f in a){var e=a[f]?
"("+a[f]+"){}":"{}",e=b.prefixSelector(f)+e+f+e;c.textContent=e;e=c.sheet.cssRules;e.length===1&&e[0].selectorText.indexOf(b.prefix)>-1&&b.selectors.push(f)}for(var g in d)if(e=g+" "+(d[g]||"")+"{}",c.textContent="@"+e,c.sheet.cssRules.length===0)c.textContent="@"+b.prefix+e,c.sheet.cssRules.length>0&&b.atrules.push(g);j.removeChild(c)})();document.addEventListener("DOMContentLoaded",function(){[].slice.call(document.querySelectorAll('link[rel~="stylesheet"]')).forEach(b.process.link);[].slice.call(document.querySelectorAll("style")).forEach(b.process.styleElement);
[].slice.call(document.querySelectorAll("[style]")).forEach(b.process.styleAttribute);document.addEventListener("DOMNodeInserted",b.events.DOMNodeInserted,false);document.addEventListener("DOMAttrModified",b.events.DOMAttrModified,false);if(window.CSSStyleDeclaration)for(var a=0;a<b.properties.length;a++){var d=i(b.properties[a]),c=i(b.prefix+d),f=CSSStyleDeclaration.prototype,e=function(a){return function(){return this[a]}}(c),c=function(a){return function(b){this[a]=b}}(c);Object.defineProperty?
Object.defineProperty(f,d,{get:e,set:c,enumerable:true,configurable:true}):f.__defineGetter__&&(f.__defineGetter__(d,e),f.__defineSetter__(d,c))}},false)}})(document.head||document.getElementsByTagName("head")[0]);
