/*! modernizr 3.5.0 (custom build) | mit * * https://modernizr.com/download/?-bgsizecover-flexbox-flexwrap-fontface-touchevents-video-mq-setclasses !*/ ! function(e, n, t) { function o(e, n) { return typeof e === n } function r() { var e, n, t, r, s, i, a; for (var l in b) if (b.hasownproperty(l)) { if (e = [], n = b[l], n.name && (e.push(n.name.tolowercase()), n.options && n.options.aliases && n.options.aliases.length)) for (t = 0; t < n.options.aliases.length; t++) e.push(n.options.aliases[t].tolowercase()); for (r = o(n.fn, "function") ? n.fn() : n.fn, s = 0; s < e.length; s++) i = e[s], a = i.split("."), 1 === a.length ? modernizr[a[0]] = r : (!modernizr[a[0]] || modernizr[a[0]] instanceof boolean || (modernizr[a[0]] = new boolean(modernizr[a[0]])), modernizr[a[0]][a[1]] = r), w.push((r ? "" : "no-") + a.join("-")) } } function s(e) { var n = c.classname, t = modernizr._config.classprefix || ""; if (s && (n = n.baseval), modernizr._config.enablejsclass) { var o = new regexp("(^|\\s)" + t + "no-js(\\s|$)"); n = n.replace(o, "$1" + t + "js$2") } modernizr._config.enableclasses && (n += " " + t + e.join(" " + t), s ? c.classname.baseval = n : c.classname = n) } function i() { return "function" != typeof n.createelement ? n.createelement(arguments[0]) : s ? n.createelementns.call(n, "http://www.w3.org/2000/svg", arguments[0]) : n.createelement.apply(n, arguments) } function a() { var e = n.body; return e || (e = i(s ? "svg" : "body"), e.fake = !0), e } function l(e, t, o, r) { var s, l, c, u, f = "modernizr", d = i("div"), p = a(); if (parseint(o, 10)) for (; o--;) c = i("div"), c.id = r ? r[o] : f + (o + 1), d.appendchild(c); return s = i("style"), s.type = "text/css", s.id = "s" + f, (p.fake ? p : d).appendchild(s), p.appendchild(d), s.stylesheet ? s.stylesheet.csstext = e : s.appendchild(n.createtextnode(e)), d.id = f, p.fake && (p.style.background = "", p.style.overflow = "hidden", u = c.style.overflow, c.style.overflow = "hidden", c.appendchild(p)), l = t(d, e), p.fake ? (p.parentnode.removechild(p), c.style.overflow = u, c.offsetheight) : d.parentnode.removechild(d), !! l } function c(e, n) { return !!~ ("" + e).indexof(n) } function u(e) { return e.replace(/([a-z])-([a-z])/g, function(e, n, t) { return n + t.touppercase() }).replace(/^-/, "") } function f(e, n) { return function() { return e.apply(n, arguments) } } function d(e, n, t) { var r; for (var s in e) if (e[s] in n) return t === !1 ? e[s] : (r = n[e[s]], o(r, "function") ? f(r, t || n) : r); return !1 } function p(e) { return e.replace(/([a-z])/g, function(e, n) { return "-" + n.tolowercase() }).replace(/^ms-/, "-ms-") } function m(n, t, o) { var r; if ("getcomputedstyle" in e) { r = getcomputedstyle.call(e, n, t); var s = e.console; if (null !== r) o && (r = r.getpropertyvalue(o)); else if (s) { var i = s.error ? "error" : "log"; s[i].call(s, "getcomputedstyle returning null, its possible modernizr test results are inaccurate") } } else r = !t && n.currentstyle && n.currentstyle[o]; return r } function v(n, o) { var r = n.length; if ("css" in e && "supports" in e.css) { for (; r--;) if (e.css.supports(p(n[r]), o)) return !0; return !1 } if ("csssupportsrule" in e) { for (var s = []; r--;) s.push("(" + p(n[r]) + ":" + o + ")"); return s = s.join(" or "), l("@supports (" + s + ") { #modernizr { position: absolute; } }", function(e) { return "absolute" == m(e, null, "position") }) } return t } function y(e, n, r, s) { function a() { f && (delete k.style, delete k.modelem) } if (s = o(s, "undefined") ? !1 : s, !o(r, "undefined")) { var l = v(e, r); if (!o(l, "undefined")) return l } for (var f, d, p, m, y, h = ["modernizr", "tspan", "samp"]; !k.style && h.length;) f = !0, k.modelem = i(h.shift()), k.style = k.modelem.style; for (p = e.length, d = 0; p > d; d++) if (m = e[d], y = k.style[m], c(m, "-") && (m = u(m)), k.style[m] !== t) { if (s || o(r, "undefined")) return a(), "pfx" == n ? m : !0; try { k.style[m] = r } catch (g) {} if (k.style[m] != y) return a(), "pfx" == n ? m : !0 } return a(), !1 } function h(e, n, t, r, s) { var i = e.charat(0).touppercase() + e.slice(1), a = (e + " " + j.join(i + " ") + i).split(" "); return o(n, "string") || o(n, "undefined") ? y(a, n, r, s) : (a = (e + " " + n.join(i + " ") + i).split(" "), d(a, n, t)) } function g(e, n, o) { return h(e, t, t, n, o) } var w = [], b = [], x = { _version: "3.5.0", _config: { classprefix: "", enableclasses: !0, enablejsclass: !0, useprefixes: !0 }, _q: [], on: function(e, n) { var t = this; settimeout(function() { n(t[e]) }, 0) }, addtest: function(e, n, t) { b.push({ name: e, fn: n, options: t }) }, addasynctest: function(e) { b.push({ name: null, fn: e }) } }, modernizr = function() {}; modernizr.prototype = x, modernizr = new modernizr; var c = n.documentelement, s = "svg" === c.nodename.tolowercase(), t = x._config.useprefixes ? " -webkit- -moz- -o- -ms- ".split(" ") : ["", ""]; x._prefixes = t; var _ = function() { var n = e.matchmedia || e.msmatchmedia; return n ? function(e) { var t = n(e); return t && t.matches || !1 } : function(n) { var t = !1; return l("@media " + n + " { #modernizr { position: absolute; } }", function(n) { t = "absolute" == (e.getcomputedstyle ? e.getcomputedstyle(n, null) : n.currentstyle).position }), t } }(); x.mq = _; var p = x.teststyles = l; modernizr.addtest("touchevents", function() { var t; if ("ontouchstart" in e || e.documenttouch && n instanceof documenttouch) t = !0; else { var o = ["@media (", t.join("touch-enabled),("), "heartz", ")", "{#modernizr{top:9px;position:absolute}}"].join(""); p(o, function(e) { t = 9 === e.offsettop }) } return t }); var z = function() { var e = navigator.useragent, n = e.match(/w(eb)?osbrowser/gi), t = e.match(/windows phone/gi) && e.match(/iemobile\/([0-9])+/gi) && parsefloat(regexp.$1) >= 9; return n || t }(); z ? modernizr.addtest("fontface", !1) : p('@font-face {font-family:"font";src:url("https://")}', function(e, t) { var o = n.getelementbyid("smodernizr"), r = o.sheet || o.stylesheet, s = r ? r.cssrules && r.cssrules[0] ? r.cssrules[0].csstext : r.csstext || "" : "", i = /src/i.test(s) && 0 === s.indexof(t.split(" ")[0]); modernizr.addtest("fontface", i) }); var e = "moz o ms webkit", j = x._config.useprefixes ? e.split(" ") : []; x._cssomprefixes = j; var n = x._config.useprefixes ? e.tolowercase().split(" ") : []; x._domprefixes = n; var $ = { elem: i("modernizr") }; modernizr._q.push(function() { delete $.elem }); var k = { style: $.elem.style }; modernizr._q.unshift(function() { delete k.style }), x.testallprops = h, x.testallprops = g, modernizr.addtest("bgsizecover", g("backgroundsize", "cover")), modernizr.addtest("flexbox", g("flexbasis", "1px", !0)), modernizr.addtest("flexwrap", g("flexwrap", "wrap", !0)), modernizr.addtest("video", function() { var e = i("video"), n = !1; try { n = !! e.canplaytype, n && (n = new boolean(n), n.ogg = e.canplaytype('video/ogg; codecs="theora"').replace(/^no$/, ""), n.h264 = e.canplaytype('video/mp4; codecs="avc1.42e01e"').replace(/^no$/, ""), n.webm = e.canplaytype('video/webm; codecs="vp8, vorbis"').replace(/^no$/, ""), n.vp9 = e.canplaytype('video/webm; codecs="vp9"').replace(/^no$/, ""), n.hls = e.canplaytype('application/x-mpegurl; codecs="avc1.42e01e"').replace(/^no$/, "")) } catch (t) {} return n }), r(), s(w), delete x.addtest, delete x.addasynctest; for (var r = 0; r < modernizr._q.length; r++) modernizr._q[r](); e.modernizr = modernizr }(window, document);