1"use strict";(self.webpackChunkbah_customer=self.webpackChunkbah_customer||[]).push([[7327],{7327(he,M,r){r.d(M,{SearchDialogComponent:()=>de});var y=r(467),S=r(9769),g=r(3955),p=r(9417),a=r(5802),T=r(8341),k=r(4477),E=r(1413),u=r(5964),x=r(6697),D=r(8141),A=r(152),j=r(3294),B=r(4670),d=function(o){return o.AtHOme="AtHome",o.Online="Online",o.AtHomeAndOnline="AtHomeAndOnline",o}(d||{}),w=r(7374),H=r(7533),F=r(4933),m=r(1466),R=r(7784),e=r(5547),P=r(8230),I=r(2186),O=r(9882),N=r(4316);const L=["tabs"],G=["bottomContainer"],z=["topContainer"],f=o=>({"panel-active":o}),C=o=>({"radio-active":o}),V=o=>({seconds:o}),$=(o,c)=>({"button-hidden":o,"button-disabled":c}),U=(o,c)=>({"input-error":o,"input-correct":c}),Y=o=>({"show-error":o});function X(o,c){if(1&o){const t=e.RV6();e.j41(0,"i",49),e.bIt("click",function(){a.eBV(t);const n=e.XpG(2);return a.Njj(n.prevStep())}),e.k0s()}}function Q(o,c){if(1&o){const t=e.RV6();e.j41(0,"i",50),e.bIt("click",function(){a.eBV(t);const n=e.XpG(2);return a.Njj(n.prevStep())}),e.k0s()}}function W(o,c){if(1&o&&e.nVh(0,X,1,0,"i",47)(1,Q,1,0,"i",48),2&o){const t=e.XpG(),s=e.sdS(14);e.vxM(1===s.currentTab()&&t.showCrossVariant?0:1)}}function Z(o,c){1&o&&e.nrm(0,"div",53)}function J(o,c){if(1&o){const t=e.RV6();e.j41(0,"div",26),e.nrm(1,"app-svg-icon",51),e.j41(2,"input",52),e.nI1(3,"translate"),e.bIt("ngModelChange",function(n){a.eBV(t);const i=e.XpG();return a.Njj(i.postCodeInputChange.next(n))}),e.mxI("ngModelChange",function(n){a.eBV(t);const i=e.XpG();return e.DH7(i.searchService.postCode,n)||(i.searchService.postCode=n),a.Njj(n)}),e.k0s(),e.nVh(4,Z,1,0,"div",53),e.k0s()}if(2&o){const t=e.XpG();e.R7$(2),e.Y8G("placeholder",e.bMT(3,6,"texts.SearchBarHeaderSection_post_code"))("ngClass",e.l_i(8,U,t.searchService.showPostCodeError,(null==t.searchService.postCode?null:t.searchService.postCode.length)>5&&!t.searchService.showPostCodeError))("disabled",!t.searchService.isAtHome),e.R50("ngModel",t.searchService.postCode),e.Y8G("readonly",t.authService.userDetails&&(null==t.authService.userDetails?null:t.authService.userDetails.state)!==t.UserStateEnum.New),e.R7$(2),e.vxM(t.isSearchingPostCode()?4:-1)}}function K(o,c){if(1&o&&(e.j41(0,"div",27),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&o){const t=e.XpG();e.Y8G("ngClass",e.eq3(4,Y,t.searchService.showPostCodeError)),e.R7$(),e.SpI(" ",e.bMT(2,2,"texts.TutorSearchDropdownsComponent_postcode_not_valid"))}}function q(o,c){1&o&&e.EFF(0," texts.Search-Dialog-Search-Progress-Title-Online ")}function ee(o,c){1&o&&e.EFF(0," texts.Search-Dialog-Search-Progress-Title-Home-Online ")}function te(o,c){1&o&&e.EFF(0," texts.Search-Dialog-Search-Progress-Title-Home ")}function ne(o,c){if(1&o&&e.nVh(0,q,1,0)(1,ee,1,0)(2,te,1,0),2&o){let t;const s=e.XpG();e.vxM((t=s.lessonType)===s.LessonTypeEnum.Online?0:t===s.LessonTypeEnum.AtHomeAndOnline?1:t===s.LessonTypeEnum.AtHOme?2:-1)}}function oe(o,c){1&o&&e.EFF(0," texts.Search-Dialog-Search-Progress-Title-Elementary ")}function ie(o,c){1&o&&e.EFF(0," texts.Search-Dialog-Search-Progress-Title-High ")}function se(o,c){if(1&o&&e.nVh(0,oe,1,0)(1,ie,1,0),2&o){let t;const s=e.XpG();e.vxM((t=s.searchService.selectedSchoolTypeId())===(null==s.searchService.schoolTypes[0]?null:s.searchService.schoolTypes[0].id)?0:t===(null==s.searchService.schoolTypes[1]?null:s.searchService.schoolTypes[1].id)?1:-1)}}function re(o,c){1&o&&e.EFF(0," texts.Search-Dialog-Search-Progress-Title-Subjects ")}function ae(o,c){1&o&&e.EFF(0," texts.search-dialog-search-progress-title-finished ")}let de=(()=>{class o{authService;searchService;translationService;utilityService;route;router;flowRouteService;statsigApp;tabs;bottomContainer;topContainer;maxProgress=(0,a.vPA)(99);currentProgress=(0,a.vPA)(0);seconds=4;isSearchingPostCode=(0,a.vPA)(!1);postCodeInputChange=new E.B;postCodeInputChangeSubscription;isNextHidden=!0;alwaysShowCta=!1;showCrossVariant=!1;lessonType;tutorSearchLink;showStep4=!0;showStep5=!0;isClosing=!1;returnToUrl;stepSyncSub;writeStep;constructor(t,s,n,i,l,_,b,v){this.authService=t,this.searchService=s,this.translationService=n,this.utilityService=i,this.route=l,this.router=_,this.flowRouteService=b,this.statsigApp=v}get LessonTypeEnum(){return d}get UserStateEnum(){return B.mD}ngOnInit(){this.returnToUrl=this.flowRouteService.initReturnTo(m.g.searchFlowReturnTo),this.utilityService.trackEvent("student_all_search_start"),this.utilityService.isBrowser()&&this.initEndStepsExperiment(),this.statsigApp.logEvent("search_slides_open")}ngOnDestroy(){this.postCodeInputChangeSubscription?.unsubscribe(),this.stepSyncSub?.unsubscribe()}ngAfterViewInit(){var t=this;return(0,y.A)(function*(){t.translationService.get("ROUTES.Misc_tutor_search").subscribe(s=>{t.tutorSearchLink=s}),t.applyPostCodeFilter(),t.searchService.clearSchoolTypeLevelAndYear(),t.checkToHideNextButton(),t.tabs.goToTab(1),yield t.flowRouteService.replaceMergedQueryParam(t.route,"step",1),t.initTabsR
1outingSync1Based(),t.initAlwaysShowCtaExperiment(),t.initBackAsCrossExperiment()})()}initAlwaysShowCtaExperiment(){this.statsigApp.isLoading$.pipe((0,u.p)(t=>!t),(0,x.s)(1)).subscribe(()=>{this.alwaysShowCta=this.statsigApp.getExperimentWithExposureLoggingDisabled("search_slides_always_show_cta").get("show_cta",!1),this.statsigApp.manuallyLogExperimentExposure("search_slides_always_show_cta")})}initBackAsCrossExperiment(){this.statsigApp.isLoading$.pipe((0,u.p)(t=>!t),(0,x.s)(1)).subscribe(()=>{this.showCrossVariant=this.statsigApp.getExperimentWithExposureLoggingDisabled("search_slides_back_as_cross").get("show_cross",!1),this.statsigApp.manuallyLogExperimentExposure("search_slides_back_as_cross")})}scroll(t=!0){setTimeout(()=>{t?this.bottomContainer.nativeElement.scrollIntoView({behavior:"smooth"}):this.topContainer.nativeElement.scrollIntoView({behavior:"smooth"})},300)}applyPostCodeFilter(){this.postCodeInputChangeSubscription=this.postCodeInputChange.pipe((0,D.M)(t=>{this.searchService.searchFilterQueryParams.postCode=t,this.searchService.postCode?.length>=4&&(this.isSearchingPostCode.set(!0),this.checkToHideNextButton())}),(0,A.B)(1e3),(0,j.F)(),(0,u.p)(t=>t.length>=5)).subscribe(()=>{this.searchService.validatePostCodeAndSetCoordinates().then(t=>{this.isSearchingPostCode.set(!1),this.checkToHideNextButton()})})}checkToHideNextButton(){switch(this.tabs.currentTab()){case 1:return void(this.isNextHidden=this.searchService.selectedSchoolTypeId()!==this.searchService.schoolTypes[0]?.id&&!this.searchService.selectedYear);case 2:return void(this.isNextHidden=!this.searchService.selectedCourseIds?.length);case 3:return this.lessonType===d.Online?void(this.isNextHidden=!1):this.lessonType===d.AtHOme||this.lessonType===d.AtHomeAndOnline?void(this.isNextHidden=this.isSearchingPostCode()||this.searchService.showPostCodeError||!this.searchService.postCode?.length||this.searchService.postCode.length<5):void(this.isNextHidden=!0);default:this.isNextHidden=!0}}closeDialog(){if(!this.isClosing){if(this.isClosing=!0,this.searchService.isSearchDialogCompleted=!0,this.searchService.setQueryParamObjBasedOnSelection(),this.flowRouteService.clearReturnTo(m.g.searchFlowReturnTo),this.returnToUrl)return void this.router.navigateByUrl(this.returnToUrl);this.searchService.navigateToSearch(!0)}}finishAndGoToSearch(){this.isClosing||(this.isClosing=!0,this.searchService.isSearchDialogCompleted=!0,this.searchService.setQueryParamObjBasedOnSelection(),this.flowRouteService.clearReturnTo(m.g.searchFlowReturnTo),this.searchService.navigateToSearch(!1))}prevStep(){1!==this.tabs.currentTab()?(this.tabs.prevTab(),this.checkToHideNextButton(),this.writeStep?.(this.tabs.currentTab())):this.closeDialog()}nextStep(){if(3===this.tabs.currentTab())return this.statsigApp.manuallyLogExperimentExposure("search_slides_skip_steps"),this.isNextHidden=!0,void(this.showStep4?(this.tabs.nextTab(),this.checkToHideNextButton(),this.writeStep?.(this.tabs.currentTab()),this.searchService.search().subscribe(()=>{this.startProgressBar()})):this.searchService.search().subscribe(()=>{this.showStep5&&this.searchService.navigateToSearch(!1),this.proceedAfterLoading()}));this.tabs.nextTab(),this.checkToHideNextButton(),this.writeStep?.(this.tabs.currentTab()),2===this.tabs.currentTab()&&this.scroll(!1)}proceedAfterLoading(){this.showStep5?(this.tabs.goToTab(5),this.checkToHideNextButton(),this.writeStep?.(this.tabs.currentTab()),this.utilityService.trackEvent("student_all_search_complete")):this.finishAndGoToSearch()}selectLessonType(t){switch(this.lessonType=t,t){case d.Online:this.searchService.isOnline=!0,this.searchService.isAtHome=!1,this.isSearchingPostCode.set(!1);break;case d.AtHOme:this.searchService.isOnline=!1,this.searchService.isAtHome=!0;break;case d.AtHomeAndOnline:this.searchService.isOnline=!0,this.searchService.isAtHome=!0}this.searchService.setQueryParamObjBasedOnSelection(),this.checkToHideNextButton()}startProgressBar(){this.currentProgress.update(()=>0);const s=this.seconds,n=w();let i=0;const l=setInterval(()=>{const _=w().diff(n,"second");this.seconds=Math.max(0,s-_);let h=(100-i)/(10*this.seconds);h*=i<30?1.2:i<60?.8:i<85?1.1:.7,i=Math.min(100,i+1*h),this.currentProgress.update(()=>Math.floor(i)),(i>=100||this.seconds<=0)&&(this.seconds=0,this.currentProgress.update(()=>100),navigator?.vibrate&&navigator.vibrate(1e3),clearInterval(l),setTimeout(()=>{this.proceedAfterLoading()},2e3))},100);this.searchService.navigateToSearch(!1),this.writeStep?.(this.tabs.currentTab())}initEndStepsExperiment(){this.statsigApp.isLoading$.pipe((0,u.p)(t=>!t),(0,x.s)(1)).subscribe(()=>{const t=this.statsigApp.getExperimentWithExposureLoggingDisabled("search_slides_skip_steps");this.showStep4=t.get("show_step_4",!0),this.showStep5=t.get("show_step_5",!0)})}
1initTabsRoutingSync1Based(){const{sub:t,writeStep:s}=this.flowRouteService.syncTabsWithStepParam1Based({route:this.route,router:this.router,paramKey:"step",tabs:this.tabs,onAfterStepApplied:()=>this.checkToHideNextButton()});this.stepSyncSub=t,this.writeStep=s;const n=Math.max(1,this.tabs.currentTab());this.writeStep(n,!0)}static \u0275fac=function(s){return new(s||o)(e.rXU(P.uR),e.rXU(I.S),e.rXU(g.c$),e.rXU(P.QY),e.rXU(O.nX),e.rXU(O.Ix),e.rXU(m.N),e.rXU(N.Mk))};static \u0275cmp=e.VBU({type:o,selectors:[["app-search-dialog"]],viewQuery:function(s,n){if(1&s&&e.GBs(L,7)(G,5)(z,5),2&s){let i;e.mGM(i=e.lsd())&&(n.tabs=i.first),e.mGM(i=e.lsd())&&(n.bottomContainer=i.first),e.mGM(i=e.lsd())&&(n.topContainer=i.first)}},decls:74,vars:56,consts:[["topContainer",""],["tabs",""],["bottomContainer",""],[1,"search-dialog-background"],[1,"search-dialog-container"],[1,"bah-logo-container"],[1,"bah-logo",3,"src","alt"],[1,"content-container"],[1,"stepper-container"],[3,"showPagination","progressBarHeight","totalSteps","progressBarColor","progressBarBackgroun
1d","currentStepIndex"],[1,"white-container"],[1,"tabs-component",3,"showStepper"],[1,"tab","schooltypes-tab"],[3,"onSelectionChange","dropdownOpened"],[1,"tab"],[3,"onSelectionChange"],["translate","",1,"title","small-title"],[1,"lesson-type-container"],[1,"radio-buttons-container"],[1,"radio-button-container",3,"click","ngClass"],[1,"radio-button","radio-button-home-and-online",3,"ngClass"],["translate","",1,"radio-text"],["translate","",1,"online-and-home-text-upper"],["name","star"],["translate","",1,"online-and-home-text-bottom"],[1,"radio-button",3,"ngClass"],[1,"search-option","input-field"],[1,"postcode-error",3,"ngClass"],[1,"tab","progress-tab"],["translate","",1,"title","search-description"],[3,"showPagination","progressBarHeight","totalSteps","isPulseAllowed","progressBarColor","progressBarBackground","currentStepIndex"],[1,"progress-numbers-container"],[1,"progress-percentage"],["translate","",1,"progress-seconds",3,"translateParams"],[1,"search-success-container"],[1,"fas","fa-user-check"],["translate","",1,"title","search-success-title"],["translate","",1,"search-success-description"],["translate","",1,"navigate-to-search-button","next-button","button",3,"click"],[1,"button","next-button",3,"click","ngClass"],[1,"vectors-container"],[1,"big-vector-1"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 451 394","fill","none"],["fill-rule","evenodd","clip-rule","evenodd","d","M71.6479 45.1079C118.567 3.58754 185.802 -9.57317 246.239 7.0659C297.65 21.2199 314.949 78.3362 347.045 120.928C385.943 172.548 466.424 213.052 448.156 275.016C429.831 337.17 341.053 330.269 279.425 350.287C221.275 369.176 164.31 410.619 108.625 385.303C46.7273 357.163 8.62702 291.419 1.28113 223.835C-6.00012 156.847 21.2068 89.7445 71.6479 45.1079Z","fill","#7DD696"],[1,"big-vector-2"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 536 515","fill","none"],["fill-rule","evenodd","clip-rule","evenodd","d","M240.909 2.29262C309.693 10.1896 354.748 66.0346 401.637 117.013C455.844 175.948 531.002 230.132 523.85 309.912C515.962 397.9 449.808 476.902 366.703 506.692C290.604 533.971 212.822 488.936 144.345 445.951C87.4711 410.25 48.1447 357.99 27.806 293.96C4.44379 220.412 -19.3502 136.204 26.1671 73.9056C73.0205 9.77888 162.045 -6.76164 240.909 2.29262Z","fill","#5299ED"],[1,"search-slide-back","fas","fa-times"],[1,"search-slide-back","fas","fa-chevron-left"],[1,"search-slide-back","fas","fa-times",3,"click"],[1,"search-slide-back","fas","fa-chevron-left",3,"click"],["name","map-point",1,"search-icon"],["type","text","maxlength","7","data-cy","PostCode",1,"post-code",3,"ngModelChange","placeholder","ngClass","disabled","ngModel","readonly"],[1,"loading-spinner"]],template:function(s,n){if(1&s){const i=e.RV6();e.j41(0,"div",3)(1,"div",4)(2,"div",5),e.nrm(3,"img",6),e.nI1(4,"translate"),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",7)(7,"div",8),e.nrm(8,"app-custom-stepper",9),e.k0s(),e.j41(9,"div",10),e.nrm(10,"div",null,0),e.nVh(12,W,2,1),e.j41(13,"app-custom-tabs",11,1)(15,"div",12)(16,"app-search-preferences-schooltypes",13),e.bIt("onSelectionChange",function(){return a.eBV(i),n.checkToHideNextButton(),a.Njj(n.scroll(!0))})("dropdownOpened",function(){return n.scroll(!0)}),e.k0s()(),e.j41(17,"div",14)(18,"app-search-preferences-subjects",15),e.bIt("onSelectionChange",function(){return a.eBV(i),n.checkToHideNextButton(),a.Njj(n.scroll(!0))}),e.k0s()(),e.j41(19,"div",14)(20,"div",16),e.EFF(21,"texts.Search-Dialog-Lesson-Type-Title "),e.k0s(),e.j41(22,"div",17)(23,"div",18)(24,"div",19),e.bIt("click",function(){return n.selectLessonType(n.LessonTypeEnum.AtHomeAndOnline)}),e.nrm(25,"div",20),e.j41(26,"div",21)(27,"div",22),e.EFF(28," texts.Search-Dialog-Lesson-Type-Home-And-Online "),e.nrm(29,"app-svg-icon",23),e.k0s(),e.j41(30,"div",24),e.EFF(31," texts.Search-Dialog-Lesson-Type-Online-And-Home-Description"),e.k0s()()(),e.j41(32,"div",19),e.bIt("click",function(){return n.selectLessonType(n.LessonTypeEnum.Online)}),e.nrm(33,"div",25),e.j41(34,"div",21),e.EFF(35," texts.Search-Dialog-Lesson-Type-Online "),e.k0s()(),e.j41(36,"div",19),e.bIt("click",function(){return n.selectLessonType(n.LessonTypeEnum.AtHOme)}),e.nrm(37,"div",25),e.j41(38,"div",21),e.EFF(39,"texts.Search-Dialog-Lesson-Type-Home "),e.k0s()()(),e.nVh(40,J,5,
111,"div",26),e.nVh(41,K,3,6,"div",27),e.k0s()(),e.j41(42,"div",28)(43,"div",29),e.nVh(44,ne,3,1),e.nVh(45,se,2,1),e.nVh(46,re,1,0),e.nVh(47,ae,1,0),e.k0s(),e.nrm(48,"app-custom-stepper",30),e.j41(49,"div",31)(50,"div",32),e.EFF(51),e.k0s(),e.j41(52,"div",33),e.EFF(53," texts.search-dialog-search-progress-seconds"),e.k0s()()(),e.j41(54,"div",14)(55,"div",34),e.nrm(56,"i",35),e.j41(57,"div",36),e.EFF(58," texts.Search-Dialog-Search-Success-Title "),e.k0s(),e.j41(59,"div",37),e.EFF(60," texts.Search-Dialog-Search-Success-Description"),e.k0s(),e.j41(61,"button",38),e.bIt("click",function(){return n.finishAndGoToSearch()}),e.EFF(62,"texts.Search-Dialog-Search-Success-Button"),e.k0s()()()(),e.j41(63,"button",39,2),e.bIt("click",function(){return!n.isNextHidden&&n.nextStep()}),e.EFF(65),e.nI1(66,"translate"),e.k0s()()(),e.j41(67,"div",40)(68,"div",41),a.qSk(),e.j41(69,"svg",42),e.nrm(70,"path",43),e.k0s()(),a.joV(),e.j41(71,"div",44),a.qSk(),e.j41(72,"svg",45),e.nrm(73,"path",46),e.k0s()()()()()}if(2&s){const i=e.sdS(14);e.R7$(3),e.Y8G("src",e.bMT(4,33,"images.Misc_logo_rebrand.originalSource"),e.B4B)("alt",e.bMT(5,35,"images.Misc_logo_rebrand.title")),e.R7$(5),e.Y8G("showPagination",!1)("progressBarHeight",4)("totalSteps",i.totalTabs)("progressBarColor","#5299ED")("progressBarBackgroun
1d","#DBF1FF")("currentStepIndex",i.activeTabIndex),e.R7$(4),e.vxM(i.currentTab()<=3?12:-1),e.R7$(),e.Y8G("showStepper",!1),e.R7$(11),e.Y8G("ngClass",e.eq3(39,f,n.lessonType===n.LessonTypeEnum.AtHomeAndOnline)),e.R7$(),e.Y8G("ngClass",e.eq3(41,C,n.lessonType===n.LessonTypeEnum.AtHomeAndOnline)),e.R7$(7),e.Y8G("ngClass",e.eq3(43,f,n.lessonType===n.LessonTypeEnum.Online)),e.R7$(),e.Y8G("ngClass",e.eq3(45,C,n.lessonType===n.LessonTypeEnum.Online)),e.R7$(3),e.Y8G("ngClass",e.eq3(47,f,n.lessonType===n.LessonTypeEnum.AtHOme)),e.R7$(),e.Y8G("ngClass",e.eq3(49,C,n.lessonType===n.LessonTypeEnum.AtHOme)),e.R7$(3),e.vxM(n.lessonType===n.LessonTypeEnum.AtHOme||n.lessonType===n.LessonTypeEnum.AtHomeAndOnline?40:-1),e.R7$(),e.vxM(n.searchService.isOnline?-1:41),e.R7$(3),e.vxM(n.currentProgress()<35?44:-1),e.R7$(),e.vxM(n.currentProgress()>=35&&n.currentProgress()<65?45:-1),e.R7$(),e.vxM(n.currentProgress()>=65&&n.currentProgress()<100?46:-1),e.R7$(),e.vxM(100===n.currentProgress()?47:-1),e.R7$(),e.Y8G("showPagination",!1)("progressBarHeight",4)("totalSteps",n.maxProgress)("isPulseAllowed",!1)("progressBarColor","#5299ED")("progressBarBackgroun
1d","#DBF1FF")("currentStepIndex",n.currentProgress),e.R7$(3),e.SpI("",n.currentProgress(),"%"),e.R7$(),e.Y8G("translateParams",e.eq3(51,V,n.seconds)),e.R7$(11),e.Y8G("ngClass",e.l_i(53,$,i.currentTab()>3||n.isNextHidden&&!n.alwaysShowCta,i.currentTab()<=3&&n.isNextHidden&&n.alwaysShowCta)),e.R7$(2),e.JRh(e.bMT(66,37,3===i.currentTab()||1===i.currentTab()?"texts.Search-Dialog-Search-Button":"texts.Search-Dialog-Next"))}},dependencies:[S.MD,S.YU,g.h,g.Mm,p.YN,p.me,p.BC,p.tU,p.vS,T.v,k.c,H.F,F.T,R.SvgIconComponent,g.D9],styles:['.is-container[_ngcontent-%COMP%]{width:90%;margin:0 auto;padding:20px 15px}@media screen and (min-width:1200px){.is-container[_ngcontent-%COMP%]{max-width:1170px;margin-left:auto;margin-right:auto;width:90%;padding:20px 0}}.is-container-admin[_ngcontent-%COMP%]{width:90%;margin:0 auto;padding:20px 15px}@media screen and (min-width:1200px){.is-container-admin[_ngcontent-%COMP%]{max-width:1170px;margin-left:auto;margin-right:auto;width:90%;padding:20px 0}}@media screen and (min-width:1200px){.is-container-admin[_ngcontent-%COMP%]{max-width:900px}}.errorlabel[_ngcontent-%COMP%]{color:#fe5d5d;font-weight:500}@font-face{font-family:Poppins;font-style:normal;font-weight:400;src:local("Poppins Regular"),local("Poppins-Regular"),url(/assets/font/poppins/poppins-v9-latin_latin-ext_devanagari-regular.woff2) format("woff2");font-display:swap}@font-face{font-family:Poppins;font-style:normal;font-weight:500;src:local("Poppins Medium"),local("Poppins-Medium"),url(/assets/font/poppins/poppins-v9-latin_latin-ext_devanagari-500.woff2) format("woff2");font-display:swap}@font-face{font-family:Poppins;font-style:normal;font-weight:600;src:local("Poppins SemiBold"),local("Poppins-SemiBold"),url(/assets/font/poppins/poppins-v9-latin_latin-ext_devanagari-600.woff2) format("woff2");font-display:swap}.button[_ngcontent-%COMP%], .text[_ngcontent-%COMP%], .subtitle[_ngcontent-%COMP%], .title[_ngcontent-%COMP%]{font-family:Poppins;font-style:normal;font-feature-settings:"salt" on}.section[_ngcontent-%COMP%]{background:#f0f1f5;margin:0 auto;overflow:hidden}@media screen and (max-width:992px){.section[_ngcontent-%COMP%]{max-width:768px}}@media screen and (max-width:576px){.section[_ngcontent-%COMP%]{max-width:360px}}@media screen and (min-width:992px){.section[_ngcontent-%COMP%]{max-width:1440px}}.title[_ngcontent-%COMP%]{display:flex;color:#1b2131;font-weight:600;align-items:center;text-align:center}@media screen and (max-width:992px){.title[_ngcontent-%COMP%]{font-size:32px;line-height:36px}}@media screen and (max-width:576px){.title[_ngcontent-%COMP%]{font-size:28px;line-height:30px}}@media screen and (min-width:992px){.title[_ngcontent-%COMP%]{font-size:32px;line-height:48px}}.subtitle[_ngcontent-%COMP%]{color:#2d3243;font-weight:600}.text[_ngcontent-%COMP%]{font-weight:400;color:#434b65}@media screen and (max-width:992px){.text[_ngcontent-%COMP%]{font-size:14px;line-height:21px}}@media screen and (max-width:576px){.text[_ngcontent-%COMP%]{font-size:14px;line-height:21px}}@media screen and (min-width:992px){.text[_ngcontent-%COMP%]{font-size:16px;line-height:24px}}.button[_ngcontent-%COMP%]{background-color:#5cc75f;color:#fff;border:none;border-radius:10px;font-weight:600;font-size:20px;text-align:center;cursor:pointer;padding:8px}.button[_ngcontent-%COMP%]:hover{background-color:#43ab4f}.blue-button[_ngcontent-%COMP%]{display:flex;padding:12px;justify-content:center;align-items:center;border-radius:4px;background:#297ddc;cursor:pointer;border:none;color:#f3faff;font-family:Poppins;font-size:16px;font-weight:500}.blue-button[_ngcontent-%COMP%]:hover{background-color:#1763bb}.round-picture-container[_ngcontent-%COMP%]{overflow:hidden;border-radius:50%}@media screen and (max-width:992px){.round-picture-container[_ngcontent-%COMP%]{width:72px}}@media screen and (max-width:576px){.round-picture-container[_ngcontent-%COMP%]{width:80px}}@media screen and (min-width:992px){.round-picture-container[_ngcontent-%COMP%]{width:120px;height:120px}}.button-toggle-container[_ngcontent-%COMP%]{background-color:#f9f9fb;border-radius:10px;display:flex;border:1px solid #F0F1F5;justify-content:space-between;align-items:center;width:260px;height:48px;grid-column:1/3;grid-row:2/3;margin:10px 0;padding:6px}@media screen and (max-width:992px){.button-toggle-container[_ngcontent-%COMP%]{width:275px;height:48px}}@media screen and (max-width:576px){.button-toggle-container[_ngcontent-%COMP%]{grid-column:1/2;max-width:90%;height:64px;margin:0 auto 15px}}@media screen and (min-width:992px){.button-toggle-container[_ngcontent-%COMP%]{width:240px;height:48px}}.button-toggle[_ngcontent-%COMP%]{display:flex;border-radius:8px;font-size:16px;align-items:center;font-weight:600;justify-content:center;background-color:#f9f9fb;color:#2d3243;width:auto;height:32px;padding:4px;width:100%;height:100%}.button-toggle[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:16px;height:16px}.button-toggle-active[_ngcontent-%COMP%]{background-color:#5cc75f;color:#fff}.hide-on-mobile[_ngcontent-%COMP%]{display:block}@media screen and (max-width:576px){.hide-on-mobile[_ngcontent-%COMP%]{display:none}}.show-on-mobile[_ngcontent-%COMP%]{display:none}@media screen and (max-width:576px){.show-on-mobile[_ngcontent-%COMP%]{display:block}}.tutors-button[_ngcontent-%COMP%]{display:block;cursor:pointer;width:424px;z-index:2}@media screen and (max-width:992px){.tutors-button[_ngcontent-%COMP%]{width:340px}}@media screen and (max-width:576px){.tutors-button[_ngcontent-%COMP%]{width:328px}}.cta-button-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.tooltip[_ngcontent-%COMP%]{display:inline-block;position:relative}.tooltip[_ngcontent-%COMP%] .tooltiptext[_ngcontent-%COMP%]{visibility:hidden;display:flex;flex-direction:column;width:250px;font-family:Poppins;font-size:14px;font-weight:400;background-color:#f9f9fb;border:1px solid #E2E4E9;color:#545d78;text-align:center;text-transform:none;border-radius:6px;position:absolute;top:-30px;
1left:25px;z-index:1;display:inline-flex;padding:8px 12px;gap:4px}@media screen and (max-width:992px){.tooltip[_ngcontent-%COMP%] .tooltiptext[_ngcontent-%COMP%]{width:200px;top:-30px;left:25px;z-index:5}}@media screen and (max-width:576px){.tooltip[_ngcontent-%COMP%] .tooltiptext[_ngcontent-%COMP%]{font-size:12px;width:150px;top:-50px;padding:6px}}.tooltip[_ngcontent-%COMP%]:hover .tooltiptext[_ngcontent-%COMP%]{visibility:visible}.section-placeholder[_ngcontent-%COMP%]{min-height:200px}.lazy-image[_ngcontent-%COMP%]{width:100%}.loading-spinner[_ngcontent-%COMP%]{right:12px;top:40%;transform:translateY(-50%)}.loading-spinner[_ngcontent-%COMP%]:after{content:"";display:inline-block;width:12px;height:12px;border:2px solid #dddddd;border-radius:50%;border-top-color:#5cc75f;animation:_ngcontent-%COMP%_spin 1s linear infinite}@keyframes _ngcontent-%COMP%_slideUpFadeIn{0%{opacity:0;transform:translateY(60px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.search-dialog-background[_ngcontent-%COMP%]{background-color:#f3faff;height:auto;overflow:auto}.search-dialog-container[_ngcontent-%COMP%]{height:100svh;display:flex;flex-direction:column;align-items:center;width:webkit-fill-available;font-family:Poppins;font-style:normal;font-feature-settings:"salt" on}.bah-logo-container[_ngcontent-%COMP%]{align-self:flex-start;border-top-right-radius:10px;border-bottom-right-radius:10px;margin:12px auto}@media screen and (max-width:992px){.bah-logo-container[_ngcontent-%COMP%]{padding:16px 16px 16px 34px}}@media screen and (max-width:576px){.bah-logo-container[_ngcontent-%COMP%]{padding:12px 12px 12px 16px}}.bah-logo[_ngcontent-%COMP%]{width:auto;height:74px}@media screen and (max-width:992px){.bah-logo[_ngcontent-%COMP%]{width:auto;height:56px}}@media screen and (max-width:576px){.bah-logo[_ngcontent-%COMP%]{width:auto;height:33px}}.content-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%;position:relative;max-width:1440px;padding:40px 0 16px;z-index:1}@media screen and (max-width:576px){.content-container[_ngcontent-%COMP%]{padding-top:0}}.white-container[_ngcontent-%COMP%]{padding:40px;background-color:#fff;border:.4px solid #5299ed;position:relative;width:90%;border-radius:10px}@media screen and (max-width:576px){.white-container[_ngcontent-%COMP%]{padding:16px;width:92%}}.stepper-container[_ngcontent-%COMP%]{width:90%;margin-bottom:64px}@media screen and (max-width:576px){.stepper-container[_ngcontent-%COMP%]{margin-bottom:32px}}.search-slide-back[_ngcontent-%COMP%]{cursor:pointer;position:absolute}@media screen and (max-width:576px){.search-slide-back[_ngcontent-%COMP%]{left:8px;top:22px}}.tabs-component[_ngcontent-%COMP%]{width:100%}.schooltypes-tab[_ngcontent-%COMP%]{padding-bottom:2px}.title[_ngcontent-%COMP%]{line-height:1;color:#00326a;font-size:20px;font-weight:600;justify-self:center;margin-bottom:24px}@media screen and (max-width:576px){.title[_ngcontent-%COMP%]{font-size:18px}}.small-title[_ngcontent-%COMP%]{margin-bottom:16px}@media screen and (max-width:576px){.small-title[_ngcontent-%COMP%]{margin-left:8px}}.radio-buttons-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;width:424px;justify-content:center;margin:0 auto 24px;padding-bottom:4px}@media screen and (max-width:992px){.radio-buttons-container[_ngcontent-%COMP%]{width:360px}}@media screen and (max-width:576px){.radio-buttons-container[_ngcontent-%COMP%]{width:auto}}.radio-button-container[_ngcontent-%COMP%]{cursor:pointer;border:.4px solid #5299ed;display:flex;align-items:center;gap:12px;border-radius:10px;padding:20px 0 20px 16px;transition:background-color .5s}.radio-button[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:50%;border:.4px solid #5299ed;transition:box-shadow .5s,background-color .5s}.radio-active[_ngcontent-%COMP%]{background-color:#5299ed;box-shadow:inset 0 0 0 4px #fff}.panel-active[_ngcontent-%COMP%]{background-color:#f3faff}.radio-text[_ngcontent-%COMP%]{color:#00326a;font-family:Poppins;font-size:16px;font-weight:400}@media screen and (max-width:576px){.radio-text[_ngcontent-%COMP%]{width:85%}}.next-button[_ngcontent-%COMP%]{font-size:16px;background-color:#297ddc;cursor:pointer;display:flex;margin:24px auto 0;min-width:180px;justify-content:center;font-weight:500;border-radius:4px;overflow:hidden;transition:height .1s,padding .1s}@media screen and (max-width:576px){.next-button[_ngcontent-%COMP%]{width:100%}}.next-button[_ngcontent-%COMP%]:hover{background-color:#5a92ff}.button-hidden[_ngcontent-%COMP%]{height:0;padding:0}.button-disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed;pointer-events:none}.radio-button-home-and-online[_ngcontent-%COMP%]{align-self:flex-start;margin-top:4px}.online-and-home-text-upper[_ngcontent-%COMP%]{display:flex;align-items:flex-end}.online-and-home-text-bottom[_ngcontent-%COMP%]{width:90%;bottom:10px;color:#00326a;font-size:12px;font-weight:400}.input-field[_ngcontent-%COMP%]{width:160px;align-self:center}.input-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{font-size:16px}.search-icon[_ngcontent-%COMP%]{position:absolute;
1left:10px;bottom:33px;z-index:1009;pointer-events:none}.post-code[_ngcontent-%COMP%]{width:100%;border:2px solid #E2E4E9;font-family:Poppins;padding:12px 0 12px 40px;border-radius:10px;font-size:20px;font-weight:600}.input-error[_ngcontent-%COMP%]{border:2px solid rgb(245,191,0)}.input-correct[_ngcontent-%COMP%]{border:2px solid rgb(92,199,95)}.postcode-error[_ngcontent-%COMP%]{color:#f5bf00;height:0;opacity:0}.show-error[_ngcontent-%COMP%]{height:100%;opacity:1}.lesson-type-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%;margin:0 auto}@media screen and (max-width:576px){.lesson-type-container[_ngcontent-%COMP%]{width:100%}}.loading-spinner[_ngcontent-%COMP%]{position:absolute}.progress-tab[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:90%;justify-self:center}.search-description[_ngcontent-%COMP%]{font-size:40px;margin-bottom:40px}@media screen and (max-width:576px){.search-description[_ngcontent-%COMP%]{font-size:32px}}.progress-numbers-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:12px;color:#00326a;font-family:Poppins;font-size:20px;font-weight:400}.fa-user-check[_ngcontent-%COMP%]{font-size:60px;color:#5cc75f}.search-success-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.search-success-title[_ngcontent-%COMP%]{font-weight:40px;font-size:38px;margin:24px 0;justify-content:center}@media screen and (max-width:576px){.search-success-title[_ngcontent-%COMP%]{font-size:30px}}.search-success-description[_ngcontent-%COMP%]{font-size:20px;font-weight:400;max-width:536px}@media screen and (max-width:576px){.navigate-to-search-button[_ngcontent-%COMP%]{width:100%}}.vectors-container[_ngcontent-%COMP%]{right:10%;position:absolute;height:60%;top:35%;z-index:0;width:95%}@media screen and (max-width:992px){.vectors-container[_ngcontent-%COMP%]{width:100%}}@media screen and (max-width:992px){.vectors-container[_ngcontent-%COMP%]{right:0}}@media screen and (max-width:576px){.vectors-container[_ngcontent-%COMP%]{overflow:hidden}}.big-vector-1[_ngcontent-%COMP%], .big-vector-2[_ngcontent-%COMP%]{position:absolute}.big-vector-1[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], .big-vector-2[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:100%;height:auto}.big-vector-1[_ngcontent-%COMP%]{right:20%;top:120px;width:30%;max-width:400px}@media screen and (max-width:992px){.big-vector-1[_ngcontent-%COMP%]{right:10%;width:50%}}@media screen and (max-width:576px){.big-vector-1[_ngcontent-%COMP%]{right:4%;width:80%}}.big-vector-2[_ngcontent-%COMP%]{right:0;top:-7%;width:35%;max-width:600px}@media screen and (max-width:992px){.big-vector-2[_ngcontent-%COMP%]{right:0;width:50%}}@media screen and (max-width:576px){.big-vector-2[_ngcontent-%COMP%]{right:-20%;width:80%}}']})}return 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.