"use strict";(self.webpackChunksynto=self.webpackChunksynto||[]).push([[8592],{7230:(E,u,o)=>{o.r(u),o.d(u,{ErrorpagesModule:()=>c});var d=o(6814),i=o(768),m=o(53),t=o(5879);const g=[{path:"",children:[{path:"authentication/404error",component:m.B},{path:"authentication/500error",component:(()=>{class e{constructor(n,r,a){this.document=n,this.renderer=r,this.elementRef=a}ngOnInit(){this.renderer.addClass(this.document.body,"h-full"),this.renderer.addClass(this.document.body,"!py-0"),this.renderer.addClass(this.document.body,"bg-white"),this.renderer.addClass(this.document.body,"dark:bg-bgdark"),document.querySelector(".auth").setAttribute("class","h-full");const r=this.elementRef.nativeElement.ownerDocument.documentElement;r.setAttribute("class","h-full"),r.removeAttribute("data-header-styles","light"),r.removeAttribute("data-nav-layout","vertical"),"dark"==localStorage.getItem("synto-header-mode")&&this.elementRef.nativeElement.ownerDocument.documentElement.classList.add("h-full","dark")}ngOnDestroy(){document.querySelector(".h-full").removeAttribute("class","h-full"),"dark"==localStorage.getItem("synto-header-mode")&&this.elementRef.nativeElement.ownerDocument.documentElement.classList.remove("h-full","dark")}static#t=this.\u0275fac=function(r){return new(r||e)(t.Y36(d.K0),t.Y36(t.Qsj),t.Y36(t.SBq))};static#e=this.\u0275cmp=t.Xpm({type:e,selectors:[["app-error500"]],decls:15,vars:0,consts:[[1,"auth"],[1,"authentication-page"],["id","content",1,"mx-auto"],[1,"error-basic-background"],[1,"text-center","py-10","px-4","sm:px-6","lg:px-8"],[1,"block","font-bold","text-primary","text-9xl","dark:text-primary"],[1,"mt-3","text-2xl","font-bold","text-gray-800","dark:text-white"],[1,"text-gray-600","dark:text-white/70"],[1,"mt-5","flex","flex-col","justify-center","items-center","gap-2","sm:flex-row","sm:gap-3"],["routerLink","/dashboard/sales",1,"w-full","sm:w-auto","inline-flex","justify-center","items-center","gap-x-3","text-center","bg-primary","hover:bg-primary","border","border-transparent","text-white","text-sm","font-medium","rounded-sm","focus:outline-none","focus:ring-0","focus:ring-primary","focus:ring-offset-0","focus:ring-offset-white","transition","py-2","px-3","dark:focus:ring-offset-white/10"],[1,"ri-arrow-left-line"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0)(1,"div",1)(2,"main",2),t._UZ(3,"canvas",3),t.TgZ(4,"div",4)(5,"h1",5),t._uU(6,"500"),t.qZA(),t.TgZ(7,"p",6),t._uU(8,"Oops, something went wrong."),t.qZA(),t.TgZ(9,"p",7),t._uU(10,"Internal Server 500 Error. we are fixing the problem .Please try after some time."),t.qZA(),t.TgZ(11,"div",8)(12,"a",9),t._UZ(13,"i",10),t._uU(14," Get Back to Home "),t.qZA()()()()()())},dependencies:[i.rH]})}return e})()}]}];let y=(()=>{class e{static#t=this.\u0275fac=function(r){return new(r||e)};static#e=this.\u0275mod=t.oAB({type:e});static#n=this.\u0275inj=t.cJS({imports:[i.Bz.forChild(g),i.Bz]})}return e})(),c=(()=>{class e{static#t=this.\u0275fac=function(r){return new(r||e)};static#e=this.\u0275mod=t.oAB({type:e});static#n=this.\u0275inj=t.cJS({imports:[d.ez,y]})}return e})()},8753:(E,u,o)=>{o.d(u,{p:()=>y});var d=o(6321),i=o(9360),m=o(8251),t=o(4829),g=o(4825);function y(c,e=d.z,v){const n=(0,g.H)(c,e);return function p(c,e){return(0,i.e)((v,n)=>{const{leading:r=!0,trailing:a=!1}=e??{};let h=!1,x=null,s=null,f=!1;const A=()=>{s?.unsubscribe(),s=null,a&&(w(),f&&n.complete())},Z=()=>{s=null,f&&n.complete()},b=l=>s=(0,t.Xf)(c(l)).subscribe((0,m.x)(n,A,Z)),w=()=>{if(h){h=!1;const l=x;x=null,n.next(l),!f&&b(l)}};v.subscribe((0,m.x)(n,l=>{h=!0,x=l,(!s||s.closed)&&(r?w():b(l))},()=>{f=!0,(!(a&&h&&s)||s.closed)&&n.complete()}))})}(()=>n,v)}}}]);