"use strict";(self.webpackChunklearninghouse=self.webpackChunklearninghouse||[]).push([[592],{9984:(o,a,e)=>{e.d(a,{H:()=>t,d:()=>s});var s=function(r){return r.NUMERICAL="numerical",r.CATEGORICAL="categorical",r}(s||{}),t=function(r){return r.CLASSIFIER="classifier",r.REGRESSOR="regressor",r}(t||{})},5559:(o,a,e)=>{e.d(a,{I:()=>r});var s=e(5619),t=e(2096);class r{constructor(){this.state$=new s.X(null)}handleSuccess(){return this.state$.next("success"),(0,t.of)(!0)}handleError(c){return this.state$.next(c.key),(0,t.of)(!1)}get isSuccess(){return"success"===this.state$.getValue()}}},4419:(o,a,e)=>{e.d(a,{a:()=>E});var s=e(8180),t=e(7398),r=e(5879),l=e(9637),c=e(1896);let E=(()=>{class u{constructor(n,_){this.authService=n,this.router=_}checkMinimumRole(n){return this.authService.role$.pipe((0,s.q)(1),(0,t.U)(_=>_?!!_.isMinimumRole(n)||this.router.createUrlTree(["/brains"]):this.router.createUrlTree(["/auth"])))}}return u.\u0275fac=function(n){return new(n||u)(r.LFG(l.e),r.LFG(c.F0))},u.\u0275prov=r.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()}}]);