File: D:/HostingSpaces/Velosophe/dev.abloc.cc/wwwroot/app/themes/abloc/js/ab-legal.js
var ablocBreakpoints = (function() {
var e = function(e) {
return ("string" == typeof e || e instanceof String) &&
(e = e.replace(/[^a-zA-Z ]/g, "")), e;
},
t = function() {
var t = null;
return window.getComputedStyle &&
window.getComputedStyle(document.body, "::after")
? (
(t = window.getComputedStyle(document.body, "::after")),
(t = t.content)
)
: (
(window.getComputedStyle = function(e) {
return (this.el = e), (this.getPropertyValue = function(t) {
var i = /(\-([a-z]){1})/g;
return i.test(t) &&
(t = t.replace(i, function() {
return arguments[2].toUpperCase();
})), e.currentStyle[t] ? e.currentStyle[t] : null;
}), this;
}),
(t = window.getComputedStyle(
document.getElementsByTagName("head")[0]
)),
(t = t.getPropertyValue("font-family"))
), e(t);
};
return {
isBreakpoint: function(e) {
var i = {
small: ["small", "compact", "medium", "large", "wide", "huge"],
compact: ["compact", "medium", "large", "wide", "huge"],
medium: ["medium", "large", "wide", "huge"],
large: ["large", "wide", "huge"],
wide: ["wide", "huge"],
huge: ["huge"]
},
n = t();
return -1 !== jQuery.inArray(n, i[e]);
},
getBreakpoint: t
};
})(jQuery),
ablocCookie = {
set: function(e, t, i) {
var n;
if (i) {
var s = new Date();
s.setTime(s.getTime() + 24 * i * 60 * 60 * 1e3), (n =
"; expires=" + s.toGMTString());
} else n = "";
document.cookie = e + "=" + t + n + "; path=/";
},
erase: function(e) {
ablocCookie.set(e, "", -1);
},
get: function(e) {
for (
var t = e + "=", i = document.cookie.split(";"), n = 0;
n < i.length;
n++
) {
for (var s = i[n]; " " === s.charAt(0); ) s = s.substring(1, s.length);
if (0 === s.indexOf(t)) return s.substring(t.length, s.length);
}
return null;
}
}