/**
* @license
* html5 shiv v3 | @jon_neal @afarkas @rem | mit/gpl2 licensed
* uncompressed source: https://github.com/afarkas/html5shiv
*/
(function(a,b){function f(a){var c,d,e,f;b.documentmode>7?(c=b.createelement("font"),c.setattribute("data-html5shiv",a.nodename.tolowercase())):c=b.createelement("shiv:"+a.nodename);while(a.firstchild)c.appendchild(a.childnodes[0]);for(d=a.attributes,e=d.length,f=0;f7?e[g][e[g].length-1]=e[g][e[g].length-1].replace(d,'$1font[data-html5shiv="$2"]'):e[g][e[g].length-1]=e[g][e[g].length-1].replace(d,"$1shiv\\:$2"),e[g]=e[g].join("}");return e.join("{")}var c=function(a){return a.innerhtml="",a.childnodes.length===1}(b.createelement("a")),d=function(a,b,c){return b.appendchild(a),(c=(c?c(a):a.currentstyle).display)&&b.removechild(a)&&c==="block"}(b.createelement("nav"),b.documentelement,a.getcomputedstyle),e={elements:"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video".split(" "),shivdocument:function(a){a=a||b;if(a.documentshived)return;a.documentshived=!0;var f=a.createelement,g=a.createdocumentfragment,h=a.getelementsbytagname("head")[0],i=function(a){f(a)};c||(e.elements.join(" ").replace(/\w+/g,i),a.createelement=function(a){var b=f(a);return b.canhavechildren&&e.shivdocument(b.document),b},a.createdocumentfragment=function(){return e.shivdocument(g())});if(!d&&h){var j=f("div");j.innerhtml=["x"].join(""),h.insertbefore(j.lastchild,h.firstchild)}return a}};e.shivdocument(b),a.html5=e;if(c||!a.attachevent)return;a.attachevent("onbeforeprint",function(){if(a.html5.supportsxelement||!b.namespaces)return;b.namespaces.shiv||b.namespaces.add("shiv");var c=-1,d=new regexp("^("+a.html5.elements.join("|")+")$","i"),e=b.getelementsbytagname("*"),g=e.length,j,k=i(h(function(a,b){var c=[],d=a.length;while(d)c.unshift(a[--d]);d=b.length;while(d)c.unshift(b[--d]);c.sort(function(a,b){return a.sourceindex-b.sourceindex}),d=c.length;while(d)c[--d]=c[d].stylesheet;return c}(b.getelementsbytagname("style"),b.getelementsbytagname("link"))));while(++c