1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[98047],{26446:(e,a,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/english/desktop/[...slug]",function(){return n(68569)}])},68569:(e,a,n)=>{"use strict";n.r(a),n.d(a,{__N_SSG:()=>H,default:()=>M});var i=n(37876),l=n(75961),t=n.n(l),o=n(18847),d=n.n(o),s=n(14232),r=n(49625),c=n.n(r),u=n(93417),p=n(6882),g=n(63222),h=n(6120),x=n(76080),m=n(70327);let v=d()(()=>Promise.all([n.e(81772),n.e(48230),n.e(67116),n.e(52306)]).then(n.bind(n,52306)),{loadableGenerated:{webpack:()=>[52306]}}),b=d()(()=>n.e(84936).then(n.bind(n,84936)),{loadableGenerated:{webpack:()=>[84936]}}),_=d()(()=>n.e(58343).then(n.bind(n,58343)),{loadableGenerated:{webpack:()=>[58343]}}),T=d()(()=>n.e(46e3).then(n.bind(n,46e3)),{loadableGenerated:{webpack:()=>[46e3]}}),w=d()(()=>n.e(56893).then(n.bind(n,56893)),{loadableGenerated:{webpack:()=>[56893]}}),y=d()(()=>n.e(85921).then(n.bind(n,85921)),{loadableGenerated:{webpack:()=>[85921]},ssr:!1}),A=d()(()=>n.e(72241).then(n.bind(n,72241)),{loadableGenerated:{webpack:()=>[72241]}}),j=d()(()=>n.e(25842).then(n.bind(n,25842)),{loadableGenerated:{webpack:()=>[25842]}}),f=d()(()=>n.e(86694).then(n.bind(n,86694)),{loadableGenerated:{webpack:()=>[86694]}}),k=d()(()=>n.e(80982).then(n.bind(n,80982)),{loadableGenerated:{webpack:()=>[80982]}}),C=d()(()=>n.e(32669).then(n.bind(n,32669)),{loadableGenerated:{webpack:()=>[32669]}}),E=d()(()=>n.e(80693).then(n.bind(n,80693)),{loadableGenerated:{webpack:()=>[80693]}}),G=d()(()=>n.e(59663).then(n.bind(n,59663)),{loadableGenerated:{webpack:()=>[59663]}}),I=d()(()=>n.e(62556).then(n.bind(n,62556)),{loadableGenerated:{webpack:()=>[62556]}}),S=d()(()=>n.e(38276).then(n.bind(n,38276)),{loadableGenerated:{webpack:()=>[38276]}}),P=d()(()=>n.e(40141).then(n.bind(n,40141)),{loadableGenerated:{webpack:()=>[40141]}}),D=d()(()=>n.e(18895).then(n.bind(n,18895)),{loadableGenerated:{webpack:()=>[18895]}}),N=x.lj.ENGLISH;var H=!0;function M(e){var a,n,l,o,d,r,H,M,F,L,q,z,R,B,O,U,Q,K,W,$,X,Y;let J=(0,s.useRef)(null),V=(0,s.useRef)(null),[Z,ee]=(0,s.useState)(!1),ea=null==e||null==(a=e.allBlogs)?void 0:a.data,en=(0,s.useRef)(null),[ei,el]=(0,s.useState)(null),et=(0,x.TN)(null==ea?void 0:ea.sections),[eo,ed]=(0,s.useState)(!1),es=e.locale,er=(0,s.useRef)(null==ea||null==(n=ea.sections)?void 0:n.map(()=>s.createRef())),ec="https://brightchamps.com/",eu={"@context":"https://schema.org","@type":"Article",headline:"".concat(null==ea?void 0:ea.title),author:{"@type":"Person",name:"".concat(null==ea||null==(l=ea.author)?void 0:l.name),jobTitle:"".concat(null==ea||null==(o=ea.author)?void 0:o.title),url:"".concat(null==ea||null==(d=ea.author)?void 0:d.url),description:"".concat(null==ea||null==(r=ea.author)?void 0:r.description)},datePublished:"".concat(null==ea?void 0:ea.first_publish_dt),inLanguage:"".concat(es),mainEntityOfPage:"".concat(ec).concat(es).concat(null==ea?void 0:ea.url),description:"".concat(null==ea?void 0:ea.description),url:"".concat(ec).concat(es).concat(null==ea?void 0:ea.url),image:{"@type":"ImageObject",url:"".concat(et.src)},publisher:{"@type":"Organization",name:"BrightCHAMPS",url:ec,logo:{"@type":"ImageObject",url:"https://assets.brightchamps.com/imagekit/website/brightchamps_logo_colour.png",width:200,height:60}}},ep=[{"@type":"ListItem",position:1,name:"Home",item:ec},...e.breadcrumbs.map((e,a)=>({"@type":"ListItem",position:a+2,name:null==e?void 0:e.name,item:"".concat(ec).concat(es).concat(null==e?void 0:e.url)}))];(0,s.useEffect)(()=>{(async()=>{try{var e;await (0,g.pm)({pageUrl:null==ea||null==(e=ea.url)?void 0:e.replace("/","")})}catch(e){console.log(e.message)}})()},[]),(0,s.useEffect)(()=>{let e=(async()=>{try{let e=async e=>{var a;if((null==e||null==(a=e.data)?void 0:a.name)==="booking_completed"){let{partialId:a,bookingId:n}=e.data.data;if(window.triggerBlogAnalytics)try{window.triggerBlogAnalytics({event_type:"action",event_name:"booking_completed"})}catch(e){console.error("Failed to trigger blog analytics:",e)}ee(!1);let i="".concat("https://champ.brightchamps.com","/demo-dashboard/?bookingUUID=").concat(a,"&medium=dashboard&lang=english&post_booking=true&utm_source=blog&utm_medium=blog_lp&utm_campaign=english_blog");window.open(i,"_blank")}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}catch(e){console.error("Error loading analytics or running page(
1)",e)}})();return()=>{e.then(e=>null==e?void 0:e())}},[]);let eg="".concat("https://learn.brightchamps.com","/form?courseId=7&utm_source=organic&utm_slug=").concat(e.utm_slug,"&utm_medium=english_form_blog");return(0,s.useEffect)(()=>{let e=()=>{!Z&&window.scrollY>100&&ee(!0)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t(),{id:"1d77aa551b642991",children:".mainContainer.jsx-1d77aa551b642991{display:flex;justify-content:space-between;gap:2vw;position:relative}@media screen and (max-width:1024px){.mainContainer.jsx-1d77aa551b642991{gap:0;margin-right:0;margin-left:0;position:relative}}@media screen and (max-width:600px){.mainContainer.jsx-1d77aa551b642991{margin-top:0px}}.centerContainer.jsx-1d77aa551b642991{display:flex;flex-direction:column;gap:30px;max-width:40vw;margin-bottom:80px}@media screen and (max-width:1024px){.centerContainer.jsx-1d77aa551b642991{max-width:100vw;gap:10px;margin-right:0}}@media screen and (max-width:600px){.centerContainer.jsx-1d77aa551b642991{margin-top:35vw;display:block}}.leftContainer.jsx-1d77aa551b642991{position:sticky;top:70px;align-self:flex-start;min-width:25vw;max-width:25vw}@media screen and (max-width:1024px){.leftContainer.jsx-1d77aa551b642991{min-width:auto;position:static}}.rightContainer.jsx-1d77aa551b642991{min-width:27vw}@media screen and (max-width:1024px){.rightContainer.jsx-1d77aa551b642991{min-width:auto}}.sidePopUp.jsx-1d77aa551b642991{max-width:20%}@media screen and (max-width:1024px){.sidePopUp.jsx-1d77aa551b642991{width:0%}}.fixed.jsx-1d77aa551b642991{position:sticky;left:0;top:4vw;margin-bottom:5vw}[id].jsx-1d77aa551b642991{scroll-margin-top:300px}@media screen and (max-width:1024px){[id].jsx-1d77aa551b642991{scroll-margin-top:20px}}.rightContainer.jsx-1d77aa551b642991{position:sticky;top:70px;align-self:flex-start;margin-bottom:40px}.rightFixedForm.jsx-1d77aa551b642991{right:3vw;width:20vw;height:90vh;display:flex;align-items:flex-end;position:sticky;bottom:0rem}.sticky-form.jsx-1d77aa551b642991{position:sticky;top:4vw;right:3vw}.overlayActive.jsx-1d77aa551b642991{width:100vw;height:100vh;position:fixed;top:0;left:0;backdrop-filter:blur(5px);z-index:10;transition:all.3s ease-out}.formCont.jsx-1d77aa551b642991{}.centerForm.jsx-1d77aa551b642991{box-shadow:0px 0px 10px -5px black;border-radius:1rem;overflow:hidden;z-index:11;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:25vw}"}),(0,i.jsxs)(u.A,{title:null==ea?void 0:ea.meta_title,description:null==ea?void 0:ea.meta_description,url:"",schema:eu,organizationSchema:m.nr,backUrl:"".concat(ea.url),imgForSocialTag:et,categoryType:N,locale:es,deviceType:e.deviceType,breadcrumbSchema:{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:ep},MATH_PAGE_STATIC_DATA:null==e?void 0:e.MATH_PAGE_STATIC_DATA,isTopic:null==e?void 0:e.isTopic,children:[(0,i.jsx)("div",{ref:J,style:{position:"fixed",top:"".concat(e.deviceType!==x._.DESKTOP?"40px":"18px"),left:0,width:"100%",minHeight:"2px",backgroundColor:""},className:"jsx-1d77aa551b642991"}),(0,i.jsx)(p.A,{deviceType:e.deviceType,drop_down_arrow_math:null==e||null==(H=e.MATH_PAGE_STATIC_DATA)?void 0:H.drop_down_arrow_math}),!e.isTopic&&(0,i.jsx)(v,{ref:en,title:null==e||null==(F=e.allBlogs)||null==(M=F.data)?void 0:M.title,desc:null==e||null==(q=e.allBlogs)||null==(L=q.data)?void 0:L.description,countLearner:null==e||null==(R=e.allBlogs)||null==(z=R.data)?void 0:z.count_learner,breadcrumbs:null==e?void 0:e.breadcrumbs,locale:es,categoryType:N,deviceType:e.deviceType}),(0,i.jsxs)("div",{style:{marginTop:e.isTopic?"100px":"0px"},className:"jsx-1d77aa551b642991 mainContainer",children:[(0,i.jsx)("div",{style:{minWidth:"25vw",width:"25vw"},className:"jsx-1d77aa551b642991 leftContainer",children:(0,i.jsx)("div",{ref:V,className:"jsx-1d77aa551b642991 sidePopUp fixed",children:(0,i.jsx)(_,{highlightedHeaderIndex:ei,getPageTopics:()=>(0,x.yK)(null==ea?void 0:ea.sections,N,null==e?void 0:e.worksheetsData),setHighlightedHeaderIndex:el,categoryType:N,refs:er,table_of_contents:null==e||null==(B=e.MATH_PAGE_STATIC_DATA)?void 0:B.table_of_contents})})}),(0,i.jsxs)("div",{className:"jsx-1d77aa551b642991 centerContainer",children:[e.isTopic&&0!==Object.keys(ea).length&&(0,i.jsx)(h.A,{title:null==ea?void 0:ea.title,shortTitle:(()=>{var e;let a=null==ea||null==(e=ea.sections.filter(e=>"subTitle"===e.sectionType)[0])?void 0:e.headingText;return a||""})(),categoryType:N,deviceType:e.deviceType,description:null==ea?void 0:ea.description,lastUpdated:null==ea?void 0:ea.updated_at,countLearner:null==ea?void 0:ea.count_learner,breadcrumbs:null==e?void 0:e.breadcrumbs,locale:es,chatgpt_image:null==e||null==(O=e.MATH_PAGE_STATIC_DATA)?void 0:O.chatgpt_image,perplexity_image:null==e||null==(U=e.MATH_PAGE_STATIC_DATA)?void 0:U.perplexity_image,introduction_teacher_image:null==e||null==(Q=e.MATH_PAGE_STATIC_DATA)?void 0:Q.introduction_teacher_image,summarize_this_article:null==e||null==(K=e.MATH_PAGE_STATIC_DATA)?void 0:K.summarize_this_article,chatgpt_text:null==e||null==(W=e.MATH_PAGE_STATIC_DATA)?void 0:W.chatgpt_text,perplexity_text:null==e||null==($=e.MATH_PAGE_STATIC_DATA)?void 0:$.perplexity_text,url:null==ea?void 0:ea.url,schola_hat_purple:null==e||null==(X=e.MATH_PAGE_STATIC_DATA)?void 0:X.schola_hat_purple,schola_hat_white:null==e||null==(Y=e.MATH_PAGE_STATIC_DATA)?void 0:Y.schola_hat_white}),(()=>{var a;let n=null!=(a=null==ea?void 0:ea.sections)?a:[],l=n.some(e=>(null==e?void 0:e.sectionType)==="qaModule");return null==n?void 0:n.map((a,o)=>{var d,r;let u=(null==a?void 0:a.sectionType)==="qaModule",p=(null==a?void 0:a.sectionType)==="plainText",g=n.slice(o+1).some(e=>(null==e?void 0:e.sectionType)==="plainText"),h=(null==a?void 0:a.headingText)||(null==a?void 0:a.headline),m="string"==typeof h?null==h?void 0:h.toLowerCase().trim().replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,""):"";return(0,i.jsxs)(s.Fragment,{children:[l&&u&&(null==(d=e.worksheetsData)?void 0:d.length)>0&&(0,i.jsx)("div",{id:"download-worksheets",className:"jsx-1d77aa551b642991",children:(0,i.jsx)(D,{classes:c(),data:e.worksheetsData||[]})}),(0,i.jsx)("div",{id:m,ref:er.current[o],style:{display:"flex",flexDirection:"column",gap:"10px"},className:"jsx-1d77aa551b642991",children:(a=>{var n,l,o,d,s,r,u,p,g,h,m,v,_,y;switch(a.sectionType){case"plainText":return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t(),{id:"95f66710cd4b6e6a",children:".greenContainer.jsx-95f66710cd4b6e6a{border-radius:40px;padding:20px 35px;background-size:45vw 30vw;background-repeat:repeat-x}@media screen and (max-width:1024px){.greenContainer.jsx-95f66710cd4b6e6a{background-size:100vw 50vw}}@media screen and (max-width:600px){.greenContainer.jsx-95f66710cd4b6e6a{border-radius:0px;padding:10px;
1background-size:100vw 100vw;background-repeat:none}}"}),(0,i.jsxs)("div",{style:{backgroundImage:"url(".concat((0,x.K6)(null==e||null==(n=e.MATH_PAGE_STATIC_DATA)?void 0:n.english_orange_background_image,400),")"),backgroundSize:"contain",backgroundRepeat:"repeat-x"},className:"jsx-95f66710cd4b6e6a greenContainer",children:[(0,i.jsx)(b,{heading:null==a?void 0:a.headingText,headingType:null==a?void 0:a.headingType,classes:c(),teacherImage:null==e||null==(l=e.MATH_PAGE_STATIC_DATA)?void 0:l.greenline_teacher_image})," ",(0,i.jsx)(T,{description:a.body,categoryType:N,deviceType:e.deviceType,classes:c()})]})]});case"imageCards":return(0,i.jsxs)(i.Fragment,{children:[" ",(0,i.jsx)(t(),{id:"a5c230347c541a01",children:".greenContainer.jsx-a5c230347c541a01{border-radius:40px;padding:20px 35px}@media screen and (max-width:600px){.greenContainer.jsx-a5c230347c541a01{border-radius:0px;padding:10px}}"}),(0,i.jsxs)("div",{style:{backgroundImage:"url(".concat((0,x.K6)(null==e||null==(o=e.MATH_PAGE_STATIC_DATA)?void 0:o.english_orange_background_image,400),")"),backgroundSize:"contain",backgroundRepeat:"repeat-x"},className:"jsx-a5c230347c541a01 greenContainer",children:[(0,i.jsx)(b,{heading:null==a?void 0:a.headingText,headingType:null==a?void 0:a.headingType,classes:c(),teacherImage:null==e||null==(d=e.MATH_PAGE_STATIC_DATA)?void 0:d.greenline_teacher_image})," ",(0,i.jsx)(T,{description:a.closingText,categoryType:N,deviceType:e.deviceType,classes:c()}),null==a||null==(s=a.imageCards)?void 0:s.map((e,n)=>(0,i.jsx)(I,{headingType:null==a?void 0:a.headingType,serialNo:n+1,image:e.image,heading:e.heading,altText:e.altText,description:e.description,classes:c()}))]})]});case"qaModule":let C=[];return null==a||null==(r=a.questions)||r.forEach(function(){var e,a,n;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};arguments.length>1&&arguments[1];let l=null!=(e=null==i?void 0:i.question)?e:"",t=null!=(a=null==i?void 0:i.answer)?a:"",o=null!=(n=null==i?void 0:i.explanation)?n:"",d=e=>"string"==typeof e?e.replace(/<\/?[^>]+(>|$)/g,""):"";C.push({"@context":"http://schema.org","@type":"QAPage",mainEntity:{"@type":"Question",name:l,text:"Fill in the blank to complete the sentence, or correct the errors where needed.",answerCount:1,acceptedAnswer:{"@type":"Answer",text:d(t)},explanation:{"@type":"CreativeWork",text:d(o)}}})}),(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"50px"},children:[(0,i.jsx)(G,{headline:null==a?void 0:a.headingText,qaSchema:C,categoryType:N,classes:c()}),null==a||null==(u=a.questions)?void 0:u.map((e,a)=>(0,i.jsxs)("div",{children:[(0,i.jsx)(k,{serialNo:a+1,question:null==e?void 0:e.question,categoryType:N,classes:c()}),(0,i.jsxs)("div",{children:[(0,i.jsx)(f,{answer:null==e?void 0:e.answer,classes:c()}),(null==e?void 0:e.explanation)&&(0,i.jsx)(j,{explanation:null==e?void 0:e.explanation,classes:c()})]})]},a))]});case"commonMistakes":return(0,i.jsx)(w,{heading:null==a?void 0:a.headingText,description:null==a?void 0:a.description,mistakes:null==a?void 0:a.mistakes,classes:c()});case"importantLinksModule":return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t(),{id:"a5c230347c541a01",children:".greenContainer.jsx-a5c230347c541a01{border-radius:40px;padding:20px 35px}@media screen and (max-width:600px){.greenContainer.jsx-a5c230347c541a01{border-radius:0px;padding:10px}}"}),(0,i.jsxs)("div",{style:{backgroundImage:"url(".concat((0,x.K6)(null==e||null==(p=e.MATH_PAGE_STATIC_DATA)?void 0:p.english_orange_background_image,400),")"),backgroundSize:"contain",backgroundRepeat:"repeat-x"},className:"jsx-a5c230347c541a01 greenContainer",children:[(0,i.jsx)(b,{heading:null==a?void 0:a.headline,headingType:null==a?void 0:a.headingType,classes:c(),teacherImage:null==e||null==(g=e.MATH_PAGE_STATIC_DATA)?void 0:g.greenline_teacher_image})," ",(0,i.jsx)("div",{style:{display:"flex",gap:"20px",flexDirection:"column"},className:"jsx-a5c230347c541a01",children:null==a||null==(h=a.links)?void 0:h.map((e,a)=>(0,i.jsx)(S,{category:null==e?void 0:e.category,catelinks:null==e?void 0:e.catelinks,locale:es,classes:c()},a))})]})]});case"faqModule":return(0,i.jsx)(A,{heading:null==a?void 0:a.headingText,faqs:null==a?void 0:a.faqs,title:null==ea?void 0:ea.title,schema:{"@context":"https://schema.org","@type":"FAQPage",mainEntity:null==(y=null==a?void 0:a.faqs)?void 0:y.map(e=>{var a;
1return{"@type":"Question",name:e.faqQuestion,acceptedAnswer:{"@type":"Answer",text:null==e||null==(a=e.answer)?void 0:a.replace(/<\/?[^>]+(>|$)/g,"")}}})},fixedFAQ:e.fixedFAQ,classes:c()});case"relatedTopics":let P=[];return a.topicCards.map((e,a)=>{P.push({"@type":"ListItem",position:a+1,name:null==e?void 0:e.topic,description:null==e?void 0:e.shortDescription,url:"".concat(ec).concat(es).concat(null==e?void 0:e.url)})}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t(),{id:"a5c230347c541a01",children:".greenContainer.jsx-a5c230347c541a01{border-radius:40px;padding:20px 35px}@media screen and (max-width:600px){.greenContainer.jsx-a5c230347c541a01{border-radius:0px;padding:10px}}"}),(0,i.jsxs)("div",{style:{backgroundImage:"url(".concat((0,x.K6)(null==e||null==(m=e.MATH_PAGE_STATIC_DATA)?void 0:m.english_orange_background_image,400),")"),backgroundSize:"contain",backgroundRepeat:"repeat-x"},className:"jsx-a5c230347c541a01 greenContainer",children:[(0,i.jsx)(b,{heading:null==a?void 0:a.headingText,headingType:null==a?void 0:a.headingType,schema:{"@context":"https://schema.org","@type":"ItemList",itemListElement:P},classes:c(),teacherImage:null==e||null==(v=e.MATH_PAGE_STATIC_DATA)?void 0:v.greenline_teacher_image}),(0,i.jsx)("div",{style:{display:"flex",gap:"20px",overflow:"scroll"},className:"jsx-a5c230347c541a01",children:null==a||null==(_=a.topicCards)?void 0:_.map(e=>(0,i.jsx)(E,{topic:null==e?void 0:e.topic,shortDescription:null==e?void 0:e.shortDescription,count_topic:null==e?void 0:e.count_topic,count_learner:null==e?void 0:e.count_learner,url:"".concat(null==e?void 0:e.url),classes:c()}))})]})]})}})(a)}),!l&&p&&!g&&(null==(r=e.worksheetsData)?void 0:r.length)>0&&(0,i.jsx)("div",{id:"download-worksheets",className:"jsx-1d77aa551b642991",children:(0,i.jsx)(D,{classes:c(),data:e.worksheetsData||[]})})]},o)})})(),(null==ea?void 0:ea.author_id)!==0&&(0,i.jsx)(C,{author:null==ea?void 0:ea.author,deviceType:e.deviceType,classes:c()})]}),(0,i.jsx)("div",{style:{minWidth:"25vw",width:"25vw"},className:"jsx-1d77aa551b642991 rightContainer",children:(0,i.jsx)("div",{onClick:()=>{eo&&ed(!1),"undefined"!=typeof document&&(document.body.style.overflow="auto")},className:"jsx-1d77aa551b642991 "+"".concat(eo?"overlayActive":""),children:(0,i.jsx)("div",{className:"jsx-1d77aa551b642991 "+"rightFixedForm ".concat(eo?"centerForm":""," formCont"),children:Z&&(0,i.jsx)(y,{src:"".concat(eg),loadingDuration:1200,height:"90vh",className:"iframeParent"})})})})]}),(0,i.jsx)(P,{deviceType:e.deviceType,classes:c(),categoryType:N})]})]})}}},e=>{e.O(0,[54587,38562,39788,6882,6120,90636,46593,38792],()=>e(e.s=26446)),_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.