PageSourceSearch

https://myaccount.thefa.com/chunk-4LD76SFV.js

js thefa.com collected 2026-09-24 08:24:50 UTC 66,540 bytes, 3 lines download raw bytes

1import{a as Ee}from"./chunk-4RUXQNQG.js";import"./chunk-N6SDPKS7.js";import{a as J}from"./chunk-7JIW63IW.js";import{b as Ce}from"./chunk-MJN5TS5F.js";import{a as ye,b as H,c as Ie,d as P}from"./chunk-CWACPX35.js";import{a as De}from"./chunk-SMNSNQ6U.js";import{d as j,e as W,f as G,g as z,h as ve}from"./chunk-KGIYAQSQ.js";import{a as we}from"./chunk-QXGUUETH.js";import{a as w}from"./chunk-H4B4PPRI.js";import{a as q}from"./chunk-6PWLJE7K.js";import{k as Se,l as _e}from"./chunk-WFFJJOHB.js";import"./chunk-PLOZBXGZ.js";import{a as xe}from"./chunk-EVHKDTHY.js";import{$a as m,Cb as _,Ea as c,Eb as v,Gb as Z,Jc as fe,Kc as be,L as te,Lc as he,M as R,O as ie,Oa as l,Pa as a,Qa as n,R as T,Ra as f,S as A,Ub as oe,V as ne,Va as b,Wa as h,Wb as L,Xa as C,Xb as se,Ya as B,Yb as de,_a as y,_b as le,ba as N,cc as F,ec as pe,jb as x,ka as ae,lc as ce,na as re,nb as s,oa as r,ob as M,pb as g,pc as V,sc as me,uc as ue,va as S,wc as ee,ya as E,yb as D,yc as ge,za as Q,zb as k,zc as Y}from"./chunk-72RDFEB5.js";import"./chunk-66YHNWRR.js";var Te=(()=>{let i=class i{constructor(p,d){this.data=p,this.dynamicStyleLoader=d,this.dialogData=p.parentInstance}
1ngOnInit(){this.dynamicStyleLoader.focusCloseButton("mob-focus-gender","desktop-focus-gender")}};i.\u0275fac=function(d){return new(d||i)(S(Se),S(q))},i.\u0275cmp=E({type:i,selectors:[["app-confirm-initiate-dbs"]],standalone:!1,decls:20,vars:1,consts:[[1,"dialog-component"],[1,"cross"],["id","desktop-focus-initiatedbs","tabindex","0","type","button","aria-label","Close",1,"close","close-btn",3,"click"],[1,"image-container"],[1,"profile-photo-header"],["id","mob-focus-initiatedbs","tabindex","0","type","button","aria-label","Close",1,"close","close-btn",3,"click"],[1,"dialog-body"],["id","confirmLabel","for","confirm-options",1,"initiate-dbs-label"],[1,"info-container"],[1,"flex"],[1,"info-icon"],[1,"btn-container"],["tabindex","0","aria-label","save",1,"send-button",3,"click","keydown.enter","keydown.space"]],template:function(d,t){d&1&&(a(0,"div",0)(1,"div",1)(2,"button",2),y("click",function(){return t.dialogData.reset()}),n()(),a(3,"div",3)(4,"div",4)(5,"button",5),y("click",function(){return t.dialogData.reset()}),n()(),a(6,"div",6)(7,"label",7),s(8,"Initiate DBS application "),n(),a(9,"div",8)(10,"div",9),f(11,"div",10),a(12,"p"),s(13,"An email will be sent to you to start the DBS applicant process, email: "),a(14,"strong"),s(15),n()()()(),a(16,"div")(17,"div",11)(18,"button",12),y("click",function(){return t.dialogData.confirm()})("keydown.enter",function(){return t.dialogData.confirm()})("keydown.space",function(){return t.dialogData.confirm()}),s(19," Confirm "),n()()()()()()),d&2&&(r(15),M(t.dialogData.sharedService.email))},styles:['.initiate-dbs-label[_ngcontent-%COMP%]{color:#011e41;font-size:30px;font-weight:700;white-space:nowrap;line-height:1;
1font-family:FSJack-Medium,arial,helvetica,sans-serif;padding-top:29px;margin-left:160px;padding-bottom:30px}.dialog-body[_ngcontent-%COMP%]{margin:70px 90px}.btn-container[_ngcontent-%COMP%]{text-align:center;margin-top:30px}.info-container[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#011e41;display:flex;justify-content:flex-end;margin-top:30px;margin-right:20px;align-items:center;font-family:FSJack-Medium,arial,helvetica,sans-serif;border-radius:4px;padding:12px 16px;margin-bottom:35px}.flex[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{padding-left:8px}.flex[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-left:0}.info-icon[_ngcontent-%COMP%]{background:url("./media/info-icon-blue-6PG4K2NJ.svg") no-repeat center center;width:30px}.flex[_ngcontent-%COMP%]{display:flex;flex-direction:row}@media (max-width: 767px){.send-button[_ngcontent-%COMP%], .child-button[_ngcontent-%COMP%]{position:relative;top:2px;right:5%}.initiate-dbs-label[_ngcontent-%COMP%]{margin-left:0}.dialog-body[_ngcontent-%COMP%]{margin:25px 0 0 45px}.info-icon[_ngcontent-%COMP%]{width:50px}}']});let e=i;return e})();var K=(()=>{let i=class i{constructor(p){this.http=p,this.config=ge.apiEndPoints,this.dbsUrl=this.config.serverUrl+this.config.services.dbsService}getIndividualDbs(p){let d=`${this.dbsUrl}v1/individuals/${p}/dbs`;return this.http.get(d)}initiateDbs(p,d){let t=`${this.dbsUrl}v1/individual/${d}/dbs`;return this.http.post(t,p)}getDbsApplicationStatuses(){let p=`${this.dbsUrl}v1/dbsapplicationstatus`;return this.http.get(p)}getDbsReviewStatuses(){let p=`${this.dbsUrl}v1/dbsapplicationreviewstatus `;return this.http.get(p)}};i.\u0275fac=function(d){return new(d||i)(ie(ce))},i.\u0275prov=te({token:i,factory:i.\u0275fac,providedIn:"root"});let e=i;return e})();var je=e=>({"remove-border":e}),We=()=>({icon:"image-dbs-initiated",status:"Application Initiated",description:"The DBS applicant has been sent an email to start the DBS application process"}),Ge=()=>({icon:"image-dbs-inprogress",status:"In progress",description:"The DBS application is now with The Disclosure and Barring Service (DBS)"}),ze=()=>({icon:"image-dbs-withdrawn",status:"Withdrawn",description:"The DBS application has been closed due to inactivity. A new DBS application is required."}),qe=()=>({icon:"image-dbs-awaitingactions",status:"Awaiting Countersign",description:"Our DBS partner, First Advantage, will review and countersign the applicant's DBS application ahead of submitting to The Disclosure and Barring Service (DBS)."}),$e=()=>({icon:"image-dbs-awaitingactions",status:"Awaiting ID Verification",description:"The DBS applicant has failed online digital ID verification. Offline verification is required by a verifier role from the organisation."}),He=()=>({icon:"image-dbs-awaitingactions",status:"Awaiting Payment",description:"The DBS applicant has started the process of applying for a DBS but payment is required to progress the DBS application."}),Je=()=>({icon:"image-dbs-suspended",status:"DBS Outcome: Content",description:"A DBS outcome has been generated for this application, and we have been notified that there is content on your DBS certificate. You are required to send the physical certificate to:",statusDescription:!0}),Ke=()=>({icon:"image-dbs-suspended",status:"Suspended",description:"Non-Compliance DBS Suspension"}),Ue=()=>({icon:"image-dbs-suspended",status:"Outcome: Content",description:"A DBS outcome has been generated for this application, and we have been notified that there is content on your DBS certificate. Our DBS partner, First Advantage, is now reviewing the content on this certificate."}),Xe=()=>({icon:"image-dbs-referred-to-fa",status:"Referred to The FA",description:"The content of your DBS is under review by The FA Safeguarding Case Management Team."}),Ze=()=>({icon:"image-dbs-initiated",status:"Application Initiated",description:"The DBS applicant has been sent an email to start the DBS application process",isMobile:!0}),et=()=>({icon:"image-dbs-inprogress",status:"In progress",description:"The DBS application is now with The Disclosure and Barring Service (DBS)",isMobile:!0}),tt=()=>({icon:"image-dbs-withdrawn",status:"Withdrawn",description:"The DBS application has been closed due to inactivity. A new DBS application is required.",isMobile:!0}),it=()=>({icon:"image-dbs-awaitingactions awaitingactions",status:"Awaiting Countersign",description:"Our DBS partner, First Advantage, will review and countersign the applicant's DBS application ahead of submitting to The Disclosure and Barring Service (DBS).",isMobile:!0}),nt=()=>({icon:"image-dbs-awaitingactions awaitingactions",status:"Awaiting ID Verification",description:"The DBS applicant has failed online digital ID verification. Offline verification is required by a verifier role from the organisation.",isMobile:!0}),at=()=>({icon:"image-dbs-awaitingactions awaitingactions",status:"Awaiting Payment",description:"The DBS applicant has started the process of applying for a DBS but payment is required to progress the DBS application.",isMobile:!0}),rt=()=>({icon:"image-dbs-suspended post-process-status",status:"DBS Outcome: Content",description:"A DBS outcome has been generated for this application, and we have been notified that there is content on your DBS certificate. You are required to send the physical certificate to:",statusDescription:!0,isMobile:!0}),ot=()=>({icon:"image-dbs-suspended post-process-status",status:"Suspended",description:"Non-Compliance DBS Suspension",isMobile:!0}),st=()=>({icon:"image-dbs-suspended post-process-status",status:"Outcome: Content",description:"A DBS outcome has been generated for this application, and we have been notified that there is content on your DBS certificate. Our DBS partner, First Advantage, is now reviewing the content on this certificate.",isMobile:!0}),dt=()=>({icon:"image-dbs-referred-to-fa post-process-status",status:"Referred to The FA",description:"The content of your DBS is under review by The FA Safeguarding Case Management Team.",isMobile:!0}),lt=e=>({mob:e}),pt=e=>({"content-text mob":e}),ct=e=>[e];function mt(e,i){if(e&1){let o=B();a(0,"div",39)(1,"p"),s(2," As part of The FA's safeguarding children regulations, we require all participants who work with children under the age of 18 to hold an FA Accepted Enhanced DBS check which includes a check of the 'Children's Barred list'. This is in line with current UK legislation, government guidance and FA regulations."),f(3,"br")(4,"br"),s(5," Note - DBS (Disclosure Barring Service) checks were previously known as CRC and/or CRB checks. If your DBS or Safeguarding is incorrect, please contact your County FA. "),f(6,"br")(7,"br"),n(),a(8,"button",40),y("click",function(d){T(o);let t=m();return t.closeTooltip(d),A(t.showInfo1=!1)})("keypress",function(d){T(o);let t=m();return t.closeTooltipTab(d),A(t.showInfo1=!1)}),s(9," GOT IT "),n()()}}function ut(e,i){if(e&1&&(a(0,"div",41),f(1,"span",42)(2,"span",43),n()),e&2){let o=m();r(2),l("innerHtml",o.globalConstants.dbsSuspendedError,ae)}}
1function gt(e,i){e&1&&C(0)}function ft(e,i){if(e&1&&(a(0,"div",44),s(1),_(2,"date"),n()),e&2){let o=m();r(),g(" ",v(2,1,o.dbsCertificateDate,"d MMMM yyyy")," ")}}function bt(e,i){if(e&1&&(a(0,"div",45),s(1),_(2,"date"),n()),e&2){let o=m();r(),g(" ",v(2,1,o.dbsExpiryDate,"d MMMM yyyy")," ")}}function ht(e,i){e&1&&(a(0,"div",46),s(1,"The DBS application has been closed due to inactivity. A new DBS application is required."),n())}function St(e,i){e&1&&(a(0,"div",46),s(1,"This application has been rejected by the disclosure & barring service due to some information on the application being incorrect. Please submit a new application ensuring all the details are correct."),n())}function _t(e,i){e&1&&C(0)}function vt(e,i){if(e&1&&(b(0),c(1,_t,1,0,"ng-container",47),h()),e&2){m();let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,We))}}function Ct(e,i){e&1&&C(0)}function xt(e,i){if(e&1&&(b(0),c(1,Ct,1,0,"ng-container",47),h()),e&2){m();let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,Ge))}}function Dt(e,i){e&1&&C(0)}function yt(e,i){if(e&1&&(b(0),c(1,Dt,1,0,"ng-container",47),h()),e&2){m();let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,ze))}}function wt(e,i){e&1&&C(0)}function It(e,i){if(e&1&&(b(0),c(1,wt,1,0,"ng-container",47),h()),e&2){m();let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,qe))}}function Et(e,i){e&1&&C(0)}function Tt(e,i){if(e&1&&(b(0),c(1,Et,1,0,"ng-container",47),h()),e&2){m();let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,$e))}}function At(e,i){e&1&&C(0)}function Mt(e,i){if(e&1&&(b(0),c(1,At,1,0,"ng-container",47),h()),e&2){m();let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,He))}}function Pt(e,i){e&1&&C(0)}function Ft(e,i){if(e&1&&(b(0),c(1,Pt,1,0,"ng-container",47),h()),e&2){m(2);let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,Je))}}function Ot(e,i){e&1&&C(0)}function Bt(e,i){if(e&1&&(b(0),c(1,Ot,1,0,"ng-container",47),h()),e&2){m(2);let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,Ke))}}function kt(e,i){e&1&&C(0)}function Rt(e,i){if(e&1&&(b(0),c(1,kt,1,0,"ng-container",47),h()),e&2){m(2);let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,Ue))}}function Nt(e,i){e&1&&C(0)}function Qt(e,i){if(e&1&&(b(0),c(1,Nt,1,0,"ng-container",47),h()),e&2){m(2);let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,Xe))}}function Lt(e,i){if(e&1&&(b(0),c(1,Ft,2,3,"ng-container",23)(2,Bt,2,3,"ng-container",23)(3,Rt,2,3,"ng-container",23)(4,Qt,2,3,"ng-container",23),h()),e&2){let o=m();r(),l("ngIf",o.dbsDetails.dbsApplicationReviewStatusId===(o.dbsReviewStatuses==null?null:o.dbsReviewStatuses.AwaitingCertificateRetrieval)),r(),l("ngIf",o.dbsDetails.dbsApplicationReviewStatusId===(o.dbsReviewStatuses==null?null:o.dbsReviewStatuses.NoCertificateRetrieved)),r(),l("ngIf",o.dbsDetails.dbsApplicationReviewStatusId===(o.dbsReviewStatuses==null?null:o.dbsReviewStatuses.CertificateRetrieved)),r(),l("ngIf",o.dbsDetails.dbsApplicationReviewStatusId===(o.dbsReviewStatuses==null?null:o.dbsReviewStatuses.ReferToCustomer))}}function Vt(e,i){e&1&&(a(0,"div"),s(1," N/A "),n())}function Yt(e,i){if(e&1){let o=B();a(0,"div")(1,"button",48),y("click",function(){T(o);let d=m();return A(d.dbsStatus=="Accepted"||d.dbsDetails.DBSPortalStatusId===d.dbsPortalStatus.Withdrawn||d.dbsDetails.outcome===d.outcome.Indeterminate||d.dbsStatus==="Invalid"||d.dbsStatus==="Suspended - Other"?d.openConfirmDialog():d.openAgeGroupDialog())}),s(2,"START DBS"),n()()}}function jt(e,i){e&1&&C(0)}function Wt(e,i){if(e&1&&(a(0,"div")(1,"div",49),s(2,"Completed:"),n(),a(3,"div",50),s(4),_(5,"date"),n(),a(6,"div",49),s(7,"Expiry:"),n(),a(8,"div",51),s(9),_(10,"date"),n()()),e&2){let o=m();r(4),g(" ",v(5,2,o.dbsCertificateDate,"d MMMM yyyy")," "),r(5),g(" ",v(10,5,o.dbsExpiryDate,"d MMMM yyyy")," ")}}function Gt(e,i){e&1&&(a(0,"div")(1,"div",52),s(2," Not Completed "),n()())}function zt(e,i){e&1&&(a(0,"div",53),s(1,"The DBS application has been closed due to inactivity. A new DBS application is required."),n())}function qt(e,i){e&1&&(a(0,"div",53),s(1,"This application has been rejected by the disclosure & barring service due to some information on the application being incorrect. Please submit a new application ensuring all the details are correct."),n())}function $t(e,i){e&1&&C(0)}function Ht(e,i){if(e&1&&(b(0),c(1,$t,1,0,"ng-container",47),h()),e&2){m();let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,Ze))}}function Jt(e,i){e&1&&C(0)}function Kt(e,i){if(e&1&&(b(0),c(1,Jt,1,0,"ng-container",47),h()),e&2){m();let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,et))}}function Ut(e,i){e&1&&C(0)}function Xt(e,i){if(e&1&&(b(0),c(1,Ut,1,0,"ng-container",47),h()),e&2){m();let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,tt))}}function Zt(e,i){e&1&&C(0)}function ei(e,i){if(e&1&&(b(0),c(1,Zt,1,0,"ng-container",47),h()),e&2){m();let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,it))}}function ti(e,i){e&1&&C(0)}function ii(e,i){if(e&1&&(b(0),c(1,ti,1,0,"ng-container",47),h()),e&2){m();let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,nt))}}function ni(e,i){e&1&&C(0)}function ai(e,i){if(e&1&&(b(0),c(1,ni,1,0,"ng-container",47),h()),e&2){m();let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,at))}}function ri(e,i){e&1&&C(0)}function oi(e,i){if(e&1&&(b(0),c(1,ri,1,0,"ng-container",47),h()),e&2){m(2);let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,rt))}}function si(e,i){e&1&&C(0)}function di(e,i){if(e&1&&(b(0),c(1,si,1,0,"ng-container",47),h()),e&2){m(2);let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,ot))}}function li(e,i){e&1&&C(0)}function pi(e,i){if(e&1&&(b(0),c(1,li,1,0,"ng-container",47),h()),e&2){m(2);let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,st))}}function ci(e,i){e&1&&C(0)}function mi(e,i){if(e&1&&(b(0),c(1,ci,1,0,"ng-container",47),h()),e&2){m(2);let o=x(92);r(),l("ngTemplateOutlet",o)("ngTemplateOutletContext",D(2,dt))}}function ui(e,i){if(e&1&&(b(0),c(1,oi,2,3,"ng-container",23)(2,di,2,3,"ng-container",23)(3,pi,2,3,"ng-container",23)(4,mi,2,3,"ng-container",23),h()),e&2){let o=m();r(),l("ngIf",o.dbsDetails.dbsApplicationReviewStatusId===(o.dbsReviewStatuses==null?null:o.dbsReviewStatuses.AwaitingCertificateRetrieval)),r(),l("ngIf",o.dbsDetails.dbsApplicationReviewStatusId===(o.dbsReviewStatuses==null?null:o.dbsReviewStatuses.NoCertificateRetrieved)),r(),l("ngIf",o.dbsDetails.dbsApplicationReviewStatusId===(o.dbsReviewStatuses==null?null:o.dbsReviewStatuses.CertificateRetrieved)),r(),l("ngIf",o.dbsDetails.dbsApplicationReviewStatusId===(o.dbsReviewStatuses==null?null:o.dbsReviewStatuses.ReferToCustomer))}}function gi(e,i){e&1&&(a(0,"div"),s(1," N/A "),n())}function fi(e,i){if(e&1){let o=B();a(0,"div")(1,"button",48),y("click",function(){T(o);let d=m();return A(d.dbsStatus=="Accepted"||d.dbsDetails.DBSPortalStatusId===d.dbsPortalStatus.Withdrawn||d.dbsDetails.outcome===d.outcome.Indeterminate||d.dbsStatus==="Invalid"||d.dbsStatus==="Suspended-Other"?d.openConfirmDialog():d.openAgeGroupDialog())}),s(2,"START DBS"),n()()}}function bi(e,i){if(e&1&&(a(0,"div",58)(1,"div"),s(2,"First Advantage Europe Limited"),n(),a(3,"div"),s(4,"Standard Court,"),n(),a(5,"div"),s(6,"Park Row, Suite 203"),n(),a(7,"div"),s(8,"Nottingham,"),n(),a(9,"div"),s(10,"NG1 6GN"),n()()),e&2){let o=m().isMobile;l("ngClass",k(1,pt,o))}}function hi(e,i){if(e&1&&(a(0,"div",54),f(1,"span",55),a(2,"div"),s(3),n()(),a(4,"div",56),s(5),n(),c(6,bi,11,3,"div",57)),e&2){let o=i.icon,p=i.status,d=i.description,t=i.statusDescription,u=i.isMobile;
1r(),l("ngClass",o),r(2),M(p),r(),l("ngClass",k(5,lt,u)),r(),M(d),r(),l("ngIf",t)}}function Si(e,i){e&1&&f(0,"span",64)}function _i(e,i){e&1&&f(0,"span",65)}function vi(e,i){e&1&&f(0,"span",64)}function Ci(e,i){e&1&&f(0,"span",69)}function xi(e,i){e&1&&f(0,"span",70)}function Di(e,i){if(e&1&&(b(0),c(1,vi,1,0,"span",66)(2,Ci,1,0,"span",67)(3,xi,1,0,"span",68),h()),e&2){let o=m(2);r(),l("ngIf",o.dbsExpiryCheck==="expired"),r(),l("ngIf",o.dbsExpiryCheck==="expiring soon"),r(),l("ngIf",o.dbsExpiryCheck==="active")}}function yi(e,i){e&1&&f(0,"span",64)}function wi(e,i){e&1&&f(0,"span",65)}function Ii(e,i){e&1&&f(0,"span",71)}function Ei(e,i){if(e&1&&(a(0,"span"),s(1),n()),e&2){let o=m(3);r(),g("- ",o.dbsExpiryCheck==="expired"?"Expired":o.dbsExpiryCheck==="expiring soon"?"Expiring soon":"New DBS in progress"," ")}}function Ti(e,i){if(e&1&&(b(0),c(1,Ei,2,1,"span",23),h()),e&2){let o=m(2);r(),l("ngIf",o.dbsExpiryCheck==="expired"||o.dbsExpiryCheck==="expiring soon"||o.dbsExpiryCheck==="active"&&k(1,ct,o.dbsPortalStatus==null?null:o.dbsPortalStatus.InProgress).includes(o.dbsDetails.DBSPortalStatusId))}}function Ai(e,i){if(e&1&&(a(0,"div",59),c(1,Si,1,0,"span",60)(2,_i,1,0,"span",61)(3,Di,4,3,"ng-container",62)(4,yi,1,0,"span",60)(5,wi,1,0,"span",61)(6,Ii,1,0,"span",63),a(7,"span"),s(8),c(9,Ti,2,3,"ng-container",23),n()()),e&2){let o=m();l("ngSwitch",o.dbsStatus),r(),l("ngSwitchCase","Invalid"),r(),l("ngSwitchCase","Suspended - Other"),r(),l("ngSwitchCase","Accepted"),r(),l("ngSwitchCase","Withdrawn (by DBS)"),r(),l("ngSwitchCase","Suspended"),r(),l("ngSwitchCase","Referred to The FA"),r(2),g(" ",o.dbsStatus," "),r(),l("ngIf",o.dbsStatus==="Accepted")}}var Me=(function(e){return e.Indeterminate="Indeterminate",e})(Me||{}),Pe=(()=>{let i=class i{clickout(p){let d=this;$(p.target).is(".note-info-tooltip")===!1&&$(p.target).is(".note-info-tooltip p")===!1&&$(p.target).is("a.note-info")===!1&&d.showInfo1&&(d.showInfo1=!1)}constructor(p,d,t,u,I,U,X){this.expiryCheckService=p,this.checkDSTService=d,this.injector=t,this.dialog=u,this.dbsService=I,this.sharedService=U,this.sucessPopupService=X,this.dbsExpiryCheck="",this.dbsYouthFootballStatus="",this.globalConstants=w,this.ageGroupError=!1,this.selectedAgeGroup="",this.outcome=Me,this.isCompleted=!1,this.dynamicStyleLoaderService=t.get(q)}ngOnChanges(p){p.dbsDetails&&this.dbsDetails!=null&&this.dbsDetails!=null&&(this.assignDbsStatus(this.dbsDetails),this.getDbsApplicantStatus())}assignYouthFootballStatus(p){p?this.dbsExpiryCheck==="expiring soon"?this.dbsYouthFootballStatus=w.youthFootballStatus["inProgress-expiringSoonDBS"]:this.dbsYouthFootballStatus=this.dbsExpiryCheck==="expired"?w.youthFootballStatus["inProgress-expiredDBS"]:w.youthFootballStatus["inProgress-activeDBS"]:this.dbsExpiryCheck==="expiring soon"?this.dbsYouthFootballStatus=w.youthFootballStatus["noInProgress-expiringSoonDBS"]:this.dbsYouthFootballStatus=this.dbsExpiryCheck==="expired"?w.youthFootballStatus["noInProgress-expiredDBS"]:w.youthFootballStatus["noInProgress-activeDBS"]}assignDbsStatus(p){let d=this.isInProgressOrComplete(p),t=this.checkAwaitingActionStatus(),u=this.checkValidReviewStatus();switch(this.dbsStatus){case"Accepted":this.assignYouthFootballStatus(d);break;case"Suspended":this.assignSuspendedStatus(d);break;case"Referred To CM":this.dbsStatus="Referred to The FA",this.dbsYouthFootballStatus=w.youthFootballStatus["noInProgress-referredToCMDBS"];break;case"":case null:case"In Progress":case"Pending":this.handleInProgressOrPendingStatus(d,t,u);break;default:this.handleDefaultStatus()}}isInProgressOrComplete(p){return p?.DBSPortalStatusName==="Application In Progress"||p?.DBSPortalStatusName==="Application Complete"}assignSuspendedStatus(p){this.dbsYouthFootballStatus=p?w.youthFootballStatus["inProgress-suspendedDBS"]:w.youthFootballStatus["noInProgress-suspendedDBS"]}handleInProgressOrPendingStatus(p,d,t){if(this.dbsPortalStatus&&(this.dbsDetails?.DBSPortalStatusId==this.dbsPortalStatus.Completed&&this.dbsDetails?.outcome!==this.outcome.Indeterminate||this.dbsDetails?.dbsApplicationReviewStatusId===this.dbsReviewStatuses?.AcceptDbsCertificate)||this.dbsStatus==="Accepted"){let u=this.getDbsExpiryState();this.setYouthFootballStatus(u)}else this.dbsPortalStatus&&(this.dbsDetails?.DBSPortalStatusId==this.dbsPortalStatus.Withdrawn||this.dbsDetails?.outcome===this.outcome.Indeterminate||this.dbsDetails?.dbsApplicationReviewStatusId===this.dbsReviewStatuses?.DbsCertificateOutOfDate||this.dbsStatus==="Invalid")?this.setYouthFootballStatus("noInProgress-noDBS"):this.dbsStatus==="Suspended - Other"?this.setYouthFootballStatus("awaitingAction-noCertificateRetrieved"):d&&t?this.handleAwaitingActionStatus():this.setYouthFootballStatus(p?"inProgress-noDBS":"noInProgress-noDBS")}getDbsExpiryState(){let p=this.dbsDetails.DBSPortalStatusId&&[this.dbsPortalStatus.InProgress].includes(this.dbsDetails.DBSPortalStatusId);switch(this.dbsExpiryCheck){case"expired":return p?"inProgress-expiredDBS":"noInProgress-expiredDBS";case"expiring soon":return p?"inProgress-expiringSoonDBS":"noInProgress-expiringSoonDBS";case"active":return p?"inProgress-activeDBS":"completed-dbs";default:return"completed-dbs"}}handleDefaultStatus(){this.checkAwaitingActionStatus()&&this.checkValidReviewStatus()?this.handleAwaitingActionStatus():this.dbsYouthFootballStatus=""}setYouthFootballStatus(p){this.dbsYouthFootballStatus=w.youthFootballStatus[p]}handleAwaitingActionStatus(){let d={[this.dbsReviewStatuses.AwaitingCertificateRetrieval]:"noInProgress-noDBS",[this.dbsReviewStatuses.CertificateRetrieved]:"awaitingAction-certificateRetrieved",[this.dbsReviewStatuses.ReferToCustomer]:"awaitingAction-referredToFa"}[this.dbsDetails?.dbsApplicationReviewStatusId]||"awaitingAction-noCertificateRetrieved";this.setYouthFootballStatus(d)}checkAwaitingActionStatus(){return this.dbsDetails?.DBSPortalStatusId===this.dbsPortalStatus?.AwaitingAction}checkValidReviewStatus(){let p=[this.dbsReviewStatuses?.AwaitingCertificateRetrieval,this.dbsReviewStatuses?.NoCertificateRetrieved,this.dbsReviewStatuses?.CertificateRetrieved,this.dbsReviewStatuses?.ReferToCustomer];return this.dbsReviewStatuses&&p.includes(this.dbsDetails?.dbsApplicationReviewStatusId)}openAgeGroupDialog(){this.dynamicStyleLoaderService.attachDialogStyles(),delete this.dialogInstance,this.dialogInstance=this.dialog.open(Ee,{width:"60%",disableClose:!0,position:{top:"25px"},data:{parentInstance:this}}),this.dialogInstance.afterClosed().subscribe(()=>{this.ageGroupError=!1,this.dynamicStyleLoaderService.removeDialogStyles()})}openConfirmDialog(){this.dynamicStyleLoaderService.attachDialogStyles(),delete this.dialogInstance,this.dialogInstance=this.dialog.open(Te,{width:"60%",disableClose:!0,position:{top:"25px"},data:{parentInstance:this}}),this.dialogInstance.afterClosed().subscribe(()=>{this.dynamicStyleLoaderService.removeDialogStyles()})}reset(){this.ageGroupError=!1,this.selectedAgeGroup="",this.dialogInstance.close()}initiateDbs(){this.selectedAgeGroup?(this.ageGroupError=!1,this.selectedAgeGroup!=="1"?this.confirm():(this.selectedAgeGroup="",this.dialogInstance.close())):this.ageGroupError=!0}confirm(){let[p,d]=this.sharedService.name.split(" "),t={countyId:this.dbsDetails.CountyId,firstName:p,lastName:d,email:this.sharedService.email,isApplicantPay:!0};this.dbsService.initiateDbs(t,Number(this.sharedService.fanCode)).subscribe({next:u=>{this.dialogInstance.close(),this.sucessPopupService.setSuccessMessage("DBS check initiated, an email with further details will be sent to you"),this.sucessPopupService.show(),this.getDbsApplicantStatus()},error:u=>{this.dialogInstance.close()}})}getDbsApplicantStatus(){this.dbsService.getIndividualDbs(Number(this.sharedService.fanCode)).subscribe({next:p=>
1{p?.dbsApplicationDetails.forEach(d=>{if(d.dbsApplicationStatusId===this.dbsPortalStatus?.Completed){this.isCompleted=!0,this.dbsCertificateDate=d.issuedDate,this.dbsDetails.DbscertificateDate=d.issuedDate,this.dbsExternalApplicationId=d.externalApplicationId,this.dbsExpiryDate=d.expiryDate,this.dbsDetails.DbsexpiryDate=d.expiryDate,this.dbsDetails.outcome=d.outcome,this.dbsDetails.isDbsInitiatedFromKyp=d.isDbsInitiatedFromKyp;let t=d.dbsApplicationReviewStatusId===this.dbsReviewStatuses?.PendingWithClient?"Suspended - Other":"Accepted",u=this.dbsDetails.outcome===this.outcome.Indeterminate?"Withdrawn (by DBS)":t;this.dbsStatus=d.dbsApplicationReviewStatusId===this.dbsReviewStatuses?.DbsCertificateOutOfDate?"Invalid":u}else this.dbsDetails.DBSPortalStatusId=d.dbsApplicationStatusId,this.dbsDetails.dbsApplicationReviewStatusId=d.dbsApplicationReviewStatusId,this.assignDbsStatus(this.dbsDetails)}),setTimeout(()=>{this.dbsStatus&&(this.dbsExpiryCheck=this.expiryCheckService.checkDbsExpiry(this.dbsDetails.DbsexpiryDate),this.dbsCertificateDate=this.checkDSTService.setDSTTime(this.dbsDetails.DbscertificateDate),this.dbsExpiryDate=this.checkDSTService.setDSTTime(this.dbsDetails.DbsexpiryDate),this.assignDbsStatus(this.dbsDetails))},100)}})}closeTooltip(p){p.target.offsetParent.previousElementSibling.focus()}closeTooltipTab(p){(p.keyCode==13||p.which==13)&&p.target.offsetParent.previousElementSibling.focus()}showStartDbs(){return!!(this.dbsDetails.IsAReferee&&!this.dbsDetails.DBSPortalStatusId||(this.dbsStatus==="Accepted"||this.dbsStatus==="Invalid"||this.dbsDetails.outcome===this.outcome.Indeterminate||this.dbsStatus==="Suspended - Other")&&!this.dbsDetails.DBSPortalStatusId&&(this.dbsExternalApplicationId&&this.dbsDetails.isDbsInitiatedFromKyp||this.dbsDetails.IsAReferee)||this.dbsDetails.DBSPortalStatusId===this.dbsPortalStatus?.Withdrawn&&(this.dbsExternalApplicationId&&this.dbsDetails.isDbsInitiatedFromKyp||this.dbsDetails.IsAReferee))}};i.\u0275fac=function(d){return new(d||i)(S(H),S(J),S(ne),S(_e),S(K),S(Y),S(xe))},i.\u0275cmp=E({type:i,selectors:[["app-dbs"]],hostBindings:function(d,t){d&1&&y("click",function(I){return t.clickout(I)},re)},inputs:{dbsDetails:"dbsDetails",fullName:"fullName",fanCode:"fanCode",dbsPortalStatus:"dbsPortalStatus",dbsReviewStatuses:"dbsReviewStatuses"},standalone:!1,features:[N],decls:95,vars:37,consts:[["statusTemplate",""],["statusIconTemplate",""],[1,"info-panel","learningCoachDetails"],[1,"info-panel-heading","learningheading"],[1,"info-panel-title","dbs-title"],[1,"grpProfile"],["role","link","aria-label","DBS details Info","tabindex","0",1,"note-info","first-item-focus",3,"keypress","click"],["tabindex","-1","class","note-info-tooltip","role","tooltip",4,"ngIf"],[1,"info-panel-title","name-fancode-section"],[1,"full-name"],[1,"fan-code"],["class","suspended-notification",4,"ngIf"],[1,"info-panel-collapse","in","learningDetails","align-dbs-section"],["role","table","aria-label","Learning details",1,"learning-panel"],["role","row",1,"formhead"],["role","columnheader",1,"formdata"],["aria-labelledby","section-heading",1,"formhead","align-desktop",3,"ngClass"],[1,"formdata","header"],[4,"ngTemplateOutlet"],["class","formdata date highlight-completed-date-desktop",4,"ngIf"],["class","formdata date highlight-expiry-date-desktop",4,"ngIf"],["class","content-text invalid-status-text",4,"ngIf"],[1,"formdata","header","w100"],[4,"ngIf"],[1,"info-panel-collapse","in","learningDetails","align-dbs-section","d-none"],[1,"formdata","header","dbs-youth-football-status"],["id","accordian-section",1,"info-panel-collapse","out","learningDetails"],[1,"learning-panel"],["id","accordion"],["tabindex","0","aria-label","DBS Status","tabindex","0",1,"formdata","header"],["role","definition","aria-roledescription","DBS Status",1,"formdata","date","dbs-status-mobile"],["class","content-text mob invalid-status-text",4,"ngIf"],[1,"application-status-mobile"],[1,"formdata","header","w100","align-mobile"],[1,"header-mob"],[1,"formdata","dbs-new-application-status-mobile"],[1,"football-status-mobile","d-none"],[1,"formdata","header","align-mobile"],[1,"formdata","date","dbs-youth-football-status-mobile"],["tabindex","-1","role","tooltip",1,"note-info-tooltip"],["tabindex","0","aria-label","Got it- Close DBS details Info",1,"dbs-button",3,"click","keypress"],[1,"suspended-notification"],[1,"image-dbs-suspended-error","dbs-error-icon"],[1,"dbs-suspended-message",3,"innerHtml"],[1,"formdata","date","highlight-completed-date-desktop"],[1,"formdata","date","highlight-expiry-date-desktop"],[1,"content-text","invali
1d-status-text"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"start-dbs-button",3,"click"],[1,"formdata"],["role","definition","tabindex","0","aria-roledescription","Completed on",1,"formdata","date"],["role","definition","tabindex","0","aria-roledescription","Expires on",1,"formdata","date"],["role","definition","tabindex","0",1,"formdata"],[1,"content-text","mob","invalid-status-text"],[1,"in-progress-dbs"],[1,"dbs-status-icon",3,"ngClass"],[1,"content-text",3,"ngClass"],["class","status-description",3,"ngClass",4,"ngIf"],[1,"status-description",3,"ngClass"],[1,"dbs-status",3,"ngSwitch"],["class","image-dbs-withdrawn dbs-status-icon",4,"ngSwitchCase"],["class","image-dbs-suspended dbs-status-icon",4,"ngSwitchCase"],[4,"ngSwitchCase"],["class","image-dbs-referred-to-fa dbs-status-icon",4,"ngSwitchCase"],[1,"image-dbs-withdrawn","dbs-status-icon"],[1,"image-dbs-suspended","dbs-status-icon"],["class","image-dbs-withdrawn dbs-status-icon",4,"ngIf"],["class","image-dbs-awaitingactions dbs-status-icon",4,"ngIf"],["class","image-dbs-accepted dbs-status-icon",4,"ngIf"],[1,"image-dbs-awaitingactions","dbs-status-icon"],[1,"image-dbs-accepted","dbs-status-icon"],[1,"image-dbs-referred-to-fa","dbs-status-icon"]],template:function(d,t){if(d&1){let u=B();a(0,"section")(1,"div",2)(2,"div",3)(3,"h3",4)(4,"label",5),s(5,"DBS Details"),n(),a(6,"a",6),y("keypress",function(){return T(u),A(t.showInfo1=!0)})("click",function(){return T(u),A(t.showInfo1=!0)}),n(),c(7,mt,10,0,"div",7),n(),a(8,"section",8)(9,"label",9),s(10),n(),a(11,"span",10),s(12),n()()(),c(13,ut,3,1,"div",11),a(14,"div",12)(15,"div",13)(16,"div",14)(17,"div",15),s(18,"Existing DBS"),n(),a(19,"div",15),s(20,"Completed"),n(),a(21,"div",15),s(22,"Expiry"),n()(),a(23,"div",16)(24,"div",17),c(25,gt,1,0,"ng-container",18),n(),c(26,ft,3,4,"div",19)(27,bt,3,4,"div",20),n(),c(28,ht,2,0,"div",21)(29,St,2,0,"div",21),n()(),a(30,"div",12)(31,"div",13)(32,"div",14)(33,"div",15),s(34,"New DBS Application"),n()(),a(35,"div",14)(36,"div",22),c(37,vt,2,3,"ng-container",23)(38,xt,2,3,"ng-container",23)(39,yt,2,3,"ng-container",23)(40,It,2,3,"ng-container",23)(41,Tt,2,3,"ng-container",23)(42,Mt,2,3,"ng-container",23)(43,Lt,5,4,"ng-container",23)(44,Vt,2,0,"div",23)(45,Yt,3,0,"div",23),n()()()(),a(46,"div",24)(47,"div",13)(48,"div",14)(49,"div",15),s(50,"Individual Youth Football Status"),n()(),a(51,"div",14)(52,"div",25)(53,"div"),s(54),n()()()()(),a(55,"div",26)(56,"div",27)(57,"div",28)(58,"mat-accordion")(59,"mat-expansion-panel")(60,"mat-expansion-panel-header")(61,"mat-panel-title")(62,"div",29)(63,"div"),s(64," Existing DBS "),n(),a(65,"div",30),c(66,jt,1,0,"ng-container",18),n()()()(),c(67,Wt,11,8,"div",23)(68,Gt,3,0,"div",23)(69,zt,2,0,"div",31)(70,qt,2,0,"div",31),n()(),a(71,"div",32)(72,"div",33)(73,"div",34),s(74," New DBS Application "),n(),a(75,"div",35),c(76,Ht,2,3,"ng-container",23)(77,Kt,2,3,"ng-container",23)(78,Xt,2,3,"ng-container",23)(79,ei,2,3,"ng-container",23)(80,ii,2,3,"ng-container",23)(81,ai,2,3,"ng-container",23)(82,ui,5,4,"ng-container",23)(83,gi,2,0,"div",23)(84,fi,3,0,"div",23),n()()(),a(85,"div",36)(86,"div",37)(87,"div"),s(88," Individual Youth Football Status "),n(),a(89,"div",38),s(90),n()()()()()()()(),c(91,hi,7,7,"ng-template",null,0,Z)(93,Ai,10,9,"ng-template",null,1,Z)}if(d&2){let u=x(94);r(7),l("ngIf",t.showInfo1),r(3),M(t.fullName),r(2),g("FAN: ",t.fanCode),r(),l("ngIf",t.dbsStatus==="Suspended"),r(10),l("ngClass",k(35,je,t.dbsStatus==="Invalid"||t.dbsStatus==="Withdrawn (by DBS)")),r(2),l("ngTemplateOutlet",u),r(),l("ngIf",(t.dbsDetails==null?null:t.dbsDetails.DbscertificateDate)!=null&&(t.dbsDetails==null?null:t.dbsDetails.DbscertificateDate)!=null||t.dbsStatus==="Accepted"||t.dbsStatus==="Invalid"),r(),l("ngIf",(t.dbsDetails==null?null:t.dbsDetails.DbsexpiryDate)!==null&&(t.dbsDetails==null?null:t.dbsDetails.DbsexpiryDate)!==void 0||t.dbsStatus==="Accepted"||t.dbsStatus==="Invalid"),r(),l("ngIf",t.dbsStatus==="Invalid"),r(),l("ngIf",t.dbsStatus==="Withdrawn (by DBS)"),r(8),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.ToBeCompleted)),r(),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.InProgress)||t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.AwaitingDBSReference)),r(),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.Withdrawn)),r(),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.AwaitingCountersign)),r(),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.AwaitingVerification)),r(),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.AwaitingPayment)),r(),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.AwaitingAction)),r(),l("ngIf",!t.dbsDetails.DBSPortalStatusId&&!t.dbsDetails.IsAReferee&&(!t.dbsStatus||t.dbsStatus&&!t.dbsDetails.isDbsInitiatedFromKyp)),r(),l("ngIf",t.showStartDbs()),r(9),M(t.dbsYouthFootballStatus),r(12),l("ngTemplateOutlet",u),r(),l("ngIf",(t.dbsDetails==null?null:t.dbsDetails.DbscertificateDate)!=null||t.dbsStatus==="Accepted"||t.dbsStatus==="Invalid"),r(),l("ngIf",(t.dbsDetails==null?null:t.dbsDetails.DbscertificateDate)===null&&t.dbsStatus==="Accepted"),r(),l("ngIf",t.dbsStatus==="Invalid"),r(),l("ngIf",t.dbsStatus==="Withdrawn (by DBS)"),r(6),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.ToBeCompleted)),r(),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.InProgress)||t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.AwaitingDBSReference)),r(),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.Withdrawn)),r(),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.AwaitingCountersign)),r(),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.AwaitingVerification)),r(),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.AwaitingPayment)),r(),l("ngIf",t.dbsDetails.DBSPortalStatusId===(t.dbsPortalStatus==null?null:t.dbsPortalStatus.AwaitingAction)),r(),l("ngIf",!t.dbsDetails.DBSPortalStatusId&&!t.dbsDetails.IsAReferee&&(!t.dbsStatus||t.dbsStatus&&!t.dbsDetails.isDbsInitiatedFromKyp)),r(),l("ngIf",t.showStartDbs()),r(6),g(" ",t.dbsYouthFootballStatus," ")}},dependencies:[oe,L,le,se,de,z,j,W,G,F],styles:["body[_ngcontent-%COMP%]{margin:0}.learningheading[_ngcontent-%COMP%]{display:flex}.dbs-title[_ngcontent-%COMP%]{width:40%}.name-fancode-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:60%;text-align:right}.fan-code[_ngcontent-%COMP%]{color:#6f6f6f;
1font-family:FSJack,arial,helvetica,sans-serif;font-size:12px;line-height:14px}.content-text[_ngcontent-%COMP%]{width:100%;font-family:FSJack,arial,helvetica,sans-serif;line-height:22px;color:#414141;font-weight:400px;font-size:14px;margin:10px 0}.dbs-status[_ngcontent-%COMP%], .expiry-status[_ngcontent-%COMP%], .in-progress-dbs[_ngcontent-%COMP%], .suspended-notification[_ngcontent-%COMP%], .align-desktop[_ngcontent-%COMP%]{display:flex}.dbs-status-icon[_ngcontent-%COMP%]{width:23px;height:22px;margin-right:5px}.dbs-youth-football-status[_ngcontent-%COMP%]{width:100%}.suspended-notification[_ngcontent-%COMP%]{margin:0 30px 20px;border-radius:5px}.dbs-error-icon[_ngcontent-%COMP%]{width:34px;height:34px;border-left:1px solid #e71c1c;border-radius:4px 0 0 4px}.dbs-suspended-message[_ngcontent-%COMP%]{color:#414141;font-family:FSJack,arial,helvetica,sans-serif;font-size:14px;line-height:22px;border:2px solid #db2929f0;border-radius:0 4px 4px 0;width:100%;padding:4px 10px}.highlight-completed-date-desktop[_ngcontent-%COMP%], .highlight-expiry-date-desktop[_ngcontent-%COMP%]{color:#414141}.align-dbs-section[_ngcontent-%COMP%]{padding-bottom:20px}.application-status-mobile[_ngcontent-%COMP%], .football-status-mobile[_ngcontent-%COMP%]{background-color:#f7f7f7;border-bottom:.5px solid rgba(0,0,0,.24)}.start-dbs-button[_ngcontent-%COMP%]{color:#fff;
1font-family:FSJack-Bold,arial,helvetica,sans-serif;font-size:14px;height:44px;padding:11px 40px;background-color:#011e41;border:none;width:156px}.content-text.withdrawn[_ngcontent-%COMP%]{padding-bottom:20px;white-space:nowrap}.d-none[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 767px){.learning-titles[_ngcontent-%COMP%]{width:100%}.learningheading[_ngcontent-%COMP%]{flex-direction:column-reverse}.name-fancode-section[_ngcontent-%COMP%]{width:100%;margin-bottom:20px!important}}@media screen and (max-width: 768px){.suspended-notification[_ngcontent-%COMP%]{margin:0 15px 15px;border-radius:5px}.dbs-error-icon[_ngcontent-%COMP%]{height:40px;width:38px}.dbs-status-icon[_ngcontent-%COMP%]{height:14px;margin-right:10px;margin-top:1px;margin-left:8px}.content-text.mob[_ngcontent-%COMP%]{margin-top:10px;padding-right:5px}.content-text.mob.withdrawnstatus[_ngcontent-%COMP%]{padding-bottom:20px}.dbs-status-icon.awaitingactions[_ngcontent-%COMP%]{width:15px}.dbs-status-icon.post-process-status[_ngcontent-%COMP%]{width:23px;margin-right:5px;margin-top:1px}.form[_ngcontent-%COMP%]   .dbs-suspended-message[_ngcontent-%COMP%]{line-height:14px}.dbs-status[_ngcontent-%COMP%]{align-items:center;margin-top:10px}.dbs-status-mobile[_ngcontent-%COMP%]{padding-bottom:0}.in-progress-dbs[_ngcontent-%COMP%]{margin-top:10px;color:#414141;margin-right:5px}.dbs-youth-football-status-mobile[_ngcontent-%COMP%]{margin-top:10px;min-width:100%;font-size:14px}.dbs-new-application-status-mobile[_ngcontent-%COMP%]{margin-top:10px}
1.expiry-status[_ngcontent-%COMP%]{font-family:FSJack-Medium,arial,helvetica,sans-serif;font-size:16px;line-height:19px;color:#011e41}.learning-panel[_ngcontent-%COMP%]{background-color:#fff}.card[_ngcontent-%COMP%], .collapse.in[_ngcontent-%COMP%]{background-color:#f7f7f7}.align-mobile[_ngcontent-%COMP%]{padding-bottom:0}.application-status-mobile[_ngcontent-%COMP%], .football-status-mobile[_ngcontent-%COMP%]{margin-top:10px}}@media screen and (min-width: 768px){.first-item-focus[_ngcontent-%COMP%]{bottom:10px!important}}@media screen and (min-width: 768px) and (max-width: 820px){.expiry-status[_ngcontent-%COMP%]{font-family:FSJack-Medium,arial,helvetica,sans-serif;font-size:16px;line-height:19px;color:#011e41}.application-status-mobile[_ngcontent-%COMP%], .football-status-mobile[_ngcontent-%COMP%]{margin-top:10px}.learning-panel[_ngcontent-%COMP%]{background-color:#fff}}@media screen and (min-width: 768px) and (max-width: 1024px){.dbs-new-application-status-mobile[_ngcontent-%COMP%]{margin-top:10px}.dbs-status-icon[_ngcontent-%COMP%]{width:15px;height:14px;margin-right:10px;margin-left:8px;margin-top:2px}.content-text.mob[_ngcontent-%COMP%]{margin-top:10px;padding-left:5px;padding-right:5px}.header-mob[_ngcontent-%COMP%]{padding-bottom:10px}.in-progress-dbs[_ngcontent-%COMP%]{margin-top:10px;color:#414141;margin-right:5px}}@media screen and (min-width: 1023px) and (max-width: 1024px){.highlight-completed-date-desktop[_ngcontent-%COMP%]{width:120px}}.w100[_ngcontent-%COMP%]{width:100%!important}.status-description[_ngcontent-%COMP%]{margin-top:15px}.invalid-status-text[_ngcontent-%COMP%]{padding-bottom:5px}.remove-border[_ngcontent-%COMP%]{border-bottom:none!important}"]});let e=i;return e})();function Pi(e,i){e&1&&(a(0,"span",35),s(1,"Expiring soon"),n())}function Fi(e,i){e&1&&(a(0,"span",36),s(1,"Expired"),n())}function Oi(e,i){if(e&1&&(a(0,"div",37),s(1),_(2,"date"),n()),e&2){let o=m();r(),g(" ",v(2,1,o.safeguardingForAll.AwardedDate,"d MMMM yyyy"))}}function Bi(e,i){e&1&&(a(0,"div",38),s(1,"Not Completed"),n())}function ki(e,i){if(e&1&&(a(0,"div",39),s(1),_(2,"date"),n()),e&2){let o=m();r(),g(" ",v(2,1,o.safeguardingForAll.ExpiryDate,"d MMMM yyyy"))}}function Ri(e,i){e&1&&(a(0,"span",35),s(1,"Expiring soon"),n())}function Ni(e,i){e&1&&(a(0,"span",36),s(1,"Expired"),n())}function Qi(e,i){if(e&1&&(a(0,"div",40),s(1),_(2,"date"),n()),e&2){let o=m();r(),g(" ",v(2,1,o.safeguardingForCommitteeMembers.AwardedDate,"d MMMM yyyy"))}}function Li(e,i){e&1&&(a(0,"div",38),s(1,"Not Completed"),n())}function Vi(e,i){if(e&1&&(a(0,"div",41),s(1),_(2,"date"),n()),e&2){let o=m();r(),g(" ",v(2,1,o.safeguardingForCommitteeMembers.ExpiryDate,"d MMMM yyyy"))}}function Yi(e,i){e&1&&(a(0,"span",35),s(1,"Expiring soon"),n())}function ji(e,i){e&1&&(a(0,"span",36),s(1,"Expired"),n())}function Wi(e,i){if(e&1&&(a(0,"div",42),s(1),_(2,"date"),n()),e&2){let o=m();r(),g(" ",v(2,1,o.safeguardingForChildren.AwardedDate,"d MMMM yyyy")," ")}}function Gi(e,i){e&1&&(a(0,"div",38),s(1,"Not Completed "),n())}function zi(e,i){if(e&1&&(a(0,"div",43),s(1),_(2,"date"),n()),e&2){let o=m();r(),g(" ",v(2,1,o.safeguardingForChildren.ExpiryDate,"d MMMM yyyy")," ")}}function qi(e,i){if(e&1&&(a(0,"div",44),s(1),_(2,"date"),n()),e&2){let o=m();r(),g(" ",v(2,1,o.safeguardingAdults.AwardedDate,"d MMMM yyyy"))}}function $i(e,i){e&1&&(a(0,"div",38),s(1,"Not Completed"),n())}function Hi(e,i){if(e&1&&(a(0,"div",45),s(1),_(2,"date"),n()),e&2){let o=m();r(),g(" ",v(2,1,o.welfareOfficer.AwardedDate,"d MMMM yyyy"))}}function Ji(e,i){e&1&&(a(0,"div",38),s(1,"Not Completed"),n())}function Ki(e,i){if(e&1&&(a(0,"div",46),s(1),_(2,"date"),n()),e&2){let o=m();r(),g(" ",v(2,1,o.safeguardingParentsCarers.AwardedDate,"d MMMM yyyy"))}}function Ui(e,i){e&1&&(a(0,"div",38),s(1,"Not Completed"),n())}function Xi(e,i){e&1&&(a(0,"span",35),s(1,"Expiring soon"),n())}function Zi(e,i){e&1&&(a(0,"span",36),s(1,"Expired"),n())}function en(e,i){if(e&1&&(a(0,"div")(1,"div",47),s(2,"Completed"),n(),a(3,"div",48),s(4),_(5,"date"),n(),a(6,"div",47),s(7,"Expiry:"),n(),a(8,"div",49),s(9),_(10,"date"),n()()),e&2){let o=m();r(4),g(" ",v(5,2,o.safeguardingForAll.AwardedDate,"d MMMM yyyy")),r(5),g(" ",v(10,5,o.safeguardingForAll.ExpiryDate,"d MMMM yyyy"))}}function tn(e,i){e&1&&(a(0,"div")(1,"div",50),s(2,"Not Completed"),n()())}function nn(e,i){e&1&&(a(0,"span",35),s(1,"Expiring soon"),n())}function an(e,i){e&1&&(a(0,"span",36),s(1,"Expired"),n())}function rn(e,i){if(e&1&&(a(0,"div")(1,"div",47),s(2,"Completed"),n(),a(3,"div",48),s(4),_(5,"date"),n(),a(6,"div",47),s(7,"Expiry:"),n(),a(8,"div",49),s(9),_(10,"date"),n()()),e&2){let o=m();r(4),g(" ",v(5,2,o.safeguardingForCommitteeMembers.AwardedDate,"d MMMM yyyy")),r(5),g(" ",v(10,5,o.safeguardingForCommitteeMembers.ExpiryDate,"d MMMM yyyy"))}}function on(e,i){e&1&&(a(0,"div")(1,"div",50),s(2,"Not Completed"),n()())}function sn(e,i){e&1&&(a(0,"span",35),s(1,"Expiring soon"),n())}function dn(e,i){e&1&&(a(0,"span",36),s(1,"Expired"),n())}function ln(e,i){if(e&1&&(a(0,"div")(1,"div",47),s(2,"Completed"),n(),a(3,"div",48),s(4),_(5,"date"),n(),a(6,"div",47),s(7,"Expiry:"),n(),a(8,"div",49),s(9),_(10,"date"),n()()),e&2){let o=m();r(4),g(" ",v(5,2,o.safeguardingForChildren.AwardedDate,"d MMMM yyyy")),r(5),g(" ",v(10,5,o.safeguardingForChildren.ExpiryDate,"d MMMM yyyy"))}}function pn(e,i){e&1&&(a(0,"div")(1,"div",50),s(2,"Not Completed"),n()())}function cn(e,i){if(e&1&&(a(0,"div")(1,"div",47),s(2,"Completed"),n(),a(3,"div",48),s(4),_(5,"date"),n(),a(6,"div",47),s(7,"Expiry:"),n(),a(8,"div",49),s(9," N/A"),n()()),e&2){let o=m();r(4),g(" ",v(5,1,o.safeguardingAdults.AwardedDate,"d MMMM yyyy"))}}function mn(e,i){e&1&&(a(0,"div")(1,"div",50),s(2,"Not Completed"),n()())}function un(e,i){if(e&1&&(a(0,"div")(1,"div",47),s(2,"Completed"),n(),a(3,"div",48),s(4),_(5,"date"),n(),a(6,"div",47),s(7,"Expiry:"),n(),a(8,"div",49),s(9," N/A"),n()()),e&2){let o=m();r(4),g(" ",v(5,1,o.welfareOfficer.AwardedDate,"d MMMM yyyy"))}}function gn(e,i){e&1&&(a(0,"div")(1,"div",50),s(2,"Not Completed"),n()())}function fn(e,i){if(e&1&&(a(0,"div")(1,"div",47),s(2,"Completed"),n(),a(3,"div",48),s(4),_(5,"date"),n(),a(6,"div",47),s(7,"Expiry:"),n(),a(8,"div",49),s(9," N/A"),n()()),e&2){let o=m();r(4),g(" ",v(5,1,o.safeguardingParentsCarers.AwardedDate,"d MMMM yyyy"))}}function bn(e,i){e&1&&(a(0,"div")(1,"div",50),s(2,"Not Completed"),n()())}var Fe=(()=>{let i=class i{constructor(p,d){this.expiryCheckService=p,this.checkDSTService=d,this.safeguardingForAllExpiryCheck="",this.safeguardingCommitteeExpiryCheck="",this.safeguardingForChildrenExpiryCheck="",this.safeguardingForAll=new P,this.safeguardingForChildren=new P,this.welfareOfficer=new P,this.safeguardingForCommitteeMembers=new P,this.safeguardingAdults=new P,this.safeguardingParentsCarers=new P}ngOnChanges(p){p.safeguardingQualifications&&this.safeguardingQualifications!=null&&this.safeguardingQualifications!=null&&(this.setSafeguardingForAll(this.safeguardingQualifications),this.setSafeguardingChildren(this.safeguardingQualifications),this.setSafeguardingForCommitteeMembers(this.safeguardingQualifications),this.setWelfareOfficer(this.safeguardingQualifications),this.setSafeguardingAdults(this.safeguardingQualifications),this.setSafeguardingParentsCarers(this.safeguardingQualifications))}setSafeguardingForAll(p){this.safeguardingForAll=p.filter(d=>d.QualificationID===738)[0],this.safeguardingForAll!==void 0&&this.safeguardingForAll.AwardedDate!=null&&this.safeguardingForAll.AwardedDate!==void 0&&(this.safeguardingForAll.AwardedDate=this.checkDSTService.setDSTTime(this.safeguardingForAll.AwardedDate)),this.safeguardingForAll!==void 0&&this.safeguardingForAll.ExpiryDate!=null&&this.safeguardingForAll.ExpiryDate!==void 0&&(this.safeguardingForAll.ExpiryDate=this.checkDSTService.setDSTTime(this.safeguardingForAll.ExpiryDate),this.safeguardingForAllExpiryCheck=this.expiryCheckService.checkExpiryForSixMonths(this.safeguardingForAll.ExpiryDate))}setSafeguardingChildren(p){let d=p.filter(t=>t.QualificationID===79||t.QualificationID===103||t.QualificationID===609||t.QualificationID===759);d.length>0&&(this.safeguardingForChildren=d[0],d.forEach(t=>{t.ExpiryDate>this.safeguardingForChildren.ExpiryDate&&(this.safeguardingForChildren=t)}),this.safeguardingForChildren!==void 0&&this.safeguardingForChildren.AwardedDate!=null&&this.safeguardingForChildren.AwardedDate!==void 0&&(this.safeguardingForChildren.AwardedDate=this.checkDSTService.setDSTTime(this.safeguardingForChildren.AwardedDate)),this.safeguardingForChildren!==void 0&&this.safeguardingForChildren.ExpiryDate!=null&&this.safeguardingForChildren.ExpiryDate!==void 0&&(this.safeguardingForChildren.ExpiryDate=this.checkDSTService.setDSTTime(this.safeguardingForChildren.ExpiryDate),this.safeguardingForChildrenExpiryCheck=this.expiryCheckService.checkExpiryForSixMonths(this.safeguardingForChildren.ExpiryDate)))}setWelfareOfficer(p){let d=p.filter(t=>t.QualificationID===82||t.QualificationID===753);d.length>0&&(this.welfareOfficer=d[0],d.forEach(t=>{t.AwardedDate>this.welfareOfficer.AwardedDate&&(this.welfareOfficer=t)})),this.welfareOfficer!==void 0&&this.welfareOfficer.AwardedDate!=null&&this.welfareOfficer.AwardedDate!==void 0&&(this.welfareOfficer.AwardedDate=this.checkDSTService.setDSTTime(this.welfareOfficer.AwardedDate))}setSafeguardingForCommitteeMembers(p){this.safeguardingForCommitteeMembers=p.filter(d=>d.QualificationID===645)[0],this.safeguardingForCommitteeMembers!==void 0&&this.safeguardingForCommitteeMembers.AwardedDate!=null&&this.safeguardingForCommitteeMembers.AwardedDate!==void 0&&(this.safeguardingForCommitteeMembers.AwardedDate=this.checkDSTService.setDSTTime(this.safeguardingForCommitteeMembers.AwardedDate)),this.safeguardingForCommitteeMembers!==void 0&&this.safeguardingForCommitteeMembers.ExpiryDate!=null&&this.safeguardingForCommitteeMembers.ExpiryDate!==void 0&&(this.safeguardingForCommitteeMembers.ExpiryDate=this.checkDSTService.setDSTTime(this.safeguardingForCommitteeMembers.ExpiryDate),this.safeguardingCommitteeExpiryCheck=this.expiryCheckService.checkExpiryForSixMonths(this.safeguardingForCommitteeMembers.ExpiryDate))}setSafeguardingAdults(p){this.safeguardingAdults=p.filter(d=>d.QualificationID===696)[0]}setSafeguardingParentsCarers(p){this.safeguardingParentsCarers=p.filter(d=>d.QualificationID===949)[0],this.safeguardingParentsCarers!==void 0&&this.safeguardingParentsCarers.AwardedDate!=null&&this.safeguardingParentsCarers.AwardedDate!==void 0&&(this.safeguardingParentsCarers.AwardedDate=this.checkDSTService.setDSTTime(this.safeguardingParentsCarers.AwardedDate))}};i.\u0275fac=function(d){return new(d||i)(S(H),S(J))},i.\u0275cmp=E({type:i,selectors:[["app-safeguarding"]],inputs:{safeguardingQualifications:"safeguardingQualifications"},standalone:!1,features:[N],decls:131,vars:39,consts:[[1,"info-panel"],[1,"info-panel-heading","learningheading"],[1,"info-panel-title"],[1,"grpProfile","safeguarding"],[1,"info-panel-collapse","in","learningDetails"],["role","table","aria-label","Learning details",1,"learning-panel"],["role","row",1,"formhead"],["role","columnheader",1,"formdata"],[1,"formdata","header"],[1,"expireCosmoLearning"],["class","lightRed",4,"ngIf"],["class","brightRed",4,"ngIf"],["class","formdata date","role","definition","tabindex","0","aria-roledescription","Safeguarding For All completed on",4,"ngIf"],["class","formdata date","role","definition","tabindex","0",4,"ngIf"],["class","formdata date","role","definition","tabindex","0","aria-roledescription","Safeguarding For All expires on",4,"ngIf"],["class","formdata date","role","definition","tabindex","0","aria-roledescription","Safeguarding For Committee Members completed on",4,"ngIf"],["class","formdata date","role","definition","tabindex","0","aria-roledescription","Safeguarding For Committee Members expires on",4,"ngIf"],["class","formdata date","role","definition","tabindex","0","aria-roledescription","Safeguarding Children completed on",4,"ngIf"],["class","formdata date","role","definition","tabindex","0","aria-roledescription","Safeguarding Children expires on",4,"ngIf"],["class","formdata date","role","definition","tabindex","0","aria-roledescription","Safeguarding Adults completed on",4,"ngIf"],["role","definition","tabindex","0","aria-roledescription","Safeguarding Adults expires on",1,"formdata","date"],["class","formdata date","role","definition","tabindex","0","aria-roledescription","Welfare Officer completed on",4,"ngIf"],["role","definition","tabindex","0","aria-roledescription","Welfare Officer expires on",1,"formdata","date"],["class","formdata date","role","definition","tabindex","0","aria-roledescription","Safeguarding awareness completed on",4,"ngIf"],["role","definition","tabindex","0","aria-roledescription","Safeguarding awareness expires on",1,"formdata","date"],["id","accordian-section",1,"info-panel-collapse","out","learningDetails"],[1,"learning-panel"],["tabindex","0","role","button","aria-label","Safeguarding For All",1,"formdata","header","align-expiry-tag"],[1,""],[4,"ngIf"],["tabindex","0","role","button","aria-label","Safeguarding For Committee Members",1,"formdata","header","align-expiry-tag"],["tabindex","0","role","button","aria-label","Safeguarding Children",1,"formdata","header","align-expiry-tag"],["tabindex","0","role","button","aria-label","Safeguarding Adults",1,"formdata","header"],["tabindex","0","role","button","aria-label","Welfare Officer",1,"formdata","header"],["tabindex","0","role","button","aria-label","Safeguarding Awareness for Parents and Carers",1,"formdata","header"],[1,"lightRed"],[1,"brightRed"],["role","definition","tabindex","0","aria-roledescription","Safeguarding For All completed on",1,"formdata","date"],["role","definition","tabindex","0",1,"formdata","date"],["role","definition","tabindex","0","aria-roledescription","Safeguarding For All expires on",1,"formdata","date"],["role","definition","tabindex","0","aria-roledescription","Safeguarding For Committee Members completed on",1,"formdata","date"],["role","definition","tabindex","0","aria-roledescription","Safeguarding For Committee Members expires on",1,"formdata","date"],["role","definition","tabindex","0","aria-roledescription","Safeguarding Children completed on",1,"formdata","date"],["role","definition","tabindex","0","aria-roledescription","Safeguarding Children expires on",1,"formdata","date"],["role","definition","tabindex","0","aria-roledescription","Safeguarding Adults completed on",1,"formdata","date"],["role","definition","tabindex","0","aria-roledescription","Welfare Officer completed on",1,"formdata","date"],["role","definition","tabindex","0","aria-roledescription","Safeguarding awareness completed on",1,"formdata","date"],[1,"formdata"],["role","definition","tabindex","0","aria-roledescription","Completed on",1,"formdata","date"],["role","definition","tabindex","0","aria-roledescription","Expires on",1,"formdata","date"],["role","definition","tabindex","0","aria-roledescription","Not Completed",1,"formdata"]],template:function(d,t){d&1&&(a(0,"section")(1,"div",0)(2,"div",1)(3,"h3",2)(4,"label",3),s(5,"Safeguarding"),n()()(),a(6,"div",4)(7,"div",5)(8,"div",6)(9,"div",7),s(10,"Qualification Name"),n(),a(11,"div",7),s(12,"Completed"),n(),a(13,"div",7),s(14,"Expiry"),n()(),a(15,"div",6)(16,"div",8),f(17,"div"),a(18,"span"),s(19,"Safeguarding For All"),n(),a(20,"div",9),c(21,Pi,2,0,"span",10)(22,Fi,2,0,"span",11),n()(),c(23,Oi,3,4,"div",12)(24,Bi,2,0,"div",13)(25,ki,3,4,"div",14),n(),a(26,"div",6)(27,"div",8),f(28,"div"),a(29,"span"),s(30,"Safeguarding For Committee Members"),n(),a(31,"div",9),c(32,Ri,2,0,"span",10)(33,Ni,2,0,"span",11),n()(),c(34,Qi,3,4,"div",15)(35,Li,2,0,"div",13)(36,Vi,3,4,"div",16),n(),a(37,"div",6)(38,"div",8),f(39,"div"),a(40,"span"),s(41,"Safeguarding Children"),n(),a(42,"div",9),c(43,Yi,2,0,"span",10)(44,ji,2,0,"span",11),n()(),c(45,Wi,3,4,"div",17)(46,Gi,2,0,"div",13)(47,zi,3,4,"div",18),n(),a(48,"div",6)(49,"div",8),f(50,"div"),a(51,"span"),s(52,"Safeguarding Adults"),n()(),c(53,qi,3,4,"div",19)(54,$i,2,0,"div",13),a(55,"div",20),s(56," N/A "),n()(),a(57,"div",6)(58,"div",8),f(59,"div"),a(60,"span"),s(61,"Welfare Officer"),n()(),c(62,Hi,3,4,"div",21)(63,Ji,2,0,"div",13),a(64,"div",22),s(65," N/A "),n()(),a(66,"div",6)(67,"div",8),f(68,"div"),a(69,"span"),s(70,"Safeguarding Awareness for Parents and Carers"),n()(
1),c(71,Ki,3,4,"div",23)(72,Ui,2,0,"div",13),a(73,"div",24),s(74," N/A "),n()()()(),a(75,"div",25)(76,"div",26)(77,"mat-accordion")(78,"mat-expansion-panel")(79,"mat-expansion-panel-header")(80,"mat-panel-title",27)(81,"div"),s(82,"Safeguarding For All"),n(),a(83,"div",28),c(84,Xi,2,0,"span",10)(85,Zi,2,0,"span",11),n()()(),c(86,en,11,8,"div",29)(87,tn,3,0,"div",29),n()(),a(88,"mat-accordion")(89,"mat-expansion-panel")(90,"mat-expansion-panel-header")(91,"mat-panel-title",30)(92,"div"),s(93,"Safeguarding For Committee Members"),n(),a(94,"div",28),c(95,nn,2,0,"span",10)(96,an,2,0,"span",11),n()()(),c(97,rn,11,8,"div",29)(98,on,3,0,"div",29),n()(),a(99,"mat-accordion")(100,"mat-expansion-panel")(101,"mat-expansion-panel-header")(102,"mat-panel-title",31)(103,"div"),s(104,"Safeguarding Children"),n(),a(105,"div",28),c(106,sn,2,0,"span",10)(107,dn,2,0,"span",11),n()()(),c(108,ln,11,8,"div",29)(109,pn,3,0,"div",29),n()(),a(110,"mat-accordion")(111,"mat-expansion-panel")(112,"mat-expansion-panel-header")(113,"mat-panel-title",32),s(114," Safeguarding Adults "),n()(),c(115,cn,10,4,"div",29)(116,mn,3,0,"div",29),n()(),a(117,"mat-accordion")(118,"mat-expansion-panel")(119,"mat-expansion-panel-header")(120,"mat-panel-title",33),s(121," Welfare Officer "),n()(),c(122,un,10,4,"div",29)(123,gn,3,0,"div",29),n()(),a(124,"mat-accordion")(125,"mat-expansion-panel")(126,"mat-expansion-panel-header")(127,"mat-panel-title",34),s(128," Safeguarding Awareness For Parents and Carers "),n()(),c(129,fn,10,4,"div",29)(130,bn,3,0,"div",29),n()()()()()()),d&2&&(r(21),l("ngIf",t.safeguardingForAllExpiryCheck=="expiring soon"),r(),l("ngIf",t.safeguardingForAllExpiryCheck=="expired"),r(),l("ngIf",(t.safeguardingForAll==null?null:t.safeguardingForAll.AwardedDate)!=null),r(),l("ngIf",(t.safeguardingForAll==null?null:t.safeguardingForAll.AwardedDate)==null),r(),l("ngIf",(t.safeguardingForAll==null?null:t.safeguardingForAll.ExpiryDate)!=null&&(t.safeguardingForAll==null?null:t.safeguardingForAll.ExpiryDate)!=null),r(7),l("ngIf",t.safeguardingCommitteeExpiryCheck=="expiring soon"),r(),l("ngIf",t.safeguardingCommitteeExpiryCheck=="expired"),r(),l("ngIf",(t.safeguardingForCommitteeMembers==null?null:t.safeguardingForCommitteeMembers.AwardedDate)!=null),r(),l("ngIf",(t.safeguardingForCommitteeMembers==null?null:t.safeguardingForCommitteeMembers.AwardedDate)==null),r(),l("ngIf",(t.safeguardingForCommitteeMembers==null?null:t.safeguardingForCommitteeMembers.ExpiryDate)!=null&&(t.safeguardingForCommitteeMembers==null?null:t.safeguardingForCommitteeMembers.ExpiryDate)!=null),r(7),l("ngIf",t.safeguardingForChildrenExpiryCheck=="expiring soon"),r(),l("ngIf",t.safeguardingForChildrenExpiryCheck=="expired"),r(),l("ngIf",(t.safeguardingForChildren==null?null:t.safeguardingForChildren.AwardedDate)!=null),r(),l("ngIf",(t.safeguardingForChildren==null?null:t.safeguardingForChildren.AwardedDate)==null),r(),l("ngIf",(t.safeguardingForChildren==null?null:t.safeguardingForChildren.ExpiryDate)!=null&&(t.safeguardingForChildren==null?null:t.safeguardingForChildren.ExpiryDate)!=null),r(6),l("ngIf",(t.safeguardingAdults==null?null:t.safeguardingAdults.AwardedDate)!=null),r(),l("ngIf",(t.safeguardingAdults==null?null:t.safeguardingAdults.AwardedDate)==null),r(8),l("ngIf",(t.welfareOfficer==null?null:t.welfareOfficer.AwardedDate)!=null),r(),l("ngIf",(t.welfareOfficer==null?null:t.welfareOfficer.AwardedDate)==null),r(8),l("ngIf",(t.safeguardingParentsCarers==null?null:t.safeguardingParentsCarers.AwardedDate)!=null),r(),l("ngIf",(t.safeguardingParentsCarers==null?null:t.safeguardingParentsCarers.AwardedDate)==null),r(12),l("ngIf",t.safeguardingForAllExpiryCheck=="expiring soon"),r(),l("ngIf",t.safeguardingForAllExpiryCheck=="expired"),r(),l("ngIf",(t.safeguardingForAll==null?null:t.safeguardingForAll.AwardedDate)!=null),r(),l("ngIf",(t.safeguardingForAll==null?null:t.safeguardingForAll.AwardedDate)==null),r(8),l("ngIf",t.safeguardingCommitteeExpiryCheck=="expiring soon"),r(),l("ngIf",t.safeguardingCommitteeExpiryCheck=="expired"),r(),l("ngIf",(t.safeguardingForCommitteeMembers==null?null:t.safeguardingForCommitteeMembers.AwardedDate)!=null),r(),l("ngIf",(t.safeguardingForCommitteeMembers==null?null:t.safeguardingForCommitteeMembers.AwardedDate)==null),r(8),l("ngIf",t.safeguardingForChildrenExpiryCheck=="expiring soon"),r(),l("ngIf",t.safeguardingForChildrenExpiryCheck=="expired"),r(),l("ngIf",(t.safeguardingForChildren==null?null:t.safeguardingForChildren.AwardedDate)!=null),r(),l("ngIf",(t.safeguardingForChildren==null?null:t.safeguardingForChildren.AwardedDate)==null),r(6),l("ngIf",(t.safeguardingAdults==null?null:t.safeguardingAdults.AwardedDate)!=null),r(),l("ngIf",(t.safeguardingAdults==null?null:t.safeguardingAdults.AwardedDate)==null),r(6),l("ngIf",(t.welfareOfficer==null?null:t.welfareOfficer.AwardedDate)!=null),r(),l("ngIf",(t.welfareOfficer==null?null:t.welfareOfficer.AwardedDate)==null),r(6),l("ngIf",(t.safeguardingParentsCarers==null?null:t.safeguardingParentsCarers.AwardedDate)!=null),r(),l("ngIf",(t.safeguardingParentsCarers==null?null:t.safeguardingParentsCarers.AwardedDate)==null))},dependencies:[L,z,j,W,G,F],styles:["body[_ngcontent-%COMP%]{margin:0}.align-expiry-tag[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start}"]});let e=i;return e})();var Oe=(()=>{let i=class i{constructor(p,d,t,u,I,U,X,ke,Re){this.ipsService=p,this.crsservice=d,this.titleService=t,this.router=u,this._route=I,this.getFullNameService=U,this.sharedService=X,this.referenceDataAuthzService=ke,this.dbsService=Re,this.dbsSafeguarding=new fe,this.dbsDetails=new be,this.learning=new Ie,this.countyList=[]}ngOnInit(){this.fetchDbsStatuses(),this.fetchDbsReviewStatuses(),this.fetchCountyList(),window.dataLayer.push({event:"virtual-safeguard"}),this.titleService.setTitle("My Account-Safeguarding"),this.getQualifications(this.sharedService.fanCode.toString()),$(".fa-navigation .global-navigation__primary-list-item").removeClass("current-section"),$("#dbs-safeguarding").closest("li.global-navigation__primary-list-item").addClass("current-section");let p=this._route.snapshot.data.resolveProfile;p&&(this.fullName=this.getFullNameService.setFullName(p[0].FirstName,p[0].MiddleName,p[0].LastName),this.fanCode=p[0].Fan)}fetchCountyList(){this.referenceDataAuthzService.getCountyList().subscribe(p=>{this.countyList=p})}getQualifications(p){this.ipsService.getSafeguardingQualifications(p).subscribe(d=>{this.learning=d,this.safeguardingQualifications=this.learning.SafeguardingQualifications,this.getRefereeDetails(d)})}getRefereeDetails(p){this.sharedService.isChildAccount==="true"?this.setDbsDetails(p,!1):this.crsservice.getIndividualProfileRole(this.sharedService.fanCode).subscribe({next:d=>{let t=d.Referee?.ParentCountyId;if(t){let u=this.countyList.find(I=>I.countyCode===t);u&&(t=u.pffCountyId),this.setDbsDetails(p,!0,t)}else this.setDbsDetails(p,!1)},error:d=>{this.setDbsDetails(p,!1)}})}setDbsDetails(p,d,t){this.dbsDetails={DbsStatusName:p.DBSStatusName,DbscertificateDate:p.DBSAwardedDate,DbsexpiryDate:p.DBSExpiryDate,DBSPortalStatusName:p.DBSPortalStatusName,IsAReferee:d,CountyId:t??null,dbsApplicationReviewStatusId:0}}print(){window.print()}fetchDbsStatuses(){this.dbsService.getDbsApplicationStatuses().subscribe({next:p=>{this.dbsPortalStatuses=p.reduce((d,{id:t,status:u})=>(d[u]=t,d),{})}})}fetchDbsReviewStatuses(){this.dbsService.getDbsReviewStatuses().subscribe({next:p=>{this.dbsReviewStatuses=p.reduce((d,{id:t,reviewStatus:u})=>(d[u]=t,d),{})}})}};i.\u0275fac=function(d){return new(d||i)(S(he),S(De),S(V),S(ue),S(me),S(ye),S(Y),S(we),S(K))},i.\u0275cmp=E({type:i,selectors:[["app-dbs-safeguarding"]],standalone:!1,decls:19,vars:6,consts:[["id","main-content",1,"body-content"],["tabindex","0",1,"current-page-title"],["id","bannerimage",1,"banner"],["role","banner",1,"bannerbg"],[1,"container"],[1,"row"],[1,"col-lg-push-2","col-lg-8","col-md-push-2","col-md-8","col-xs-12"],[1,"print-container"],[1,"flex",3,"click"],[1,"print-icon"],["role","main",1,"container"],[1,"col-lg-2","col-md-2"],[1,"col-lg-8","col-md-8","col-xs-12"],[3,"dbsDetails","fullName","fanCode","dbsPortalStatus","dbsReviewStatuses"],[3,"safeguardingQualifications"]],template:function(d,t){d&1&&(a(0,"main",0)(1,"div",1),s(2," Safeguarding "),n(),a(3,"section",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8),y("click",function(){return t.print()}),f(10,"div",9),a(11,"p"),s(12,"Print this page"),n()()()()()()()(),a(13,"div",10)(14,"div",5),f(15,"div",11),a(16,"div",12),f(17,"app-dbs",13)(18,"app-safeguarding",14),n()()()()),d&2&&(r(17),l("dbsDetails",t.dbsDetails)("fullName",t.fullName)("fanCode",t.fanCode)("dbsPortalStatus",t.dbsPortalStatuses)("dbsReviewStatuses",t.dbsReviewStatuses),r(),l("safeguardingQualifications",t.safeguardingQualifications))},dependencies:[Pe,Fe],styles:[`body{margin:0}.print-container{display:flex;color:#fff;justify-content:flex-end;margin-top:30px;align-items:center}.flex>p{padding-left:15px}.flex>div{margin-left:15px}.print-container p{text-decoration:underline;font-size:14px}.print-icon{background:url("./media/print-white-N3WB6YBS.svg") no-repeat center center;height:20px;width:20px}.flex{cursor:pointer;display:flex}@media screen and (max-width:769px){.print-container{margin-top:10px}.flex{flex-direction:row-reverse}}
2`,`@media print{.fa-footer__social-channels,a,.print-container,.fa-navigation-wrapper,.fa-navigation__header,.blzvQB{display:none!important}.current-page-title{align-items:center;justify-content:center}.collapse{display:block!important}.formdata.header label{text-overflow:unset;overflow:visible;width:595px!important}.container{width:auto!important}.container .row .col-lg-2,.container .row .col-md-2{width:0px!important}.container .row .col-lg-8,.container .row .col-md-8{width:100%!important}.formdata:first-child{width:38%}.col-lg-push-2,.col-md-push-2{left:0!important}}
3`],encapsulation:2});let e=i;return e})();var Sn=[{path:"",component:Oe}],Be=(()=>{let i=class i{};i.\u0275fac=function(d){return new(d||i)},i.\u0275mod=Q({type:i}),i.\u0275inj=R({imports:[ee.forChild(Sn),ee]});let e=i;return e})();var _n=[V,F],ta=(()=>{let i=class i{};i.\u0275fac=function(d){return new(d||i)},i.\u0275mod=Q({type:i}),i.\u0275inj=R({providers:_n,imports:[Be,pe,ve,Ce]});let e=i;return e})();export{ta as DbsSafeguardingModule};

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.