window.Modernizr = function(a, b, c) { function B(a) { j.cssText = a } function C(a, b) { return B(n.join(a + ";") + (b || "")) } function D(a, b) { return typeof a === b } function E(a, b) { return !! ~("" + a).indexOf(b) } function F(a, b) { for (var d in a) if (j[a[d]] !== c) return b == "pfx" ? a[d] : !0; return !1 } function G(a, b, d) { for (var e in a) { var f = b[a[e]]; if (f !== c) return d === !1 ? a[e] : D(f, "function") ? f.bind(d || b) : f } return !1 } function H(a, b, c) { var d = a.charAt(0).toUpperCase() + a.substr(1), e = (a + " " + p.join(d + " ") + d).split(" "); return D(b, "string") || D(b, "undefined") ? F(e, b) : (e = (a + " " + q.join(d + " ") + d).split(" "), G(e, b, c)) } function I() { e.input = function(c) { for (var d = 0, e = c.length; d < e; d++) t[c[d]] = c[d] in k; return t.list && (t.list = !!b.createElement("datalist") && !!a.HTMLDataListElement), t } ("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")), e.inputtypes = function(a) { for (var d = 0, e, f, h, i = a.length; d < i; d++) k.setAttribute("type", f = a[d]), e = k.type !== "text", e && (k.value = l, k.style.cssText = "position:absolute;visibility:hidden;", /^range$/.test(f) && k.style.WebkitAppearance !== c ? (g.appendChild(k), h = b.defaultView, e = h.getComputedStyle && h.getComputedStyle(k, null).WebkitAppearance !== "textfield" && k.offsetHeight !== 0, g.removeChild(k)) : /^(search|tel)$/.test(f) || (/^(url|email)$/.test(f) ? e = k.checkValidity && k.checkValidity() === !1 : /^color$/.test(f) ? (g.appendChild(k), g.offsetWidth, e = k.value != l, g.removeChild(k)) : e = k.value != l)), s[a[d]] = !!e; return s } ("search tel url email datetime date month week time datetime-local number range color".split(" ")) } var d = "2.5.3", e = {}, f = !0, g = b.documentElement, h = "modernizr", i = b.createElement(h), j = i.style, k = b.createElement("input"), l = ":)", m = {}.toString, n = " -webkit- -moz- -o- -ms- ".split(" "), o = "Webkit Moz O ms", p = o.split(" "), q = o.toLowerCase().split(" "), r = {}, s = {}, t = {}, u = [], v = u.slice, w, x = function(a, c, d, e) { var f, i, j, k = b.createElement("div"), l = b.body, m = l ? l : b.createElement("body"); if (parseInt(d, 10)) while (d--) j = b.createElement("div"), j.id = e ? e[d] : h + (d + 1), k.appendChild(j); return f = ["­", ""].join(""), k.id = h, m.innerHTML += f, m.appendChild(k), l || (m.style.background = "", g.appendChild(m)), i = c(k, a), l ? k.parentNode.removeChild(k) : m.parentNode.removeChild(m), !!i }, y = function(b) { var c = a.matchMedia || a.msMatchMedia; if (c) return c(b).matches; var d; return x("@media " + b + " { #" + h + " { position: absolute; } }", function(b) { d = (a.getComputedStyle ? getComputedStyle(b, null) : b.currentStyle)["position"] == "absolute" }), d }, z = {}.hasOwnProperty, A; !D(z, "undefined") && !D(z.call, "undefined") ? A = function(a, b) { return z.call(a, b) } : A = function(a, b) { return b in a && D(a.constructor.prototype[b], "undefined") }, Function.prototype.bind || (Function.prototype.bind = function(b) { var c = this; if (typeof c != "function") throw new TypeError; var d = v.call(arguments, 1), e = function() { if (this instanceof e) { var a = function() { }; a.prototype = c.prototype; var f = new a, g = c.apply(f, d.concat(v.call(arguments))); return Object(g) === g ? g : f } return c.apply(b, d.concat(v.call(arguments))) }; return e }), r.rgba = function() { return B("background-color:rgba(150,255,150,.5)"), E(j.backgroundColor, "rgba") }, r.borderradius = function() { return H("borderRadius") }, r.boxshadow = function() { return H("boxShadow") }, r.opacity = function() { return C("opacity:.55"), /^0.55$/.test(j.opacity) }, r.cssanimations = function() { return H("animationName") }, r.cssgradients = function() { var a = "background-image:", b = "gradient(linear,left top,right bottom,from(#9f9),to(white));", c = "linear-gradient(left top,#9f9, white);"; return B((a + "-webkit- ".split(" ").join(b + a) + n.join(c + a)).slice(0, -a.length)), E(j.backgroundImage, "gradient") }, r.csstransforms = function() { return !!H("transform") }, r.csstransitions = function() { return H("transition") }, r.localstorage = function() { try { return localStorage.setItem(h, h), localStorage.removeItem(h), !0 } catch (a) { return !1 } }, r.sessionstorage = function() { try { return sessionStorage.setItem(h, h), sessionStorage.removeItem(h), !0 } catch (a) { return !1 } }; for (var J in r) A(r, J) && (w = J.toLowerCase(), e[w] = r[J](), u.push((e[w] ? "" : "no-") + w)); return e.input || I(), B(""), i = k = null, function(a, b) { function g(a, b) { var c = a.createElement("p"), d = a.getElementsByTagName("head")[0] || a.documentElement; return c.innerHTML = "x", d.insertBefore(c.lastChild, d.firstChild) } function h() { var a = k.elements; return typeof a == "string" ? a.split(" ") : a } function i(a) { var b = {}, c = a.createElement, e = a.createDocumentFragment, f = e(); a.createElement = function(a) { var e = (b[a] || (b[a] = c(a))).cloneNode(); return k.shivMethods && e.canHaveChildren && !d.test(a) ? f.appendChild(e) : e }, a.createDocumentFragment = Function("h,f", "return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&(" + h().join().replace(/\w+/g, function(a) { return b[a] = c(a), f.createElement(a), 'c("' + a + '")' }) + ");return n}")(k, f) } function j(a) { var b; return a.documentShived ? a : (k.shivCSS && !e && (b = !!g(a, "article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")), f || (b = !i(a)), b && (a.documentShived = b), a) } var c = a.html5 || {}, d = /^<|^(?:button|form|map|select|textarea)$/i, e, f; (function() { var a = b.createElement("a"); a.innerHTML = "", e = "hidden" in a, f = a.childNodes.length == 1 || function() { try { b.createElement("a") } catch (a) { return !0 } var c = b.createDocumentFragment(); return typeof c.cloneNode == "undefined" || typeof c.createDocumentFragment == "undefined" || typeof c.createElement == "undefined" } () })(); var k = { elements: c.elements || "abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video", shivCSS: c.shivCSS !== !1, shivMethods: c.shivMethods !== !1, type: "default", shivDocument: j }; a.html5 = k, j(b) } (this, b), e._version = d, e._prefixes = n, e._domPrefixes = q, e._cssomPrefixes = p, e.mq = y, e.testProp = function(a) { return F([a]) }, e.testAllProps = H, e.testStyles = x, g.className = g.className.replace(/(^|\s)no-js(\s|$)/, "$1$2") + (f ? " js " + u.join(" ") : ""), e } (this, this.document)