function l(n,t,e){return e?n[0]===t[0]:n[0]===t[0]&&n[1]===t[1]}function p(n,t,e){return{...n[t]||{},...e}}function u(n,t,e,r){const{points:c}=e,s=Object.keys(n);for(let o=0;o<s.length;o+=1){const i=s[o];if(l(n[i].points,c,r))return`${t}-placement-${i}`}return""}export{p as getAlignFromPlacement,u as getAlignPopupClassName};
