import{aI as p,ao as e,at as a,aq as l}from"./app-k0jcl5PQ.js";import{u}from"./BqNArZps.chunk.js";const f="_text_1ccul_1",h="_collapsed_1ccul_1",o={text:f,collapsed:h},c="shared.expandableText";function v(t){const{lines:x=2}=t,[s,n]=p.useState(!1),{containerRef:d,showButton:r}=u(),i=t.children;return e.jsxs("div",{className:"d-flex flex-column overflow-hidden",children:[e.jsx("div",{style:{"--lines":x},className:`${s?"":o.collapsed} ${o.text}`,ref:d,children:e.jsx(i,{expanded:s})}),!s&&r&&e.jsx(a,{onClick:()=>n(!0),className:"text-info hover-text-underline",children:e.jsx(l,{namespace:c,phrase:"seeMore"})}),s&&e.jsx(a,{onClick:()=>n(!1),className:"text-info hover-text-underline",children:e.jsx(l,{namespace:c,phrase:"seeLess"})})]})}export{v as E};
//# sourceMappingURL=0f3cnETk.chunk.js.map
