{"version":3,"sources":["../../src/pages/tab4/tab4.ts","../../src/pages/transaction/transaction.ts","../../src/pages/tabs/tabs.ts","../../src/pages/wallet/wallet.ts","../../node_modules/@angular/core/esm5 lazy","../../src lazy","../../src/pages/home/home.ts","../../src/providers/block-service.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts","../../src/providers/transaction-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAA0C;AACe;AAEzD;;;;;GAKG;AAOH;IAEE,kBAAmB,OAAsB,EAAS,SAAoB;QAAnD,YAAO,GAAP,OAAO,CAAe;QAAS,cAAS,GAAT,SAAS,CAAW;IACtE,CAAC;IAED,iCAAc,GAAd;QACE,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;IACzC,CAAC;IAPU,QAAQ;QAJpB,wEAAS,CAAC;YACT,QAAQ,EAAE,WAAW;WACG;SACzB,CAAC;iBAGsE;OAF3D,QAAQ,CASpB;IAAD,CAAC;AAAA;SATY,QAAQ,e;;;;;;;;;;;;;;;;;;;;;ACfqB;AACe;AACgB;AAEzE;;;;;GAKG;AAOH;IAIE,yBAAmB,OAAsB,EAAS,SAAoB,EAC/D,kBAAsC;QAD1B,YAAO,GAAP,OAAO,CAAe;QAAS,cAAS,GAAT,SAAS,CAAW;QAC/D,uBAAkB,GAAlB,kBAAkB,CAAoB;QAC3C,IAAI,CAAC,kBAAkB,CAAC;IAC1B,CAAC;IAED,wCAAc,GAAd;QACE,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAC;IAChD,CAAC;IAED,4CAAkB,GAAlB;QAAA,iBAIC;QAHC,IAAI,CAAC,kBAAkB,CAAC,kBAAkB,EAAE,CAAC,SAAS,CAAC,sBAAY;YACjE,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACnC,CAAC,CAAC;IACJ,CAAC;IAjBU,eAAe;QAJ3B,wEAAS,CAAC;YACT,QAAQ,EAAE,kBAAkB;WACG;SAChC,CAAC;wGAKsE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,8BAA8B,CAAC;QACrC,oBAAe,GAAG,IAAI,CAAC,GAAG,GAAG,eAAe,CAAC;IAGpD,CAAC;IAED,8CAAiB,GAAjB,UAAkB,WAAwB;QACtC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAc,IAAI,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;IAC1E,CAAC;IAED,+CAAkB,GAAlB;QACG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,eAAe,CAAC;IAC5C,CAAC;IAbU,kBAAkB;QAD9B,yEAAU,EAAE;yCAKa,wEAAU;OAJvB,kBAAkB,CAe9B;IAAD,yBAAC;CAAA;AAf8B","file":"main.js","sourcesContent":["import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the Tab4Page page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-tab4',\n templateUrl: 'tab4.html',\n})\nexport class Tab4Page {\n\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad Tab4Page');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tab4/tab4.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { TransactionService } from '../../providers/transaction-service';\n\n/**\n * Generated class for the TransactionPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-transaction',\n templateUrl: 'transaction.html',\n})\nexport class TransactionPage {\n\n private transactions : Array;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public transactionService: TransactionService){\n this.getAllTransactions;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad TransactionPage');\n }\n\n getAllTransactions() {\n this.transactionService.getAllTransactions().subscribe(transactions => {\n this.transactions = transactions;\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/transaction/transaction.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { HomePage } from '../home/home';\nimport { WalletPage } from '../wallet/wallet';\nimport { TransactionPage } from '../transaction/transaction';\nimport { Tab4Page } from '../tab4/tab4';\n@IonicPage()\n@Component({\n selector: 'page-tabs',\n templateUrl: 'tabs.html',\n})\nexport class TabsPage {\n homePage = HomePage;\n walletPage = WalletPage;\n transactionPage = TransactionPage;\n tab4 = Tab4Page; \n constructor() {\n\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/tabs.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { TransactionService } from '../../providers/transaction-service';\nimport { Transaction } from '../../model/transaction';\nimport { FormGroup } from '@angular/forms';\n\n/**\n * Generated class for the WalletPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-wallet',\n templateUrl: 'wallet.html',\n})\nexport class WalletPage {\n\n transactionForm : FormGroup;\n transaction : Transaction;\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public transactionService: TransactionService) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad WalletPage');\n }\n\n createTransaction(){\n this.transactionService.createTransaction(this.transaction);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/wallet/wallet.ts","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 116;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 116\n// module chunks = 4","var map = {\n\t\"../pages/tab4/tab4.module\": [\n\t\t280,\n\t\t3\n\t],\n\t\"../pages/tabs/tabs.module\": [\n\t\t282,\n\t\t2\n\t],\n\t\"../pages/transaction/transaction.module\": [\n\t\t281,\n\t\t1\n\t],\n\t\"../pages/wallet/wallet.module\": [\n\t\t283,\n\t\t0\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 158;\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 158\n// module chunks = 4","import { Component } from '@angular/core';\nimport { NavController } from 'ionic-angular';\nimport { BlockService } from '../../providers/block-service';\n@Component({\n selector: 'page-home',\n templateUrl: 'home.html'\n})\nexport class HomePage {\n private block : any = {};\n private blocks : Array;\n \n constructor(public navCtrl: NavController, public blockService: BlockService) {\n this.getAllBlocks();\n }\n\n getBlock(id) {\n this.blockService.getBlock(id).subscribe(block => {\n this.block = block;\n })\n }\n getAllBlocks() {\n this.blockService.getAllBlocks().subscribe(blocks => {\n this.blocks = blocks;\n })\n }\n getMinedBlock(id) {\n this.blockService.getMinedBlock(id).subscribe(minedBlock => {\n this.block = minedBlock;\n })\n }\n}\n\n\n\n\n//make payment\n//block view\n//2 pull down list of username and pay other user \"blank zips\"\n// transaction are order by date\n// pay tab how many coins``\n// 4 tabs block,pay, \n\n\n// WEBPACK FOOTER //\n// ./src/pages/home/home.ts","import {HttpClient} from \"@angular/common/http\";\nimport {Observable} from \"rxjs/Observable\";\nimport {Injectable} from \"@angular/core\";\n\n@Injectable()\nexport class BlockService{\n public API = 'http://localhost:8080/api/v1';\n public BLOCK_API = this.API + '/blocks';\n \n constructor(public http: HttpClient) {\n }\n\n getBlock(id) : Observable {\n return this.http.get(this.BLOCK_API + '/' + id);\n }\n\n getMinedBlock(id) : Observable {\n return this.http.get(this.BLOCK_API + '/' + id + '/' + 'mine');\n }\n\n getAllBlocks() : Observable {\n return this.http.get(this.BLOCK_API)\n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/block-service.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app.module';\n\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\nimport { ErrorHandler, NgModule } from '@angular/core';\nimport { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport { StatusBar } from '@ionic-native/status-bar';\n\nimport { MyApp } from './app.component';\nimport { HttpClientModule } from '@angular/common/http';\nimport { BlockService } from '../providers/block-service';\nimport { HomePage } from '../pages/home/home';\nimport { WalletPage } from '../pages/wallet/wallet';\nimport { TransactionPage } from '../pages/transaction/transaction';\nimport { TabsPage } from '../pages/tabs/tabs';\nimport { Tab4Page } from '../pages/tab4/tab4';\nimport { TransactionService } from '../providers/transaction-service';\n\n@NgModule({\n declarations: [\n MyApp,\n HomePage,\n WalletPage,\n TransactionPage,\n Tab4Page,\n TabsPage\n ],\n imports: [\n BrowserModule,\n HttpClientModule,\n IonicModule.forRoot(MyApp)\n ],\n bootstrap: [IonicApp],\n entryComponents: [\n MyApp,\n HomePage,\n WalletPage,\n TransactionPage,\n Tab4Page,\n TabsPage\n ],\n providers: [\n StatusBar,\n SplashScreen,\n BlockService,\n TransactionService,\n {provide: ErrorHandler, useClass: IonicErrorHandler}\n ]\n})\nexport class AppModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component } from '@angular/core';\nimport { Platform } from 'ionic-angular';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport { TabsPage } from '../pages/tabs/tabs';\n@Component({\n templateUrl: 'app.html'\n})\nexport class MyApp {\n rootPage:any = TabsPage;\n\n constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {\n platform.ready().then(() => {\n // Okay, so the platform is ready and our plugins are available.\n // Here you can do any higher level native things you might need.\n statusBar.styleDefault();\n splashScreen.hide();\n });\n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { Observable } from \"rxjs/Observable\";\nimport { Transaction } from \"../model/transaction\";\n\n@Injectable()\nexport class TransactionService{\n public API = 'http://localhost:8080/api/v1';\n public TRANSACTION_API = this.API + '/transactions';\n \n constructor(public http: HttpClient) {\n }\n\n createTransaction(transaction: Transaction) : Observable {\n return this.http.post(this.TRANSACTION_API, transaction);\n }\n\n getAllTransactions() : Observable {\n return this.http.get(this.TRANSACTION_API)\n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/transaction-service.ts"],"sourceRoot":""}