!function(t,r){"use strict";var n,i;function o(e){return parseInt(t.getComputedStyle(i).getPropertyValue(e))+parseInt(t.getComputedStyle(n).getPropertyValue(e))}FireBox&&FireBox.onReady(function(){var t,e=FireBox.getInstances("pageslide");e.length&&(n=r.querySelector("html"),i=r.querySelector("body"),(t=r.createElement("div")).classList.add("fb-pageslide"),i.insertBefore(t,i.firstChild),e.forEach(function(e){e.on("beforeOpen",function(){t.style.margin=[-(o("padding-top")+o("margin-top")+o("border-top-width")),-(o("padding-right")+o("margin-right")+o("border-right-width")),0,-(o("padding-left")+o("margin-left")+o("border-left-width"))].join("px ")+"px"}),e.on("close",function(){t.style.margin=""}),t.appendChild(e.el)}))})}(window,document);

