System.register([],(function(n){"use strict";return{execute:function(){n({a:v,p:r});var o=n("g",(function(n){if(n===null){return null}if(n.classList.contains("element_scrolled")||(n===null||n===void 0?void 0:n.tagName)==="BODY"){return n}else{return o(n.offsetParent)}}));function v(n){var o=n.actionElement,v=n.changedElement,r=n.intoView;var i=r?r:document.body;var l=i.offsetParent;var d=!!i.classList.contains("element_scrolled");var t=d?o.offsetTop-i.scrollTop+l.offsetTop:o.offsetTop-window.scrollY;var u=d?o.offsetLeft+l.offsetLeft:o.offsetLeft;var e=(v===null||v===void 0?void 0:v.offsetHeight)>window.innerHeight-t?t-(v===null||v===void 0?void 0:v.offsetHeight)-16:t+(o===null||o===void 0?void 0:o.offsetHeight)+16;var a=(v===null||v===void 0?void 0:v.offsetWidth)>window.innerWidth-u?u+(o===null||o===void 0?void 0:o.offsetWidth)-(v===null||v===void 0?void 0:v.offsetWidth):u;var w=window.innerHeight-(v===null||v===void 0?void 0:v.offsetHeight);var c=window.innerWidth-(v===null||v===void 0?void 0:v.offsetWidth);var f={top:e<8?8:e>w?w-8:e,left:a<0?0:a>c?c:a};return f}function r(n){var o=n.actionElement,v=n.changedElement,r=n.intoView;var i=r?r:document.body;var l=i.offsetHeight<v.offsetHeight?window.screen.height:i.offsetHeight;var d=i.offsetWidth<v.offsetWidth?window.screen.width:i.offsetWidth;var t=l-o.offsetTop;var u=d-o.offsetLeft;var e={y:t<v.offsetHeight+o.offsetHeight?"top":"bottom",x:u<v.offsetWidth?"right":"left"};return e}}}}));
//# sourceMappingURL=p-39f25a84.system.js.map