import{r as n,b2 as c,ah as o,j as v,b3 as d}from"./index-Dbk1Plmn.js";function T({iso:e,className:u,title:t}){const[f,a]=n.useState(()=>e?c(e):"");n.useEffect(()=>{if(!e){a("");return}let s=!1,r;const i=()=>{if(s)return;a(c(e));const l=d(e);l>0&&(r=setTimeout(i,l))};return i(),()=>{s=!0,r!==void 0&&clearTimeout(r)}},[e]);const m=t===!1?void 0:t!==void 0?t:e?o(e):void 0;return v.jsx("span",{className:u,title:m,children:f})}export{T as L};
