{"version":3,"sources":["webpack:///./$_lazy_route_resource lazy namespace object","webpack:///./src/app/app.component.html","webpack:///./src/app/components/about/about.component.html","webpack:///./src/app/components/buscar/buscar.component.html","webpack:///./src/app/components/heroe/heroe.component.html","webpack:///./src/app/components/heroes/heroes.component.html","webpack:///./src/app/components/home/home.component.html","webpack:///./src/app/components/shared/navbar/navbar.component.html","webpack:///./src/app/components/tarjeta/tarjeta.component.html","webpack:///./src/app/app.component.css","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.module.ts","webpack:///./src/app/app.routes.ts","webpack:///./src/app/components/about/about.component.ts","webpack:///./src/app/components/buscar/buscar.component.ts","webpack:///./src/app/components/heroe/heroe.component.ts","webpack:///./src/app/components/heroes/heroes.component.ts","webpack:///./src/app/components/home/home.component.ts","webpack:///./src/app/components/shared/navbar/navbar.component.ts","webpack:///./src/app/components/tarjeta/tarjeta.component.css","webpack:///./src/app/components/tarjeta/tarjeta.component.ts","webpack:///./src/app/services/heroes.service.ts","webpack:///./src/environments/environment.ts","webpack:///./src/main.ts"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,wE;;;;;;;;;;;ACZA,sH;;;;;;;;;;;ACAA,mV;;;;;;;;;;;ACAA,qPAAqP,WAAW,mRAAmR,iBAAiB,oCAAoC,cAAc,+DAA+D,oBAAoB,4J;;;;;;;;;;;ACAzqB,oDAAoD,6BAA6B,WAAW,+BAA+B,uUAAuU,iBAAiB,kCAAkC,cAAc,kX;;;;;;;;;;;ACAngB,sUAAsU,iBAAiB,oCAAoC,cAAc,+DAA+D,oBAAoB,4U;;;;;;;;;;;ACA5d,sE;;;;;;;;;;;ACAA,q6C;;;;;;;;;;;ACAA,qMAAqM,iBAAiB,wCAAwC,cAAc,mEAAmE,oBAAoB,yR;;;;;;;;;;;ACAnW,+DAA+D,+H;;;;;;;;;;;;;;;;;ACArB;AAO1C;IALA;Q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Aa,MAAa;QACxB,IAAI,WAAW,GAAa,EAAE,CAAC;QAC/B,MAAM,GAAG,MAAM,CAAC,WAAW,EAAE,CAAC;QAE9B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC3C,IAAI,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YAC3B,KAAK,CAAC,GAAG,GAAG,CAAC,CAAC;YAEd,IAAI,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;YACxC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;gBAC/B,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACzB;SACF;QAED,OAAO,WAAW,CAAC;IACrB,CAAC;IAjFQ,aAAa;QADzB,gEAAU,EAAE;;OACA,aAAa,CAkFzB;IAAD,oBAAC;CAAA;AAlFyB;;;;;;;;;;;;;ACH1B;AAAA;AAAA,gFAAgF;AAChF,0EAA0E;AAC1E,gEAAgE;AAEzD,IAAM,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;CAClB,CAAC;AAEF;;;;;;GAMG;AACH,mEAAmE;;;;;;;;;;;;;ACfnE;AAAA;AAAA;AAAA;AAAA;AAA+C;AAC4B;AAE9B;AACY;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,gGAAsB,EAAE,CAAC,eAAe,CAAC,yDAAS,CAAC;KAChD,KAAK,CAAC,aAAG,IAAI,cAAO,CAAC,KAAK,CAAC,GAAG,CAAC,EAAlB,CAAkB,CAAC,CAAC","file":"main-es5.js","sourcesContent":["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 = \"./$$_lazy_route_resource lazy recursive\";","module.exports = \"\\n\\n
\\n \\n
\"","module.exports = \"

Aplicación de comics

\\n
\\n

\\nLorem ipsum dolor sit, amet consectetur adipisicing elit. Ipsam aspernatur totam iusto minus quam amet, harum voluptatibus hic incidunt vel soluta tenetur delectus ullam natus suscipit? Deserunt nihil nobis nulla.\\n

\\n\"","module.exports = \"

Resultado de la búsqueda

\\n
\\n\\n
\\n
\\n
\\n No se encontraron resultados con: {{ _Filtro }}\\n
\\n
\\n\\n
\\n\\n
\\n\\n\\n\\n\\n\\n\\n
\"","module.exports = \"\\n

{{ _Heroe.nombre | uppercase }} ({{ _Heroe.aparicion | date:'y' }})

\\n
\\n\\n
\\n\\n
\\n \\n

\\n Regresar\\n
\\n\\n
\\n

{{ _Heroe.nombre }}

\\n
\\n

{{ _Heroe.bio }}

\\n\\n
\\n \\\"DC\\n \\\"DC\\n
\\n\\n
\\n\\n
\"","module.exports = \"

Héroes de Marvel y DC

\\n
\\n\\n
\\n\\n\\n\\n\\n\\n\\n\\n
\"","module.exports = \"

home works!

\\n\"","module.exports = \"\\n\"","module.exports = \"\\n
\\n \\n
\\n
{{ _Heroe.nombre }}
\\n

{{ _Heroe.bio }}

\\n

{{ _Heroe.aparicion }}

\\n \\n \\n
\\n
\"","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2FwcC5jb21wb25lbnQuY3NzIn0= */\"","import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.css']\n})\nexport class AppComponent {\n title = 'proyecto-spa';\n}\n","import { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\n// Rutas\nimport { APP_ROUTING } from './app.routes';\n\n// Servicios\nimport { HeroesService } from \"./services/heroes.service\";\n\n// Componentes\nimport { AppComponent } from './app.component';\nimport { NavbarComponent } from './components/shared/navbar/navbar.component';\nimport { HomeComponent } from './components/home/home.component';\nimport { AboutComponent } from './components/about/about.component';\nimport { HeroesComponent } from './components/heroes/heroes.component';\nimport { HeroeComponent } from './components/heroe/heroe.component';\nimport { BuscarComponent } from './components/buscar/buscar.component';\nimport { TarjetaComponent } from './components/tarjeta/tarjeta.component'; \n\n@NgModule({\n declarations: [\n AppComponent,\n NavbarComponent,\n HomeComponent,\n AboutComponent,\n HeroesComponent,\n HeroeComponent,\n BuscarComponent,\n TarjetaComponent\n ],\n imports: [\n BrowserModule,\n APP_ROUTING\n ],\n providers: [\n HeroesService\n ],\n bootstrap: [AppComponent]\n})\nexport class AppModule { }\n","\nimport { RouterModule, Routes } from \"@angular/router\";\nimport { HomeComponent } from './components/home/home.component';\nimport { HeroesComponent } from './components/heroes/heroes.component';\nimport { AboutComponent } from './components/about/about.component';\nimport { HeroeComponent } from './components/heroe/heroe.component';\nimport { BuscarComponent } from './components/buscar/buscar.component';\n\nconst APP_ROUTES: Routes = [\n {path: 'home', component: HomeComponent},\n {path: 'heroes', component: HeroesComponent},\n {path: 'about', component: AboutComponent},\n {path: 'heroe/:id', component: HeroeComponent},\n {path: 'buscar/:filtro', component: BuscarComponent},\n {path: '**', pathMatch: 'full', redirectTo: 'home'}\n\n];\n\nexport const APP_ROUTING = RouterModule.forRoot(APP_ROUTES);","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-about',\n templateUrl: './about.component.html'\n})\nexport class AboutComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport { HeroesService, Heroe } from \"../../services/heroes.service\";\nimport { Router } from '@angular/router';\nimport { ActivatedRoute } from '@angular/router';\n\n\n@Component({\n selector: 'app-buscar',\n templateUrl: './buscar.component.html',\n styles: []\n})\nexport class BuscarComponent implements OnInit {\n\n private _Heroes: Heroe[];\n private _Filtro : string;\n\n constructor( private _HeroesService:HeroesService,\n private _ActivatedRoute:ActivatedRoute,\n private _Router:Router ) { \n\n this._ActivatedRoute.params.subscribe( params => {\n this._Filtro = params['filtro'];\n this._Heroes = this._HeroesService.buscarHeroes(this._Filtro);\n })\n }\n\n ngOnInit() {\n \n }\n\n /*navegarHeroe( id:number ) {\n this._Router.navigate(['/heroe', id]);\n }*/\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { HeroesService, Heroe } from \"../../services/heroes.service\";\n\n@Component({\n selector: 'app-heroe',\n templateUrl: './heroe.component.html'\n})\nexport class HeroeComponent implements OnInit {\n\n private _Heroe : Heroe;\n\n constructor( private _ActivatedRoute:ActivatedRoute,\n private _HeroesService:HeroesService\n ) { \n this._ActivatedRoute.params.subscribe( params => {\n // Lee el parámetro id y obtiene el héroe del servicio.\n this._Heroe = this._HeroesService.getHeroe(params['id']);\n })\n }\n\n ngOnInit() {\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport { HeroesService, Heroe } from \"../../services/heroes.service\";\nimport { Router } from \"@angular/router\";\n\n@Component({\n selector: 'app-heroes',\n templateUrl: './heroes.component.html'\n})\nexport class HeroesComponent implements OnInit {\n\n heroes:Heroe[];\n\n constructor( private _HeroeService:HeroesService,\n private _Router:Router ) { \n \n }\n\n ngOnInit() {\n this.heroes = this._HeroeService.getHeroes();\n //console.log(this.heroes);\n }\n\n navegarHeroe( id:number ) {\n this._Router.navigate(['/heroe', id]);\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-home',\n templateUrl: './home.component.html'\n})\nexport class HomeComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport { Router } from \"@angular/router\";\n\n@Component({\n selector: 'app-navbar',\n templateUrl: './navbar.component.html'\n})\nexport class NavbarComponent implements OnInit {\n\n constructor( private _Router:Router ) { }\n\n ngOnInit() {\n }\n\n buscarHeroe(filtro:string) {\n console.log(filtro);\n }\n\n navegarBuscar(filtro:string) {\n this._Router.navigate(['/buscar', filtro]);\n }\n\n}\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvdGFyamV0YS90YXJqZXRhLmNvbXBvbmVudC5jc3MifQ== */\"","import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';\n\nimport { Router } from \"@angular/router\";\n\n@Component({\n selector: 'app-tarjeta',\n templateUrl: './tarjeta.component.html',\n styleUrls: ['./tarjeta.component.css']\n})\nexport class TarjetaComponent implements OnInit {\n\n @Input() _Heroe : any = {};\n @Input() _Indice : number;\n\n @Output() HeroeSelec : EventEmitter< number >;\n\n constructor( private _Router:Router ) { \n this.HeroeSelec = new EventEmitter();\n }\n\n ngOnInit() {\n }\n\n navegarHeroe() {\n this._Router.navigate(['/heroe', this._Indice]);\n //this.HeroeSelec.emit(this._Indice);\n }\n\n}\n","import { Injectable } from \"@angular/core\";\n\n@Injectable()\nexport class HeroesService {\n\n private heroes:Heroe[] = [\n {\n nombre: \"Aquaman\",\n bio: \"El poder más reconocido de Aquaman es la capacidad telepática para comunicarse con la vida marina, la cual puede convocar a grandes distancias.\",\n img: \"assets/img/aquaman.png\",\n aparicion: \"1941-11-01\",\n casa:\"DC\"\n },\n {\n nombre: \"Batman\",\n bio: \"Los rasgos principales de Batman se resumen en «destreza física, habilidades deductivas y obsesión». La mayor parte de las características básicas de los cómics han variado por las diferentes interpretaciones que le han dado al personaje.\",\n img: \"assets/img/batman.png\",\n aparicion: \"1939-05-01\",\n casa:\"DC\"\n },\n {\n nombre: \"Daredevil\",\n bio: \"Al haber perdido la vista, los cuatro sentidos restantes de Daredevil fueron aumentados por la radiación a niveles superhumanos, en el accidente que tuvo cuando era niño. A pesar de su ceguera, puede \\\"ver\\\" a través de un \\\"sexto sentido\\\" que le sirve como un radar similar al de los murciélagos.\",\n img: \"assets/img/daredevil.png\",\n aparicion: \"1964-01-01\",\n casa: \"Marvel\"\n },\n {\n nombre: \"Hulk\",\n bio: \"Su principal poder es su capacidad de aumentar su fuerza hasta niveles prácticamente ilimitados a la vez que aumenta su furia. Dependiendo de qué personalidad de Hulk esté al mando en ese momento (el Hulk Banner es el más débil, pero lo compensa con su inteligencia).\",\n img: \"assets/img/hulk.png\",\n aparicion: \"1962-05-01\",\n casa:\"Marvel\"\n },\n {\n nombre: \"Linterna Verde\",\n bio: \"Poseedor del anillo de poder que posee la capacidad de crear manifestaciones de luz sólida mediante la utilización del pensamiento. Es alimentado por la Llama Verde (revisada por escritores posteriores como un poder místico llamado Starheart), una llama mágica contenida en dentro de un orbe (el orbe era en realidad un meteorito verde de metal que cayó a la Tierra, el cual encontró un fabricante de lámparas llamado Chang)\",\n img: \"assets/img/linterna-verde.png\",\n aparicion: \"1940-06-01\",\n casa: \"DC\"\n },\n {\n nombre: \"Spider-Man\",\n bio: \"Tras ser mordido por una araña radiactiva, obtuvo los siguientes poderes sobrehumanos, una gran fuerza, agilidad, poder trepar por paredes. La fuerza de Spider-Man le permite levantar 10 toneladas o más. Gracias a esta gran fuerza Spider-Man puede realizar saltos íncreibles. Un \\\"sentido arácnido\\\", que le permite saber si un peligro se cierne sobre él, antes de que suceda. En ocasiones este puede llevar a Spider-Man al origen del peligro.\",\n img: \"assets/img/spiderman.png\",\n aparicion: \"1962-08-01\",\n casa: \"Marvel\"\n },\n {\n nombre: \"Wolverine\",\n bio: \"En el universo ficticio de Marvel, Wolverine posee poderes regenerativos que pueden curar cualquier herida, por mortal que ésta sea, además ese mismo poder hace que sea inmune a cualquier enfermedad existente en la Tierra y algunas extraterrestres . Posee también una fuerza sobrehumana, que si bien no se compara con la de otros superhéroes como Hulk, sí sobrepasa la de cualquier humano.\",\n img: \"assets/img/wolverine.png\",\n aparicion: \"1974-11-01\",\n casa: \"Marvel\"\n }\n ];\n\n constructor () {\n console.log(\"Servicio Habilitado!!\");\n }\n\n getHeroes() {\n return this.heroes;\n }\n\n getHeroe(id:number) {\n return this.heroes[id];\n }\n\n buscarHeroes(filtro:string) : Heroe[] {\n let listaResult : Heroe[] = [];\n filtro = filtro.toLowerCase();\n\n for (let i = 0; i < this.heroes.length; i++) {\n let heroe = this.heroes[i];\n heroe.pos = i;\n\n let nombre = heroe.nombre.toLowerCase();\n if (nombre.indexOf(filtro) >= 0) {\n listaResult.push(heroe);\n }\n }\n\n return listaResult;\n }\n}\n\nexport interface Heroe {\n nombre:string;\n bio:string;\n img:string;\n aparicion:string;\n casa:string;\n pos?:number;\n}","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n production: false\n};\n\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\n","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.error(err));\n"],"sourceRoot":""}