1import{a as N}from"./chunk-2OLMQH5O.js";import{a as R}from"./chunk-3NCCKAZU.js";import"./chunk-2VHVPOFA.js";import{j as M,k as _,o as I}from"./chunk-FXH3HZTK.js";import"./chunk-QYXLKUI2.js";import"./chunk-KLFLV7L4.js";import{$ as m,$a as C,Eb as y,Gb as h,Ib as v,Ka as l,Qb as S,T as c,Tb as n,Vb as b,Wc as E,Z as f,_ as w,aa as u,ga as o,ob as p,pb as g,vb as e,wb as t,xb as r}from"./chunk-6LXW4T72.js";import"./chunk-JSSFPNKJ.js";function D(x,i){if(x&1){let a=y();e(0,"div",13)(1,"div",28)(2,"span",29),m(),e(3,"svg",30),r(4,"path",31),t(),n(5," Redirecting to Home in "),u(),e(6,"strong",32),n(7),t()(),e(8,"button",33),h("click",function(){f(a);let k=v();return w(k.cancelAutoRedirect())}),n(9," Cancel "),t()(),e(10,"div",34),r(11,"div",35),t()()}if(x&2){let a=v();l(7),b("",a.secondsRemaining(),"s"),l(4),S("width",a.progressPercent(),"%")}}function L(x,i){x&1&&(e(0,"a",18),m(),e(1,"svg",16),r(2,"path",36),t(),u(),e(3,"span"),n(4,"Go to Dashboard"),t()())}var d=class d{constructor(){this.router=c(M);this.authService=c(R);this.orgProfile=o(N);this.isAuthenticated=o(this.authService.isTokenValid());this.totalSeconds=10;this.secondsRemaining=o(10);this.progressPercent=o(100);this.autoRedirectEnabled=o(!0);this.timerInterval=null}ngOnInit(){this.startCountdown()}ngOnDestroy(){this.clearCountdown()}startCountdown(){this.timerInterval=setInterval(()=>{let i=this.secondsRemaining();if(i<=1)this.clearCountdown(),this.router.navigate(["/"]);else{let a=i-1;this.secondsRemaining.set(a),this.progressPercent.set(a/this.totalSeconds*100)}},1e3)}cancelAutoRedirect(){this.clearCountdown(),this.autoRedirectEnabled.set(!1)}clearCountdown(){this.timerInterval&&(clearInterval(this.timerInterval),this.timerInterval=null)}goBack(){typeof window<"u"&&window.history.length>1?window.history.back():this.router.navigate(["/"])}};d.\u0275fac=function(a){return new(a||d)},d.\u0275cmp=C({type:d,selectors:[["app-not-found"]],decls:45,vars:3,consts:[[1,"min-h-[80vh]","flex","items-center","justify-center","py-12","px-4","sm:px-6","lg:px-8"],[1,"max-w-2xl","w-full","text-center","space-y-8"],[1,"relative","mx-auto","w-32","h-32","flex","items-center","justify-center"],[1,"absolute","inset-0","rounded-full","bg-emerald-500/15","dark:bg-emerald-500/25","blur-2xl","animate-pulse"],[1,"relative","w-28","h-28","rounded-3xl","bg-white","dark:bg-slate-800/90","border","border-slate-200/90","dark:border-slate-700/80","shadow-xl","flex","flex-col","items-center","justify-center","p-4"],[1,"text-4xl","sm:text-5xl","font-black","tracking-tight","text-emerald-700","dark:text-emerald-400","font-mono"],[1,"text-[10px]","font-extrabold","uppercase","tracking-widest","text-slate-500","dark:text-slate-400","mt-1"],[1,"space-y-3"],[1,"inline-flex","items-center","gap-2","px-3.5","py-1.5","rounded-full","bg-emerald-50","dark:bg-emerald-950/60","border","border-emerald-200","dark:border-emerald-800","text-emerald-800","dark:text-emerald-300","text-xs","font-semibold"],[1,"w-1.5","h-1.5","rounded-full","bg-emerald-500","animate-ping"],[1,"text-2xl","sm:text-4xl","font-extrabold","text-slate-900","dark:text-white","tracking-tight"],["dir","rtl",1,"font-urdu","text-lg","sm:text-xl","text-emerald-900","dark:text-emerald-200","leading-relaxed"],[1,"text-sm","sm:text-base","text-slate-600","dark:text-slate-300","max-w-lg","mx-auto","leading-relaxed"],[1,"max-w-md","mx-auto","p-4","rounded-2xl","bg-white/80","dark:bg-slate-800/80","border","border-slate-200/80","dark:border-slate-700","shadow-xs","space-y-2.5"],[1,"flex","flex-wrap","items-center","justify-center","gap-3","pt-2"],["routerLink","/",1,"inline-flex","items-center","gap-2","px-6","py-3","rounded-2xl","text-sm","font-bold","bg-emerald-700","hover:bg-emerald-800","text-white","shadow-md","hover:shadow-lg","transition-all","active:scale-95","cursor-pointer"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"],["routerLink","/dashboard",1,"inline-flex","items-center","gap-2","px-6","py-3","rounded-2xl","text-sm","font-bold","bg-slate-900","dark:bg-slate-100","hover:bg-slate-800","dark:hover:bg-white","text-white","dark:text-slate-900","shadow-md","hover:shadow-lg","transition-all","active:scale-95","cursor-pointer"],["type","button",1,"inline-flex","items-center","gap-2","px-5","py-3","rounded-2xl","text-sm","font-semibold","bg-white","dark:bg-slate-800","text-slate-700","dark:text-slate-200","border","border-slate-200","dark:border-slate-700","hover:bg-slate-50","dark:hover:bg-slate-700/60","shadow-2xs","transition-all","active:scale-95","cursor-pointer",3,"click"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 19l-7-7m0 0l7-7m-7 7h18"],[1,"pt-6","border-t","border-slate-200/80","dark:border-slate-800"],[1,"text-xs","font-bold","uppercase","tracking-wider","text-slate-600","dark:text-slate-300","mb-3"],[1,"flex","flex-wrap","justify-center","gap-2","text-xs"],["routerLink","/publications",1,"px-3","py-1.5","rounded-xl","bg-slate-100","dark:bg-slate-800","hover:bg-emerald-50","dark:hover:bg-emerald-950/60","text-slate-700","dark:text-slate-300","hover:text-emerald-700","dark:hover:text-emerald-300","transition-colors"],["routerLink","/institutions",1,"px-3","py-1.5","rounded-xl","bg-slate-100","dark:bg-slate-800","hover:bg-emerald-50","dark:hover:bg-emerald-950/60","text-slate-700","dark:text-slate-300","hover:text-emerald-700","dark:hover:text-emerald-300","transition-colors"],["routerLink","/events",1,"px-3","py-1.5","rounded-xl","bg-slate-100","dark:bg-slate-800","hover:bg-emerald-50","dark:hover:bg-emerald-950/60","text-slate-700","dark:text-slate-300","hover:text-emerald-700","dark:hover:text-emerald-300","transition-colors"],["routerLink","/contact",1,"px-3","py-1.5","rounded-xl","bg-slate-100","dark:bg-slate-800","hover:bg-emerald-50","dark:hover:bg-emerald-950/60","text-slate-700","dark:text-slate-300","hover:text-emerald-700","dark:hover:text-emerald-300","transition-colors"],[1,"flex","items-center","justify-between","text-xs","font-medium","text-slate-600","dark:text-slate-300"],[1,"flex","items-center","gap-1.5"],["viewBox","0 0 24 24","fill","none","stroke","currentColor",1,"w-3.5","h-3.5","text-emerald-600","dark:text-emerald-400","animate-spin"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M12 2v4m0 12v4M4.93 4.93l2.83 2.83m8.48 8.48l2.83 2.83M2 12h4m12 0h4M4.93 19.07l2.83-2.83m8.48-8.48l2.83-2.83"],[1,"font-bold","text-slate-900","dark:text-white"],["type","button",1,"text-xs","font-semibold","text-rose-600","dark:text-rose-400","hover:underline","cursor-pointer",3,"click"],[1,"h-1.5","w-full","bg-slate-100","dark:bg-slate-700","rounded-full","overflow-hidden"],[1,"h-full","bg-emerald-500","rounded-full","transition-all","duration-1000","ease-linear"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z"]],template:function(a,s){a&1&&(e(0,"div",0)(1,"div",1)(2,"div",2),r(3,"div",3),e(4,"div",4)(5,"span",5),n(6,"404"),t(),e(7,"span",6),n(8,"Error"),t()()(),e(9,"div",7)(10,"div",8),r(11,"span",9),e(12,"span"),n(13),t()(),e(14,"h1",10),n(15," Page Not Found "),t(),e(16,"p",11),n(17," \u0645\u0639\u0630\u0631\u062A! \u0645\u0637\u0644\u0648\u0628\u06C1 \u0635\u0641\u062D\u06C1 \u06CC\u0627 \u0644\u0646\u06A9 \u062F\u0633\u062A\u06CC\u0627\u0628 \u0646\u06C1\u06CC\u06BA \u06C1\u06D2\u06D4 "),t(),e(18,"p",12),n(19," The page you are looking for does not exist, has been moved, or is temporarily unavailable. "),t()(),p(20,D,12,3,"div",13),e(21,"div",14)(22,"a",15),m(),e(23,"svg",16),r(24,"path",17),t(),u(),e(25,"span"),n(26,"Back to Home"),t()(),p(27,L,5,0,"a",18),e(28,"button",19),h("click",function(){return s.goBack()}),m(),e(29,"svg",16),r(30,"path",20),t(),u(),e(31,"span"),n(32,"Previous Page"),t()()(),e(33,"div",21)(34,"p",22),n(35," Popular Navigation Links "),t(),e(36,"div",23)(37,"a",24),n(38," Publications & Books "),t(),e(39,"a",25),n(40," Institutions & Madaris "),t(),e(41,"a",26),n(42," Events "),t(),e(43,"a",27),n(44," Contact Us "),t()()()()()),a&2&&(l(13),b("",s.orgProfile().shortName," \u2022 Route Error"),l(7),g(s.autoRedirectEnabled()?20:-1),l(7),g(s.isAuthenticated()?27:-1))},dependencies:[E,I,_],encapsulation:2});var P=d;
1export{P as NotFoundComponent};
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.