PageSourceSearch

https://www.practiceaptitudetests.com/_app/js/Programme-xJ7_01p7.js

js practiceaptitudetests.com collected 2026-09-25 14:03:03 UTC 24,247 bytes, 1 lines download raw bytes

1import{_ as T,M as B,g as n,e as t,t as i,c as g,k as p,f as k,a as r,m as x,b as f,x as L,y as D,u as y,N as z,O as w,P as I,s as C,Q as M,R as q,q as F,S as H,U as Y,V as G,F as b,i as P,z as v,A as N,n as O}from"./index-uXuo-Gt2.js";import{_ as V}from"./Button-bTrv4QBF.js";import{r as E,t as W}from"./exam_position-CqoDGZty.js";import{G as K}from"./Footer-UvdvCCyR.js";import{G as j}from"./GlobalHeader-DY8E9meM.js";import"./pat_logo_brand-kJc0iAGQ.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"52267ebcb3101fb9139bbfbd0c071d93bc329d5e"};var a=new s.Error().stack;a&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[a]="9af0d869-7a6a-4906-bfdd-0efa6a49b18c",s._sentryDebugIdIdentifier="sentry-dbid-9af0d869-7a6a-4906-bfdd-0efa6a49b18c")}catch{}})();const Q={components:{Button:V},props:{package:{type:String,default:null},exam:{type:Object,default:()=>{}}},computed:{...B({userProductsSlugs:"auth/productsSlugs",productBySlug:"products/productBySlug"}),isAssessmentCentre(){return this.package==="assessment-centre-guide"},isEtray(){return this.package==="e-tray"},isPersonality(){return this.package==="personality-tests"},classes(){return[{[this.$style.isPersonality]:this.isPersonality}]},name(){return{"assessment-centre-guide":"Assessment Centre Guide","e-tray":"E-tray"}[this.package]||null},upgradePath(){return"https://www.practiceaptitudetests.com/upgrade/"}},methods:{launchPersonalityTest(s){this.$router.push({name:"test",params:{exam_slug:s}})},canTakeExam(s){return s==="e-tray"?!0:this.userProductsSlugs.find(a=>this.productBySlug(a).package_slugs.includes(s))}}},Z={class:"flex flex-col"},J={class:"-my-2 py-2 overflow-x-auto sm:-mx-6 sm:px-6 lg:-mx-8 lg:px-8"},X={class:"-my-2 py-2 overflow-x-auto sm:-mx-6 sm:px-6 lg:-mx-8 lg:px-8"},$={class:"align-middle inline-block min-w-full shadow-lg overflow-hidden sm:rounded border-b border-gray-200"},ee={class:"min-w-full divide-y divide-gray-200"},te=t("thead",null,[t("tr",{class:"hidden md:table-row px-6 py-3 border-b border-gray-200 bg-gray-50 text-left text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider"},[t("th",{class:"px-6 py-3 border-b border-gray-200 bg-gray-50 text-left text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider"}," Name "),t("th",{class:"px-6 py-3 border-b border-gray-200 bg-gray-50 text-left text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider"})])],-1),se={class:"bg-white divide-y divide-gray-200"},ae={class:"py-4 px-6"},re={key:0},oe={key:1},ie={class:"text-right"},le={class:"py-4 px-6"};function ne(s,a,o,m,c,e){const u=k("Button");return r(),n("div",null,[t("div",Z,[t("div",J,[t("div",X,[t("div",$,[t("table",ee,[te,t("tbody",se,[t("tr",null,[t("td",null,[t("div",ae,[e.isPersonality?(r(),n("p",re,i(o.exam.name),1)):(r(),n("p",oe,i(e.name),1))])]),t("td",ie,[t("div",le,[e.isAssessmentCentre&&e.canTakeExam("assessment-centre-guide")?(r(),g(u,{key:0,label:"Download PDF",class:"text-center text-base px-4 sm:whitespace-no-wrap leading-4",href:"/_app/pdf/PAT_Assessment_Centre_Guide.pdf",target:"_blank"})):e.isAssessmentCentre&&!e.canTakeExam("assessment-centre-guide")?(r(),g(u,{key:1,href:e.upgradePath,class:"text-center text-base px-4 sm:whitespace-no-wrap text-accent uppercase font-medium",variant:"basic",label:"Upgrade"},null,8,["href"])):p("",!0),e.isEtray&&e.canTakeExam("e-tray")?(r(),g(u,{key:2,class:"text-center text-base px-4 sm:whitespace-no-wrap leading-4",label:"Take Test",target:"_blank",href:"https://etray.practiceaptitudetests.com"})):e.isEtray&&!e.canTakeExam("e-tray")?(r(),g(u,{key:3,href:e.upgradePath,class:"text-center text-base px-4 sm:whitespace-no-wrap text-accent uppercase font-medium",variant:"basic",label:"Upgrade"},null,8,["href"])):p("",!0),e.isPersonality?(r(),g(u,{key:4,class:"text-center text-base px-4 sm:whitespace-no-wrap leading-4",label:"Take Test",target:"_blank",onClick:a[0]||(a[0]=h=>e.launchPersonalityTest(o.exam.slug))})):p("",!0)])])])])])])])])])])}const ce=T(Q,[["render",ne]]),R="pat_history_pointer_dismissed",de={props:{show:{type:Boolean,default:!1}},data(){return{dismissed:window.localStorage.getItem(R)==="1"}},methods:{dismiss(){window.localStorage.setItem(R,"1"),this.dismissed=!0}}},me=s=>(L("data-v-74561186"),s=s(),D(),s),ue={key:0,class:"history-pointer","data-test":"history-pointer"},he={class:"history-pointer__bar"},pe=me(()=>t("span",{class:"history-pointer__text"}," We're refreshing our full test suite, so package scores start fresh. Every test you have ever sat is saved in your History. ",-1));function ge(s,a,o,m,c,e){const u=k("router-link");return o.show&&!c.dismissed?(r(),n("div",ue,[t("div",he,[pe,x(u,{class:"history-pointer__link",to:{name:"history"},"data-test":"history-pointer-link"},{default:f(()=>[y(" View History ")]),_:1}),t("button",{class:"history-pointer__dismiss",type:"button","aria-label":"Dismiss","data-test":"history-pointer-dismiss",onClick:a[0]||(a[0]=(...h)=>e.dismiss&&e.dismiss(...h))}," × ")])])):p("",!0)}const _e=T(de,[["render",ge],["__scopeId","data-v-74561186"]]),A={Low:"#C22A22",Fair:"#B25E00",Strong:"#0E7A50"},fe={components:{CustomPackage:ce,HistoryPointer:_e},props:{programmeSlug:{type:String,required:!0}},data(){return{checkoutLink:G,chart:null,chartRenderToken:0,plan:null,paywallRecordedFor:null}},computed:{...B({attemptsByExamSlug:"auth/attemptsByExamSlug",canTake
1Exam:"exams/canTakeExam",examsByProgrammeSlug:"exams/examsByProgrammeSlug",isFreeUser:"auth/isFreeUser",programmeBySlug:"products/programmeBySlug",programmes:"products/programmes",programmesLoaded:"products/programmesLoaded",user:"auth/user",userLoading:"auth/userLoading"}),userKnown(){return this.isFreeUser!==void 0||!this.userLoading},planPriceLine(){return Y(this.plan)},hasLegacyHistory(){return(this.user&&this.user.attempts?this.user.attempts:[]).some(a=>!a.programmeSlug)},customPackages(){return this.programmeSlug==="e-tray"||this.programmeSlug==="assessment-centre-guide"||this.programmeSlug==="personality-tests"},retiredPackage(){return!this.programmesLoaded||this.customPackages?!1:!this.programmeBySlug(this.programmeSlug)},programme(){return this.programmes?this.programmes.find(s=>s.slug===this.programmeSlug):null},isFreeProgramme(){return!!(this.programme&&this.programme.freeExams)},hasFreeTest(){return this.exams.some(s=>s.freeTier===!0)},exams(){const s=this.examsByProgrammeSlug(this.programmeSlug)||[];return this.programmeSlug==="error-checking"?[...s].sort((a,o)=>a.slug.replace(/\D/g,"")-o.slug.replace(/\D/g,"")):s},attemptRows(){const s=[];return this.exams.forEach(a=>{const o=this.attemptsByExamSlug(a.slug,this.programme);if(!o.length)return;const m=F(o).sort((c,e)=>e.date-c.date)[0];s.push({examSlug:a.slug,examName:a.uniqueName||a.name,sortNumber:a.sortNumber,average:w(a).value,averageProvisional:w(a).provisional,score:m.score,profile:m.profile||null,uuid:m.uuid||null,accuracy:H(m),date:m.date,attempts:o.length})}),s},attemptedExamCount(){return this.attemptRows.length},completedWidth(){return!this.programme||!this.programme.exams?"0%":`${Math.round(this.attemptedExamCount/this.programme.exams*100)}%`},completedNote(){return this.programme?this.attemptedExamCount?`${this.programme.exams-this.attemptedExamCount} left in this package`:"You have not sat any of these yet":""},scoredRows(){return this.attemptRows.filter(s=>s.score!==null&&s.score!==void 0)},packMean(){return this.scoredRows.length?Math.round(this.scoredRows.reduce((s,a)=>s+a.score,0)/this.scoredRows.length):null},packBest(){return this.scoredRows.length?Math.max(...this.scoredRows.map(s=>s.score)):null},packBeat(){const s=this.scoredRows.filter(a=>a.average!==null);return s.length?`${s.filter(a=>a.score>a.average).length} / ${s.length}`:"—"},latestAttempt(){return this.attemptRows.length?[...this.attemptRows].sort((s,a)=>a.date-s.date)[0]:null},nextTestRoute(){if(!this.programme)return{name:"dashboard"};const s=Math.min(this.programme.exams,this.attemptedExamCount+1);return{name:"exam-programme",params:{programme_slug:this.programmeSlug,exam_sort_number:E(this.exams[s-1],s-1)}}},firstTestRoute(){return{name:"exam-programme",params:{programme_slug:this.programmeSlug,exam_sort_number:E(this.exams[0],0)}}},nextTestLabel(){if(!this.attemptedExamCount)return"Start test 01";const s=Math.min(this.programme.exams,this.attemptedExamCount+1);return`Sit test ${String(s).padStart(2,"0")}`},nextTestNote(){return this.programme?this.attemptedExamCount?"Timed or untimed, your choice":`About ${Math.round(this.programme.questions/this.programme.exams)} questions`:""},lockedHeadline(){return this.isFreeProgramme?this.attemptRows.length?"You have sat tests in this free package":"Every test in this package is free":this.programme?this.hasFreeTest?this.attemptRows.length?"You have sat the free test in this package":`Test 01 of ${this.programme.exams} is free`:this.attemptRows.length?"You have sat tests in this package":"This package is part of Premium":""},lockedNote(){if(!this.programme)return"";if(this.isFreeProgramme)return"Sit them as often as you like. Premium opens every other package, with worked solutions and score tracking.";if(!this.hasFreeTest)return`Premium opens all ${this.programme.exams} tests, with worked solutions and score tracking.`;const s=this.programme.exams-1;return this.attemptRows.length?`Premium opens the remaining ${s} ${s===1?"test":"tests"}, worked solutions and your score history.`:`Sit it now to see how the questions work. Premium opens the other ${s}, with worked solutions and score tracking.`}
1,testsPanelNote(){return this.programme?this.isFreeUser&&!this.isFreeProgramme?this.hasFreeTest?`Test 01 free · ${this.programme.exams-1} with Premium`:`${this.programme.exams} tests with Premium`:`${this.programme.exams} tests`:""},examTiles(){return this.exams.map((s,a)=>{const o=this.isFreeUser&&!this.canTakeExam(s,this.programme),m=this.attemptsByExamSlug(s.slug,this.programme),c=m.length?F(m).sort((h,d)=>d.date-h.date)[0]:null,e=[],u=s.questionsCount??s.questions;return u&&e.push(`${u} questions`),s.minutes&&e.push(`${s.minutes} min`),{slug:s.slug,label:W(s,a),meta:e.join(" · "),locked:o,status:c?c.profile?c.profile.headline:`${c.score}%`:"Not sat",statusColor:c?c.profile?"#1257E8":A[C(c.score)]:"#667085",results:c&&c.uuid?{name:"attempt-results",params:{uuid:c.uuid}}:null,route:{name:"exam-programme",params:{programme_slug:this.programmeSlug,exam_sort_number:E(s,a)}}}})},examRows(){return this.exams.map((s,a)=>{const o=this.attemptRows.find(m=>m.examSlug===s.slug);return{slug:s.slug,name:s.uniqueName||s.name,average:w(s).value,averageProvisional:w(s).provisional,score:o?o.score:null,profile:o?o.profile:null,results:o&&o.uuid?{name:"attempt-results",params:{uuid:o.uuid}}:null,accuracy:o?o.accuracy:null,date:o&&o.date?new Date(o.date*1e3).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"2-digit"}):null,route:{name:"exam-programme",params:{programme_slug:this.programmeSlug,exam_sort_number:E(s,a)}}}})},barAlt(){return"Bar chart comparing your score with the user average for each test in this package. The same figures appear in the test list below."}},watch:{retiredPackage:{immediate:!0,handler(s){s&&this.$router.replace({name:"dashboard"})}},isFreeUser:{immediate:!0,handler(s){s&&q(this.$store).then(a=>{this.plan=a,this.recordPaywall()})}},programme(){this.isFreeUser&&this.plan!==null&&this.recordPaywall()},attemptRows:{immediate:!0,handler(){this.scheduleChart()}},exams:{immediate:!0,handler(){this.scheduleChart()}}},created(){this.exams.length||Promise.resolve(this.$store.dispatch("exams/getExams",{programmeSlug:this.programmeSlug,shared:!0})).catch(s=>{if(!(s&&s.response&&s.response.status===404))throw s})},beforeUnmount(){this.chart&&(this.chart.destroy(),this.chart=null)},methods:{recordPaywall(){if(!(!this.isFreeUser||!this.programme||this.isFreeProgramme)&&this.paywallRecordedFor!==this.programmeSlug){this.paywallRecordedFor=this.programmeSlug;try{M.activity({event:"paywall_shown",surface:"package",examSlug:null,packageSlug:this.programmeSlug,paid:!1,priced:!!this.planPriceLine}).catch(()=>{})}catch{}}},wordColor(s){return A[C(s)]},scheduleChart(){!this.isFreeUser&&this.exams.length&&this.$nextTick(()=>this.renderChart())},async renderChart(){const s=++this.chartRenderToken;if(!this.$refs.barCanvas)return;const{default:a}=await z(async()=>{const{default:d}=await import("./auto-DxuEQsmj.js");return{default:d}},[]),o=this.$refs.barCanvas;if(s!==this.chartRenderToken||!o)return;const m=a.getChart(o);m&&m.destroy(),this.chart=null;const c="'IBM Plex Mono', monospace",e=[],u=[],h=[];this.exams.forEach((d,l)=>{e.push(l+1),u.push(w(d).value);const S=this.attemptRows.find(U=>U.examSlug===d.slug);h.push(S?S.score:null)}),this.chart=I(new a(o,{type:"bar",data:{labels:e,datasets:[{label:"User average",data:u,backgroundColor:"#C7D5EE",borderWidth:0,borderRadius:2},{label:"Your score",data:h,backgroundColor:"#1257E8",borderWidth:0,borderRadius:2}]},options:{responsive:!0,maintainAspectRatio:!1,animation:!1,scales:{y:{beginAtZero:!0,max:100,grid:{color:"#EDEFF4",drawBorder:!1},ticks:{stepSize:25,color:"#667085",font:{family:c,size:11},callback:d=>`${d}%`}},x:{grid:{display:!1},ticks:{autoSkip:!1,maxRotation:0,minRotation:0,color:"#667085",font:{family:c,size:11}}}},plugins:{legend:{position:"bottom",labels:{boxWidth:10,boxHeight:10,padding:8,color:"#5A6478",font:{family:c,size:11}}},tooltip:{backgroundColor:"#14203A",titleFont:{family:c,size:11},bodyFont:{family:c,size:12},cornerRadius:4}}}}))}}},_=s=>(L("data-v-8a1a394b"),s=s(),D(),s),ye={class:"pb-16 bg-canvas",style:{"min-height":"60vh"}},xe={class:"prog-container"},ke={style:{"max-width":"760px"}},be=_(()=>t("div",{class:"prog-rule"},null,-1)),ve={class:"prog-title"},we={class:"prog-counts"},Se={key:0,class:"prog-description"},Pe={key:1,"aria-hidden":"true","data-test":"header-skeleton"},Ee=N('<h1 class="prog-title" data-v-8a1a394b><span class="skel" style="width:40%;height:28px;" data-v-8a1a394b></span></h1><div class="prog-counts" data-v-8a1a394b><span class="skel" style="width:160px;height:13px;" data-v-8a1a394b></span></div><p class="prog-description" data-v-8a1a394b><span class="skel" style="width:100%;height:16px;margin-bottom:6px;" data-v-8a1a394b></span><span class="skel" style="width:70%;height:16px;" data-v-8a1a394b></span></p>',3),Te=[Ee],Ce={class:"prog-body"},Fe={key:0},Re={key:2},Ae={key:0,class:"perf-row"},Be={class:"perf-chart-col"},Le={class:"r-card overflow-hidden",style:{height:"100%",display:"flex","flex-direction":"column"}},De=_(()=>t("div",{class:"perf-head bg-panel-head"},[t("h2",{class:"perf-title"},"Performance"),t("span",{class:"perf-note"},"You, next to everyone else")],-1)),Ne={style:{padding:"16px 20px 6px",flex:"1","min-height":"0",display:"flex","flex-direction":"column"}},Ue={key:0,style:{position:"relative",flex:"1","min-height":"320px"}},ze=["aria-label"],Ie={key:1,class:"perf-empty"},Me=_(()=>t("p",{style:{margin:"0",font:"400 13px/1.5 'Circular', sans-serif",color:"#5A6478"}}," Loading this package’s tests… ",-1)),qe=[Me],He={class:"perf-summary-col"},Ye={class:"r-card overflow-hidden perf-summary"},Ge={style:{padding:"14px 20px","border-bottom":"1px solid #EDEFF4"}},Oe=_(()=>t("p",{class:"perf-label"},"Tests completed",-1)),Ve={class:"perf-completed r-num"},We={class:"perf-of"},Ke={class:"perf-bar"},je={class:"perf-completed-note"},Qe={class:"flex",style:{"border-bottom":"1px solid #EDEFF4"}},Ze={class:"perf-stat",style:{"border-right":"1px solid #EDEFF4"}},Je=_(()=>t("p",{class:"perf-label"},"Your mean",-1)),Xe={class:"perf-stat",style:{"border-right":"1px solid #EDEFF4"}},$e=_(()=>t("p",{class:"perf-label"},"Your best",-1)),et={class:"perf-stat"},tt=_(()=>t("p",{class:"perf-label"},"Beat average",-1)),st={class:"perf-stat-value r-num",style:{color:"#14203A"}},at={key:0,style:{padding:"14px 20px","border-bottom":"1px solid #EDEFF4"}},rt=_(()=>t("p",{class:"perf-label",style:{"margin-bottom":"6px"}},"Latest test results",-1)),ot={style:{"font-size":"16px","font-weight":"500",color:"#14203A","margin-bottom":"8px"}},it={style:{border:"1px solid #EDEFF4","border-radius":"6px",overflow:"hidden"}},lt={class:"perf-latest-row bg-panel-head"},nt={style:{"font-size":"14px",color:"#5A6478"}},ct={key:0,class:"perf-latest-row",style:{"border-top":"1px solid #EDEFF4"}},dt=_(()=>t("span",{style:{"font-size":"14px",color:"#5A6478"}},"User average",-1)),mt={class:"r-num",style:{"font-weight":"400","font-size":"14px",color:"#414B5E"}},ut={style:{padding:"14px 20px 16px","margin-top":"auto"}},ht={class:"perf-next-note"},pt={key:1,class:"locked-banner",style:{"min-height":"98px"},"aria-hidden":"true","data-test":"entitlement-skeleton"},gt=N('<div style="min-width:0;flex:1;" data-v-8a1a394b><p class="locked-headline" data-v-8a1a394b><span class="skel" style="width:45%;height:16px;" data-v-8a1a394b></span></p><p class="locked-note" data-v-8a1a394b><span class="skel" style="width:80%;height:14px;" data-v-8a1a394b></span></p></div>',1),_t=[gt],ft={key:2,class:"locked-banner","data-test":"locked-banner"},yt={style:{"min-width":"0"}},xt={class:"locked-headline"},kt={class:"locked-note"},bt={key:0,class:"locked-price","data-test":"locked-price"},vt={class:"flex items-center flex-wrap locked-actions",style:{gap:"10px"}},wt={class:"r-card overflow-hidden"},St={class:"perf-head bg-panel-head"},Pt=_(()=>t("h2",{class:"perf-title"},"Tests in this package",-1)),Et={class:"perf-note"},Tt={key:0,class:"tests-skeleton","aria-hidden":"true","data-test":"tests-skeleton"},Ct={key:1,class:"tiles-grid"},Ft={class:"flex items-center justify-between",style:{gap:"8px",width:"100%"}},Rt={class:"tile-label"},At={class:"tile-meta"},Bt={key:2,style:{"overflow-x":"auto"}},Lt={class:"prog-table"},Dt=_(()=>t("thead",null,[t("tr",null,[t("th",{scope:"col",class:"prog-th text-left"},"Test"),t("th",{scope:"col",class:"prog-th text-right"},"Users / benchmark"),t("th",{scope:"col",class:"prog-th text-right"},"You"),t("th",{scope:"col",class:"prog-th text-right"},"Accuracy"),t("th",{scope:"col",class:"prog-th text-right"},"Date"),t("th",{scope:"col",class:"prog-th text-center"},[t("span",{class:"sr-only"},"Action")])])],-1)),Nt={class:"prog-td",style:{"font-weight":"500",color:"#14203A","white-space":"nowrap"}},Ut={class:"prog-td text-right r-num prog-muted"},zt={key:0,class:"prog-td text-right",style:{"font-weight":"500","font-size":"14px",color:"#1257E8"},"data-test":"row-profile"},It={class:"prog-td text-right r-num prog-muted"},Mt={class:"prog-td text-right r-num prog-muted",style:{"white-space":"nowrap"}},qt={class:"prog-td text-center",style:{"white-space":"nowrap"}},Ht={style:{width:"100%",margin:"24px auto 0","text-align":"center"}};function Yt(s,a,o,m,c,e){const u=k("HistoryPointer"),h=k("CustomPackage"),d=k("router-link");return r(),n("div",ye,[t("div",xe,[t("div",ke,[be,e.programme?(r(),n(b,{key:0},[t("h1",ve,i(e.programme.name),1),t("div",we,i(e.programme.exams)+" exams · "+i(e.programme.questions)+" questions ",1),e.programme.description?(r(),n("p",Se,i(e.programme.description),1)):p("",!0)],64)):(r(),n("div",Pe,Te))])]),x(u,{show:e.hasLegacyHistory},null,8,["show"]),t("div",Ce,[e.customPackages?(r(),n("section",Fe,[o.programmeSlug==="e-tray"?(r(),g(h,{key:0,package:"e-tray"})):p("",!0),o.programmeSlug==="assessment-centre-guide"?(r(),g(h,{key:1,package:"assessment-centre-guide"})):p("",!0),o.programmeSlug==="personality-tests"?(r(),n("ul",Re,[(r(!0),n(b,null,P(e.exams,(l,S)=>(r(),n("li",{key:S},[x(h,{exam:l,package:"personality-tests"},null,8,["exam"])]))),128))])):p("",!0)])):(r(),n(b,{key:1},[e.programme&&e.userKnown&&!s.isFreeUser?(r(),n("div",Ae,[t("div",Be,[t("div",Le,[De,t("div",Ne,[e.exams.length?(r(),n("div",Ue,[t("canvas",{ref:"barCanvas",role:"img","aria-label":e.barAlt},null,8,ze)])):(r(),n("div",Ie,qe))])])]),t("div",He,[t("div",Ye,[t("div",Ge,[Oe,t("p",Ve,[y(i(e.attemptedExamCount),1),t("span",We," / "+i(e.programme?e.programme.exams:"—"),1)]),t("div",Ke,[t("span",{class:"perf-bar-fill",style:v({width:e.completedWidth,background:"#1257E8"})},null,4)]),t("p",je,i(e.completedNote),1)]),t("div",Qe,[t("div",Ze,[Je,t("p",{class:"perf-stat-value r-num",style:v({color:e.packMean===null?"#667085":e.wordColor(e.packMean)})},i(e.packMean===null?"—":`${e.packMean}%`),5)]),t("div",Xe,[$e,t("p",{class:"perf-stat-value r-num",style:v({color:e.packBest===null?"#667085":e.wordColor(e.packBest)})},i(e.packBest===null?"—":`${e.packBest}%`),5)]),t("div",et,[tt,t("p",st,i(e.packBeat),1)])]),e.latestAttempt?(r(),n("div",at,[rt,t("div",ot,i(e.latestAttempt.examName),1),t("ul",it,[t("li",lt,[t("span",nt,i(e.latestAttempt.profile?"Your profile":"Your score"),1),t("strong",{class:"r-num",style:v([{"font-weight":"500","font-size":"14px"},{color:e.latestAttempt.profile?"#1257E8":e.wordColor(e.latestAttempt.score)}])},i(e.latestAttempt.profile?e.latestAttempt.profile.headline:`${e.latestAttempt.score}%`),5)]),e.latestAttempt.average!==null?(r(),n("li",ct,[dt,t("strong",mt,i(e.latestAttempt.average)+"%",1)])):p("",!0)])])):p("",!0),t("div",ut,[x(d,{to:e.nextTestRoute,class:"r-ease r-focus perf-next"},{default:f(()=>
1[y(i(e.nextTestLabel),1)]),_:1},8,["to"]),t("p",ht,i(e.nextTestNote),1)])])])])):!e.programme||!e.userKnown?(r(),n("div",pt,_t)):(r(),n("div",ft,[t("div",yt,[t("p",xt,i(e.lockedHeadline),1),t("p",kt,i(e.lockedNote),1),e.planPriceLine?(r(),n("p",bt,i(e.planPriceLine)+", cancel any time",1)):p("",!0)]),t("div",vt,[e.hasFreeTest?(r(),g(d,{key:0,to:e.firstTestRoute,class:"r-ease r-focus locked-free-cta"},{default:f(()=>[y(i(e.attemptRows.length?"Retake Test 01":"Sit Test 01 free"),1)]),_:1},8,["to"])):p("",!0),x(d,{to:c.checkoutLink(),class:"r-ease r-focus locked-upgrade"},{default:f(()=>[y(" Upgrade for full access ")]),_:1},8,["to"])])])),t("div",wt,[t("div",St,[Pt,t("span",Et,i(e.testsPanelNote),1)]),!e.programme||!e.userKnown||!e.exams.length?(r(),n("div",Tt,[(r(),n(b,null,P(5,l=>t("span",{key:l,class:"skel",style:{height:"96px","border-radius":"8px"}})),64))])):s.isFreeUser?(r(),n("div",Ct,[(r(!0),n(b,null,P(e.examTiles,l=>(r(),g(d,{key:l.slug,to:l.locked?c.checkoutLink():l.results||l.route,class:"r-ease tile","data-test":"exam-tile"},{default:f(()=>[t("div",Ft,[t("span",Rt,i(l.label),1),t("span",{class:O(["tile-badge",l.locked?"tile-badge--locked":"tile-badge--free"])},i(l.locked?"Premium":"Free"),3)]),t("span",At,i(l.meta),1),t("span",{class:"tile-status r-num",style:v({color:l.statusColor})},i(l.status),5)]),_:2},1032,["to"]))),128))])):(r(),n("div",Bt,[t("table",Lt,[Dt,t("tbody",null,[(r(!0),n(b,null,P(e.examRows,l=>(r(),n("tr",{key:l.slug,"data-test":"exam-row"},[t("td",Nt,i(l.name),1),t("td",Ut,i(l.average===null?"—":`${l.average}%`),1),l.profile?(r(),n("td",zt,i(l.profile.headline),1)):(r(),n("td",{key:1,class:"prog-td text-right r-num",style:v([{"font-weight":"500","font-size":"14px"},{color:l.score===null?"#667085":e.wordColor(l.score)}])},i(l.score===null?"—":`${l.score}%`),5)),t("td",It,i(l.accuracy===null?"—":l.accuracy),1),t("td",Mt,i(l.date||"—"),1),t("td",qt,[l.results?(r(),g(d,{key:0,to:l.results,class:"r-ease r-focus prog-results-link","data-test":"row-results"},{default:f(()=>[y(" View results ")]),_:2},1032,["to"])):(r(),g(d,{key:1,to:l.route,class:"r-ease r-focus prog-take prog-take--primary"},{default:f(()=>[y(" Take test ")]),_:2},1032,["to"]))])]))),128))])])]))]),t("div",Ht,[e.programme&&e.programme.category?(r(),g(d,{key:0,to:{name:"dashboard",params:{category_slug:e.programme.category}},class:"r-ease prog-back"},{default:f(()=>[y(" ← More "+i(e.programme.category)+" tests ",1)]),_:1},8,["to"])):p("",!0)])],64))])])}const Gt=T(fe,[["render",Yt],["__scopeId","data-v-8a1a394b"]]),Ot={head:{title:"Programme",meta:[{name:"robots",content:"noindex"}]},components:{GlobalHeader:j,GlobalFooter:K,Programme:Gt},computed:{programmeSlug(){return this.$route.params.programme_slug}}},Vt={class:"page-shell"};function Wt(s,a,o,m,c,e){const u=k("GlobalHeader"),h=k("Programme",!0),d=k("GlobalFooter");return r(),n("div",Vt,[x(u),x(h,{"programme-slug":e.programmeSlug},null,8,["programme-slug"]),x(d)])}const $t=T(Ot,[["render",Wt]]);export{$t as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.