1import{b as d}from"./chunk-E3H4BJ7I.js";import{i as m}from"./chunk-XNTCN5LM.js";import{I as n,Lc as l,Y as r,aa as i,ha as a,la as s,ma as c}from"./chunk-5LGYDGR4.js";var f=(()=>{class e{constructor(){this.platformId=i(c),this.isCooldown=s(!1),this.remainingSeconds=s(0)}start(o){!l(this.platformId)||this.isCooldown()||setTimeout(()=>{this.isCooldown.set(!0),this.remainingSeconds.set(o),this.cooldownTimer=setInterval(()=>{this.remainingSeconds.update(t=>t-1),this.remainingSeconds()===0&&this.stop()},1e3)},0)}stop(){clearInterval(this.cooldownTimer),this.isCooldown.set(!1),this.remainingSeconds.set(0)}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=r({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var j=(()=>{class e{constructor(){this.accountService=i(d),this.cooldownService=i(f),this.destroyRef=i(a)}sendVerificationEmail(o){if(this.cooldownService.isCooldown())return;let t={title:"",message:"",type:"success"};this.accountService.requestEmailVerification().pipe(m(this.destroyRef),n(()=>o(t))).subscribe({next:()=>{this.cooldownService.start(60),t={title:"Email Sent!",message:"Verification email sent! Please check your inbox.",type:"success"}},error:()=>{t={title:"Failed to Send!",message:"Something went wrong. Please try again.",type:"danger"}}})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=r({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();export{j as a};
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.