"use strict";(self.webpackChunklearninghouse=self.webpackChunklearninghouse||[]).push([[76],{5752:(i,a,r)=>{r.d(a,{$:()=>s,p:()=>e});var s=function(t){return t.NUMERICAL="numerical",t.CATEGORICAL="categorical",t.CYCLICAL="cyclical",t.TIME="time",t}(s||{}),e=function(t){return t.CLASSIFIER="classifier",t.REGRESSOR="regressor",t}(e||{})},8274:(i,a,r)=>{r.d(a,{m:()=>t});var s=r(4412),e=r(7673);class t{constructor(){this.state$=new s.t(null)}handleSuccess(){return this.state$.next("success"),(0,e.of)(!0)}handleError(_){return this.state$.next(_.key),(0,e.of)(!1)}get isSuccess(){return"success"===this.state$.getValue()}}},1336:(i,a,r)=>{r.d(a,{q:()=>o});var s=r(6697),e=r(6354),t=r(3953),l=r(6163),_=r(8498);let o=(()=>{class n{constructor(c,u){this.authService=c,this.router=u}checkMinimumRole(c){return this.authService.role$.pipe((0,s.s)(1),(0,e.T)(u=>u?!!u.isMinimumRole(c)||this.router.createUrlTree(["/brains"]):this.router.createUrlTree(["/auth"])))}static#t=this.\u0275fac=function(u){return new(u||n)(t.KVO(l.u),t.KVO(_.Ix))};static#r=this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()}}]);