1import{a as de}from"./chunk-YCN3XXRU.js";import{a as oe}from"./chunk-253TAFRO.js";import{a as le}from"./chunk-ICZ5EQXW.js";import{a as se}from"./chunk-UPQHVTHR.js";import{b as ee,d as te,i as ie,v as ne}from"./chunk-3NISYOL2.js";import{a as ae}from"./chunk-QMRI7JKO.js";import"./chunk-VZXC7YNX.js";import{a as Z}from"./chunk-Y3ZBDH6P.js";import{c as N}from"./chunk-Z7OME2SV.js";import{b as re}from"./chunk-W55VZRHM.js";import"./chunk-WKAI7J6W.js";import{b as X}from"./chunk-4CWLVGDV.js";import"./chunk-GEBBUZNX.js";import"./chunk-ZKZVBBVS.js";import"./chunk-ST2NNP3M.js";import"./chunk-2UZRMZIN.js";import"./chunk-RYQT2B2A.js";import"./chunk-2VKKWCTR.js";import{a as J}from"./chunk-LFWUBR3N.js";import{a as K}from"./chunk-W4K77ANO.js";import{k as Y,l as $,n as Q,u as G,w as F}from"./chunk-RGDWK6YW.js";import"./chunk-ES773U2J.js";import{$b as L,Ab as H,Bb as b,Db as v,Eb as T,Fb as n,Gb as s,Hb as h,Lb as W,Na as k,Oa as _,Ob as f,Pb as u,Ub as S,Va as a,Vb as M,Wa as I,Wb as P,Yb as p,Zb as y,_b as O,bc as U,ca as V,cc as B,dc as j,fc as q,hc as z,kb as C,la as m,ma as g,na as D,oa as E,tb as d,ya as R}from"./chunk-Q44MRHHP.js";import{g as A}from"./chunk-DM275RSA.js";var ce={typingTestSeo:{title:"Free Typing Speed Test | Test your WPM in 60 seconds",description:"Give Free Typing Speed Test to check your WPM and CPM typing scores in 60 seconds. Challenge yourself and improve your typing speed to communicate faster.",keyword:"typing speed test",type:"website",image:"https://cdn.botpenguin.com/assets/website/images/typing-banner-webp-new.webp"}};var he=["inputElement"],me=["inputTextDiv"],ge=["resultBox"],ue=o=>({"!block":o});function ye(o,l){if(o&1&&(n(0,"div",20)(1,"span",45),p(2),s(),n(3,"span",46),p(4),s()()),o&2){let r=l.$implicit,e=l.$index,i=u();a(2),L("",e===2?r.value.toFixed(0):i.formatWords(r.value),"",e===2?"%":"",""),a(2),y(r.desc)}}function fe(o,l){if(o&1&&(n(0,"span",23),p(1),s()),o&2){let r=l.$implicit,e=l.$index,i=u();d("ngStyle",i.getCharStyle(e)),a(),y(r)}}function xe(o,l){if(o&1){let r=W();n(0,"li",48)(1,"div",49),f("click",function(){let i=m(r).$implicit,t=u(2);return g(t.changeDifficulty(i))}),n(2,"div",50),p(3),s()()()}if(o&2){let r=l.$implicit;a(3),y(r)}}function we(o,l){if(o&1&&(n(0,"div",29)(1,"ul",47),v(2,xe,4,1,"li",48,b),s()()),o&2){let r=u();a(2),T(r.difficulty)}}function be(o,l){if(o&1&&(n(0,"span",51),p(1),s()),o&2){let r=l.$implicit,e=l.index,i=u();d("ngStyle",i.getInputStyle2(e)),a(),y(r)}}function ve(o,l){if(o&1&&(n(0,"span",51),p(1),s()),o&2){let r=l.$implicit,e=l.index,i=u();d("ngStyle",i.getInputStyle(e)),a(),y(r)}}function Te(o,l){if(o&1&&(n(0,"div",65)(1,"span",78),p(2),s(),n(3,"span",79),p(4),s()()),o&2){let r=l.$implicit,e=l.$index,i=u(2);a(2),L("",e===2?r.value.toFixed(0):i.formatWords(r.value),"",e===2?"%":"",""),a(2),y(r.desc)}}function _e(o,l){if(o&1&&(n(0,"div",65)(1,"span",78),p(2),s(),n(3,"span",79),p(4),s()()),o&2){let r=l.$implicit,e=u(2);a(2),y(e.formatWords(r.value)),a(2),y(r.desc)}}function Ce(o,l){if(o&1){let r=W();n(0,"div",39),h(1,"div",52),n(2,"div",53)(3,"div",54)(4,"div",55,2)(6,"div",56)(7,"span",57),p(8,"Result"),s(),n(9,"button",58),f("click",function(){m(r);let i=u();return g(i.closeModal())}),h(10,"img",59),s()(),n(11,"div",60)(12,"div",61),h(13,"h5",62)(14,"p",63)(15,"p",63),s(),n(16,"div",64),v(17,Te,5,3,"div",65,b),s(),n(19,"div",66)(20,"div",67)(21,"div",68),h(22,"div",13),D(),n(23,"svg",14)(24,"g",15),h(25,"circle",16)(26,"path",69),s()(),E(),n(27,"span",70),p(28),s(),n(29,"span",71),p(30,"Second"),s()()(),v(31,_e,5,2,"div",65,b),s(),n(33,"div",72)(34,"button",73)(35,"a",74),f("click",function(){m(r);let i=u();return g(i.downloadResult())}),p(36,"Download as Image "),n(37,"span"),h(38,"img",75),s()()(),n(39,"button",76),f("click",function(){m(r);let i=u();return i.onRetry(),g(i.closeModal())}),p(40,"Retry "),n(41,"span"),h(42,"img",77),s()()()()()()()()}if(o&2){let r=u();a(10),d("src",r.assetUrl+"/assets/website/icons/model-cross.svg",_),a(3),d("innerHTML",r.modalHeading,k),a(),d("innerHTML",r.modalSubHeading,k),a(),d("innerHTML",r.modalSubHeadingTwo,k),a(2),T(r.cards.slice(0,3)),a(11),y(r.formatTime(r.timeLeft)),a(3),T(r.cards.slice(3,r.cards.length)),a(7),d("src",r.assetUrl+"/assets/website/icons/download.svg",_),a(4),d("src",r.assetUrl+"/assets/website/icons/regenerate-icon.svg",_)}}function ke(o,l){if(o&1&&(n(0,"section",40)(1,"div"),h(2,"app-heading-template-one",80),n(3,"div",81),h(4,"app-bp-card",82),s()()()),o&2){let r=l.$implicit;a(2),d("heading",r.heading)("subHeadingWidth","inline sm:block"),a(2),d("cardView","two")("contentOrder",r.contentOrder)("checkboxTableData",r.cardData)("bgImageUrl",r.bgImageUrl)}}var Ge=(()=>{let l=class l{constructor(e,i,t){this.seoServive=e,this.platformId=i,this.mixpanel=t,this.seos=ce,this.assetUrl=J.ASSET_URL,this.TIME_LIMIT=60,this.timePassed=0,this.currentWordIndex=0,this.FULL_DASH_ARRAY=283,this.currentAlphaIndex=0,this.currentTypedWordIndex=0,this.wordsPerMinute=0,this.charPerMinute=0,this.correctWord=0,this.wrongWord=0,this.accuracy=0,this.timerInterval=null,this.selectedDifficulty="Easy",this.isDifficultySelected=!1,this.inputWi
1dthAuto=!1,this.isTyping=!1,this.typingStarted=!1,this.timesUp=!1,this.textStyle=!0,this.showModal=!1,this.customPopup="Start Typing!",this.referenceText="",this.headerReferenceText="",this.referenceWords=[],this.orignalWords=[],this.headerReferenceWords=[],this.typedWords2=[],this.paraWordsLength=0,this.correctChars=[],this.typingInterval=3e3,this.modalHeading="",this.modalSubHeading="",this.modalSubHeadingTwo="",this.difficulty=["Easy","Medium","Difficult"],this.bannerContent={heading:{headingOne:"Live Typing Test For Customer Support ",headingTwo:""},subHeading:{subHeadingOne:"Challenge your typing skills with the specially designed ",subHeadingTwo:"typing speed test for maximum efficiency."},bannerAttributes:{headingWidth:"inline 2xl:block",subHeadingWidth:"inline xl:block",headingTextColor:"text-grey-333",subHeadingTextColor:"text-grey-666",planDescColor:"text-color-999"},planDesc:null,buttonData:{label:"Let\u2019s Find Out",labelTwo:"",link:""}},this.typingGenerate={heading:{headingOne:"Test your average typing speeds"},subHeading:{subHeadingOne:"Let\u2019s get your tying practice started! ",subHeadingTwo:""}},this.cardsData=[{heading:{headingOne:"Improve your typing speed with ",headingTwo:"online typing test"},cardView:"one",isIcons:!1,contentOrder:"flex-col lg:flex-row",isHeadingAccordion:!1,bgImageUrl:"background-48-3.webp",cardData:[{title:"",desc:"Typing speed can be improved only with dedicated and continuous practice to develop muscle memory.",feildIcon:"/assets/website/icons/check-new.svg"},{title:"",desc:"You should remain relaxed and focused on your typing speed for the best results.",feildIcon:"/assets/website/icons/check-new.svg"},{title:"",desc:"Ensure you learn about proper finger placement and ergonomic layouts.",feildIcon:"/assets/website/icons/check-new.svg"},{title:"",desc:"Lastly, participate in multiple typing games and tests to steadily increase your typing accuracy and typing speed.",feildIcon:"/assets/website/icons/check-new.svg"},{title:"",desc:"You can bookmark this free typing test and practice every day.",feildIcon:"/assets/website/icons/check-new.svg"}]},{heading:{headingOne:"Understand WPM and CPM, the typing speed metrics"},cardView:"one",isIcons:!1,contentOrder:"flex-col lg:flex-row-reverse",isHeadingAccordion:!1,bgImageUrl:"background-48-4.webp",cardData:[{title:"",desc:"Words per minute (WPM) measures the number of words typed in a minute.",feildIcon:"/assets/website/icons/check-new.svg"},{title:"",desc:"Characters per minute (CPM) counts the number of characters typed in a minute.",feildIcon:"/assets/website/icons/check-new.svg"},{title:"",desc:"WPM is measured to attain an overall picture of typing speed, while CPM provides a detailed count of characters typed.",feildIcon:"/assets/website/icons/check-new.svg"},{title:"",desc:"The average typing speed for the general population is around 40 WPM, whereas professional typists can exceed 75 WPM.",feildIcon:"/assets/website/icons/check-new.svg"},{title:"",desc:"Different professions have varying benchmarks for typing speed. For example, data entry jobs require 60-70 WPM, while transcriptionists aim for 70-80 WPM.",feildIcon:"/assets/website/icons/check-new.svg"}]},{heading:{headingOne:"Learn the best typing techniques for Online Typing Test"},cardView:"one",isIcons:!1,contentOrder:"flex-col lg:flex-row",isHeadingAccordion:!1,bgImageUrl:"background-48-3.webp",cardData:[{title:"",desc:"QWERTY is the most widely used layout, designed to prevent typewriter jams by spacing out commonly used letter pairs ensuring typing efficiency.",feildIcon:"/assets/website/icons/check-new.svg"},{title:"",desc:"Dvorak was created to increase typing speed and reduce finger movement by placing the most frequently used letters on the home row.",feildIcon:"/assets/website/icons/check-new.svg"},{title:"",desc:"Colemak is a modern alternative to QWERTY that maintains some familiar key placements while optimizing for efficiency and ease of learning.",feildIcon:"/assets/website/icons/check-new.svg"},{title:"",desc:"Ergonomic keyboards are designed to reduce strain and improve c
1omfort by splitting the keyboard, angling keys, and incorporating wrist supports promoting a more natural hand and wrist position.",feildIcon:"/assets/website/icons/check-new.svg"},{title:"",desc:"To improve your typing speed and accuracy, ensure you learn about proper finger placement and ergonomic layouts with our fast typing test that suits your typing style.",feildIcon:"/assets/website/icons/check-new.svg"}]}],this.faqData=[{title:"How do I improve my typing speed?",description:"Improving your typing speed is a continuous effort. Begin by familiarizing yourself with the keyboard layout. Ensure you position your fingers correctly, with each finger responsible for its region on the keyboard. Practice regularly using various typing exercises. Gradually increase your typing speed while maintaining accuracy. Lastly, remain patient and consistent as progress may come slowly. Use our free typing test to gauge your improvements."},{title:"What Is the Best 10-Finger Typing Layout?",description:"The best 10-finger typing layout depends on your preference and familiarity. The widely used QWERTY layout allows you to type 30-32 common English words using only the home row keys. However, alternative layouts like Colemak and Dvorak are designed for faster typing and improved efficiency. With Colemak, you can type 436 words, and with Dvorak, 282 words can be typed using only the home row keys. Test out these layouts with our Live Chat Typing test."},{title:"Is Typing Speed Still Important?",description:"Yes, typing speed remains a critical skill in the modern digital realm. Decent typing speed is tied to productivity in various roles: in jobs where typing forms a significant part of the tasks \u2014 such as data entry or transcription \u2014 speed requirements may range from 60 to 90 WPM. Even in less typing-focused roles, an average of 40 to 60 WPM is desirable. It's also worth noting that just as speed is crucial, so is accuracy. Therefore, you should aim to improve your typing speed in this online typing test."},{title:"Is Typing Fast a Skill or a Talent?",description:"Typing fast is more of a skill than a talent. It's something acquired and improved through consistent practice and proper training. Like many other skills, learning to type fast requires patience, discipline, and a well-planned typing method. Start by learning correct finger positioning, then gradually increase your speed while maintaining accuracy. Practice and test it with our Fast Typing Test."},{title:"How Are the Words From the Test Chosen?",description:"Typing Speed test uses common words to reflect everyday language use. They also ensure a variety of lengths and types, from short to long, and includes alphanumeric combinations. Further, tests often incorporate full complete sentences to assess punctuation and capitalization skills. This thorough word selection provides a comprehensive measure of typing skills proficiency which you can improve through online typing test."},{title:"How many WPMs is a good typing score?",description:"A good typing speed generally falls around 40 words per minute (WPM), considered the average speed. However, a 'good' score can also be subjective and dependent on a person's job requirements or personal goals."}],this.bar={bgImageUrl:"background-48-1.webp",heading:{headingOne:"Put your marketing to Autopilot with BotPenguin\u2019s ",headingTwo:"Marketing Automation."},primaryButtonData:{label:"Get started FREE",labelTwo:"",link:""}},this.challengeData={difficult:"As the complexities of quantum computing advance toward the precipice of revolutionizing modern computing technology, the potential for unparalleled breakthroughs in fields such as cryptography and artificial intelligence grows exponentially. Nevertheless, diligent researchers must address the daunting challenges posed by error correction and achievable scalability before reaching the zenith of quantum supremacy.",medium:"On a joyful summer day, Grace decided to take a trip to the local farmer\u2019s market. She appreciated the colors and smells of fresh produce. After buying her essentials, she planned to make a delicious, healthy dinner.",easy:"Jack has a pet dog. The dog loves to bark and play. Every afternoon, they play fetch in the park. Jack throws the ball, and his dog, Max, runs after it."},this.modalData=[{title:"A bit slow, isn't it?",description:"You're typing at <sp
1an class='text-primary-blue'>{{wordsPerMinute}} WPM.</span> Your fingers need some ",descriptionTwo:"workout. Keep practicing!"},{title:"You're a Typing Dynamo!",description:'Wow! Your typing speed is on fire! You\u2019ve achieved an impressive typing speed of <span class="text-primary-blue">{{wordsPerMinute}} WPM.</span> ',descriptionTwo:"Keep up the fantastic work!"},{title:"Wow! That's Impressive!",description:`You've set the keyboard on fire! You're typing at <span class="text-primary-blue">{{wordsPerMinute}} WPM.</span> `,descriptionTwo:"Take a bow, Sir!"}],this.cards=[{value:0,desc:"Words/Min"},{value:0,desc:"Chars/Min"},{value:0,desc:"Accuracy"},{value:0,desc:"Wrong Words"},{value:0,desc:"Correct Words"}],this.timeLeft=this.TIME_LIMIT,this.mixpanel.getPageTitle(),F(this.platformId)&&this.changeDifficulty("Easy")}ngOnInit(){this.seoServive.setMetaTags(this.seos.typingTestSeo)}ngAfterViewInit(){this.setupInputListeners(),this.focus()}setupInputListeners(){this.inputElement.nativeElement.addEventListener("input",()=>{this.handleTyping()})}changeDifficulty(e){switch(e){case"Difficult":this.selectedDifficulty="Difficult",this.referenceText=this.challengeData.difficult,this.headerReferenceText=this.challengeData.difficult;break;case"Medium":this.selectedDifficulty="Medium",this.referenceText=this.challengeData.medium,this.headerReferenceText=this.challengeData.medium;break;case"Easy":this.selectedDifficulty="Easy",this.referenceText=this.challengeData.easy,this.headerReferenceText=this.challengeData.easy;break;default:break}this.isDifficultySelected=!1,this.onDifficultyChange()}onDifficultyChange(){this.referenceWords=this.referenceText.split(" "),this.orignalWords=this.referenceText.split(" "),this.headerReferenceWords=this.headerReferenceText.split(" "),this.paraWordsLength=this.referenceWords.length}formatTime(e){return e<10?`0${e}`:`${e}`}onTimesUp(){clearInterval(this.timerInterval),this.timesUp=!0,this.showModal=!0,this.getModalData()}closeModal(){this.onRetry(),this.showModal=!1}focus(){this.inputElement.nativeElement.focus(),this.isTyping=!1}handleTyping(){this.isTyping=!0,clearTimeout(this.typingTimer),this.typingTimer=setTimeout(()=>{this.isTyping=!1},this.typingInterval)}startTimer(){this.timerInterval=setInterval(()=>{this.timePassed+=1,this.timeLeft=this.TIME_LIMIT-this.timePassed,this.setCircleDasharray(),this.timeLeft===0&&this.onTimesUp()},1e3)}finalInputCheck(){this.typedWords2[this.currentWordIndex]===this.orignalWords[this.currentWordIndex]?(this.correctChars[this.currentWordIndex]=!0,this.wordsPerMinute++,this.charPerMinute+=this.typedWords2[this.currentWordIndex].length,this.cards[1].value=this.charPerMinute,this.correctWord++,this.cards[4].value++):(this.correctChars[this.currentWordIndex]=!1,this.wrongWord++,this.cards[3].value++),this.cards[0].value=this.correctWord,this.accuracy=this.correctWord/this.typedWords2.length*100,this.cards[2].value=this.correctWord/this.typedWords2.length*100}getCharStyle(e){return{color:this.correctChars[e]?"#226CF4":"#333333"}}setCircleDasharray(){if(F(this.platformId)){let e=`${(this.calculateTimeFraction()*this.FULL_DASH_ARRAY).toFixed(0)} ${this.FULL_DASH_ARRAY}`,i=document.getElementById("base-timer-path-remaining");i&&i.setAttribute("stroke-dasharray",e)}}preventSpace(e){e.key===" "&&e.preventDefault()}calculateTimeFraction(){let e=this.timeLeft/this.TIME_LIMIT;return e-1/this.TIME_LIMIT*(1-e)}onTyping2(){this.typingStarted||(this.startTimer(),this.typingStarted=!0,this.customPopup="Hurry Up!"),this.paraWordsLength-3<=this.currentWordIndex&&this.timeLeft!==0&&(this.referenceWords=this.referenceWords.concat(this.orignalWords),this.orignalWords=this.orignalWords.concat(this.orignalWords),this.headerReferenceWords=this.headerReferenceWords.concat(this.headerReferenceWords),this.paraWordsLength=this.referenceWords.length),this.inputWidthAuto=!0;let e=this.userTypedText2.trim().split(""),i=this.referenceWords[this.currentWordIndex],t=i.split("");e.length>0&&(e[this.currentAlphaIndex]===t[0]?(this.referenceWords[this.currentWordIndex]=i.substring(1),this.currentAlphaIndex++,this.textStyle=!0):e[this.currentAlphaIndex]!==t[0]&&(this.textStyle=!1))}getInputStyle2(e){let i={};return this.correctChars[e]?i.color="#226CF4":this.correctChars[e]===!1&&(i.color="gray",i["text-decoration"]="line-through"),i}getHiddenInputStyle2(){let e={};return this.userTypedText2&&(this.textStyle?e.color="#226CF4":(e.color="gray",e["text-decoration"]="line-through"),this.userTypedText2.length>=this.orignalWords[this.currentWordIndex].length&&this.userTypedText2!==this.orignalWords[this.currentWordIndex]&&(e.color="gray",e["text-decoration"]="line-through")),this.inputWi
1dthAuto&&this.userTypedText2.length>0&&this.userTypedText2.length<4?e.width=this.userTypedText2.length*15.5+"px":this.inputWidthAuto&&this.userTypedText2.length>=4?e.width=this.userTypedText2.length*11.5+"px":e.width="5px",e}onBackSpace(e){if(e.keyCode===8&&this.userTypedText2){this.currentAlphaIndex>0&&this.currentAlphaIndex--;let i=this.referenceWords[this.currentWordIndex],t=this.orignalWords[this.currentWordIndex];if(i.length<t.length){let c=t.length-i.length;this.referenceWords[this.currentWordIndex]=t[c-1]+i}}}onSpace(){this.userTypedText2&&(this.typedWords2[this.currentWordIndex]=this.userTypedText2.trim(),this.finalInputCheck(),this.typedWords2[this.currentWordIndex]!==""&&(this.correctChars[this.currentWordIndex]||(this.referenceWords[this.currentWordIndex]="")),this.currentWordIndex>=this.paraWordsLength-1&&this.onTimesUp(),this.userTypedText2="",this.currentWordIndex++,this.currentTypedWordIndex++,this.inputWidthAuto=!1,this.currentAlphaIndex=0)}getInputStyle(e){let i={};return this.referenceWords[e]===""?i["padding-right"]="0px":(i["padding-right"]="2px",i["padding-left"]="4px"),e===this.currentWordIndex&&(i["padding-left"]="0px"),i}onRetry(){clearInterval(this.timerInterval),this.wordsPerMinute=0,this.charPerMinute=0,this.accuracy=0,this.correctWord=0,this.wrongWord=0,this.userTypedText2="",this.referenceWords=this.referenceText.split(" "),this.headerReferenceWords=this.headerReferenceText.split(" "),this.paraWordsLength=this.orignalWords.length,this.typedWords2=[],this.timePassed=0,this.timeLeft=this.TIME_LIMIT,this.correctChars=[],this.currentWordIndex=0,this.currentAlphaIndex=0,this.timesUp=!1,this.setCircleDasharray(),this.focus(),this.isTyping=!1,this.customPopup="Start Typing!",this.typingStarted=!1,this.cards=[{value:0,desc:"Words/Min"},{value:0,desc:"Chars/Min"},{value:0,desc:"Accuracy"},{value:0,desc:"Wrong Words"},{value:0,desc:"Correct Words"}]}getModalData(){this.wordsPerMinute<=25?(this.modalHeading=this.modalData[0].title,this.modalSubHeading=this.modalData[0].description,this.modalSubHeadingTwo=this.modalData[0].descriptionTwo):this.wordsPerMinute<=45?(this.modalHeading=this.modalData[1].title,this.modalSubHeading=this.modalData[1].description,this.modalSubHeadingTwo=this.modalData[1].descriptionTwo):(this.modalHeading=this.modalData[2].title,this.modalSubHeading=this.modalData[2].description,this.modalSubHeadingTwo=this.modalData[1].descriptionTwo),this.modalSubHeading=this.modalSubHeading.replace("{{wordsPerMinute}}",this.wordsPerMinute.toString())}downloadResult(){return A(this,null,function*(){let e=this.resultBox.nativeElement,{default:i}=yield import("./chunk-YP7YABKE.js"),t=yield i(e),c=document.createElement("a");c.href=t.toDataURL("image/png"),c.download="score.png",c.click()})}trackByIndex(e){return e}formatWords(e){return e<10?`0${e}`:`${e}`}};l.\u0275fac=function(i){return new(i||l)(I(N),I(R),I(re))},l.\u0275cmp=V({type:l,selectors:[["app-typing-challenge"]],viewQuery:function(i,t){if(i&1&&(S(he,5),S(me,5),S(ge,5)),i&2){let c;M(c=P())&&(t.inputElement=c.first),M(c=P())&&(t.inputTextDiv=c.first),M(c=P())&&(t.resultBox=c.first)}},standalone:!0,features:[q],decls:58,vars:33,consts:[["inputTextDiv",""],["inputElement",""],["resultBox",""],[1,"container","mx-auto","py-16","sm:py-24"],["heroIcon","/assets/website/icons/whatsapp-link-icon.svg"],["url","#typing","link","id",3,"bannerHeading","bannerSubHeading","planDesc","bannerAttributes","buttonData"],["bgImage","background-48-2.webp","contentImage","typing-banner-webp-new.webp","contentImageAlt","Live typing test for customer support illustration"],[1,"pt-20"],[3,"heading","subHeading","headingWidth","subHeadingWidth"],["id","typing",1,"container","rounded-xl","bg-white"],[1,"py-16","px-4","overflow-hidden","md:px-8","md:py-28"],[1,"flex","items-center","overflow-auto"],[1,"timer","base-timer","min-w-32","mr-8","md:mr-16","lg:min-w-36"],["id","circular-bar"],["viewBox","0 0 100 100","xmlns","http://www.w3.org/2000/svg",1,"base-timer__svg","absolute"],[1,"base-timer__circle"],["cx","50","cy","50","r","45",1,"base-timer__path-elapsed"],["
1id","base-timer-path-remaining","stroke-dasharray","283","d",` 2 M 50, 50 3 m -45, 0 4 a 45,45 0 1,0 90,0 5 a 45,45 0 1,0 -90,0 6 `,1,"base-timer__path-remaining","green"],[1,"time","time-second","font-morrison-medium","heading-one"],[1,"font-inter-regular","text-xl","text-grey-666","mt-3","xl:mt-4"],[1,"rounded-xl","bg-purple-dae0fd","w-40","h-44","m-auto","flex","flex-col","justify-center","items-center","mr-6","min-w-40","lg:w-44","lg:h-48"],[1,"text-wrap","bg-grey-fafa","rounded-xl","p-4","flex","flex-col","items-end","mt-8","md:mt-16"],[1,"flex","flex-wrap","font-inter-medium","text-xl","lg:text-3xl"],[1,"pl-0.5","pr-1",3,"ngStyle"],[1,"w-32","relative"],[1,"py-3","pl-4","pr-3","flex","items-center","self-start","cursor-pointer","justify-between","w-full","border","mt-3","mb-1","rounded-xl","bg-white","p-4","border-color-e5e5","focus:border","focus:border-grey-333",3,"click"],[1,"flex"],[1,"font-inter-regular"],["width","24","height","24","alt","","aria-hidden","true","decoding","async",1,"w-5",3,"src"],[1,"country-dropdown","absolute","bg-white","p-4","w-full","border","max-h-52","z-10","rounded-md"],[1,"input-text-2","flex","p-2.5","rounded-[10px]","md:rounded-[20px]","md:p-3.5",3,"click"],[1,"custom-box",3,"ngClass"],[1,"editable-div","font-inter-regular","text-xl"],[3,"ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[1,"hidden-input-2","font-inter-regular","text-xl",3,"focus","ngModelChange","input","keydown","keydown.space","disabled","ngModel","ngStyle"],[1,"backdrop-text-2","font-inter-regular","!text-lg","md:!text-xl"],[1,"flex","items-center","justify-center","gap-x-3","w-fit","mt-8","mx-auto","md:mt-16"],[1,"font-inter-regular","text-grey-333","bg-white","text-sm","rounded-3xl","border","border-color-e5e5","flex","items-center","gap-x-2","py-2","px-5",3,"click"],["width","16","height","16","alt","","aria-hidden","true","decoding","async",3,"src"],["aria-labelledby","typing-challenge-result-title","role","dialog","aria-modal","true",1,"relative","z-10"],[1,"py-12","md:py-20"],[1,"my-12","md:my-20"],[3,"faqsData","isMoreFaqs"],[1,"my-12","lg:my-20"],[3,"bgImageUrl","heading","primaryButtonData","headingColor","headingWidth"],[1,"font-morrison-medium","heading-one"],[1,"font-inter-regular","text-xl","text-grey-666","mt-4"],[1,"pt-0"],[1,"p-2","rounded-lg","cursor-pointer","hover:bg-[#6b6b6b19]"],[1,"flex","items-center","cursor-pointer",3,"click"],[1,"cursor-pointer"],[3,"ngStyle"],["aria-hidden","true",1,"fixed","inset-0","bg-backdrop-00098","bg-opacity-75","transition-opacity"],[1,"fixed","inset-0","z-10","w-screen","overflow-y-auto","top-14"],["data-lenis-prevent","",1,"flex","min-h-full","justify-center","p-4","text-center","items-center","sm:items-center","sm:p-0"],[1,"relative","transform","overflow-hidden","rounded-2xl","bg-white","text-left","shadow-xl","transition-all","sm:my-8","sm:w-full","sm:max-w-lg"],[1,"bg-gray-50","flex","items-center","relative","p-2","md:p-4"],["id","typing-challenge-result-title",1,"text-color-999","text-lg","text-center","w-full"],["type","button","aria-label","Close typing test results",1,"absolute","right-2.5",3,"click"],["width","32","height","32","alt","","aria-hidden","true","decoding","async",3,"src"],[1,"bg-white","px-4","pb-6"],[1,"text-center","mt-4","md:mt-8"],[1,"text-lg","md:text-2xl",3,"innerHTML"],[1,"font-inter-light","text-grey-666","md:text-lg",3,"innerHTML"],[1,"flex","justify-around","mt-4","md:mt-8"],[1,"bg-purple-dae0fd","w-20","h-20","m-auto","flex","flex-col","justify-center","items-center","rounded-md","py-1","md:rounded-xl","md:w-36","md:h-36"],[1,"flex","justify-around","mt-4"],[1,"rounded-xl","m-auto","flex","flex-col","justify-center","items-center","w-20","h-20","md:w-36","md:h-36"],[1,"timer","!w-full","base-timer"],["id","base-timer-path-remaining","stroke-dasharray","283","d",` 7 M 50, 50 8 m -45, 0 9 a 45,45 0 1,0 90,0 10 a 45,45 0 1,0 -90,0 11 `,1,"base-timer__path-remaining","green"],[1,"time","time-second","font-morrison-medium","text-2xl","md:text-4xl"],[1,"font-inter-regular","text-sm","text-grey-666","md:mt-4"],[1,"flex","flex-col","items-center","justify-center","w-fit","mt-8","mx-auto","gap-3","p-1","sm:flex-row"],[1,"font-inter-regular","rounded-3xl","border-0","bg-primary-blue","text-white","py-2","px-4","text-lg","md:px-5","md:py-3","md:text-xl"],[1,"flex","items-center","gap-x-2",3,"click"],["width","16","height","16","alt","","aria-hidden","true","decoding","async",1,"w-6",3,"src"],[1,"font-inter-regular","text-grey-333","bg-white","text-sm","rounded-3xl","border","border-color-e5e5","flex","items-center","gap-x-2","py-1","px-3","md:py-2","md:px-5",3,"click"],["width","16","height","16","alt","","aria-hidden","true","decoding","async",1,"w-4","md:w-6",3,"src"],[1,"font-morrison-medium","text-xl","md:text-4xl"],[1,"font-inter-regular","text-xs","text-grey-666","md:mt-4","md:text-sm"],[3,"heading","subHeadingWidth"],[1,"pt-20","flex","flex-col","space-y-32","justify-between"],[3,"cardView","contentOrder","checkboxTableData","bgImageUrl"]],template:function(i,t){if(i&1){let c=W();n(0,"section")(1,"div")(2,"div",3),h(3,"app-hero-icon",4)(4,"app-bp-banner-template",5),s()(),h(5,"app-second-banner-template",6),s(),n(6,"section",7),h(7,"app-heading-template-one",8),n(8,"div",9)(9,"div",10)(10,"div",11)(11,"div",12),h(12,"div",13),D(),n(13,"svg",14)(14,"g",15),h(15,"circle",16)(16,"path",17),s()(),E(),n(17,"span",18),p(18),s(),n(19,"span",19),p(20,"Second"),s()(),v(21,ye,5,3,"div",20,b),s(),n(23,"div",21)(24,"p",22),v(25,fe,2,2,"span",23,b),s(),n(27,"div",24)(28,"div",25),f("click",function(){return m(c),g(t.isDifficultySelected=!t.isDifficultySelected)}),n(29,"div",26)(30,"p",27),p(31),s()(),h(32,"img",28),s(),C(33,we,4,0,"div",29),s()(),n(34,"div",30,0),f("click",function(){return m(c),g(t.focus())}),n(36,"div",31),p(37),s(),n(38,"div",32),C(39,be,2,2,"span",33),s(),n(40,"input",34,1),f("focus",function(){return m(c),g(t.handleTyping())}),j("ngModelChange",function(w){return m(c),B(t.userTypedText2,w)||(t.userTypedText2=w),g(w)}),f("input",function(){return m(c),g(t.onTyping2())})("keydown",function(w){return m(c),g(t.onBackSpace(w))})("keydown.space",function(){return m(c),g(t.onSpace())})("keydown",function(w){return m(c),g(t.preventSpace(w))}),s(),n(42,"div",35),C(43,ve,2,2,"span",33),s()(),n(44,"div",36)(45,"button",37),f("click",function(){return m(c),g(t.onRetry())}),p(46,"Retry "),n(47,"span"),h(48,"img",38),s()()()()()(),C(49,Ce,43,7,"div",39),v(50,ke,5,6,"section",40,b),n(52,"div",41),h(53,"app-faqs",42),s(),n(54,"div",43),h(55,"app-customer-testimonials"),s(),n(56,"section"),h(57,"app-cta-bar",44),s()}i&2&&(a(4),d("bannerHeading",t.bannerContent.heading)("bannerSubHeading",t.bannerContent.subHeading)("planDesc",t.bannerContent.planDesc)("bannerAttributes",t.bannerContent.bannerAttributes)("buttonData",t.bannerContent.buttonData),a(3),d("heading",t.typingGenerate.heading)("subHeading",t.typingGenerate.subHeading)("headingWidth","inline xl:block")("subHeadingWidth","inline xl:block"),a(11),y(t.formatTime(t.timeLeft)),a(3),T(t.cards),a(4),T(t.headerReferenceWords),a(6),O(" ",t.selectedDifficulty," "),a(),d("src",t.assetUrl+"/assets/website/icons/countery-dropdown.svg",_),a(),H(33,t.isDifficultySelected&&!t.isTyping?33:-1),a(3),d("ngClass",z(31,ue,!t.isTyping)),a(),O(" ",t.customPopup," "),a(2),d("ngForOf",t.typedWords2)("ngForTrackBy",t.trackByIndex),a(),d("disabled",t.timesUp),U("ngModel",t.userTypedText2),d("ngStyle",t.getHiddenInputStyle2()),a(3),d("ngForOf",t.referenceWords)("ngForTrackBy",t.trackByIndex),a(5),d("src",t.assetUrl+"/assets/website/icons/regenerate-icon.svg",_),a(),H(49,t.showModal?49:-1),a(),T(t.cardsData),a(3),d("faqsData",t.faqData)("isMoreFaqs",!1),a(4),d("bgImageUrl",t.bar.bgImageUrl)("heading",t.bar.heading)("primaryButtonData",t.bar.primaryButtonData)("headingColor","text-white")("headingWidth","inline sm:block md:inline lg:block"))},dependencies:[se,K,ne,ee,te,ie,G,Y,$,Q,ae,Z,X,oe,de,le],styles:['.timer[_ngcontent-%COMP%]{position:relative;width:178px;height:178px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center}.timer[_ngcontent-%COMP%] .time[_ngcontent-%COMP%]{color:#3da144}.timer[_ngcontent-%COMP%] .base-timer__svg[_ngcontent-%COMP%]{transform:scale
11X(-1)}.timer[_ngcontent-%COMP%] .base-timer__circle[_ngcontent-%COMP%]{fill:none;stroke:#fafafa}.timer[_ngcontent-%COMP%] .base-timer__path-elapsed[_ngcontent-%COMP%]{stroke-width:7px}.timer[_ngcontent-%COMP%] .base-timer__path-remaining[_ngcontent-%COMP%]{stroke-width:8px;stroke-linecap:round;transform:rotate(90deg);transform-origin:center;transition:1s linear all;fill-rule:nonzero;stroke:currentColor}.timer[_ngcontent-%COMP%] .base-timer__path-remaining.green[_ngcontent-%COMP%]{color:#3caa5a}.timer[_ngcontent-%COMP%] .base-timer__label[_ngcontent-%COMP%]{position:absolute;width:300px;height:300px;top:0;display:flex;align-items:center;justify-content:center;font-size:48px}.input-text-2[_ngcontent-%COMP%]{margin-top:64px;background:#fff;border:1px solid #333333;position:relative;max-width:100%;align-items:center}.input-text-2[_ngcontent-%COMP%] .custom-box[_ngcontent-%COMP%]{display:none;background-color:#226cf4;border:none;border-radius:10px;color:#fff;text-align:center;padding:10px;width:110px;position:absolute;left:50%;top:-35px;font-size:15px;animation:_ngcontent-%COMP%_pulse 1.2s infinite ease-out}.input-text-2[_ngcontent-%COMP%] .custom-box[_ngcontent-%COMP%]:after{content:"";position:absolute;left:50px;bottom:-20px;border-width:10px;border-style:solid;border-color:#226CF4 transparent transparent transparent}.input-text-2[_ngcontent-%COMP%] .editable-div[_ngcontent-%COMP%]{width:50%;overflow:hidden;text-align:right;white-space:nowrap;height:100%;display:block;overflow-x:hidden;direction:rtl}.input-text-2[_ngcontent-%COMP%] .editable-div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child, .input-text-2[_ngcontent-%COMP%] .editable-div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-right:5px}.hidden-input-2[_ngcontent-%COMP%]{margin:0;color:#000;caret-color:#226cf4;height:100%;width:5px;border:1px solid transparent;text-align:right;max-width:110px;line-height:2.5}.hidden-input-2[_ngcontent-%COMP%]:focus{border:none;outline:none}.backdrop-text-2[_ngcontent-%COMP%]{display:block;font-size:21px;position:relative;width:50%;overflow:hidden}.backdrop-text-2[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{padding-right:5px}.backdrop-text-2[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-right:2.5px;color:#ccc}@keyframes _ngcontent-%COMP%_pulse{0%{transform:translateY(0) translate(-50%)}50%{transform:translateY(-1rem) translate(-50%)}to{transform:translateY(0) translate(-50%)}}@media (prefers-reduced-motion: reduce){.input-text-2[_ngcontent-%COMP%] .custom-box[_ngcontent-%COMP%]{animation-play-state:paused}}']});let o=l;return o})();export{Ge as TypingChallengeComponent};
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.