import{ao as a}from"./app-k0jcl5PQ.js";const s="_annotation_1kw8a_1",c="_above_1kw8a_5",r="_below_1kw8a_8",l="_left_1kw8a_11",m="_right_1kw8a_14",_="_divider_1kw8a_17",f="_imageContainer_1kw8a_24",t={annotation:s,above:c,below:r,left:l,right:m,divider:_,imageContainer:f};d.defaultProps={contentPosition:"center"};function d(n){function i(){let e=t.annotation;switch(n.annotationPosition){case"top-left":{e+=` ${t.above} ${t.left}`;break}case"top-right":{e+=` ${t.above} ${t.right}`;break}case"bottom-left":{e+=` ${t.below} ${t.left}`;break}case"bottom-right":{e+=` ${t.below} ${t.right}`;break}}return n.annotationClassName&&(e+=` ${n.annotationClassName}`),e}function o(){let e=`d-flex align-items-center text-center position-relative w-100 ${t.imageContainer}`;return n.contentPosition==="center"&&(e+=" px-5 justify-content-center"),n.contentPosition==="right"&&(e+=" me-n5 justify-content-end"),e}return a.jsxs("div",{className:o(),children:[!!n.annotationUrl&&a.jsx("div",{className:i(),children:a.jsx("img",{className:"img-fluid",src:n.annotationUrl})}),n.children,n.contentPosition==="right"&&a.jsx("div",{className:t.divider})]})}export{d as L};
//# sourceMappingURL=C_Or9fFB.chunk.js.map
