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EAAE,0EAAgB;aAC5B,CAAC,CAAC;YACH,QAAQ,CAAC,OAAO,EAAE,CAAC;QACrB,CAAC;KAAA;IAED,gBAAgB;QACd,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;SAClC;IACH,CAAC;CACF;;YAtCQ,2DAAe;YAGf,+EAAmB;;AAOf,UAAU;IALtB,wDAAS,CAAC;QACT,QAAQ,EAAE,iBAAiB;QAC3B,uMAA0B;;KAE3B,CAAC;GACW,UAAU,CA4BtB;AA5BsB","sources":["./src/app/pages/search/search.html","./src/app/pages/search/search-routing.module.ts","./src/app/pages/search/search.module.ts","./src/app/pages/search/search.ts"],"sourcesContent":["export default \"\\r\\n\\r\\n\\r\\n \\r\\n\\r\\n\";","import { SearchPage } from './search';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n component: SearchPage,\r\n }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class SearchPageRoutingModule {}\r\n","import { ComponentsModule } from './../../components/components.module';\r\nimport { SearchPage } from './search';\r\nimport { SearchPageRoutingModule } from './search-routing.module';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormBuilder } from '@angular/forms';\r\nimport { IonicModule } from '@ionic/angular';\r\n\r\n@NgModule({\r\n imports: [\r\n IonicModule,\r\n SearchPageRoutingModule,\r\n ComponentsModule\r\n ],\r\n declarations: [SearchPage],\r\n providers: [\r\n FormBuilder\r\n ]\r\n})\r\nexport class SearchPageModule {}\r\n","import { MessageModalPage } from '../message-modal/message-modal';\r\nimport { Component } from '@angular/core';\r\nimport { ModalController } from '@ionic/angular';\r\nimport { IMessage } from 'models/message';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { MessageAdminService } from 'services/message-admin.service';\r\n\r\n@Component({\r\n selector: 'app-page-search',\r\n templateUrl: 'search.html',\r\n styleUrls: ['search.scss'],\r\n})\r\nexport class SearchPage {\r\n\r\n message$: Observable;\r\n subscriptions: Subscription;\r\n\r\n constructor(\r\n public modalCtrl: ModalController,\r\n private messageAdminService: MessageAdminService) {\r\n }\r\n\r\n ionViewDidLoad() {\r\n this.message$ = this.messageAdminService.message$;\r\n this.subscriptions = this.message$.subscribe();\r\n console.log('ionViewDidLoad SearchPage');\r\n }\r\n\r\n async viewMessageModal() {\r\n const msgModal = await this.modalCtrl.create({\r\n component: MessageModalPage\r\n });\r\n msgModal.present();\r\n }\r\n\r\n ionViewWillLeave() {\r\n if (this.subscriptions) {\r\n this.subscriptions.unsubscribe();\r\n }\r\n }\r\n}\r\n"],"names":[],"sourceRoot":"webpack:///"}