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

