{"version":3,"sources":["./src/app/core/services/auth.service.ts","./src/environments/environment.ts","./src/app/core/interceptors/token-interceptor.ts","./src/app/core/guards/login-activate-guard.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/features/domain/services/domain.service.ts","./src/app/app.module.ts","./src/app/core/utils/Constants.ts","./src/app/app-routing.module.ts","./src/main.ts","./$_lazy_route_resource lazy namespace object"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA;AAAA;AAAA;AAAA;AAAyD;;AAKlD,MAAM,WAAW;IAIpB;QAFA,eAAU,GAAG,KAAK,CAAC;QAKf,IAAG,sEAAS,KAAK,SAAS,IAAI,sEAAS,KAAK,IAAI,IAAI,sEAAS,KAAK,EAAE,EAAE;YAClE,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;SAC3B;aAAM;YACH,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;SAC1B;IACL,CAAC;IAED,KAAK;QACD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;IAC3B,CAAC;IAED,MAAM;QACF,YAAY,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;IAC5B,CAAC;;sEArBQ,WAAW;8FAAX,WAAW,WAAX,WAAW,mBAFR,MAAM;;;;;;;;;;;;;ACJtB;AAAA;AAAA;AAAyD;AAEzD,gFAAgF;AAChF,0EAA0E;AAC1E,gEAAgE;AACzD,MAAM,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,EAAE,CAAC,mFAAmF;CAC/F,CAAC;AAEF,8EAAS,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;IACxB,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC;AAC9B,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;IACf,OAAO,CAAC,KAAK,CAAC,8BAA8B,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC,CAAC,CAAC;AACH;;;;;;GAMG;AACH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core';\r\nimport { API_TOKEN } from 'src/app/core/utils/Constants';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthService {\r\n\r\n isLoggedIn = false;\r\n\r\n constructor(\r\n \r\n ) {\r\n if(API_TOKEN === undefined || API_TOKEN === null || API_TOKEN === '') {\r\n this.isLoggedIn = false;\r\n } else {\r\n this.isLoggedIn = true;\r\n }\r\n }\r\n\r\n login() {\r\n this.isLoggedIn = true;\r\n }\r\n\r\n logout() {\r\n localStorage.clear();\r\n this.isLoggedIn = false;\r\n }\r\n\r\n}\r\n\r\n","import { getApiUrl } from \"src/app/core/utils/Constants\";\r\n\r\n// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\nexport const environment = {\r\n production: false,\r\n apiUrl: '' // Esta propiedad se actualizará con la URL de la API cargada desde el archivo JSON\r\n};\r\n\r\ngetApiUrl().then(apiUrl => {\r\n environment.apiUrl = apiUrl;\r\n}).catch(error => {\r\n console.error('Error obteniendo la API URL:', error);\r\n});\r\n/*\r\n * For easier debugging in development mode, you can import the following file\r\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\r\n *\r\n * This import should be commented out in production mode because it will have a negative impact\r\n * on performance if an error is thrown.\r\n */\r\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\r\n","import { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { throwError } from 'rxjs'\r\nimport {catchError} from 'rxjs/operators'; \r\nimport { Router } from '@angular/router';\r\nimport { API_TOKEN } from '../utils/Constants';\r\n\r\n@Injectable()\r\nexport class TokenInterceptor implements HttpInterceptor {\r\n\r\n constructor(\r\n private router: Router\r\n ) { }\r\n\r\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\r\n if( !( \r\n request.url.includes('Login') || \r\n request.url.includes('.json') || \r\n request.url.includes('ChangePassword') || \r\n request.url.includes('Medios') || \r\n request.url.includes('medios') \r\n )) { \r\n request = request.clone({\r\n setHeaders: {\r\n 'Authorization': API_TOKEN\r\n }\r\n });\r\n }\r\n return next.handle(request).pipe(\r\n catchError((response: HttpErrorResponse) => {\r\n if (response.status === 401) {\r\n this.router.navigate(['/login']);\r\n }\r\n return throwError(response);\r\n }\r\n )\r\n )\r\n };\r\n}","import { Injectable } from '@angular/core';\r\nimport {CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router} from '@angular/router';\r\nimport { AuthService } from '../services/auth.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthGuard implements CanActivate {\r\n constructor(private authService: AuthService, private router: Router) {}\r\n \r\n canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n if (!this.authService.isLoggedIn) {\r\n return this.router.createUrlTree(\r\n ['/home']\r\n );\r\n } else {\r\n return true;\r\n }\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss']\r\n})\r\nexport class AppComponent {\r\n title = 'crmpoblado';\r\n}\r\n","\r\n\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { map } from 'rxjs/internal/operators/map';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DomainService {\r\n \r\n private static apiUrlSubject: BehaviorSubject = new BehaviorSubject('');\r\n public static apiUrl$ = DomainService.apiUrlSubject.asObservable();\r\n\r\n static backurl: string;\r\n\r\n constructor(private http: HttpClient) {\r\n this.loadApiUrl();\r\n }\r\n\r\n private loadApiUrl() {\r\n debugger;\r\n this.http.get('assets/tempdata.json').subscribe(data => {\r\n const apiUrl = data.enmBackend.apiUrl;\r\n DomainService.backurl = apiUrl;\r\n DomainService.apiUrlSubject.next(apiUrl);\r\n localStorage.setItem('apiUrl', apiUrl);\r\n });\r\n }\r\n\r\n public static getApiUrl(): Promise {\r\n return new Promise((resolve) => {\r\n if (this.backurl) {\r\n resolve(this.backurl);\r\n } else {\r\n const storedApiUrl = localStorage.getItem('apiUrl');\r\n if (storedApiUrl) {\r\n resolve(storedApiUrl);\r\n } else {\r\n DomainService.apiUrl$.subscribe(apiUrlValue => {\r\n if (apiUrlValue) {\r\n resolve(apiUrlValue);\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }\r\n\r\n public getData(type: string): Observable {\r\n return this.http.get('assets/tempdata.json').pipe(map((res: any) => res[type]));\r\n }\r\n}\r\n","import { NgModule, APP_INITIALIZER } from '@angular/core';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { NgxSpinnerModule } from \"ngx-spinner\";\r\nimport { AppRoutingModule } from './app-routing.module';\r\nimport { AppComponent } from './app.component';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { HashLocationStrategy, LocationStrategy } from '@angular/common';\r\nimport { TokenInterceptor } from './core/interceptors/token-interceptor';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { DomainService } from './features/domain/services/domain.service';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent\r\n ],\r\n imports: [\r\n BrowserModule,\r\n AppRoutingModule,\r\n HttpClientModule,\r\n NgxSpinnerModule,\r\n BrowserAnimationsModule\r\n ],\r\n providers: [\r\n DomainService,\r\n { provide: LocationStrategy, useClass: HashLocationStrategy },\r\n { provide: HTTP_INTERCEPTORS, useClass: TokenInterceptor, multi: true }\r\n ],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }","import { DomainService } from 'src/app/features/domain/services/domain.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\nlet apiUrl: string = ''; // Inicializamos la variable apiUrl con una cadena vacía\r\n\r\n\r\n\r\n// Exportamos una función que devuelva la URL de la API\r\nexport async function getApiUrl(): Promise {\r\n const apiUrl = await DomainService.getApiUrl();\r\n environment.apiUrl = apiUrl;\r\n return apiUrl;\r\n}\r\n\r\n\r\n\r\n// Aquí puedes acceder a otras constantes\r\nexport const API_TOKEN: any = localStorage.getItem('token');\r\nexport const USER_INFO: any = localStorage.getItem('userInfo');\r\nexport const USER_REGISTER_INFO: any = localStorage.getItem('userRegisterInfo');\r\n\r\nexport const API_URL_NO_V1: string = 'https://siep.elpobladosa.com:9028/api/';\r\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { AuthGuard } from './core/guards/login-activate-guard';\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: 'home', pathMatch: 'full' }, // Cambia la ruta raíz a 'dashboard'\r\n { path: 'landing', loadChildren: () => import('./features/landing/landing.module').then(m => m.LandingModule), canActivate:[AuthGuard] },\r\n { path: 'login', loadChildren: () => import('./features/auth/components/login/login.module').then(m => m.LoginModule) },\r\n { path: 'register', loadChildren: () => import('./features/auth/components/register/register.module').then(m => m.RegisterModule) },\r\n { path: 'activate/:username', loadChildren: () => import('./features/auth/components/activate/activate.module').then(m => m.ActivateModule) },\r\n { path: 'home', loadChildren: () => import('./features/home/home.module').then(m => m.HomeModule) },\r\n { path: 'recover-password', loadChildren: () => import('./features/auth/components/recover-password/recover-password.module').then(m => m.RecoverPasswordModule) },\r\n { path: 'activate-password', loadChildren: () => import('./features/auth/components/activate-password/activate-password.module').then(m => m.ActivatePasswordModule) },\r\n { path: 'dashboard', loadChildren: () => import('./features/dashboard/dashboard.module').then(m => m.DashboardModule), canActivate:[AuthGuard] }, // Nueva ruta para el dashboard\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forRoot(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class AppRoutingModule { }\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.error(err));\r\n","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"zn8P\";"],"sourceRoot":"webpack:///"}