PageSourceSearch

https://homepage-cdn.tidio.com/_next/static/chunks/pages/[locale]/typing-test-57e0381d44f7159e.js

js tidio.com collected 2026-10-01 07:38:20 UTC 26,211 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="78b65421-ce75-4dd0-9139-b0f00a70d1c6",e._sentryDebugIdIdentifier="sentry-dbid-78b65421-ce75-4dd0-9139-b0f00a70d1c6")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3993],{1363:(e,t,r)=>{"use strict";r.d(t,{f:()=>i});var n=r(55462),o=r(36471);let i=(e="/",t=o.z2.defaultLanguage,r={},i)=>{let a;if(i)return i;let l=0===(a=e.charAt(0)).length||""===a?"/":"/"!==a?`/${e}`:e,d=Object.entries(r),c=0===d.length,s=((e,t)=>{let[r,i]=e.split("/"),a=0===r.length&&0===i.length,l=t===o.z2.defaultLanguage;return a&&l?`${n.p0}${e}`:a&&!l?`${n.p0}/${t}${e}`:!a&&l?`${n.p0}${e}/`:`${n.p0}/${t}${e}/`})(l,t);return c||d.forEach(([e,t])=>{Array.isArray(t)||!t||s.includes(`[${e}]`)&&(s=s.replace(`[${e}]`,t))}),s.toLowerCase()}},6461:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/typing-test",function(){return r(77238)}])},18399:(e,t,r)=>{"use strict";r.d(t,{X:()=>n});let n=(0,r(76252).A)("div",{target:"e1hhveg50"})(({inView:e,animationType:t,animationTime:r=1,animationDelay:n=0,fadeTime:o=1})=>({opacity:+!!e,transition:`opacity ${o}s, transform ${r}s cubic-bezier(0.42, 0, 0, 0.93)`,transitionDelay:`${n}s, ${n}s`,..."none"===t&&{opacity:1},..."slideUp"===t&&{transform:e?"translateY(0px)":"translateY(20px)"}}))},27048:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(18153),o=r(14232);let i=(0,r(76252).A)("button",{target:"e1a9zt9b0"})(({theme:{colorsOld:e}})=>({height:36,width:36,outline:"none",position:"absolute",background:e.WHITE,borderRadius:"50%",border:`3px solid ${e.WHITE}`,boxShadow:"0px 12px 32px rgba(0, 27, 71, 0.12)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",padding:0,zIndex:1,svg:{fill:e.GRAY_500},":hover":{background:e.PRIMARY_BLUE_100,svg:{fill:e.PRIMARY_BLUE_500}},":active":{background:e.PRIMARY_BLUE_200,svg:{fill:e.PRIMARY_BLUE_500}}})),a=e=>(0,n.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",width:22,height:22,fill:"none",...e,children:(0,n.Y)("path",{d:"m17.416 5.876-1.292-1.293L11 9.707 5.876 4.583 4.583 5.876 9.707 11l-5.124 5.124 1.293 1.293L11 12.292l5.124 5.125 1.292-1.293L12.292 11z",clipRule:"evenodd"})}),l=(0,o.memo)(({onClick:e})=>(0,n.Y)(i,{type:"button",onClick:e,"aria-label":"Close button",children:(0,n.Y)(a,{})}))},29174:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(18153),o=r(14232),i=r(76252),a=r(79216);let l={NONE:{_:0,tablet:0},SMALL:{_:30,tablet:40},MEDIUM:{_:50,tablet:80},LARGE:{_:50,tablet:120}},d=(0,i.A)("section",{target:"e1p4nv0z0"})(({backgroundColor:e,backgroundImageUrl:t,theme:{colors:r}})=>({...{backgroundColor:e?r.background[e]:"unset",backgroundImage:t?`url("${t}")`:"unset",backgroundPosition:"center",backgroundSize:"cover"}}),a.xe,a.Zp,a.G1),c=(0,o.forwardRef)(({backgroundColor:e,backgroundImageUrl:t,children:r,as:o="section",id:i,spacingY:a,spacingBottom:c,spacingTop:s,...g},h)=>(0,n.Y)(d,{backgroundColor:e,backgroundImageUrl:t,ref:h,as:o,id:i,mx:"auto",py:a?l[a]:null,pt:s?l[s]:null,pb:c?l[c]:null,...g,children:r}))},41234:()=>{},51057:(e,t,r)=>{"use strict";r.d(t,{$m:()=>s,Is:()=>u,cM:()=>h,h9:()=>d,hJ:()=>a,jl:()=>g,mc:()=>l,rQ:()=>c});var n=r(71528),o=r(31038),i=r(76252);let a=(0,i.A)("div",{target:"e5sjndl0"})(({theme:{zIndex:e}})=>({background:"rgba(8, 15, 26, 0.8)",position:"fixed",left:0,top:0,right:0,bottom:0,zIndex:e.ON_TOP_OR_MODAL,overflow:"hidden",[(0,o.A)("tablet","down","tablet")]:{overflow:"scroll","::-webkit-scrollbar":{display:"none"}}})),l=(0,i.A)("div",{target:"e5sjndl1"})(({theme:{zIndex:e}
1,forVideo:t})=>({width:"100%",position:"relative",zIndex:e.MODAL_CONTAINER,top:40,marginTop:"40px",[(0,o.A)("tablet")]:{marginTop:0,maxWidth:516,left:"50%",top:"50%",transform:"translate(-50%,-50%)"},...t&&{left:"50%",top:"50%",transform:"translate(-50%,-50%)",[(0,o.A)("tablet")]:{marginTop:0,maxWidth:"80%",left:"50%",top:"50%",transform:"translate(-50%,-50%)"},[(0,o.A)("tabletLandscape")]:{aspectRatio:"16 / 9",height:"auto",maxWidth:840},[(0,o.A)("laptop")]:{maxWidth:1116}}})),d=(0,i.A)(n.A,{target:"e5sjndl2"})({marginBottom:24}),c=(0,i.A)("div",{target:"e5sjndl3"})(({theme:e,paddingType:t})=>({padding:"small"===t?"0":"40px 35px",backgroundColor:e.colorsOld.GRAY_100})),s=(0,i.A)("div",{target:"e5sjndl4"})(({theme:e,isHeader:t,paddingType:r,isFooterHidden:n})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"small"===r?"0":"20px 16px",backgroundColor:e.colorsOld.WHITE,borderTopLeftRadius:12*!t,borderTopRightRadius:12*!t,borderBottomRightRadius:12*!!n,borderBottomLeftRadius:12*!!n,[(0,o.A)("tablet")]:{padding:"small"===r?"0":"42px 32px",..."no-bottom"===r&&{padding:"42px 32px 0"}}})),g=(0,i.A)("div",{target:"e5sjndl5"})(({theme:e,paddingType:t})=>({display:"flex",alignItems:"center",justifyContent:"center",borderBottomLeftRadius:12,borderBottomRightRadius:12,padding:"small"===t?"10px":"16px 46px 44px 46px",backgroundColor:e.colorsOld.WHITE,[(0,o.A)("tablet")]:{padding:"small"===t?"16px":"24px 0 32px 0"}})),h=(0,i.A)("div",{target:"e5sjndl6"})({marginRight:12,[(0,o.A)("tablet")]:{display:"none"}}),u=(0,i.A)("div",{target:"e5sjndl7"})({display:"flex",position:"absolute",right:20,top:-20,alignItems:"center",justifyContent:"center",borderRadius:100,[(0,o.A)("tablet")]:{right:0,top:0}})},59517:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});
1var n=r(18153),o=r(40625),i=r(18399),a=r(23444);let l=({children:e,animation:t,threshold:r,infinityTrigger:l})=>{let{mediaMatched:d}=(0,a.A)("laptop"),{ref:c,inView:s}=(0,o.Wx)({threshold:r||(d?.85:.1),triggerOnce:!l});return(0,n.Y)(i.X,{...t,ref:c,inView:s,children:e})}},61296:(e,t,r)=>{"use strict";r.d(t,{m:()=>n});let n=(e,t)=>{let r=e;return Object.entries(t).forEach(([e,t])=>{if(r.includes(`{{${e}}}`)){let n=RegExp(`{{${e}}}`,"g");r=r.replace(n,t.toString())}}),r}},67438:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(18153),o=r(55462),i=r(36471),a=r(1363),l=r(62867),d=r(77328),c=r.n(d),s=r(14660);let g=`${o.p0}/images/seo/tidio-og-image.png`,h=1200,u=630,p=({seo:e={title:"The Ultimate Communication Toolbox for Your Online Business | Tidio",metaDesc:"Connect with your website visitors instantly and convert them into paying customers. Use Tidio communication and marketing solutions to grow your business.",metaRobotsNoindex:"index",metaRobotsNofollow:"follow",schema:{raw:""},opengraphImage:{sourceUrl:g,mediaDetails:{height:u,width:h}}},customCanonicalUrl:t,customSchema:r})=>{let{query:o,locale:d,pathname:p}=(0,s.A)(),m=d===i.z2.defaultLanguage,{title:b,metaDesc:f,metaRobotsNoindex:A,metaRobotsNofollow:y,schema:k}=e,x=(0,a.f)(p,d,o,t),v={type:"website",locale:d,url:x,..."PostTypeSEO"===e.__typename?{title:e.opengraphTitle,description:e.opengraphDescription,images:[{url:e.opengraphImage?.sourceUrl||g,width:e.opengraphImage?.mediaDetails?.width||h,height:e.opengraphImage?.mediaDetails?.height||u}],site_name:e.opengraphSiteName}:{title:b,description:"Connect with your website visitors instantly and convert them into paying customers. Use Tidio communication and marketing solutions to grow your business.",images:[{url:g,width:h,height:u}],site_name:"Tidio"}};return(0,n.FD)(n.FK,{children:[(0,n.Y)(l.bV,{title:b,description:f,canonical:x,noindex:"index"!==A,nofollow:"follow"!==y,openGraph:v,twitter:{handle:"@tidiocx",site:"@tidiocx",cardType:"summary_large_image"}}),m&&(0,n.FD)(c(),{children:[k?.raw&&(0,n.Y)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:k?.raw}},"schema"),r&&(0,n.Y)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:r}},"custom-schema")]})]})}},71528:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(18153),o=r(34416),i=r(87960),a=r(31038),l=r(76252),d=r(79216);let c=(0,l.A)("header",{target:"e1fchrgz0"})(({size:e,theme:t,fontWeight:r,color:n,whiteSpace:l,gradient:d,additionalColor:c})=>{let s={color:o.$.text[n]?o.$.text[n]:n,fontWeight:r,whiteSpace:l,strong:{wordBreak:"break-all"},...d&&{em:{background:i.H[d],fontStyle:"normal",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",WebkitBoxDecorationBreak:"clone"}},...c&&{em:{background:o.$.text[c],fontStyle:"normal",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",WebkitBoxDecorationBreak:"clone"}}};return"H1"===e?{...s,...t.typo.heading.H32,fontWeight:600,[(0,a.A)("tablet")]:{...t.typo.heading.H52}}:"H2"===e?{...s,...t.typo.heading.H24,fontWeight:600,[(0,a.A)("tablet")]:{...t.typo.heading.H40}}:"H3"===e?{...s,...t.typo.heading.H20,fontWeight:600,[(0,a.A)("tablet")]:{...t.typo.heading.H32}}:null},d.xe,d.Il),s=({size:e,children:t,fontWeight:r,as:i="h2",color:a=o.$.BLACK,additionalColor:l,whiteSpace:d="pre-line",gradient:s,...g})=>(0,n.Y)(c,{color:a,as:i,size:e,fontWeight:r,whiteSpace:d,gradient:s,additionalColor:l,...g,children:t})},75735:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(18153),o=r(29720),i=r(76252);let a=(0,i.A)("ul",{target:"e1v686mv0"})({display:"inline-grid",width:"100%",margin:"20px 0",paddingLeft:40,listStyleType:"disc"}),l=(0,i.A)("p",{target:"e1v686mv1"})({margin:0}),d=(0,i.A)("ol",{target:"e1v686mv2"})({margin:0,display:"inline-grid",marginBlockStart:0,marginBlockEnd:0,paddingInlineStart:20}),c=({href:e,children:t,shouldOpenInNewTab:r})=>e?e.includes("tidio")&&!r?(0,n.Y)("a",{href:e,children:t}):(0,n.Y)("a",{href:e,target:"_blank",rel:"nofollow noreferrer",children:t}):(0,n.Y)(n.FK,{children:t}),s=({children:e})=>(0,n.Y)(a,{children:e}),g=({children:e})=>(0,n.Y)(d,{children:e}),h=({children:e,shouldOpenInNewTab:t=!1,shouldBeEmptyParagraph:r=!1})=>(0,n.Y)(o.oz,{components:{p:function(e){return r?(0,n.Y)(n.FK,{children:e.children}):(0,n.Y)(l,{children:e.children})},a:function(e){return(0,n.Y)(c,{shouldOpenInNewTab:t,...e})},ul:s,ol:g},children:e})},77238:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>el,default:()=>ed});var n=r(18153),o=r(96871),i=r(77786),a=r(5773),l=r(52302),d=r(48966),c=r(67438),s=r(14232),g=r(68277),h=r(76252);let u=(0,h.A)("div",{target:"e18f5b9e0"}
1)(({theme:e,withBackground:t})=>({position:"relative",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:120,width:120,borderRadius:"100%",boxShadow:"0px 12px 32px rgba(0, 27, 71, 0.16)",background:e.colorsOld.WHITE,...t&&{":after":{position:"absolute",background:"url(/images/typing-test/timer.svg)  no-repeat left",backgroundSize:"contain",width:152,zIndex:-10,height:177,top:-41,content:"''"}}})),p=(0,h.A)("p",{target:"e18f5b9e1"})(({theme:e})=>({fontWeight:500,fontSize:40,lineHeight:"normal",margin:0,color:e.colorsOld.BLACK})),m=(0,h.A)("p",{target:"e18f5b9e2"})(({theme:e})=>({fontWeight:400,fontSize:16,lineHeight:"20px",display:"flex",alignItems:"center",textAlign:"center",margin:0,color:e.colorsOld.BLACK})),b=(0,s.memo)(({value:e,description:t,withBackground:r})=>(0,n.FD)(u,{withBackground:r,children:[(0,n.Y)(p,{children:e}),(0,n.Y)(m,{children:t})]}));var f=r(31038);let A=(0,h.A)("div",{target:"e20ezem0"})(({theme:e,isHighlighted:t})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:t?80:64,width:t?80:64,borderRadius:100,boxShadow:"0px 9.76431px 25.3872px rgba(0, 27, 71, 0.2)",margin:"auto",backgroundColor:t?e.colorsOld.YELLOW_400:e.colorsOld.WHITE,[(0,f.A)("tablet")]:{width:88,height:88}})),y=(0,h.A)("p",{target:"e20ezem1"})(({theme:e,isHighlighted:t})=>({...t?e.typo.content.UI18:e.typo.content.UI14,color:e.colorsOld.BLACK,fontWeight:t?600:500,margin:"0 0 2px 0",textAlign:"center",[(0,f.A)("tablet")]:{...e.typo.content.UI18,fontWeight:600}})),k=(0,h.A)(g.A,{target:"e20ezem2"})(({isHighlighted:e})=>({display:e?"block":"none",margin:0,textAlign:"center",[(0,f.A)("tablet")]:{display:"block"}})),x=(0,h.A)("div",{target:"e20ezem3"})({marginTop:4,[(0,f.A)("tablet")]:{marginTop:8}}),v=(0,h.A)("p",{target:"e20ezem4"})(({theme:e})=>({margin:0,textAlign:"center",...e.typo.content.UI9,[(0,f.A)("tablet")]:{...e.typo.content.UI12}})),w=(0,s.memo)(({value:e,info:t,description:r,title:o,type:i="normal"})=>{let a="highlighted"===i;return(0,n.FD)("div",{children:[(0,n.FD)(A,{isHighlighted:a,children:[(0,n.Y)(g.A,{textAlign:"center",m:0,size:a?"PL":"UI18",fontWeight:600,children:e}),(0,n.Y)(v,{children:r})]}),(0,n.FD)(x,{children:[(0,n.Y)(y,{isHighlighted:a,children:o}),(0,n.Y)(k,{isHighlighted:a,size:"UI14",children:t})]})]})}),Y=(0,h.A)("div",{target:"eogmigl0"})({display:"flex",justifyContent:"center",alignItems:"center"}),R=(0,h.A)("div",{target:"eogmigl1"})({position:"relative",display:"grid",gridGap:24,[(0,f.A)("tablet")]:{display:"flex",alignItems:"center"}}),I=(0,h.A)("div",{target:"eogmigl2"})({marginRight:50,[(0,f.A)("tablet")]:{display:"none"}}),_=(0,h.A)("div",{target:"eogmigl3"})({display:"none",[(0,f.A)("tablet")]:{display:"block"}}),T=(0,h.A)("div",{target:"eogmigl4"})({display:"none",[(0,f.A)("tablet")]:{position:"absolute",display:"block",right:118,top:32}}),S=(0,h.A)("div",{target:"eogmigl5"})({display:"none",[(0,f.A)("tablet")]:{position:"absolute",display:"block",left:116,top:32}});var C=r(61296),B=r(54587),F=r.n(B);let M=(0,s.memo)(({accuracyValue:e,wordsPerMinute:t,charsPerMinute:r,labels:o,badWordsPerMinute:i})=>{let a=(0,n.Y)(w,{type:"highlighted",value:t,description:o.yourScore.description,title:o.yourScore.title,info:(0,C.m)(o.yourScore.info,{value:i})});return(0,n.FD)(Y,{children:[(0,n.Y)(I,{children:a}),(0,n.FD)(R,{children:[(0,n.Y)(_,{children:a}),(0,n.Y)(S,{children:(0,n.Y)(F(),{src:"/images/typing-test/equal.svg",alt:"",height:31,width:14})}),(0,n.Y)(w,{value:t+i,description:o.typingSpeed.description,title:o.typingSpeed.title,info:(0,C.m)(o.typingSpeed.info,{value:r})}),(0,n.Y)(T,{children:(0,n.Y)(F(),{src:"/images/typing-test/plus.svg",alt:"",height:31,width:14})}),(0,n.Y)(w,{value:e,description:o.accuracy.description,title:o.accuracy.title,info:(0,C.m)(o.accuracy.info,{value:i})})]})]})}),O=(0,h.A)("div",{target:"e7t5pge0"})({width:"fit-content",display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gridGap:"63px 53px",justifyItems:"center",margin:"auto",marginTop:48,[(0,f.A)("tablet")]:{marginTop:"90px"},[(0,f.A)("tabletLandscape")]:{gridGap:"70px",gridTemplateColumns:"repeat(4, 1fr)"},[(0,f.A)("laptop")]:{gridGap:"96px"}});var L=r(63643);let H=(0,h.A)("div",{target:"e19mng1w0"})(({theme:e})=>({width:"100%",background:e.colorsOld.GRAY_100,borderRadius:12,position:"relative",display:"block",padding:16,[(0,f.A)("tablet")]:{maxWidth:"914px",margin:"auto",padding:"32px 24px"},[(0,f.A)("laptop")]:{padding:"32px"}})),D=(0,h.A)("div",{target:"e19mng1w1"})(({theme:e})=>({height:100,background:e.colorsOld.WHITE,fontFamily:"IBM-Plex-mono",border:`2px solid ${e.colorsOld.PRIMARY_BLUE_500}`,boxSizing:"border-box",boxShadow:"0px 40px 50px -25px rgba(177, 191, 213, 0.72)",borderRadius:8,fontWeight:500,fontSize:32,lineHeight:"42px",letterSpacing:"0.02em",position:"relative",[(0,f.A)("tablet")]:{height:122}})),E=(0,h.A)("div",{target:"e19mng1w2"})(({theme:e,position:t})=>({position:"absolute",width:1,height:15,left:"calc(50% - 0.5px)",background:e.colorsOld.PRIMARY_BLUE_500,..."top"===t&&{top:"0"},..."bottom"===t&&{bottom:"0"},[(0,f.A)("tablet")]:{height:26}})),W=(0,h.A)("label",{target:"e19mng1w3"})({position:"absolute",left:0,right:0,top:27,height:42,bottom:38,overflow:"hidden",[(0,f.A)("tablet")]:{top:38}}),z=(0,h.A)("div",{target:"e19mng1w4"})({position:"absolute",left:"calc(50% - 9.922px)",top:0,whiteSpace:"nowrap"}),$=(0,h.A)("div",{target:"e19mng1w5"})({position:"absolute",width:80,top:0,bottom:0,zIndex:2,background:"linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%)"},({position:e})=>"left"===e&&{left:0},({position:e})=>"right"===e&&{right:0,transform:"rotate(-180deg)"}),U=(0,h.A)("span",{target:"e19mng1w6"})(({theme:e})=>({color:e.colorsOld.GRAY_300})),P=(0,h.A)("span",{target:"e19mng1w7"}
1)(({withBackground:e,theme:t})=>({color:t.colorsOld.RED_600,...e&&{backgroundColor:t.colorsOld.PRIMARY_BLUE_100}})),j=(0,h.A)("span",{target:"e19mng1w8"})(({theme:e,withBackground:t})=>({color:e.colorsOld.PRIMARY_BLUE_500,...t&&{backgroundColor:e.colorsOld.PRIMARY_BLUE_100}})),G=(0,h.A)("input",{target:"e19mng1w9"})(({theme:e})=>({position:"absolute",right:0,top:0,bottom:0,whiteSpace:"nowrap",textAlign:"right",border:0,width:1e3,opacity:0,color:e.colorsOld.WHITE,zIndex:5})),N=(0,h.A)("div",{target:"e19mng1w10"})({textAlign:"right",position:"absolute",right:"calc(50% + 9.922px)",top:0,bottom:0}),K=(0,h.A)("div",{target:"e19mng1w11"})(({charactersLength:e,theme:t})=>({backgroundColor:t.colorsOld.PRIMARY_BLUE_100,position:"absolute",left:"calc(50% - 9.922px)",top:0,bottom:0,width:Math.max(19.844*e,0)})),J=(0,h.A)("div",{target:"e19mng1w12"})({display:"none",fontFamily:L.T,[(0,f.A)("laptop")]:{display:"flex",position:"absolute",top:-50,left:0,right:0,justifyContent:"center"}}),V=(0,h.A)("div",{target:"e19mng1w13"})(({theme:e})=>({color:e.colorsOld.PRIMARY_BLUE_850,background:e.colorsOld.PRIMARY_BLUE_200,borderRadius:4,fontWeight:400,fontSize:14,lineHeight:"18px",letterSpacing:"-0.1px",padding:"8px 10px",display:"flex"})),q=(0,h.A)("span",{target:"e19mng1w14"})({width:17,height:17,background:"url(/images/typing-test/info.svg) no-repeat",display:"inline-block",backgroundSize:"contain",marginRight:8});var X=r(31802);let Q=(0,s.memo)(({setCpm:e,setWpm:t,startTimer:r,setAccuracy:o,setBadWpm:i,startLabel:a,started:l})=>{let d=(0,s.useRef)([]),c=(0,s.useRef)([]),g=(0,s.useRef)([]),h=(0,s.useRef)(0),u=(0,s.useRef)(0),[p,m]=(0,s.useState)(!1),[b,f]=(0,s.useState)([]),A=(0,s.useRef)(null),[y,k]=(0,s.useState)(""),[x,v]=(0,s.useState)(!1),w=(0,s.useRef)(0),Y=(0,s.useRef)(0),R=(0,s.useRef)(!1),I=(0,s.useCallback)(()=>{let e=(0,X.cM)({exactly:500,maxLength:8});d.current="string"==typeof e?[e]:e,k(d.current.join(" "))},[]);return(0,s.useEffect)(()=>{I()},[I]),(0,s.useEffect)(()=>{A.current&&A.current.focus()},[]),(0,s.useEffect)(()=>{!R.current&&l&&(R.current=!0),R.current&&!l&&(c.current=[],g.current=[],h.current=0,u.current=0,m(!1),f([]),k(""),v(!1),w.current=0,Y.current=0,I(),A.current&&A.current.focus())},[I,l]),(0,n.Y)(H,{children:(0,n.FD)(D,{children:[(0,n.Y)(E,{position:"top"}),(0,n.FD)(W,{children:[(0,n.Y)(G,{type:"text",value:"",autoComplete:"off",autoCapitalize:"off",spellCheck:"false",ref:A,onFocus:()=>m(!0),onBlur:()=>m(!1),onKeyDown:r=>{if("Backspace"===r.nativeEvent.key&&b.length>0){let r=b[b.length-1];" "===r.letter?(c.current=[...r.lettersOfWord],t(e=>e+r.wpmOnBackspace),0===r.wpmOnBackspace?(w.current-=1,i(e=>e-1)):Y.current-=1,w.current+Y.current===0?o(0):o(Math.round(100*Y.current/(Y.current+w.current))),k(`${r.letterToBringBack}${y}`),h.current-=1):("&"!==r.letterToBringBack&&(k(`${r.letterToBringBack}${y}`),e(e=>e+r.cpmOnBackspace)),c.current=c.current.slice(0,c.current.length-1)),f(b.slice(0,b.length-1))}},onChange:n=>{x||(r(),v(!0));let a=n.target.value;if(" "!==a){let t="negative";a===y[0]&&(t="positive",e(e=>e+1)),"&"!==y[0]&&k(y.slice(1)),c.current.push(a),g.current.push(a),u.current+=1,f([...b,{letter:a,result:t,key:u.current,letterToBringBack:y[0],cpmOnBackspace:"positive"===t?-1:0,wpmOnBackspace:0,word:h.current}])}else if(c.current.length>0){u.current+=1;let e=6,r=0;c.current.join("")===d.current[h.current]?(t(e=>e+1),r=-1,Y.current+=1):(i(e=>e+1),w.current+=1,e+=y.indexOf("&")),o(Math.round(100*Y.current/(Y.current+w.current))),f([...b,{letter:" ",key:u.current,result:"space",letterToBringBack:`${y.slice(0,e)}`,cpmOnBackspace:0,wpmOnBackspace:r,lettersOfWord:[...c.current]}]),c.current=[],h.current+=1,k(y.slice(e))}}}),(0,n.Y)(N,{children:b.map(e=>"space"===e.result?(0,n.Y)("span",{children:"\xa0"},e.key):"negative"===e.result?(0,n.Y)(P,{withBackground:e.word===h.current,children:e.letter},e.key):e.word===h.current?(0,n.Y)(j,{withBackground:!0,children:e.letter},e.key):(0,n.Y)(U,{children:e.letter},e.key))}),(0,n.Y)($,{position:"left"}),(0,n.Y)(K,{charactersLength:0===d.current.length?0:d.current[h.current].length-c.current.length}),(0,n.Y)(z,{dangerouslySetInnerHTML:{__html:y}}),(0,n.Y)($,{position:"right"})]}),(0,n.Y)(E,{position:"bottom"}),p&&!x&&(0,n.Y)(J,{children:(0,n.FD)(V,{children:[(0,n.Y)(q,{}),(0,n.Y)("span",{children:a})]})})]})})}),Z=[{author:"William Shakespeare",book:"Hamlet",length:30557},{author:"William Shakespear",book:"Romeo and Juliet",length:24545},{author:"Lewis Carroll",book:"Alice in Wonderland",length:27500},{author:"Douglas Adams",book:"The Hitchhiker's Guide to the Galaxy",length:46333},{author:"Antoine de Saint-Exup\xe9ry",book:"The Little Prince",length:16534},{author:"Mary Shelley",book:"Frankenstein",length:75380},{author:"Leo Tolstoy",book:"Anna Karenina",length:349736},{author:"George Orwell",book:"Animal Farm",length:29966},{author:"Ernest Hemingway",book:"The Old Man and the Sea",length:26601},{author:"F. Scott Fitzgerald",book:"The Great Gatsby",length:47094},{author:"John Steinbeck",book:"Of Mice and Men",length:29160},{author:"Jane Austen",book:"Pride and Prejudice",length:122189},{author:"Harper Lee",book:"To Kill a Mockingbird",length:99121},{author:"J.R.R. Tolkien",book:"The Hobbit",length:95356},{author:"Fyodor Dostoyevsky",book:"Crime and Punishment",length:211591},{author:"Ayn Rand",book:"Atlas Shrugged",length:561996},{author:"Emily Bronte",book:"Wuthering Heights",length:107945},{author:"Henry David Thoreau",book:"Walden",length:114634},{author:"William Golding",book:"Lord of the Flies",length:59900},{author:"Mark Twain",book:"The Adventures of Huck Finn",length:109571},{author:"Margaret Mitchell ",book:"Gone with the Wind",length:418053},{author:"Aldous Huxley ",book:"Brave New World",length:63766},{author:"William Shakespear",book:"Macbeth",length:17121}
1,{author:"Joseph Heller",book:"Catch-22",length:175e3},{author:"Arthur Conan Doyle",book:"The Adventures Of Sherlock Holmes",length:105071},{author:"Charlie and the Chocolate Factory",book:"Roald Dahl",length:30644},{author:"Gabriel Garc\xed\xada M\xe1rquez ",book:"One Hundred Years of Solitude",length:144739},{author:"Homer",book:"The Odyssey",length:134560},{author:"Miguel de Cervantes",book:"Don Quixote",length:22942},{author:"Viktor Frankl",book:"Man's Search for Meaning",length:46e3}];var ee=r(78131);let et=(0,s.memo)(({feedback:e,input:t,modal:r})=>{let[o,i]=(0,s.useState)(0),[a,l]=(0,s.useState)(0),[d,c]=(0,s.useState)(0),[h,u]=(0,s.useState)(0),[p,m]=(0,s.useState)(60),f=(0,s.useRef)(null),[A,y]=(0,s.useState)(!1),k=(0,s.useMemo)(()=>0===p,[p]),x=(0,s.useRef)(Z[Math.floor(Math.random()*Z.length)]),v=x.current.length/(a+d||.5),w=Math.floor(v/60),Y=Math.round(v-60*Math.floor(v/60)),R=`${w}h ${Y}min`,I=(0,s.useCallback)(()=>{y(!0),f.current=window.setInterval(()=>{m(e=>(1===e&&f.current&&clearInterval(f.current),e-1))},1e3)},[]),_=(0,s.useCallback)(()=>{m(60),i(0),l(0),c(0),u(0),y(!1),f.current&&clearInterval(f.current),f.current=null},[]);return(0,n.FD)("div",{children:[(0,n.Y)(Q,{setCpm:i,setWpm:l,startTimer:I,setAccuracy:u,setBadWpm:c,started:A,startLabel:t.start}),(0,n.FD)(O,{children:[(0,n.Y)(b,{value:a,description:e.words}),(0,n.Y)(b,{value:o,description:e.chars}),(0,n.Y)(b,{value:h,description:e.accuracy}),(0,n.Y)(b,{withBackground:!0,value:p,description:e.seconds})]}),(0,n.Y)(ee.A,{isOpen:k,title:r.title,submitText:r.submitBtn,cancelText:r.cancelBtn,onClose:_,onSubmit:_,header:(0,n.Y)(M,{accuracyValue:h,badWordsPerMinute:d,wordsPerMinute:a,charsPerMinute:o,labels:{typingSpeed:r.header.typingSpeed,accuracy:r.header.accuracy,yourScore:r.header.yourScore}}),children:(0,n.Y)(g.A,{size:"UI16",m:0,textAlign:"center",children:(0,C.m)(r.description,{bookName:x.current.book,bookAuthor:x.current.author,time:R})})})]})});var er=r(74045),en=r(38822),eo=r(29174),ei=r(4467),ea=r(59162),el=!0;let ed=({layout:e,data:t,hero:r,whyTypingTestMatter:s,faq:g,discoverOurProduct:h,register:u})=>(0,n.Y)(i.A,{children:(0,n.Y)(ea.A.Provider,{value:t.tracking,children:(0,n.FD)(en.A,{...e,pageHeader:{...e.pageHeader,colorScheme:"default"},children:[(0,n.Y)(c.A,{seo:t.seo}),(0,n.Y)(o.A,{}),(0,n.FD)(eo.A,{spacingY:"MEDIUM",children:[(0,n.Y)(d.A,{...r.sectionHeader,headingType:"h1"}),(0,n.Y)(et,{feedback:r.feedback,input:r.input,modal:r.modal})]}),(0,n.FD)(eo.A,{spacingY:"LARGE",backgroundColor:"default",children:[(0,n.Y)(d.A,{...s.sectionHeader}),(0,n.Y)(a.A,{boxes:s.boxes,columns:s.columns})]}),(0,n.FD)(eo.A,{spacingY:"LARGE",children:[(0,n.Y)(d.A,{...g.sectionHeader}),(0,n.Y)(ei.A,{faq:g.faq})]}),(0,n.FD)(eo.A,{spacingY:"MEDIUM",children:[(0,n.Y)(d.A,{...h.sectionHeader}),(0,n.Y)(l.A,{items:h.items})]}),(0,n.Y)(eo.A,{backgroundColor:"defaultInverted",children:(0,n.Y)(er.A,{...u})})]})})})},78131:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(18153),o=r(14232),i=r(85453),a=r(15060),l=r(51057),d=r(27048);let c=(0,o.memo)(({isOpen:e,children:t,title:r,text:o,header:c,onSubmit:s,onClose:g,submitText:h,cancelText:u,hideCancel:p,paddingType:m="large",isFooterHidden:b,forVideo:f})=>e?(0,n.Y)(l.hJ,{children:(0,n.FD)(l.mc,{forVideo:f,children:[!p&&g&&(0,n.Y)(l.Is,{children:(0,n.Y)(d.A,{onClick:g})}),c&&(0,n.Y)(l.rQ,{paddingType:m,children:c}),(0,n.FD)(l.$m,{isHeader:!!c,isFooterHidden:b,paddingType:m,children:[r&&(0,n.Y)(l.h9,{size:"H2",fontWeight:600,children:r}),o&&(0,n.Y)(a.A,{size:"PS",color:"default",m:0,mt:2,textAlign:"center",children:o}),t]}),!b&&(0,n.FD)(l.jl,{paddingType:m,children:[!p&&(0,n.Y)(l.cM,{children:(0,n.Y)(i.A,{size:"s",onClick:g,children:u})}),h&&(0,n.Y)(i.A,{size:"s",colorScheme:"ALT",onClick:s,children:h})]})]})}):null)},85453:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(18153),o=r(14232),i=r(27257);let a=(0,o.memo)(({children:e,size:t,onClick:r,colorScheme:o,analytics:a,type:l="button",testId:d,loading:c,loadingText:s,disabled:g,icon:h,textUnderButton:u})=>(0,n.Y)(i.A,{size:t,colorScheme:o,onClick:r,analytics:a,as:"button",type:l,testId:d,loading:c,loadingText:s,disabled:g,icon:h,textUnderButton:u,children:c?s:e}))}},e=>{e.O(0,[8626,357,2867,9076,9720,8992,1802,7786,4637,8822,6871,7783,1263,636,6593,8792],()=>e(e.s=6461)),_N_E=e.O()}]);

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.