1"use strict";(self.webpackChunkvex=self.webpackChunkvex||[]).push([[1838,6300,3919],{84706:(k,b,a)=>{a.d(b,{T:()=>O});var m=a(82087),l=a(54438);const g=["*"];let w=(()=>{class h{static{this.\u0275fac=function(f){return new(f||h)}}static{this.\u0275cmp=l.VBU({type:h,selectors:[["vex-breadcrumb"]],hostAttrs:[1,"vex-breadcrumb","body-2","text-hint","leading-none","hover:text-primary-600","no-underline","transition","duration-400","ease-out-swift"],standalone:!0,features:[l.aNF],ngContentSelectors:g,decls:1,vars:0,template:function(f,D){1&f&&(l.NAR(),l.SdG(0))},encapsulation:2})}}return h})();var v=a(51188),_=a(60177),y=a(99213);const i=()=>[];function r(h,T){if(1&h&&(l.qex(0),l.nrm(1,"div",4),l.j41(2,"vex-breadcrumb")(3,"a",1),l.EFF(4),l.k0s()(),l.bVm()),2&h){const x=T.$implicit;l.R7$(3),l.Y8G("routerLink",l.lJ4(2,i)),l.R7$(),l.JRh(x)}}const E=()=>["/"];let O=(()=>{class h{constructor(){this.crumbs=[],this.trackByValue=m.U_}static{this.\u0275fac=function(f){return new(f||h)}}static{this.\u0275cmp=l.VBU({type:h,selectors:[["vex-breadcrumbs"]],inputs:{crumbs:"crumbs"},standalone:!0,features:[l.aNF],decls:5,vars:4,consts:[[1,"flex","items-center","gap-2"],[3,"routerLink"],["svgIcon","mat:home",1,"icon-sm"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"w-1","h-1","bg-gray-600","rounded-full"]],template:function(f,D){1&f&&(l.j41(0,"div",0)(1,"vex-breadcrumb")(2,"a",1),l.nrm(3,"mat-icon",2),l.k0s()(),l.DNE(4,r,5,3,"ng-container",3),l.k0s()),2&f&&(l.R7$(2),l.Y8G("routerLink",l.lJ4(3,E)),l.R7$(2),l.Y8G("ngForOf",D.crumbs)("ngForTrackBy",D.trackByValue))},dependencies:[w,v.Wk,_.pM,y.m_,y.An],encapsulation:2})}}return h})()},58713:(k,b,a)=>{a.d(b,{h:()=>l});var m=a(54438);let l=(()=>{class g{constructor(){}static{this.\u0275fac=function(_){return new(_||g)}}static{this.\u0275dir=m.FsC({type:g,selectors:[["","vexPageLayoutContent",""],["vex-page-layout-content"]],hostAttrs:[1,"vex-page-layout-content"],standalone:!0})}}return g})()},41615:(k,b,a)=>{a.d(b,{Y:()=>v});var m=a(45312),l=a(54438),g=a(21626),w=a(3871);let v=(()=>{class _{constructor(i,r){this.http=i,this.comman=r,this.baseUrl=m.c.apiBaseUrl+"super-admin/"}addTablePermission(i){let r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}add-update-table-permission`,r)}getAllTablePermissions(){return this.http.post(`${this.baseUrl}get-all-table-permissions`,this.comman.getTokenAsFormData())}deleteTablePermission(i){const E=this.comman.convertToFormData({delete_id:i});return this.http.post(`${this.baseUrl}delete-table-permission`,E)}getEditBulkStudentsColumns(){return this.http.post(`${this.baseUrl}get-edit-student-columns`,this.comman.getTokenAsFormData())}getEditStaffColumns(){return this.http.post(`${this.baseUrl}get-edit-staff-columns`,this.comman.getTokenAsFormData())}getModuleMaster(){return this.http.post(`${this.baseUrl}get-user-module`,this.comman.getTokenAsFormData())}getUserDetailModules(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}get-user-detail-modules`,r)}updateModules(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}update-user-module`,r)}updateMasterModule(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}update-master-module`,r)}getStudentModuleMaster(){return this.http.post(`${this.baseUrl}get-student-module`,this.comman.getTokenAsFormData())}getOrderMonth(){return this.http.post(`${this.baseUrl}get-order-months`,this.comman.getTokenAsFormData())}updateMonthOrder(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}update-order-months`,r)}addUpdateStudentModules(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}add-update-student-module`,r)}updateStudentMasterModule(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}update-student-master-module`,r)}updateStudentColumn(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}update-student-column`,r)}deleteColumn(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}delete-student-column`,r)}addUpdateStudentColumn(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}add-update-student-column`,r)}addUpdateUserSetting(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}add-update-user-setting`,r)}getUserSettings(i={}){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}get-user-settings`,r)}toggleInAdminHand(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}toggle-in-admin-hand`,r)}updatePermissionForUser(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}update-permission-for-user`,r)}getCleintSchool(){return this.http.post(`${this.baseUrl}get-client-school`,this.comman.getTokenAsFormData())}getCleintSchoolForDb(){return this.http.post(`${this.baseUrl}get-client-school-for-db`,this.comman.getTokenAsFormData())}getRecieptNo(){return this.http.post(`${this.baseUrl}get-fee-receipt-no`,this.comman.getTokenAsFormData())}saveRecieptNo(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}save-fee-receipt-no`,r)}executeDatabaseQuery(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}execute-sql-query`,r)}getSqlQueryLogs(){return this.http.post(`${this.baseUrl}get-sql-query-logs`,this.comman.getTokenAsFormData())}sendSqlExecutorOtp(){return this.http.post(`${this.baseUrl}send-sql-query-executor-otp`,this.comman.getTokenAsFormData())}sendShowClientOtp(){return this.http.post(`${this.baseUrl}send-show-client-otp`,this.comman.getTokenAsFormData())}SqlExecutorOtpVerify(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}send-sql-query-executor-verify`,r)}addUpdateStaffColumn(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}add-update-staff-column`,r)}updateStaffColumnEditPermission(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}update-staff-column-edit-permission`,r)}get_exam_terms(){return this.http.post(`${this.baseUrl}get-exam-terms`,this.comman.getTokenAsFormData())}createUpdateExamTerm(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}add-update-exam-terms`,r)}deleteExamTerm(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}delete-exam-terms`,r)}sendUpdateClientOtp(){return this.http.post(`${this.baseUrl}send-update-client-renewal-otp`,this.comman.getTokenAsFormData())}updateClientRenewal(i){const r=this.comman.convertToFormData(i);return this.http.post(`${this.baseUrl}/update-client-renewal-plan`,r)}static{this.\u0275fac=function(r){return new(r||_)(l.KVO(g.Qq),l.KVO(w.h))}}static{this.\u0275prov=l.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})()},11838:(k,b,a)=>{a.r(b),a.d(b,{ShowClientDetailsComponent:()=>dt});var m=a(60177),l=a(89417),g=a(88834),w=a(82765),v=a(86600),_=a(32102),y=a(99213),i=a(96695),r=a(82798),E=a(30450),O=a(2042),h=a(26450),T=a(14823),x=a(84706),f=a(58713),D=a(69719),j=a(99955),M=a(18359),R=a(57786),I=a(7673),F=a(33726),S=a(96354),U=a(10444),B=a(42465),t=a(54438),P=a(41615),$=a(95416),L=a(44796);const A=["otpBox"];function V(s,p){1&s&&(t.qSk(),t.j41(0,"svg",31),t.nrm(1,"circle",32)(2,"path",33),t.k0s())}function G(s,p){1&s&&(t.qSk(),t.j41(0,"svg",34),t.nrm(1,"path",35),t.k0s())}const N=(s,p)=>({"border-rose-400 focus:border-rose-500 focus:ring-rose-500":s,"border-slate-200 focus:border-indigo-500 focus:ring-indigo-500":p});function Y(s,p){if(1&s){const e=t.RV6();t.j41(0,"input",36,37),t.bIt("input",function(n){const c=t.eBV(e).index,u=t.XpG(2);return t.Njj(u.onOtpInput(n,c))})("keydown",function(n){const c=t.eBV(e).index,u=t.XpG(2);return t.Njj(u.onOtpKeyDown(n,c))}),t.k0s()}if(2&s){const e=p.$implicit,o=t.XpG(2);t.Y8G("value",e)("disabled",o.otpLoading)("ngClass",t.l_i(3,N,"NONE"!==o.otpErrorType,"NONE"===o.otpErrorType))}}function X(s,p){if(1&s&&(t.j41(0,"div",38),t.qSk(),t.j41(1,"svg",39),t.nrm(2,"path",40),t.k0s(),t.joV(),t.j41(3,"p",41),t.EFF(4),t.k0s()()),2&s){const e=t.XpG(2);t.R7$(4),t.JRh(e.otpErrorMessage)}}function K(s,p){if(1&s&&(t.j41(0,"div",42),t.qSk(),t.j41(1,"svg",43),t.nrm(2,"path",44),t.k0s(),t.joV(),t.j41(3,"p",45),t.EFF(4),t.k0s()()),2&s){const e=t.XpG(2);t.R7$(4),t.JRh(e.otpErrorMessage)}}function W(s,p){1&s&&(t.qSk(),t.j41(0,"svg",31),t.nrm(1,"circle",32)(2,"path",33),t.k0s())}function H(s,p){if(1&s&&(t.j41(0,"span",46),t.EFF(1),t.k0s()),2&s){const e=t.XpG(2);t.R7$(),t.SpI(" Resend OTP in ",e.resendCooldown,"s ")}}function J(s,p){if(1&s){const e=t.RV6();t.j41(0,"button",47),t.bIt("click",function(){t.eBV(e);const n=t.XpG(2);return t.Njj(n.resendOtp())}),t.EFF(1," Resend OTP "),t.k0s()}}function z(s,p){if(1&s){const e=t.RV6();t.j41(0,"div",7),t.nrm(1,"input",8),t.j41(2,"div",9)(3,"div",10)(4,"div",11),t.qSk(),t.j41(5,"svg",12),t.nrm(6,"path",13),t.k0s()(),t.joV(),t.j41(7,"h2",14),t.EFF(8,"Premium Access"),t.k0s(),t.j41(9,"p",15),t.EFF(10," This section is protected. Send a one-time password to your registered mobile number to continue. "),t.k0s()(),t.j41(11,"div",16)(12,"label",17),t.bIt("click",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.resendOtp())}),t.DNE(13,V,3,0,"svg",18)(14,G,2,0,"svg",19),t.j41(15,"span"),t.EFF(16),t.k0s()(),t.j41(17,"p",20),t.EFF(18," You'll receive a 6-digit code via SMS on your registered mobile number. "),t.k0s()()(),t.j41(19,"div",21)(20,"div",10)(21,"div",11),t.qSk(),t.j41(22,"svg",12),t.nrm(23,"path",13),t.k0s()(),t.joV(),t.j41(24,"h2",14),t.EFF(25,"Premium Access"),t.k0s(),t.j41(26,"p",15),t.EFF(27," Enter the 6-digit OTP sent to your registered mobile number to continue. "),t.k0s()(),t.j41(28,"div",22)(29,"div",23),t.bIt("paste",function(n){t.eBV(e);const d=t.XpG();return t.Njj(d.onOtpPaste(n))}),t.DNE(30,Y,2,6,"input",24),t.k0s(),t.DNE(31,X,5,1,"div",25)(32,K,5,1,"div",26),t.j41(33,"button",27),t.bIt("click",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.verifyOtp())}),t.DNE(34,W,3,0,"svg",18),t.j41(35,"span"),t.EFF(36),t.k0s()(),t.j41(37,"div",28),t.DNE(38,H,2,1,"span",29)(39,J,2,0,"button",30),t.k0s()()()()}if(2&s){const e=t.XpG();t.R7$(12),t.AVh("opacity-60",e.otpLoading||!e.networkStatus)("pointer-events-none",e.otpLoading||!e.networkStatus),t.R7$(),t.Y8G("ngIf",e.otpLoading),t.R7$(),t.Y8G("ngIf",!e.otpLoading),t.R7$(2),t.JRh(e.otpLoading?"Sending OTP...":"Send OTP"),t.R7$(14),t.Y8G("ngForOf",e.otpDigits)("ngForTrackBy",e.trackByIndex),t.R7$(),t.Y8G("ngIf","INVALID"===e.otpErrorType),t.R7$(),t.Y8G("ngIf","UNAUTHORIZED"===e.otpErrorType),t.R7$(),t.Y8G("disabled",e.otpLoading||6!==e.otpCode.length),t.R7$(),t.Y8G("ngIf",e.otpLoading),t.R7$(2),t.JRh(e.otpLoading?"Verifying...":"
1Verify & Continue"),t.R7$(2),t.Y8G("ngIf",e.resendCooldown>0),t.R7$(),t.Y8G("ngIf",0===e.resendCooldown)}}const Q=(s,p,e)=>({"bg-rose-50 text-rose-600 border-rose-200":s,"bg-amber-50 text-amber-600 border-amber-200":p,"bg-emerald-50 text-emerald-600 border-emerald-200":e}),Z=(s,p,e)=>({"bg-rose-500":s,"bg-amber-500":p,"bg-emerald-500":e});function q(s,p){if(1&s){const e=t.RV6();t.j41(0,"tr",66)(1,"td",67),t.EFF(2),t.k0s(),t.j41(3,"td",68),t.EFF(4),t.k0s(),t.j41(5,"td",69)(6,"span",70),t.EFF(7),t.k0s()(),t.j41(8,"td",71),t.EFF(9),t.k0s(),t.j41(10,"td",72)(11,"span",73),t.nrm(12,"span",74),t.EFF(13),t.k0s()(),t.j41(14,"td",75),t.EFF(15),t.nI1(16,"date"),t.k0s(),t.j41(17,"td",76),t.bIt("click",function(){const d=t.eBV(e).$implicit,c=t.XpG(2);return t.Njj(c.editClientDetails(d))}),t.EFF(18),t.nI1(19,"date"),t.k0s(),t.j41(20,"td",72)(21,"button",77),t.bIt("click",function(n){const c=t.eBV(e).$implicit,u=t.XpG(2);return n.stopPropagation(),t.Njj(u.loginAsClient(c))}),t.j41(22,"span"),t.EFF(23,"Login"),t.k0s(),t.qSk(),t.j41(24,"svg",78),t.nrm(25,"path",79),t.k0s()()(),t.joV(),t.j41(26,"td",75),t.EFF(27),t.nI1(28,"date"),t.k0s()()}if(2&s){const e=p.$implicit,o=p.index;t.R7$(2),t.SpI(" ",o+1," "),t.R7$(2),t.SpI(" ",e.username," "),t.R7$(3),t.SpI(" ",e.db_name," "),t.R7$(2),t.SpI(" ",e.mobile_no," "),t.R7$(2),t.Y8G("ngClass",t.sMw(19,Q,e.active_day<0,e.active_day>=0&&e.active_day<=15,e.active_day>15)),t.R7$(),t.Y8G("ngClass",t.sMw(23,Z,e.active_day<0,e.active_day>=0&&e.active_day<=15,e.active_day>15)),t.R7$(),t.SpI(" ",e.active_day," Days "),t.R7$(2),t.SpI(" ",t.i5U(16,10,e.reg_date,"dd-MM-yyyy")," "),t.R7$(3),t.SpI(" ",t.i5U(19,13,e.renewal_date,"dd-MM-yyyy")," "),t.R7$(9),t.SpI(" ",t.i5U(28,16,e.updated_at,"dd-MM-yyyy")," ")}}function tt(s,p){1&s&&(t.j41(0,"tr")(1,"td",80),t.EFF(2," No clients found matching the selected filter/search. "),t.k0s()())}function et(s,p){if(1&s){const e=t.RV6();t.j41(0,"div",48)(1,"div",49)(2,"div",50)(3,"button",51),t.bIt("click",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.activeFilter="ALL")}),t.EFF(4," ALL "),t.k0s(),t.j41(5,"button",51),t.bIt("click",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.activeFilter="ACTIVE")}),t.EFF(6," Active "),t.k0s(),t.j41(7,"button",51),t.bIt("click",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.activeFilter="INACTIVE")}),t.EFF(8," Non-Active "),t.k0s()(),t.j41(9,"div",52)(10,"input",53),t.bIt("ngModelChange",function(n){t.eBV(e);const d=t.XpG();return t.Njj(d.searchTerm=n)}),t.k0s(),t.qSk(),t.j41(11,"svg",54),t.nrm(12,"path",55),t.k0s()()(),t.joV(),t.j41(13,"div",56)(14,"table",57)(15,"thead")(16,"tr",58)(17,"th",59),t.EFF(18,"S.No."),t.k0s(),t.j41(19,"th",60),t.EFF(20,"School Username"),t.k0s(),t.j41(21,"th",60),t.EFF(22,"Group Name"),t.k0s(),t.j41(23,"th",61),t.EFF(24,"Mobile No"),t.k0s(),t.j41(25,"th",62),t.EFF(26,"Days Left"),t.k0s(),t.j41(27,"th",61),t.EFF(28,"Reg. Date"),t.k0s(),t.j41(29,"th",61),t.EFF(30,"Exp. Date"),t.k0s(),t.j41(31,"th",62),t.EFF(32,"Action"),t.k0s(),t.j41(33,"th",61),t.EFF(34,"Update Date"),t.k0s()()(),t.j41(35,"tbody",63),t.DNE(36,q,29,27,"tr",64)(37,tt,3,0,"tr",65),t.k0s()()()()}if(2&s){const e=t.XpG();t.R7$(3),t.Y8G("ngClass","ALL"===e.activeFilter?"bg-white text-indigo-600 shadow-sm font-bold":"text-slate-600 hover:text-slate-900 font-medium"),t.R7$(2),t.Y8G("ngClass","ACTIVE"===e.activeFilter?"bg-white text-emerald-600 shadow-sm font-bold":"text-slate-600 hover:text-slate-900 font-medium"),t.R7$(2),t.Y8G("ngClass","INACTIVE"===e.activeFilter?"bg-white text-rose-600 shadow-sm font-bold":"text-slate-600 hover:text-slate-900 font-medium"),t.R7$(3),t.Y8G("ngModel",e.searchTerm),t.R7$(26),t.Y8G("ngForOf",e.processedClients),t.R7$(),t.Y8G("ngIf",0===e.processedClients.length)}}function ot(s,p){if(1&s&&(t.j41(0,"p",41),t.EFF(1),t.k0s()),2&s){const e=t.XpG(2);t.R7$(),t.JRh(e.editError)}}function nt(s,p){if(1&s){const e=t.RV6();t.j41(0,"div",81),t.bIt("click",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.closeEditModal())}),t.j41(1,"div",82),t.bIt("click",function(n){return n.stopPropagation()}),t.j41(2,"div",83)(3,"h2",84),t.EFF(4,"Update Renewal Date"),t.k0s(),t.j41(5,"button",85),t.bIt("click",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.closeEditModal())}),t.EFF(6,"\xd7"),t.k0s()(),t.j41(7,"div",86)(8,"div")(9,"p",87),t.EFF(10,"School"),t.k0s(),t.j41(11,"p",88),t.EFF(12),t.k0s()(),t.j41(13,"div")(14,"p",87),t.EFF(15,"Current Expiry Date"),t.k0s(),t.j41(16,"p",89),t.EFF(17),t.nI1(18,"date"),t.k0s()(),t.j41(19,"div")(20,"label",87),t.EFF(21,"New Renewal Date"),t.k0s(),t.j41(22,"input",90),t.bIt("ngModelChange",function(n){t.eBV(e);const d=t.XpG();return t.Njj(d.newRenewalDate=n)}),t.k0s()(),t.DNE(23,ot,2,1,"p",91),t.j41(24,"div",92)(25,"button",93),t.bIt("click",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.closeEditModal())}),t.EFF(26," Cancel "),t.k0s(),t.j41(27,"button",94),t.bIt("click",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.onModifyClick())}),t.EFF(28," Modify "),t.k0s()()()()()}if(2&s){const e=t.XpG();t.R7$(12),t.JRh(e.selectedClient.username),t.R7$(5),t.JRh(t.i5U(18,4,e.selectedClient.renew
1al_date,"dd-MM-yyyy")),t.R7$(5),t.Y8G("ngModel",e.newRenewalDate),t.R7$(),t.Y8G("ngIf",e.editError)}}function st(s,p){if(1&s&&(t.j41(0,"div",105)(1,"p",41),t.EFF(2),t.k0s()()),2&s){const e=t.XpG(2);t.R7$(2),t.JRh(e.updateOtpError)}}function rt(s,p){if(1&s&&(t.j41(0,"span",46),t.EFF(1),t.k0s()),2&s){const e=t.XpG(2);t.R7$(),t.SpI("Resend OTP in ",e.resendCooldown,"s")}}function it(s,p){if(1&s){const e=t.RV6();t.j41(0,"button",47),t.bIt("click",function(){t.eBV(e);const n=t.XpG(2);return t.Njj(n.sendUpdateOtp())}),t.EFF(1," Resend OTP "),t.k0s()}}function at(s,p){if(1&s){const e=t.RV6();t.j41(0,"div",95)(1,"div",96)(2,"div",97)(3,"h2",84),t.EFF(4,"Verify OTP"),t.k0s(),t.j41(5,"p",15),t.EFF(6,"Enter the 6-digit OTP to confirm the update."),t.k0s()(),t.j41(7,"div",98)(8,"input",99),t.bIt("ngModelChange",function(n){t.eBV(e);const d=t.XpG();return t.Njj(d.updateOtp=n)})("input",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.onUpdateOtpInput())})("keydown.enter",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.confirmUpdate())}),t.k0s(),t.DNE(9,st,3,1,"div",100),t.j41(10,"div",101)(11,"button",102),t.bIt("click",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.closeUpdateOtpModal())}),t.EFF(12," Cancel "),t.k0s(),t.j41(13,"button",103),t.bIt("click",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.confirmUpdate())}),t.EFF(14),t.k0s()(),t.j41(15,"div",104),t.DNE(16,rt,2,1,"span",29)(17,it,2,0,"button",30),t.k0s()()()()}if(2&s){const e=t.XpG();t.R7$(8),t.Y8G("ngModel",e.updateOtp)("disabled",e.updateOtpLoading)("ngClass",e.updateOtpError?"border-rose-400 focus:border-rose-500 focus:ring-rose-500":"border-slate-200 focus:border-indigo-500 focus:ring-indigo-500"),t.R7$(),t.Y8G("ngIf",e.updateOtpError),t.R7$(2),t.Y8G("disabled",e.updateOtpLoading),t.R7$(2),t.Y8G("disabled",e.updateOtpLoading||6!==e.updateOtp.length),t.R7$(),t.SpI(" ",e.updateOtpLoading?"Verifying...":"Verify & Update"," "),t.R7$(2),t.Y8G("ngIf",e.resendCooldown>0),t.R7$(),t.Y8G("ngIf",0===e.resendCooldown)}}const lt=()=>["School App Clients"];let dt=(()=>{class s{constructor(e,o,n,d){this._superadminservice=e,this.date=o,this.snackbar=n,this.auth=d,this.allClient=[],this.activeFilter="ALL",this.searchTerm="",this.otpVerified=!1,this.otpDigits=["","","","","",""],this.otpLoading=!1,this.otpErrorType="NONE",this.otpErrorMessage="",this.showEditModal=!1,this.selectedClient=null,this.newRenewalDate="",this.editError="",this.showUpdateOtpModal=!1,this.updateOtp="",this.updateOtpLoading=!1,this.updateOtpError="",this.resendCooldown=0,this.resendTimerHandle=null,this.networkStatus=!1,this.networkStatus$=M.yU.EMPTY,this.beforeUnloadHandler=c=>{c.preventDefault(),c.returnValue=""}}ngOnInit(){this.checkNetworkStatus(),setTimeout(()=>this.focusBox(0)),window.addEventListener("beforeunload",this.beforeUnloadHandler)}ngOnDestroy(){this.resendTimerHandle&&clearInterval(this.resendTimerHandle),this.networkStatus$.unsubscribe(),window.removeEventListener("beforeunload",this.beforeUnloadHandler)}checkNetworkStatus(){this.networkStatus=navigator.onLine,this.networkStatus$=(0,R.h)((0,I.of)(null),(0,F.R)(window,"online"),(0,F.R)(window,"offline")).pipe((0,S.T)(()=>navigator.onLine)).subscribe(e=>{this.networkStatus=e})}get otpCode(){return this.otpDigits.join("")}trackByIndex(e){return e}onOtpInput(e,o){const n=e.target,d=n.value.replace(/[^0-9]/g,"").slice(-1);this.otpDigits[o]=d,n.value=d,this.clearOtpError(),d&&o<this.otpDigits.length-1&&this.focusBox(o+1)}verifyOnEnter(e){if("Enter"===e.key)return this.clearOtpError(),void this.verifyOtp()}onOtpKeyDown(e,o){const n=e.target;return"Enter"===e.key?(this.clearOtpError(),void this.verifyOtp()):"Backspace"===e.key?(this.clearOtpError(),!n.value&&o>0&&this.focusBox(o-1),void(this.otpDigits[o]="")):("ArrowLeft"===e.key&&o>0&&this.focusBox(o-1),void("ArrowRight"===e.key&&o<this.otpDigits.length-1&&this.focusBox(o+1)))}onOtpPaste(e){e.preventDefault();const o=(e.clipboardData?.getData("text")||"").replace(/[^0-9]/g,"");if(!o)return;const n=o.slice(0,this.otpDigits.length).split(""),d=this.otpBoxes.toArray();n.forEach((u,C)=>{this.otpDigits[C]=u,d[C]&&(d[C].nativeElement.value=u)}),this.clearOtpError();const c=this.otpDigits.findIndex(u=>!u);this.focusBox(-1===c?this.otpDigits.length-1:c),this.otpDigits.every(u=>""!==u)&&this.verifyOtp()}focusBox(e){this.otpBoxes?.get(e)?.nativeElement.focus()}clearOtpError(){this.otpErrorType="NONE",this.otpErrorMessage=""}resetOtpBoxes(e=!0){this.otpDigits=["","","","","",""],setTimeout(()=>{this.otpBoxes?.forEach(o=>o.nativeElement.value=""),e&&this.focusBox(0)})}verifyOtp(){this.networkStatus?6!==this.otpCode.length||this.otpLoading?6!==this.otpCode.length&&(this.otpErrorType="INVALID",this.otpErrorMessage="Please enter all 6 digits."):(this.otpLoading=!0,this.clearOtpError(),this._superadminservice.SqlExecutorOtpVerify({otp:this.otpCode,otp_type:5}).subscribe({next:o=>{this.otpLoading=!1,o.status?(this.otpVerified=!0,this.fetchClients()):(this.otpErrorType=
1o?.msg?.toLowerCase().includes("author")?"UNAUTHORIZED":"INVALID",this.otpErrorMessage=o.msg,this.resetOtpBoxes())},error:o=>{this.otpLoading=!1,this.otpErrorType=403===o?.status?"UNAUTHORIZED":"INVALID",this.otpErrorMessage=o?.error?.messages?.error||o?.error?.msg||"OTP verification failed",this.resetOtpBoxes()}})):this.snackbar.open("You're Offline !","",{duration:3e3,panelClass:["bg-red-500"]})}sendOtp(){this.networkStatus?(this.clearOtpError(),this._superadminservice.sendShowClientOtp().subscribe({next:e=>{this.snackbar.open(e.msg,"",{duration:3e3,panelClass:["bg-green-600"]}),this.resetOtpBoxes(),this.startResendCooldown()},error:e=>{this.snackbar.open(e?.error?.messages?.error||"Failed to send OTP","",{duration:3e3,panelClass:["bg-red-500"]})}})):this.snackbar.open("You're Offline !","",{duration:3e3,panelClass:["bg-red-500"]})}resendOtp(){this.networkStatus?this.resendCooldown>0||(this.clearOtpError(),this._superadminservice.sendShowClientOtp().subscribe({next:e=>{this.snackbar.open(e.msg,"",{duration:3e3,panelClass:["bg-green-600"]}),this.resetOtpBoxes(),this.startResendCooldown()},error:e=>{this.snackbar.open(e?.error?.messages?.error||"Failed to send OTP","",{duration:3e3,panelClass:["bg-red-500"]})}})):this.snackbar.open("You're Offline !","",{duration:3e3,panelClass:["bg-red-500"]})}startResendCooldown(){this.resendCooldown=30,this.resendTimerHandle&&clearInterval(this.resendTimerHandle),this.resendTimerHandle=setInterval(()=>{this.resendCooldown--,this.resendCooldown<=0&&clearInterval(this.resendTimerHandle)},1e3)}fetchClients(){this._superadminservice.getCleintSchool().subscribe(e=>{this.allClient=(e.data||[]).map(n=>({...n,active_day:this.calculateDaysLeft(n.renewal_date)}))})}calculateDaysLeft(e){if(!e)return 0;const o=new Date;o.setHours(0,0,0,0);const n=new Date(e);n.setHours(0,0,0,0);const d=n.getTime()-o.getTime();return Math.ceil(d/864e5)}get processedClients(){return this.allClient.filter(o=>{const n=o.active_day??0,d="ALL"===this.activeFilter||"ACTIVE"===this.activeFilter&&n>=0||"INACTIVE"===this.activeFilter&&n<0,c=this.searchTerm.toLowerCase().trim(),u=!c||o.username?.toLowerCase().includes(c)||o.db_name?.toLowerCase().includes(c)||o.mobile_no?.includes(c);return d&&u}).sort((o,n)=>{const d=o.active_day??0,c=n.active_day??0,u=d<0,C=c<0;return!u&&C?-1:u&&!C?1:d-c})}loginAsClient(e){console.log("Selected School : ",e);const o=window.open("","_blank");if(!o)return void this.snackbar.open("Please allow pop-ups for this website.","Close",{duration:3e3,panelClass:["bg-red-500"]});const n=new FormData;n.set("school_id",String(e.school_id)),n.set("user_key",String(e.user_key)),n.set("type","2"),n.set("username",String(e.mobile_no)),this.auth.login(n).subscribe(d=>{if("success"===d.type){const c=d.data;localStorage.clear(),localStorage.setItem("menu",c.menu),localStorage.setItem("log_time",c.log_time),localStorage.setItem("school",c.school),localStorage.setItem("months",c.months),localStorage.setItem("classes",c.classes),localStorage.setItem("session_start",c.session_start),localStorage.setItem("session_end",c.session_end),localStorage.setItem("token",c.token),localStorage.setItem("support",c.support),this.auth.setDashboardRoute(),o.location.href=window.location.origin+"/",this.snackbar.open("Login successful","Close",{duration:3e3,panelClass:["bg-green-600"]})}else o.close(),this.snackbar.open(d.msg,"Close",{duration:3e3,panelClass:["bg-red-500"]})},d=>{o.close(),this.snackbar.open(d?.error?.messages?.error||"Login failed","Close",{duration:3e3,panelClass:["bg-red-500"]})})}editClientDetails(e){if(this.selectedClient=e,e.renewal_date){const o=new Date(e.renewal_date);o.setFullYear(o.getFullYear()+1),this.newRenewalDate=this.date.transform(o,"yyyy-MM-dd")||""}else this.newRenewalDate="";this.editError="",this.showEditModal=!0}closeEditModal(){this.showEditModal=!1,this.showUpdateOtpModal=!1,this.selectedClient=null,this.newRenewalDate="",this.editError="",this.updateOtp="",this.updateOtpError=""}onModifyClick(){this.newRenewalDate?this.date.transform(this.selectedClient?.renewal_date,"yyyy-MM-dd")!==this.newRenewalDate?(this.editError="",this.updateOtp="",this.updateOtpError="",this.showUpdateOtpModal=!0,this.sendUpdateOtp()):this.editError="New date is same as current expiry date.":this.editError="Please select a new renewal date."}sendUpdateOtp(){this.networkStatus?this.resendCooldown>0||this._superadminservice.sendUpdateClientOtp().subscribe({next:e=>{this.snackbar.open(e.msg,"",{duration:3e3,panelClass:["bg-green-600"]}),this.startResendCooldown()},error:e=>{this.snackbar.open(e?.error?.messages?.error||"Failed to send OTP","",{duration:3e3,panelClass:["bg-red-500"]})}}
1):this.snackbar.open("You're Offline !","",{duration:3e3,panelClass:["bg-red-500"]})}onUpdateOtpInput(){this.updateOtp=this.updateOtp.replace(/[^0-9]/g,"").slice(0,6),this.updateOtpError=""}closeUpdateOtpModal(){this.updateOtpLoading||(this.showUpdateOtpModal=!1,this.updateOtp="",this.updateOtpError="")}confirmUpdate(){this.networkStatus?6===this.updateOtp.length?this.updateOtpLoading||!this.selectedClient||(this.updateOtpLoading=!0,this.updateOtpError="",this._superadminservice.SqlExecutorOtpVerify({otp:this.updateOtp,otp_type:6}).subscribe({next:e=>{e.status?this.callUpdateRenewalApi():(this.updateOtpLoading=!1,this.updateOtpError="OTP not verified. Renewal date was not updated.")},error:()=>{this.updateOtpLoading=!1,this.updateOtpError="OTP not verified. Renewal date was not updated."}})):this.updateOtpError="Please enter all 6 digits.":this.snackbar.open("You're Offline !","",{duration:3e3,panelClass:["bg-red-500"]})}callUpdateRenewalApi(){const e=this.selectedClient;this._superadminservice.updateClientRenewal({update_id:e.school_id,renewal_date:this.newRenewalDate}).subscribe({next:n=>{this.updateOtpLoading=!1,n.status||"success"===n.type?(e.renewal_date=this.newRenewalDate,e.active_day=this.calculateDaysLeft(this.newRenewalDate),this.snackbar.open(n.msg||"Renewal date updated","Close",{duration:3e3,panelClass:["bg-green-600"]}),this.closeEditModal()):this.updateOtpError=n.msg||"Update failed"},error:n=>{this.updateOtpLoading=!1,this.updateOtpError=n?.error?.messages?.error||"Update failed"}})}static{this.\u0275fac=function(o){return new(o||s)(t.rXU(P.Y),t.rXU(m.vh),t.rXU($.UG),t.rXU(L.u))}}static{this.\u0275cmp=t.VBU({type:s,selectors:[["vex-show-client-details"]],viewQuery:function(o,n){if(1&o&&t.GBs(A,5),2&o){let d;t.mGM(d=t.lsd())&&(n.otpBoxes=d)}},standalone:!0,features:[t.Jv_([m.vh]),t.aNF],decls:8,vars:6,consts:[["current","School App Clients",1,"justify-between"],[1,"flex-auto",3,"crumbs"],["vexContainer","",1,"p-4","md:p-6"],["class","flex items-center justify-center py-10 sm:py-16",4,"ngIf"],["class","bg-white rounded-xl shadow-sm border border-slate-200/80 overflow-hidden",4,"ngIf"],["class","fixed inset-0 z-50 flex items-center justify-center bg-slate-900/50 p-4",3,"click",4,"ngIf"],["class","fixed inset-0 z-[60] flex items-center justify-center bg-slate-900/60 p-4",4,"ngIf"],[1,"flex","items-center","justify-center","py-10","sm:py-16"],["type","checkbox","id","otpSentToggle","aria-hidden","true",1,"hidden","peer"],[1,"peer-checked:hidden","w-full","max-w-sm","bg-white","rounded-2xl","shadow-xl","border","border-slate-200/80","overflow-hidden"],[1,"px-6","pt-8","pb-6","text-center","bg-gradient-to-br","from-indigo-600","via-indigo-600","to-violet-600"],[1,"mx-auto","w-14","h-14","rounded-full","bg-white/15","flex","items-center","justify-center","mb-3","ring-1","ring-white/30"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-7","h-7","text-white"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","1.8","d","M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 10-8 0v4h8z"],[1,"text-white","text-base","font-bold","tracking-wide"],[1,"text-indigo-100","text-[11px]","mt-1"],[1,"px-6","py-6","text-center"],["for","otpSentToggle",1,"inline-flex","items-center","justify-center","gap-2","w-full","py-2.5","bg-indigo-600","hover:bg-indigo-700","text-white","text-xs","font-semibold","rounded-lg","transition-all","shadow-sm","cursor-pointer","select-none",3,"click"],["class","w-3.5 h-3.5 animate-spin","fill","none","viewBox","0 0 24 24",4,"ngIf"],["class","w-3.5 h-3.5","fill","none","stroke","currentColor","viewBox","0 0 24 24",4,"ngIf"],[1,"mt-3","text-[11px]","text-slate-400"],[1,"hidden","peer-checked:block","w-full","max-w-sm","bg-white","rounded-2xl","shadow-xl","border","border-slate-200/80","overflow-hidden"],[1,"px-6","py-6"],[1,"flex","items-center","justify-center","gap-2",3,"paste"],["type","text","inputmode","numeric","maxlength","1","autocomplete","one-time-code","class","w-10 h-12 sm:w-11 sm:h-13 text-center text-lg font-bold text-slate-800 bg-slate-50 border rounded-lg outline-none focus:ring-2 transition-all disabled:opacity-50",3,"value","disabled","ngClass","input","keydown",4,"ngFor","ngForOf","ngForTrackBy"],["class","mt-4 flex items-start gap-2 bg-rose-50 border border-rose-200 rounded-lg px-3 py-2",4,"ngIf"],["class","mt-4 flex items-start gap-2 bg-amber-50 border border-amber-200 rounded-lg px-3 py-2",4,"ngIf"],["type","button",1,"mt-5","w-full","py-2.5","bg-indigo-600","hover:bg-indigo-700","disabled:bg-slate-300","disabled:cursor-not-allowed","text-white","text-xs","font-semibold","rounded-lg","transition-all","shadow-sm","flex","items-center","justify-center","gap-2",3,"disabled","click"],[1,"mt-4","text-center"],["class","text-[11px] text-slate-400",4,"ngIf"],["type","button","class","text-[11px] text-indigo-600 hover:text-indigo-700 font-semibold underline underline-offset-2",3,"click",4,"ngIf"],["fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","animate-spin"],["cx","12","cy","12","r","10","stroke","currentColor","stroke-width","4",1,"opacity-25"],["fill","currentColor","d","M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z",1,"opacity-75"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-3.5","h-3.5"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"],["type","text","inputmode","numeric","maxlength","1","autocomplete","one-time-code",1,"w-10","h-12","sm:w-11","sm:h-13","text-center","text-lg","font-bold","text-slate-800","bg-slate-50","border","rounded-lg","outline-none","focus:ring-2","transition-all","disabled:opacity-50",3,"value","disabled","ngClass","input","keydown"],["otpBox",""],[1,"mt-4","flex","items-start","gap-2","bg-rose-50","border","border-rose-200","rounded-lg","px-3","py-2"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","text-rose-500","mt-0.5","shrink-0"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 9v2m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"],[1,"text-[11px]","text-rose-600","font-medium"],[1,"mt-4","flex","items-start","gap-2","bg-amber-50","border","border-amber-200","rounded-lg","px-3","py-2"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","text-amber-500","mt-0.5","shrink-0"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M18.364 5.636l-12.728 12.728M12 3C7.03 3 3 7.03 3 12s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9z"],[1,"text-[11px]","text-amber-600","font-medium"],[1,"text-[11px]","text-slate-400"],["type","button",1,"text-[11px]","text-indigo-600","hover:text-indigo-700","font-semibold","underline","underline-offset-2",3,"click"],[1,"bg-white","rounded-xl","shadow-sm","border","border-slate-200/80","overflow-hidden"],[1,"p-4","border-b","border-slate-100","bg-slate-50/50","flex","flex-col","sm:flex-row","items-center","justify-between","gap-3"],[1,"inline-flex","p-1","bg-slate-200/70","rounded-lg","w-full","sm:w-auto"],["type","button",1,"flex-1","sm:flex-initial","px-4","py-1.5","text-xs","rounded-md","transition-all",3,"ngClass","click"],[1,"relative","w-full","sm:w-72"],["type","text","placeholder","Search school, group or mobile...",1,"w-full","pl-9","pr-3","py-1.5","text-xs","bg-white","border","border-slate-200","rounded-lg","focus:outline-none","focus:border-indigo-500","focus:ring-1","focus:ring-indigo-500","transition-all","placeholder:text-slate-400",3,"ngModel","ngModelChange"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","text-slate-400","absolute","left-2.5","top-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"],[1,"overflow-x-auto"],[1,"w-full","text-left","border-collapse"],[1,"bg-slate-100/80","text-slate-700","text-[11px]","uppercase","tracking-wider","font-bold","border-b","border-slate-200"],[1,"py-3.5","px-2","text-center","w-10","whitespace-nowrap"],[1,"py-3.5","px-2"],[1,"py-3.5","px-2","whitespace-nowrap"],[1,"py-3.5","px-2","text-center","whitespace-nowrap"],[1,"divi
1de-y","divide-slate-100","text-xs"],["class","hover:bg-indigo-50/30 transition-colors duration-150",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"hover:bg-indigo-50/30","transition-colors","duration-150"],[1,"py-3.5","px-2","text-center","font-medium","text-slate-500"],[1,"max-w-[120px]","py-3.5","px-2","font-semibold","text-slate-800"],[1,"max-w-[80px]","py-3.5","px-2","text-slate-600"],[1,"bg-slate-100","text-slate-700","px-2","py-0.5","rounded","text-[11px]","font-medium","border","border-slate-200"],[1,"py-3.5","px-2","font-mono","text-slate-600"],[1,"py-3.5","px-2","text-center"],[1,"inline-flex","items-center","px-2.5","py-0.5","rounded-full","text-[11px]","font-semibold","border",3,"ngClass"],[1,"w-1.5","h-1.5","rounded-full","mr-1.5",3,"ngClass"],[1,"py-3.5","px-2","text-slate-500"],[1,"py-3.5","px-3","cursor-pointer","text-xs","font-bold","tracking-wide","transition-all","duration-300","text-teal-950","bg-teal-50","border-l-2","border-l-teal-600","border-y","border-r","border-teal-200","hover:bg-teal-100","hover:text-teal-900","hover:border-l-teal-700","hover:shadow-sm",3,"click"],["type","button",1,"inline-flex","items-center","justify-center","gap-1","px-3","py-1","bg-indigo-600","hover:bg-indigo-700","text-white","text-[11px]","font-medium","rounded-md","transition-all","shadow-sm",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-3","h-3"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M14 5l7 7m0 0l-7 7m7-7H3"],["colspan","9",1,"py-8","text-center","text-slate-400"],[1,"fixed","inset-0","z-50","flex","items-center","justify-center","bg-slate-900/50","p-4",3,"click"],[1,"w-full","max-w-sm","bg-white","rounded-2xl","shadow-xl","overflow-hidden",3,"click"],[1,"px-6","py-4","bg-gradient-to-br","from-indigo-600","to-violet-600","flex","items-center","justify-between"],[1,"text-white","text-sm","font-bold","tracking-wide"],["type","button",1,"text-white/80","hover:text-white","text-lg","leading-none",3,"click"],[1,"px-6","py-5","space-y-4"],[1,"text-[11px]","text-slate-400","uppercase","font-semibold"],[1,"text-sm","font-semibold","text-slate-800"],[1,"text-sm","font-medium","text-rose-600"],["type","date",1,"mt-1","w-full","px-3","py-2","text-xs","bg-white","border","border-slate-200","rounded-lg","focus:outline-none","focus:border-indigo-500","focus:ring-1","focus:ring-indigo-500",3,"ngModel","ngModelChange"],["class","text-[11px] text-rose-600 font-medium",4,"ngIf"],[1,"flex","gap-2","pt-1"],["type","button",1,"flex-1","py-2","text-xs","font-semibold","text-slate-600","bg-slate-100","hover:bg-slate-200","rounded-lg",3,"click"],["type","button",1,"flex-1","py-2","text-xs","font-semibold","text-white","bg-indigo-600","hover:bg-indigo-700","rounded-lg","shadow-sm",3,"click"],[1,"fixed","inset-0","z-[60]","flex","items-center","justify-center","bg-slate-900/60","p-4"],[1,"w-full","max-w-xs","bg-white","rounded-2xl","shadow-xl","overflow-hidden"],[1,"px-6","py-4","bg-gradient-to-br","from-indigo-600","to-violet-600","text-center"],[1,"px-6","py-5"],["type","text","inputmode","numeric","maxlength","6","autocomplete","one-time-code","placeholder","\u2022\u2022\u2022\u2022\u2022\u2022",1,"w-full","text-center","tracking-[0.5em]","text-lg","font-bold","text-slate-800","bg-slate-50","border","rounded-lg","py-2.5","outline-none","focus:ring-2","disabled:opacity-50",3,"ngModel","disabled","ngClass","ngModelChange","input","keydown.enter"],["class","mt-3 flex items-start gap-2 bg-rose-50 border border-rose-200 rounded-lg px-3 py-2",4,"ngIf"],[1,"flex","gap-2","mt-4"],["type","button",1,"flex-1","py-2","text-xs","font-semibold","text-slate-600","bg-slate-100","hover:bg-slate-200","rounded-lg","disabled:opacity-50",3,"disabled","click"],["type","button",1,"flex-1","py-2","text-xs","font-semibold","text-white","bg-indigo-600","hover:bg-indigo-700","disabled:bg-slate-300","disabled:cursor-not-allowed","rounded-lg","shadow-sm",3,"disabled","click"],[1,"mt-3","text-center"],[1,"mt-3","flex","items-start","gap-2","bg-rose-50","border","border-rose-200","rounded-lg","px-3","py-2"]],template:function(o,n){1&o&&(t.j41(0,"vex-page-layout")(1,"vex-secondary-toolbar",0),t.nrm(2,"vex-breadcrumbs",1),t.k0s(),t.j41(3,"vex-page-layout-content",2),t.DNE(4,z,40,16,"div",3)(5,et,38,6,"div",4)(6,nt,29,7,"div",5)(7,at,18,9,"div",6),t.k0s()()),2&o&&(t.R
17$(2),t.Y8G("crumbs",t.lJ4(5,lt)),t.R7$(2),t.Y8G("ngIf",!n.otpVerified),t.R7$(),t.Y8G("ngIf",n.otpVerified),t.R7$(),t.Y8G("ngIf",n.otpVerified&&n.showEditModal&&n.selectedClient),t.R7$(),t.Y8G("ngIf",n.showUpdateOtpModal))},dependencies:[m.MD,m.YU,m.Sq,m.bT,m.vh,l.YN,l.me,l.BC,l.tU,l.vS,l.X1,h.tP,i.Ou,O.NQ,g.Hl,y.m_,T.uc,D.s,j.K,x.T,f.h,r.Ve,v.Sy,_.RG,w.g7,E.mV],styles:["table[_ngcontent-%COMP%]{font-family:arial,sans-serif;border-collapse:collapse;width:100%}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{border:1px solid #dddddd;text-align:left;padding:8px}tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#ddd}"],data:{animation:[B.ac,U.b]}})}}return s})()}}]);
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.