"use strict"; var _typeof = typeof symbol === "function" && typeof symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof symbol === "function" && obj.constructor === symbol && obj !== symbol.prototype ? "symbol" : typeof obj; }; /*! picturefill - v3.0.2 - 2016-02-12 * https://scottjehl.github.io/picturefill/ * copyright (c) 2016 https://github.com/scottjehl/picturefill/blob/master/authors.txt; licensed mit */ !function (a) { var b = navigator.useragent;a.htmlpictureelement && /ecko/.test(b) && b.match(/rv\:(\d+)/) && regexp.$1 < 45 && addeventlistener("resize", function () { var b, c = document.createelement("source"), d = function d(a) { var b, d, e = a.parentnode;"picture" === e.nodename.touppercase() ? (b = c.clonenode(), e.insertbefore(b, e.firstelementchild), settimeout(function () { e.removechild(b); })) : (!a._pflastsize || a.offsetwidth > a._pflastsize) && (a._pflastsize = a.offsetwidth, d = a.sizes, a.sizes += ",100vw", settimeout(function () { a.sizes = d; })); }, e = function e() { var a, b = document.queryselectorall("picture > img, img[srcset][sizes]");for (a = 0; a < b.length; a++) { d(b[a]); } }, f = function f() { cleartimeout(b), b = settimeout(e, 99); }, g = a.matchmedia && matchmedia("(orientation: landscape)"), h = function h() { f(), g && g.addlistener && g.addlistener(f); };return c.srcset = "data:image/gif;base64,r0lgodlhaqabaaaaach5baekaaealaaaaaabaaeaaaictaeaow==", /^[c|i]|d$/.test(document.readystate || "") ? h() : document.addeventlistener("domcontentloaded", h), f; }()); }(window), function (a, b, c) { "use strict"; function d(a) { return " " === a || " " === a || "\n" === a || "\f" === a || "\r" === a; }function e(b, c) { var d = new a.image();return d.onerror = function () { a[b] = !1, ba(); }, d.onload = function () { a[b] = 1 === d.width, ba(); }, d.src = c, "pending"; }function f() { m = !1, p = a.devicepixelratio, n = {}, o = {}, s.dpr = p || 1, q.width = math.max(a.innerwidth || 0, z.clientwidth), q.height = math.max(a.innerheight || 0, z.clientheight), q.vw = q.width / 100, q.vh = q.height / 100, r = [q.height, q.width, p].join("-"), q.em = s.getemvalue(), q.rem = q.em; }function g(a, b, c, d) { var e, f, g, h;return "savedata" === b.algorithm ? a > 2.7 ? h = c + 1 : (f = b - c, e = math.pow(a - .6, 1.5), g = f * e, d && (g += .1 * e), h = a + g) : h = c > 1 ? math.sqrt(a * b) : a, h > c; }function h(a) { var b, c = s.getset(a), d = !1;"pending" !== c && (d = r, c && (b = s.setres(c), s.applysetcandidate(b, a))), a[s.ns].evaled = d; }function i(a, b) { return a.res - b.res; }function j(a, b, c) { var d;return !c && b && (c = a[s.ns].sets, c = c && c[c.length - 1]), d = k(b, c), d && (b = s.makeurl(b), a[s.ns].cursrc = b, a[s.ns].curcan = d, d.res || aa(d, d.set.sizes)), d; }function k(a, b) { var c, d, e;if (a && b) for (e = s.parseset(b), a = s.makeurl(a), c = 0; c < e.length; c++) { if (a === s.makeurl(e[c].url)) { d = e[c];break; } }return d; }function l(a, b) { var c, d, e, f, g = a.getelementsbytagname("source");for (c = 0, d = g.length; d > c; c++) { e = g[c], e[s.ns] = !0, f = e.getattribute("srcset"), f && b.push({ srcset: f, media: e.getattribute("media"), type: e.getattribute("type"), sizes: e.getattribute("sizes") }); } }function m(a, b) { function c(b) { var c, d = b.exec(a.substring(m));return d ? (c = d[0], m += c.length, c) : void 0; }function e() { var a, c, d, e, f, i, j, k, l, m = !1, o = {};for (e = 0; e < h.length; e++) { f = h[e], i = f[f.length - 1], j = f.substring(0, f.length - 1), k = parseint(j, 10), l = parsefloat(j), x.test(j) && "w" === i ? ((a || c) && (m = !0), 0 === k ? m = !0 : a = k) : y.test(j) && "x" === i ? ((a || c || d) && (m = !0), 0 > l ? m = !0 : c = l) : x.test(j) && "h" === i ? ((d || c) && (m = !0), 0 === k ? m = !0 : d = k) : m = !0; }m || (o.url = g, a && (o.w = a), c && (o.d = c), d && (o.h = d), d || c || a || (o.d = 1), 1 === o.d && (b.has1x = !0), o.set = b, n.push(o)); }function f() { for (c(t), i = "", j = "in descriptor";;) { if (k = a.charat(m), "in descriptor" === j) { if (d(k)) i && (h.push(i), i = "", j = "after descriptor");else { if ("," === k) return m += 1, i && h.push(i), void e();if ("(" === k) i += k, j = "in parens";else { if ("" === k) return i && h.push(i), void e();i += k; } } } else if ("in parens" === j) { if (")" === k) i += k, j = "in descriptor";else { if ("" === k) return h.push(i), void e();i += k; } } else if ("after descriptor" === j) if (d(k)) ;else { if ("" === k) return void e();j = "in descriptor", m -= 1; }m += 1; } }for (var g, h, i, j, k, l = a.length, m = 0, n = [];;) { if (c(u), m >= l) return n;g = c(v), h = [], "," === g.slice(-1) ? (g = g.replace(w, ""), e()) : f(); } }function n(a) { function b(a) { function b() { f && (g.push(f), f = ""); }function c() { g[0] && (h.push(g), g = []); }for (var e, f = "", g = [], h = [], i = 0, j = 0, k = !1;;) { if (e = a.charat(j), "" === e) return b(), c(), h;if (k) { if ("*" === e && "/" === a[j + 1]) { k = !1, j += 2, b();continue; }j += 1; } else { if (d(e)) { if (a.charat(j - 1) && d(a.charat(j - 1)) || !f) { j += 1;continue; }if (0 === i) { b(), j += 1;continue; }e = " "; } else if ("(" === e) i += 1;else if (")" === e) i -= 1;else { if ("," === e) { b(), c(), j += 1;continue; }if ("/" === e && "*" === a.charat(j + 1)) { k = !0, j += 2;continue; } }f += e, j += 1; } } }function c(a) { return k.test(a) && parsefloat(a) >= 0 ? !0 : l.test(a) ? !0 : "0" === a || "-0" === a || "+0" === a ? !0 : !1; }var e, f, g, h, i, j, k = /^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[ee][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i, l = /^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for (f = b(a), g = f.length, e = 0; g > e; e++) { if (h = f[e], i = h[h.length - 1], c(i)) { if (j = i, h.pop(), 0 === h.length) return j;if (h = h.join(" "), s.matchesmedia(h)) return j; } }return "100vw"; }b.createelement("picture");var o, p, q, r, s = {}, t = !1, u = function u() {}, v = b.createelement("img"), w = v.getattribute, x = v.setattribute, y = v.removeattribute, z = b.documentelement, a = {}, b = { algorithm: "" }, c = "data-pfsrc", d = c + "set", e = navigator.useragent, f = /rident/.test(e) || /ecko/.test(e) && e.match(/rv\:(\d+)/) && regexp.$1 > 35, g = "currentsrc", h = /\s+\+?\d+(e\d+)?w/, i = /(\([^)]+\))?\s*(.+)/, j = a.picturefillcfg, k = "position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)", l = "font-size:100%!important;", m = !0, n = {}, o = {}, p = a.devicepixelratio, q = { px: 1, "in": 96 }, r = b.createelement("a"), s = !1, t = /^[ \t\n\r\u000c]+/, u = /^[, \t\n\r\u000c]+/, v = /^[^ \t\n\r\u000c]+/, w = /[,]+$/, x = /^\d+$/, y = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[ee][+-]?[0-9]+)?$/, z = function z(a, b, c, d) { a.addeventlistener ? a.addeventlistener(b, c, d || !1) : a.attachevent && a.attachevent("on" + b, c); }, $ = function $(a) { var b = {};return function (c) { return c in b || (b[c] = a(c)), b[c]; }; }, _ = function () { var a = /^([\d\.]+)(em|vw|px)$/, b = function b() { for (var a = arguments, b = 0, c = a[0]; ++b in a;) { c = c.replace(a[b], a[++b]); }return c; }, c = $(function (a) { return "return " + b((a || "").tolowercase(), /\band\b/g, "&&", /,/g, "||", /min-([a-z-\s]+):/g, "e.$1>=", /max-([a-z-\s]+):/g, "e.$1<=", /calc([^)]+)/g, "($1)", /(\d+[\.]*[\d]*)([a-z]+)/g, "($1 * e.$2)", /^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi, "") + ";"; });return function (b, d) { var e;if (!(b in n)) if (n[b] = !1, d && (e = b.match(a))) n[b] = e[1] * q[e[2]];else try { n[b] = new function("e", c(b))(q); } catch (f) {}return n[b]; }; }(), aa = function aa(a, b) { return a.w ? (a.cwidth = s.calclistlength(b || "100vw"), a.res = a.w / a.cwidth) : a.res = a.d, a; }, ba = function ba(a) { if (t) { var c, d, e, f = a || {};if (f.elements && 1 === f.elements.nodetype && ("img" === f.elements.nodename.touppercase() ? f.elements = [f.elements] : (f.context = f.elements, f.elements = null)), c = f.elements || s.qsa(f.context || b, f.reevaluate || f.reselect ? s.sel : s.selshort), e = c.length) { for (s.setuprun(f), s = !0, d = 0; e > d; d++) { s.fillimg(c[d], f); }s.teardownrun(f); } } };o = a.console && console.warn ? function (a) { console.warn(a); } : u, g in v || (g = "src"), a["image/jpeg"] = !0, a["image/gif"] = !0, a["image/png"] = !0, a["image/svg+xml"] = b.implementation.hasfeature("http://www.w3.org/tr/svg11/feature#image", "1.1"), s.ns = ("pf" + new date().gettime()).substr(0, 9), s.supsrcset = "srcset" in v, s.supsizes = "sizes" in v, s.suppicture = !!a.htmlpictureelement, s.supsrcset && s.suppicture && !s.supsizes && !function (a) { v.srcset = "data:,a", a.src = "data:,a", s.supsrcset = v.complete === a.complete, s.suppicture = s.supsrcset && s.suppicture; }(b.createelement("img")), s.supsrcset && !s.supsizes ? !function () { var a = "data:image/gif;base64,r0lgodlhagabapaaap///waaach5baaaaaaalaaaaaacaaeaaaicbaoaow==", c = "data:image/gif;base64,r0lgodlhaqabaaaaach5baekaaealaaaaaabaaeaaaictaeaow==", d = b.createelement("img"), e = function e() { var a = d.width;2 === a && (s.supsizes = !0), q = s.supsrcset && !s.supsizes, t = !0, settimeout(ba); };d.onload = e, d.onerror = e, d.setattribute("sizes", "9px"), d.srcset = c + " 1w," + a + " 9w", d.src = c; }() : t = !0, s.selshort = "picture>img,img[srcset]", s.sel = s.selshort, s.cfg = b, s.dpr = p || 1, s.u = q, s.types = a, s.setsize = u, s.makeurl = $(function (a) { return r.href = a, r.href; }), s.qsa = function (a, b) { return "queryselector" in a ? a.queryselectorall(b) : []; }, s.matchesmedia = function () { return a.matchmedia && (matchmedia("(min-width: 0.1em)") || {}).matches ? s.matchesmedia = function (a) { return !a || matchmedia(a).matches; } : s.matchesmedia = s.mmq, s.matchesmedia.apply(this, arguments); }, s.mmq = function (a) { return a ? _(a) : !0; }, s.calclength = function (a) { var b = _(a, !0) || !1;return 0 > b && (b = !1), b; }, s.supportstype = function (a) { return a ? a[a] : !0; }, s.parsesize = $(function (a) { var b = (a || "").match(i);return { media: b && b[1], length: b && b[2] }; }), s.parseset = function (a) { return a.cands || (a.cands = m(a.srcset, a)), a.cands; }, s.getemvalue = function () { var a;if (!p && (a = b.body)) { var c = b.createelement("div"), d = z.style.csstext, e = a.style.csstext;c.style.csstext = k, z.style.csstext = l, a.style.csstext = l, a.appendchild(c), p = c.offsetwidth, a.removechild(c), p = parsefloat(p, 10), z.style.csstext = d, a.style.csstext = e; }return p || 16; }, s.calclistlength = function (a) { if (!(a in o) || b.ut) { var b = s.calclength(n(a));o[a] = b ? b : q.width; }return o[a]; }, s.setres = function (a) { var b;if (a) { b = s.parseset(a);for (var c = 0, d = b.length; d > c; c++) { aa(b[c], a.sizes); } }return b; }, s.setres.res = aa, s.applysetcandidate = function (a, b) { if (a.length) { var c, d, e, f, h, k, l, m, n, o = b[s.ns], p = s.dpr;if (k = o.cursrc || b[g], l = o.curcan || j(b, k, a[0].set), l && l.set === a[0].set && (n = f && !b.complete && l.res - .1 > p, n || (l.cached = !0, l.res >= p && (h = l))), !h) for (a.sort(i), f = a.length, h = a[f - 1], d = 0; f > d; d++) { if (c = a[d], c.res >= p) { e = d - 1, h = a[e] && (n || k !== s.makeurl(c.url)) && g(a[e].res, c.res, p, a[e].cached) ? a[e] : c;break; } }h && (m = s.makeurl(h.url), o.cursrc = m, o.curcan = h, m !== k && s.setsrc(b, h), s.setsize(b)); } }, s.setsrc = function (a, b) { var c;a.src = b.url, "image/svg+xml" === b.set.type && (c = a.style.width, a.style.width = a.offsetwidth + 1 + "px", a.offsetwidth + 1 && (a.style.width = c)); }, s.getset = function (a) { var b, c, d, e = !1, f = a[s.ns].sets;for (b = 0; b < f.length && !e; b++) { if (c = f[b], c.srcset && s.matchesmedia(c.media) && (d = s.supportstype(c.type))) { "pending" === d && (c = d), e = c;break; } }return e; }, s.parsesets = function (a, b, d) { var e, f, g, h, i = b && "picture" === b.nodename.touppercase(), j = a[s.ns];(j.src === c || d.src) && (j.src = w.call(a, "src"), j.src ? x.call(a, c, j.src) : y.call(a, c)), (j.srcset === c || d.srcset || !s.supsrcset || a.srcset) && (e = w.call(a, "srcset"), j.srcset = e, h = !0), j.sets = [], i && (j.pic = !0, l(b, j.sets)), j.srcset ? (f = { srcset: j.srcset, sizes: w.call(a, "sizes") }, j.sets.push(f), g = (q || j.src) && h.test(j.srcset || ""), g || !j.src || k(j.src, f) || f.has1x || (f.srcset += ", " + j.src, f.cands.push({ url: j.src, d: 1, set: f }))) : j.src && j.sets.push({ srcset: j.src, sizes: null }), j.curcan = null, j.cursrc = c, j.supported = !(i || f && !s.supsrcset || g && !s.supsizes), h && s.supsrcset && !j.supported && (e ? (x.call(a, d, e), a.srcset = "") : y.call(a, d)), j.supported && !j.srcset && (!j.src && a.src || a.src !== s.makeurl(j.src)) && (null === j.src ? a.removeattribute("src") : a.src = j.src), j.parsed = !0; }, s.fillimg = function (a, b) { var c, d = b.reselect || b.reevaluate;a[s.ns] || (a[s.ns] = {}), c = a[s.ns], (d || c.evaled !== r) && ((!c.parsed || b.reevaluate) && s.parsesets(a, a.parentnode, b), c.supported ? c.evaled = r : h(a)); }, s.setuprun = function () { (!s || m || p !== a.devicepixelratio) && f(); }, s.suppicture ? (ba = u, s.fillimg = u) : !function () { var c, d = a.attachevent ? /d$|^c/ : /d$|^c|^i/, e = function e() { var a = b.readystate || "";f = settimeout(e, "loading" === a ? 200 : 999), b.body && (s.fillimgs(), c = c || d.test(a), c && cleartimeout(f)); }, f = settimeout(e, b.body ? 9 : 99), g = function g(a, b) { var c, d, e = function e() { var f = new date() - d;b > f ? c = settimeout(e, b - f) : (c = null, a()); };return function () { d = new date(), c || (c = settimeout(e, b)); }; }, h = z.clientheight, i = function i() { m = math.max(a.innerwidth || 0, z.clientwidth) !== q.width || z.clientheight !== h, h = z.clientheight, m && s.fillimgs(); };z(a, "resize", g(i, 99)), z(b, "readystatechange", e); }(), s.picturefill = ba, s.fillimgs = ba, s.teardownrun = u, ba._ = s, a.picturefillcfg = { pf: s, push: function push(a) { var b = a.shift();"function" == typeof s[b] ? s[b].apply(s, a) : (b[b] = a[0], s && s.fillimgs({ reselect: !0 })); } };for (; j && j.length;) { a.picturefillcfg.push(j.shift()); }a.picturefill = ba, "object" == (typeof module === "undefined" ? "undefined" : _typeof(module)) && "object" == _typeof(module.exports) ? module.exports = ba : "function" == typeof define && define.amd && define("picturefill", function () { return ba; }), s.suppicture || (a["image/webp"] = e("image/webp", "data:image/webp;base64,uklgrkoaaabxrujqvla4waoaaaaqaaaaaaaaaaaaquxqsawaaaabbxar/q9erp8daabwudgggaaaadabaj0bkgeaaqadadqlpaadcad++/1qaa==")); }(window, document);