1import{r,j as c}from"./jsx-runtime-DB4QMpUY.js";import{c as m,u as x}from"./config-RlbgR5_-.js";const y="_hidden_1mhmf_2",w={hidden:y},j=r.forwardRef(({className:e,showOnFocus:s,as:a="span",children:o,visible:l,...t},i)=>c.jsx(a,{className:m(w.hidden,e),"data-hidden":!l&&!s,"data-show-on-focus":s,ref:i,...t,children:o})),T="_text_zek6c_2",b="_label_zek6c_6",k="_typewriter_zek6c_10",v="_cursor_zek6c_15",n={text:T,label:b,typewriter:k,cursor:v},N=r.memo(({text:e,start:s=!0,delay:a=0,className:o,...l})=>{const t=x(),[i,_]=r.useState(""),[p,u]=r.useState(!0);return r.useEffect(()=>{if(!s||t){_(t?e:""),u(!1);return}u(!0);let d=0;const f=setTimeout(()=>{const h=setInterval(()=>{d<e.length?(d++,_(e.substring(0,d))):(clearInterval(h),u(!1))},800/e.length);return()=>clearInterval(h)},a);return()=>clearTimeout(f)},[s,e,a,t]),c.jsxs("span",{className:m(n.text,o),...l,children:[c.jsx(j,{className:n.label,children:e}),c.jsx("span",{"aria-hidden":!0,className:m(n.typewriter,p&&n.cursor),children:i})]})});export{N as D,j as V};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.