PageSourceSearch

https://printstudios.de/static/react/chunks/TypeWriter-CrdWtLjX.js

js printstudios.de collected 2026-10-06 14:06:44 UTC 1,123 bytes, 1 lines download raw bytes

1import{j as a}from"./motion-4Pe-0l9l.js";import{r}from"./icons-D33OLVah.js";import{c as T}from"./index-DOjRTYqR.js";function j({texts:t,speed:i=60,deleteSpeed:o=35,pauseTime:f=2e3,className:y,cursorColor:g="#38bdf8",loop:m=!0}){const[u,w]=r.useState(""),[l,h]=r.useState(!1),s=r.useRef(0),e=r.useRef(0);return r.useEffect(()=>{if(t.length===0)return;function c(){const p=t[s.current%t.length],x=u;if(l){const n=x.slice(0,-1);if(w(n),n===""){if(h(!1),s.current=(s.current+1)%t.length,!m&&s.current===0)return;e.current=window.setTimeout(c,i*3);return}e.current=window.setTimeout(c,o)}else{const n=p.slice(0,x.length+1);if(w(n),n===p){e.current=window.setTimeout(()=>h(!0),f);return}e.current=window.setTimeout(c,i+Math.random()*30)}}return e.current=window.setTimeout(c,l?o:i),()=>clearTimeout(e.current)},[u,l,t,i,o,f,m]),a.jsxs("span",{className:T("inline-flex items-baseline",y),children:[u,a.jsx("span",{className:"ml-0.5 inline-block w-[2px] h-[1.1em] animate-[blink_0.85s_step-end_infinite]",style:{backgroundColor:g}}),a.jsx("style",{children:"@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}"})]})}export{j as T};

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.