!function(n,o){"use strict";var r,i;function a(e){return parseInt(n.getComputedStyle(i).getPropertyValue(e))+parseInt(n.getComputedStyle(r).getPropertyValue(e))}EngageBox&&EngageBox.onReady(function(){var t,e=EngageBox.getInstances("pageslide");e.length&&(r=o.querySelector("html"),i=o.querySelector("body"),(t=o.createElement("div")).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(){n.scrollTo({top:0,left:0,behavior:"smooth"})}),t.appendChild(e.el)}))})}(window,document);

