PageSourceSearch

https://www.testgorilla.com/_next/static/chunks/pages/[...slug]-2c008e5123223cdb.js

js testgorilla.com collected 2026-10-02 02:21:44 UTC 27,035 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2203],{24390:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>eF,default:()=>eO});var i=n(37876),o=n(43081),l=n(89161),a=n(89099),r=n(12796),s=n(29333),d=n(68868),c=n(80427),u=n(63002),p=n(26574),m=n(82368);(0,c.Ay)(m.A).withConfig({componentId:"sc-59e53081-0"})(["row-gap:24px;@media (min-width:","){row-gap:16px;}"],e=>e.theme.breakpointLg);let g=(0,c.Ay)(p.f_).withConfig({componentId:"sc-59e53081-1"})(["text-align:center;@media (min-width:","){text-align:left;grid-column:1/-1;}"],e=>e.theme.breakpointLg),x=c.Ay.div.withConfig({componentId:"sc-59e53081-2"})(["display:flex;flex-direction:column;"]);c.Ay.div.withConfig({componentId:"sc-59e53081-3"})(["@media (min-width:","){grid-column:2/5;}"],e=>e.theme.breakpointLg),c.Ay.div.withConfig({componentId:"sc-59e53081-4"})(["margin-bottom:32px;"]),c.Ay.div.withConfig({componentId:"sc-59e53081-5"})(["display:flex;align-items:center;column-gap:12px;padding:12px 0px;:not(:last-child){border-bottom:1px solid var(--neutral100);}svg{width:24px;height:24px;flex-shrink:0;}div{"," span{font-weight:500;}}@media (min-width:","){padding:16px 0px;}"],p.Cs,e=>e.theme.breakpointLg);let h=c.Ay.div.withConfig({componentId:"sc-59e53081-6"})(["@media (min-width:","){grid-column:6/12;align-self:center;padding-left:40px;}"],e=>e.theme.breakpointLg),f=c.Ay.div.withConfig({componentId:"sc-59e53081-7"})(["height:1px;width:100%;margin-top:32px;margin-bottom:24px;background-color:var(--neutral200);"]),v=(0,c.Ay)(u.A).withConfig({componentId:"sc-59e53081-8"})(["p{color:var(--neutral400);}h2{"," margin-bottom:16px;:not(:first-child){margin-top:24px;}}ul{display:flex;flex-wrap:wrap;justify-content:space-between;li{width:100%;padding-left:32px;color:var(--neutral400);&:before{background-color:transparent;background-image:url('/assets/images/check-icon.svg');width:24px;height:24px;top:0px;left:0px;margin-top:0px;}}@media (min-width:","){li{width:calc(50% - 12px);}}}"],p.Yr,e=>e.theme.breakpointLg),w=c.Ay.div.withConfig({componentId:"sc-59e53081-9"})(["display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 8px;"]),y=c.Ay.span.withConfig({componentId:"sc-59e53081-10"})(["display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:16px;background:var(--accent100);color:var(--accent600);"," font-weight:600;svg{width:14px;height:14px;flex-shrink:0;}"],p.A1),b=c.Ay.div.withConfig({componentId:"sc-59e53081-11"})(["display:flex;align-items:center;flex-direction:column;row-gap:12px;margin-bottom:32px;> div,a,button{width:100%;}@media (min-width:","){flex-direction:row;justify-content:flex-end;column-gap:16px;margin-bottom:32px;> div{width:initial;}}"],e=>e.theme.breakpointLg);var j=n(14232),A=n(63185);function C(e){let{previewUrl:t,globalData:n,isProgrammingTest:o}=e;(0,j.useState)(!1);let[,l]=(0,j.useState)(null);return(0,j.useState)([]),(0,j.useEffect)(()=>{async function e(){var e,n,i,o,a;let r=null==(i=t.split("?"))||null==(n=i[0])||null==(e=n.split("https://app.testgorilla.com/preview/"))?void 0:e[1],s=new URLSearchParams(null==t||null==(o=t.split("?"))?void 0:o[1]);if(!r)return;let d=await fetch("/api/test-preview-questions/".concat(r,"?language=").concat(null!=(a=s.get("language"))?a:"en")),c=await d.json();l({...c,preview_questions:c.preview_questions.map(e=>({...e,type:"truefalse"===e.type?"multiple-choice":e.type}))})}t&&e()},[t]),(0,i.jsx)(i.Fragment,{children:t&&(0,i.jsx)(d.z9,{dataTgo:"preview-questions",href:t,type:"secondary",children:(0,A.A)(n,o?"preview-question":"preview-questions")})})}var I=n(17717),k=n(64195);let T=e=>{var t,n;let{document:o,testGlobalData:l,globalData:a}=e,s=(0,r.I)(o),c=(0,r.w)({entryId:null==s||null==(t=s.sys)?void 0:t.id}),u=null==s?void 0:s.heroText,p=null==s?void 0:s.previewUrl,m=null==s?void 0:s.testType,g=null==l?void 0:l.heroLink,j=(null==s?void 0:s.format)===k.$q,A=null==l?void 0:l.aiInterviewTrialCta,T=(null==m?void 0:m.slugEn)==="programming-skills-tests",S=(null!=(n=null==s?void 0:s.aiPillars)?n:[]).filter(Boolean),_=S.length?(0,i.jsx)(w,{"data-tgo":"ai-fluency-pillar-chips",children:S.map(e=>(0,i.jsxs)(y,{children:[(0,i.jsx)(I.EQ,{}),e]},e))},"ai-pillar-chips"):null;return(0,i.jsx)(x,{id:"test-hero-wrapper",children:(0,i.jsxs)(h,{"data-tgo":"test-details",children:[(0,i.jsxs)(b,{children:[g&&(0,i.jsx)(d.z9,{link:g}),j?A&&(0,i.jsx)(d.z9,{link:A,type:"secondary"}):p?(0,i.jsx)(C,{globalData:a,isProgrammingTest:T,previewUrl:p}):null]}),(0,i.jsx)(v,{...c({fieldId:"heroText"}),text:u,modifyRichTextRenderer:function(e){if(!Array.isArray(e))return e;let t=!1,n=!1;return e.flatMap((e,o)=>{let l=[e];return!n&&"p"===e.type&&(n=!0,_&&l.push(_)),t||"ul"!==e.type||(t=!0,l.push((0,i.jsx)(f,{},"divider-".concat(o)))),l})}})]})})};var S=n(63109),_=n(57707),L=n(86775),E=n(67939),D=n(90257),q=n(50765);let P=(0,c.Ay)(m.A).withConfig({componentId:"sc-359941dd-0"})(["position:relative;padding-left:0px;padding-right:0px;@media (min-width:","){padding-left:64px;padding-right:64px;}@media (min-width:","){padding-left:120px;padding-right:120px;}"],e=>e.theme.breakpointLg,e=>e.theme.breakpointXl),R=(0,c.Ay)(p.mM).withConfig({componentId:"sc-359941dd-1"})(["padding-left:24px;padding-right:24px;text-align:center;@media (min-width:","){padding:0px;text-align:left;}"],e=>e.theme.breakpointLg),z=c.Ay.div.withConfig({componentId:"sc-359941dd-2"})(["position:relative;cursor:grab;&:active{cursor:grabbing;}&:hover{button{opacity:1;}}"]),B=c.Ay.div.withConfig({componentId:"sc-359941dd-3"})(["display:flex;align-items:stretch;column-gap:16px;padding-top:32px;padding-bottom:16px;> div{flex:0 0 calc(100% - 80px);}@media (min-width:","){grid-column-gap:24px;> div{flex:0 0 calc((100% / 4) - 18px);}}
1"],e=>e.theme.breakpointLg),N=c.Ay.div.withConfig({componentId:"sc-359941dd-4"})(["padding-left:24px;padding-right:24px;@media (min-width:","){padding:0px;}"],e=>e.theme.breakpointLg),F=e=>{let{relatedTests:t,globalData:n}=e,o="light-mode",l=null==t?void 0:t.length,[a,r]=(0,j.useState)(0),[s,d]=(0,L.A)({slidesToScroll:1,breakpoints:{"(min-width: 1000px)":{slidesToScroll:4,align:l>=4?"end":"start"}}}),c=(0,j.useCallback)(()=>{d&&d.selectedScrollSnap()!==l&&r(d.selectedScrollSnap())},[d,l]);(0,j.useEffect)(()=>{d&&(c(),d.on("select",c))},[d,c]);let u=(0,j.useCallback)(()=>{d&&d.scrollPrev()},[d]),p=(0,j.useCallback)(()=>{d&&d.scrollNext()},[d]),m=(0,j.useCallback)(e=>{d&&d.scrollTo(e)},[d]),g=(0,D.E)(d);return(null==t?void 0:t.length)>0?(0,i.jsx)(q.A,{colorMode:o,className:o,"data-tgo":"related-tests-section",children:(0,i.jsxs)(P,{children:[(0,i.jsx)(R,{children:(0,A.A)(n,"related-tests")}),t&&(0,i.jsx)(z,{ref:s,children:(0,i.jsx)(B,{children:null==t?void 0:t.map((e,t)=>e&&(0,i.jsx)(E.Ay,{data:e,globalData:n},t))})}),(0,i.jsx)(N,{children:(0,i.jsx)(D.A,{...g,selectedIndex:a,goTo:m,scrollPrev:u,scrollNext:p})})]})}):null};var O=n(51956),M=n(42723),U=n.n(M),Y=n(38412),J=n(85057),G=n(58943);let W=(0,c.Ay)(q.A).withConfig({componentId:"sc-54fe3169-0"})(["overflow:visible;.accordion-custom-container{padding:0px;}.accordion-buttons-wrapper{display:none;}.accordion-top-container{@media (min-width:","){grid-column:1/-1;}}.test-page-hero-title{margin-top:16px;text-align:left;}.media-and-text-custom-container{padding:0px;}.media-and-text-outer-container{overflow:visible;}.media-and-text-image-wrapper{position:sticky;top:calc(98px + 16px);}"],e=>e.theme.breakpointLg),X=(0,c.Ay)(m.A).withConfig({componentId:"sc-54fe3169-1"})(["@media (min-width:","){padding-bottom:0px;}"],e=>e.theme.breakpointXl);c.Ay.div.withConfig({componentId:"sc-54fe3169-2"})(["display:flex;align-items:flex-start;gap:4rem;position:relative;margin-top:64px;flex-direction:column;@media (min-width:","){flex-direction:row;}"],e=>e.theme.breakpointLg);let $=c.Ay.div.withConfig({componentId:"sc-54fe3169-3"})(["display:flex;flex-direction:column;gap:24px;margin-top:32px;align-items:stretch;background-color:var(--neutralWhite);border-radius:16px;padding:24px;@media (min-width:","){flex-direction:row;align-items:flex-start;gap:40px;padding:40px;}"],e=>e.theme.breakpointLg),Z=c.Ay.div.withConfig({componentId:"sc-54fe3169-4"})(["display:flex;flex-direction:column;gap:12px;flex-shrink:0;@media (min-width:","){width:200px;}"],e=>e.theme.breakpointLg),K=c.Ay.div.withConfig({componentId:"sc-54fe3169-5"})(["flex-grow:1;width:100%;min-width:0;"]),H=c.Ay.div.withConfig({componentId:"sc-54fe3169-6"})(["width:100%;flex-grow:1;display:flex;flex-direction:column;gap:64px;margin-top:64px;@media (min-width:","){}.carousel-outer-container{width:calc(100% - 56px);position:absolute;top:var(--carousel-outer-container-top);}.carousel-top-container{h2{font-size:45px;}}"],e=>e.theme.breakpointLg);c.Ay.aside.withConfig({componentId:"sc-54fe3169-7"})(["width:100%;flex-shrink:0;box-sizing:border-box;@media (min-width:","){max-width:243px;position:sticky;z-index:2;top:calc(98px + 16px);}"],e=>e.theme.breakpointLg);let Q=c.Ay.div.withConfig({componentId:"sc-54fe3169-8"})(["pointer-events:none;padding:5px 8px;border-radius:16px;box-sizing:border-box;border:none;display:flex;align-items:center;width:fit-content;background:",";gap:6px;"," svg{width:16px;height:16px;flex-shrink:0;}"],e=>e.color,p.A1);c.Ay.div.withConfig({componentId:"sc-54fe3169-9"})(["display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;"]);let V=(0,c.Ay)(Q).withConfig({componentId:"sc-54fe3169-10"})(["position:relative;pointer-events:auto;cursor:default;&:hover > span[data-languages-tooltip]{opacity:1;visibility:visible;}"]),ee=c.Ay.span.withConfig({componentId:"sc-54fe3169-11"})(["position:absolute;bottom:calc(100% + 8px);left:0;z-index:5;width:max-content;max-width:240px;padding:8px 10px;border-radius:8px;background:#1c1c1c;color:var(--neutralWhite);font-size:12px;font-weight:400;line-height:1.4;white-space:normal;opacity:0;visibility:hidden;transition:opacity 0.15s ease;pointer-events:none;"]);(0,c.Ay)(G.P.h1).withConfig({componentId:"sc-54fe3169-12"})(["font-weight:700;font-size:22px;line-height:26.4px;letter-spacing:-2%;margin-bottom:32px;"]),c.Ay.div.withConfig({componentId:"sc-54fe3169-13"})(["gap:16px;display:flex;flex-direction:column;margin-top:32px;button{width:100%;svg{margin-right:8px;}}"]),c.Ay.h4.withConfig({componentId:"sc-54fe3169-14"})([""," font-weight:500;"],p.Uc);let et=c.Ay.p.withConfig({componentId:"sc-54fe3169-15"})([""," margin-bottom:16px;color:var(--neutral400);"],p.Uc),en=c.Ay.h4.withConfig({componentId:"sc-54fe3169-16"})([""," margin-bottom:16px;"],p.y6),ei=c.Ay.div.withConfig({componentId:"sc-54fe3169-17"})(["display:flex;flex-direction:column;gap:24px;align-items:flex-start;margin-top:32px;@media (min-width:","){flex-direction:row;}"],e=>e.theme.breakpointLg),eo=c.Ay.div.withConfig({componentId:"sc-54fe3169-18"})(["flex-grow:1;"]),el=(0,c.Ay)(J.A).withConfig({componentId:"sc-54fe3169-19"})(["width:140px;height:140px;flex-shrink:0;padding-top:32px;@media (max-width:","){width:100%;height:100%;max-width:295px;max-height:295px;padding-top:0px;}img{border-radius:100%;}"],e=>e.theme.breakpointLg);var ea=n(54199),er=n(45465),es=n(96318),ed=n(21393),ec=n(77341);function eu(e){var t,n,o,l,s,d;let{children:c,globalData:u,document:p}=e,m=(0,r.I)(p),x=(0,r.w)({entryId:null==m||null==(t=m.sys)?void 0:t.id}),{locale:h}=(0,a.useRouter)(),f=null==m?void 0:m.testType,v=f?(0,ea.A)(f,h,u):"",w=null==m||null==(n=m.testType)?void 0:n.name,y=null==m?void 0:m.title,[b,C]=(0,j.use
1State)(0),[I,...T]=j.Children.toArray(c),S=null==m?void 0:m.format,_=null===es.locales||void 0===es.locales||null==(o=es.locales.find(e=>e.locale===h))?void 0:o.testLibraryPath,L=(0,k.$v)(S,_),E=S===k.$q?"AI interviews":S===k.aS?"Job simulations":(0,A.A)(u,"tests"),D=[{label:(0,A.A)(u,"home"),href:"/"},{label:E,href:"/".concat(L)},...(0,k.$B)(S)||!w?[]:[{label:w,href:S===k.$q?"/".concat(L,"/").concat(null==m||null==(l=m.testType)?void 0:l.slug):v}],{label:y,href:""}];function q(){var e,t,n,i;let o=window.document.querySelector("#test-library-page-accordion-container"),l=window.document.querySelector("#test-hero-wrapper"),a=null!=(n=null==o||null==(e=o.getBoundingClientRect())?void 0:e.height)?n:0;C(a+(null!=(i=null==l||null==(t=l.getBoundingClientRect())?void 0:t.height)?i:0)+256)}return(0,j.useEffect)(()=>{let e=()=>{setTimeout(()=>{q()},50)},t=window.document.querySelector("#test-hero-wrapper"),n=window.document.querySelector("#test-library-page-accordion-container");return null==t||t.addEventListener("click",e),null==n||n.addEventListener("click",e),q(),function(){null==t||t.removeEventListener("click",e),null==n||n.removeEventListener("click",e)}},[b]),(0,i.jsx)(W,{hideCarousel:0===b,style:{"--carousel-outer-container-top":"".concat(b,"px"),"--carousel-outer-container-height":"".concat(null==(d=window.document.querySelector("#carousel-outer-container"))||null==(s=d.getBoundingClientRect())?void 0:s.height,"px")},children:(0,i.jsxs)(X,{children:[(0,i.jsx)(er.A,{items:D}),(0,i.jsx)(g,{as:"h1",className:"test-page-hero-title",...x({fieldId:"title"}),children:y}),(0,i.jsxs)($,{children:[(0,i.jsx)(ep,{document:m}),(0,i.jsx)(K,{children:I})]}),(0,i.jsx)(H,{children:T})]})})}function ep(e){var t,n;let{document:o}=e,l=null==o?void 0:o.minutesToComplete,a=null==o||null==(t=o.languages)?void 0:t.split(",").map(e=>e.trim()),r=(null==o?void 0:o.isAiFluency)||null!=o&&!!o.title&&ec.ZR.has((0,ed.f)(o.title));return(0,i.jsxs)(Z,{"data-tgo":"test-summary-container",children:[(null==o||null==(n=o.testType)?void 0:n.name)&&(0,i.jsxs)(Q,{color:"var(--accent200)","data-tgo":"test-summary-test-type",children:[(0,i.jsx)(I.dI,{}),o.testType.name]}),"number"==typeof l&&(0,i.jsxs)(Q,{color:"var(--blue10)","data-tgo":"test-summary-minutes-to-complete",children:[(0,i.jsx)(E.b9,{}),l," min"]}),"number"==typeof(null==o?void 0:o.questionCount)&&(0,i.jsxs)(Q,{color:"var(--red10)","data-tgo":"test-summary-questions",children:[(0,i.jsx)(I.mZ,{}),o.questionCount," questions"]}),(null==o?void 0:o.level)&&(0,i.jsxs)(Q,{color:"var(--red10)","data-tgo":"test-summary-level",children:[(0,i.jsx)(I.ob,{}),o.level]}),a&&a.length>0&&(0,i.jsxs)(V,{color:"var(--teal10)","data-tgo":"test-summary-languages",children:[(0,i.jsx)(I.KU,{}),a[0],a.length>1&&" +".concat(a.length-1),a.length>1&&(0,i.jsx)(ee,{"data-languages-tooltip":!0,children:a.join(", ")})]}),"number"==typeof(null==o?void 0:o.rating)&&(0,i.jsxs)(Q,{color:"var(--teal10)","data-tgo":"test-summary-rating",children:[(0,i.jsx)(I.tk,{}),o.rating," Rating"]}),r&&(0,i.jsxs)(Q,{color:"var(--accent100)","data-tgo":"test-summary-ai-fluency",children:[(0,i.jsx)(I.EQ,{}),"AI fluency"]})]})}var em=n(20166);let eg=(0,c.Ay)(d.z9).withConfig({componentId:"sc-8a06e91a-0"})(["a{background:transparent;border-color:transparent;padding:0px;color:var(--accent500);text-decoration:underline;&:hover{color:var(--accent600);background:transparent;border-color:transparent;}}"]),ex=c.Ay.div.withConfig({componentId:"sc-8a06e91a-1"})(["width:100%;margin-top:32px;display:flex;justify-content:flex-start;"]);var eh=n(9990),ef=n(98477);function ev(e){let{testGlobalData:t,globalData:n}
1=e,[o,l]=(0,j.useState)(!1),a=(0,j.useRef)(null),[r,s]=(0,j.useState)({top:0,left:0});function d(){return window.document.querySelector("#test-library-customer-carousel")}function c(){let e=a.current;if(!e)return;let t=e.getBoundingClientRect();s({top:t.top+window.scrollY,left:t.left+window.scrollX})}let u=()=>{setTimeout(()=>{c()},50)};(0,j.useEffect)(()=>{let e=window.document.querySelector("#test-hero-wrapper"),t=window.document.querySelector("#test-library-page-accordion-container");return null==e||e.addEventListener("click",u),null==t||t.addEventListener("click",u),c(),window.addEventListener("resize",u),window.addEventListener("scroll",u),function(){null==e||e.removeEventListener("click",u),null==t||t.removeEventListener("click",u),window.removeEventListener("resize",u),window.removeEventListener("scroll",u)}},[]);let p=(null==t?void 0:t.customersCarousel)&&o&&0!==r.top&&0!==r.left?(0,i.jsx)(eh.A,{data:null==t?void 0:t.customersCarousel,globalData:n}):null;return((0,j.useEffect)(()=>{l(!0)},[]),(0,j.useEffect)(()=>{let e=d();e.querySelector(".carousel-custom-container"),0!==r.top&&0!==r.left&&(e.style.position="absolute",e.style.backgroundColor="red",e.style.top="".concat(r.top,"px"),e.style.left="".concat(r.left,"px"),e.style.transition="top 0.25s ease-in-out")},[r]),o)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{ref:function(e){a.current=e,u()},style:{width:"100%",height:"".concat(function(){var e,t;let n=window.document.querySelector("#test-library-customer-carousel");return null!=(t=null==n||null==(e=n.getBoundingClientRect())?void 0:e.height)?t:0}(),"px"),background:"transparent"}}),o&&d()?(0,ef.createPortal)(p,d()):null]}):null}let ew={about:"page-accordion-item-id-about-test",expert:"page-accordion-item-id-about-expert",science:"page-accordion-item-id-about-science"};function ey(e){var t,n,l,d,c,u,p,m,g,x,h,f,v,w,y,b;let{pageType:C,document:I,relatedTests:k,globalData:L,testGlobalData:E,allTestTypes:D,preview:q}=e,P=(0,r.I)(I),{locale:R}=(0,a.useRouter)();(0,j.useEffect)(()=>{if("test"===C&&1){let e={event:"view_item",value:1,items:[{id:P.slug,google_business_vertical:"custom"}],gtm:{uniqueEventId:9}};U().dataLayer({dataLayer:e})}},[P.slug,C]);let z={_id:"test-library-page-accordion",sys:{id:"test-library-page-accordion",spaceId:"",environmentId:""},contentfulMetadata:{tags:[],concepts:[]},pageAccordionItemsCollection:{items:[...(null==P?void 0:P.text2)||(null==P?void 0:P.text)?[{sys:{id:ew.about,spaceId:"",environmentId:""},_id:"",contentfulMetadata:{tags:[],concepts:[]},title:(0,A.A)(L,"about-this-test"),text:(null==P?void 0:P.text2)||(null==P?void 0:P.text)}]:[],...(null==P?void 0:P.expertText2)||(null==P?void 0:P.expertText)?[{sys:{id:ew.expert,spaceId:"",environmentId:""},_id:"",contentfulMetadata:{tags:[],concepts:[]},defaultOpen:!1,title:(0,A.A)(L,"the-experts-who-created-it"),text:(null==P?void 0:P.expertText2)||(null==P?void 0:P.expertText)}]:[],...(null==P||null==(t=P.science)?void 0:t.text)||(null==P||null==(n=P.science)?void 0:n.text)?[{sys:{id:ew.science,spaceId:"",environmentId:""},_id:"",contentfulMetadata:{tags:[],concepts:[]},defaultOpen:!1,title:(0,A.A)(L,"explore-the-test-science"),text:null==P||null==(l=P.science)?void 0:l.text}]:[]],limit:1,skip:1,total:1}};return(0,i.jsx)(o.A,{globalData:L,document:P,preview:q,children:"test"===C?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(eu,{document:P,testGlobalData:E,globalData:L,children:[(0,i.jsx)(T,{document:P,testGlobalData:E,globalData:L}),(0,i.jsx)(em.Ay,{data:z,nested:!0,renderPageAccordionItem:function(e){let t=e=>(0,i.jsx)(em.IR,{text:e,renderNode:{[s.nA.TABLE]:(e,t)=>(0,i.jsx)(em.KR,{children:(0,i.jsx)("table",{children:t})})}});switch(e.sys.id){case ew.about:return t(null==e?void 0:e.text);case ew.expert:return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(en,{children:(0,A.A)(L,"made-by-a-subject-expert")}),(0,i.jsxs)(et,{children:[(0,A.A)(L,"tests-are-created-by-subject-matter-experts"),(0,A.A)(L,"tests-before-being-published")]}),(0,i.jsx)(et,{children:(0,A.A)(L,"our-feedback-mechanisms")}),(0,i.jsxs)(ei,{children:[(0,i.jsx)(el,{image:null==P?void 0:P.expertImage}),(0,i.jsx)(eo,{children:t(null==e?void 0:e.text)})]})]});case ew.science:return(0,i.jsxs)(j.Fragment,{children:[t(null==e?void 0:e.text),(null==P?void 0:P.factsSheetLink)?(0,i.jsx)(ex,{children:(0,i.jsx)(eg,{link:null==P?void 0:P.factsSheetLink})}):null]});default:return null}}}),(0,i.jsx)(ev,{testGlobalData:E,globalData:L}),(null==E||null==(c=E.accordion1)||null==(d=c.accordionItemsCollection)?void 0:d.items)&&(null==E||null==(p=E.accordion1)||null==(u=p.accordionItemsCollection.items)?void 0:u.length)>0?(0,i.jsx)(_.A,{data:null==E?void 0:E.accordion1}
1):null,(null==E||null==(g=E.accordion2)||null==(m=g.accordionItemsCollection)?void 0:m.items)&&(null==E||null==(h=E.accordion2)||null==(x=h.accordionItemsCollection.items)?void 0:x.length)>0?(0,i.jsx)(_.A,{data:null==E?void 0:E.accordion2}):null,(null==P?void 0:P.section1Text)&&(0,i.jsx)(S.A,{data:{text:null==P?void 0:P.section1Text,image:null==P?void 0:P.section1Image,imageSize:"small"}}),(null==P?void 0:P.section2Text)&&(0,i.jsx)(S.A,{data:{text:null==P?void 0:P.section2Text,image:null==P?void 0:P.section2Image,textPosition:"left",imageSize:"small",colorTheme:"lightTeal"}}),(null==P?void 0:P.section3Text)&&(0,i.jsx)(S.A,{data:{text:null==P?void 0:P.section3Text,image:null==P?void 0:P.section3Image,imageSize:"small",colorTheme:"lightGrey"}})]}),(null==E||null==(v=E.faqs)||null==(f=v.accordionItemsCollection)?void 0:f.items)&&(null==E||null==(y=E.faqs)||null==(w=y.accordionItemsCollection.items)?void 0:w.length)>0?(0,i.jsx)(_.A,{data:null==E?void 0:E.faqs}):null,"en"===R?(0,i.jsx)(S.A,{data:{...null==E?void 0:E.report},customTextHtml:"\n          <h2>View a sample report</h2>\n          <p>The ".concat(null==P?void 0:P.title," test will be included in a PDF report along with the other tests from your assessment. You can easily download and share this report with colleagues and candidates.</p>\n          ")}):null,(0,i.jsx)(F,{relatedTests:k,globalData:L})]}):(0,i.jsx)(Y.iJ,{data:{...P,title:null==L?void 0:L.jobRolePageTitle},additionalData:{allTests:null==P||null==(b=P.testsCollection)?void 0:b.items,allTestTypes:D},globalData:L,pageType:C,children:(0,i.jsx)(O.A,{})})})}var eb=function(e){return e.CASE_STUDY="caseStudy",e.TEST="test",e.JOB_ROLE="jobRole",e.TEST_TYPE="testType",e}({});let ej=e=>{var t,n;let{document:a,allTests:r,allTestTypes:s,globalData:d,preview:c,additionalData:u,blogSettings:p}=e,m=null!=(n=null==a||null==(t=a.componentsCollection)?void 0:t.items)?n:[];return(0,i.jsxs)(o.A,{globalData:d,document:a,preview:c,children:[(null==m?void 0:m.length)>0&&(0,i.jsx)(l.A,{components:m,additionalData:u,globalData:d,document:a,blogSettings:p}),(0,i.jsx)(Y.iJ,{additionalData:{allTests:r,allTestTypes:s},globalData:d,data:a,isTestTypePage:!0,children:(0,i.jsx)(O.A,{})})]})};var eA=n(36086);let eC=(0,c.Ay)("div").withConfig({componentId:"sc-ebe7296b-0"})({display:"flex",alignItems:"center",marginBottom:"40px",justifyContent:"space-between",[eA.m9.minWidth.Lg]:{gridColumn:"3/11"}}),eI=(0,c.Ay)("div").withConfig({componentId:"sc-ebe7296b-1"})({width:"14px",height:"14px",borderRadius:"50%",backgroundColor:"var(--accent500)",marginRight:"14px"}),ek=(0,c.Ay)("p").withConfig({componentId:"sc-ebe7296b-2"})({display:"flex",alignItems:"center"}),eT=c.Ay.span.withConfig({componentId:"sc-ebe7296b-3"})([""," text-transform:uppercase;font-weight:700;"],p.Cs),eS=(0,c.Ay)("div").withConfig({componentId:"sc-ebe7296b-4"})({display:"flex",alignItems:"center",gap:"16px"}),e_=(0,c.Ay)("div").withConfig({componentId:"sc-ebe7296b-5"})({display:"flex",alignItems:"center",gap:"8px"});var eL=n(33124);function eE(e){var t;let{globalData:n,document:o}=e,l=null==o?void 0:o.title,r=null==o?void 0:o.slug,{locale:s}=(0,a.useRouter)(),d=null===es.locales||void 0===es.locales||null==(t=es.locales.find(e=>{let{locale:t}=e;return t===s}))?void 0:t.caseStudiesPath,{twitter:c,linkedin:u,facebook:p}=(0,eL.N)({path:d,slug:r,title:l});return(0,i.jsxs)(eC,{children:[(null==o?void 0:o.readDuration)?(0,i.jsxs)(ek,{children:[(0,i.jsx)(eI,{})," ",null==o?void 0:o.readDuration]}):(0,i.jsx)("div",{}),(0,i.jsxs)(eS,{children:[(0,i.jsx)(eT,{children:(0,A.A)(n,"share")}),(0,i.jsxs)(e_,{children:[(0,i.jsx)("a",{target:"_blank",href:p,children:(0,i.jsx)(I.ik,{size:"40",color:"#D410AA"})}),(0,i.jsx)("a",{target:"_blank",href:c,children:(0,i.jsx)(I.Fi,{size:"40",color:"#D410AA"})}),(0,i.jsx)("a",{target:"_blank",href:u,children:(0,i.jsx)(I.ky,{size:"40",color:"#D410AA"})})]})]})]})}var eD=n(41532);function eq(e){var t;let{document:n,globalData:o,component:l}=e,a=null==l?void 0:l.text,r=null==l?void 0:l.dataTgo,s=null==l||null==(t=l.sys)?void 0:t.id,d="light-mode";return(0,i.jsx)(q.A,{colorMode:d,className:d,...r&&{"data-tgo":r},children:(0,i.jsxs)(m.A,{children:[(0,i.jsx)(eE,{globalData:o,document:n}),(0,i.jsx)(eD.h,{id:"".concat(s,"-case-study-rich-text"),text:a})]})})}var eP=n(75128);function eR(e){var t,n;let{document:o,globalData:l}=e;return(0,i.jsx)(q.A,{children:(0,i.jsx)(m.A,{children:(0,i.jsx)(eP.A,{titleKey:"related-case-studies",items:null!=(n=null==o||null==(t=o.relatedCaseStudiesCollection)?void 0:t.items)?n:[],globalData:l})})})}var ez=n(12869);function eB(e){let{document:t,globalData:n,preview:a,blogSettings:r,...s}=e;if(null==t?void 0:t.isPage){var d,c;return(0,i.jsxs)(o.A,{globalData:n,document:t,preview:a,children:[(0,i.jsx)(l.A,{components:null!=(c=null==t||null==(d=t.componentsCollection)?void 0:d.items)?c:[],globalData:n,document:t,additionalData:{},blogSettings:r,renderCustomComponent:e=>{let{component:o}=e;return(null==o?void 0:o.__typename)==="ComponentTextWithInlineEmbeds"?(0,i.jsx)(eq,{component:o,globalData:n,document:t}):null}}),(0,i.jsx)(eR,{document:t,globalData:n})]})}return(0,i.jsx)(ez.default,{pageType:"blogPost",latestBlogPosts:[],allBlogCategories:[],globalData:n,blogSettings:r,preview:a,document:t,...s})}var eN=n(5083),eF=!0;function eO(e){var t,n;let{preview:r,document:s,pageType:d,globalData:c,additionalData:u,blogSettings:p,params:m,...g}=e,x=null!=(n=null==s||null==(t=s.componentsCollection)?void 0:t.items)?n:[],h=(0,a.useRouter)(),f="/video-demo/"===h.asPath;(0,j.useEffect)(()=>{f&&"demo_form"!==h.query.from&&h.replace("/get-a-demo")},[h,f,h.query]);let v=!s;(0,j.useEffect)(()=>{v&&window.location.replace(window.location.pathname+window.location.search)},[v]);let{asPath:w,query:y}=(0,a.useRouter)(),b=(0,j.useRef)(!1);if((0,j.useEffect)(()=>
1{if(!(0,eN.t_)(w)||y.from!==eN.M||b.current)return;b.current=!0,U().dataLayer({dataLayer:{event:"demo_video_page_view",demo_conversion_event:eN.kZ}});let e=null;try{e=localStorage.getItem("tgo_demo_email")}catch(e){console.error("Failed to read email from localStorage:",e)}e&&fetch("/api/custom-hubspot-event",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,conversionType:eN.kZ})}).catch(e=>{console.error("Failed to update HubSpot contact:",e)})},[w,y.from]),(0,j.useEffect)(()=>{window.location.pathname.includes("demo-signup")&&(window.alert=function(e){console.log("Blocked alert:",e)})},[]),(0,j.useEffect)(()=>{h.asPath.startsWith("/thank-you")&&(U().dataLayer({dataLayer:{event:"demo_calendar_meeting_booked",meeting_source:"hubspot_redirect"}}),U().dataLayer({dataLayer:{event:"hubspot-meeting-booked"}}))},[h.asPath]),v)return null;switch(d){case eb.CASE_STUDY:return(0,i.jsx)(eB,{preview:r,globalData:c,document:s,blogSettings:p,...g});case eb.TEST:case eb.JOB_ROLE:return(0,i.jsx)(ey,{...e});case eb.TEST_TYPE:return(0,i.jsx)(ej,{...e});default:return(0,i.jsx)(o.A,{globalData:c,document:s,preview:r,children:(0,i.jsx)(l.A,{components:x,additionalData:u,globalData:c,document:s,blogSettings:p,params:m})})}}},24608:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...slug]",function(){return n(24390)}])}},e=>{e.O(0,[1394,8184,3088,5786,2135,5189,2862,3081,4640,3109,7013,4440,6096,4506,1542,2869,636,6593,8792],()=>e(e.s=24608)),_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.