"use strict"; ! function(e, t) { var i, n, d = t.documentElement, o = e.devicePixelRatio || 1; function h() { return void 0 !== e.innerHeight ? { width: e.innerWidth, height: e.innerHeight }: "CSS1Compat" === t.compatMode ? { width: t.documentElement.clientWidth, height: t.documentElement.clientHeight }: { width: t.body.clientWidth, height: t.body.clientHeight } } function a() { var e = 768 < h().width ? Math.max(d.clientWidth, 1280) / 10 : Math.min(d.clientWidth, 768) / 10; d.style.fontSize = e + "px" } ! function e() { t.body ? t.body.style.fontSize = 12 * o + "px": t.addEventListener("DOMContentLoaded", e) } (), a(), e.setRemUnit = a, e.addEventListener("resize", a), e.addEventListener("pageshow", function(e) { e.persisted && a() }), 2 <= o && (i = t.createElement("body"), (n = t.createElement("div")).style.border = ".5px solid transparent", i.appendChild(n), d.appendChild(i), 1 === n.offsetHeight && d.classList.add("hairlines"), d.removeChild(i)) } (window, document);