System.register(["./constants-DOpa8YMW-legacy-TnabVEaS.js"],function(t,e){var o;return t("n",function(t,e,i,h,n,r){let l=n.left||o.left,d=n.right||o.right,g=n.top||o.top,u=n.bottom||o.bottom,f=h.top||0,s=h.left||0,a=t.top-f,b=t.bottom-f,c=t.left-s,m=t.right-s,p=(t.width,t.height,{top:a>=g,left:c>=l,bottom:b<=h.height-u,right:m<=h.width-d});if(Object.values(p).includes(!1)){let t=0,o=0;p.top?p.bottom||(t=h.height-u-b):t=g-a,p.left?p.right||(o=h.width-d-m):o=l-c,r({longitude:e.longitude-o/h.width*(i.right-i.left),latitude:e.latitude+t/h.height*(i.top-i.bottom)})}}),{setters:[function(t){o=t.n}],execute:function(){t("t","\n  bg-base-white border border-primary-100 w-auto overflow-hidden\n  rounded-lg shadow-sm\n")}}});
//# sourceMappingURL=styles-hx5_Dz4D-legacy-CNN4CNPX.js.map