1import"./Bzak7iHL.js";import{p as k,v as m,k as D,K as S,l as C,aD as W,o as w,t as j,i as B,j as e,b as E,c as K,g as M,m as i}from"./Dy0CVtnB.js";import{a as q,c as z}from"./wKXBEGoX.js";import{p as s}from"./z1XKdrDB.js";var A=M("<span> </span>");function L(g,a){k(a,!0);let l=s(a,"words",19,()=>["friction","fiat"]),f=s(a,"textClass",3,""),d=s(a,"typingSpeed",3,80),y=s(a,"initialDelay",3,1e3),x=s(a,"pauseDuration",3,1e3),v=s(a,"backspaceSpeed",3,40),t=m(D(S(()=>l()[0]||""))),o=m(0),n,r;const h=()=>l()[e(o)],T=()=>{const p=h();if(e(t).length>=p.length){clearInterval(n),r=setTimeout(u,x());return}i(t,p.substring(0,e(t).length+1),!0)},I=()=>{if(e(t).length<=0){clearInterval(n),i(o,(e(o)+1)%l().length),r=setTimeout(_,300);return}i(t,e(t).substring(0,e(t).length-1),!0)},_=()=>{n=setInterval(T,d())},u=()=>{n=setInterval(I,v())};C(()=>{r=setTimeout(()=>{u()},y())}),W(()=>{clearInterval(n),clearTimeout(r)});var c=A(),b=w(c);j(()=>{q(c,1,z(f())),B(b,`${e(t)??""}_`)}),E(g,c),K()}export{L as default};
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.