{"version":3,"sources":["webpack:///./src/components/public/payment-confirmation.component.vue?d3f3","webpack:///./src/components/public/payment-confirmation.component.vue","webpack:///./src/components/public/payment-confirmation.component.vue?1002","webpack:///./src/components/public/payment-confirmation.component.vue?4a06","webpack:///./src/mixins/public-cancel.mixin.ts","webpack:///./src/assets/logo-white.png"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","_s","createdDate","orderDetails","tag","cost","on","onCancelClick","staticRenderFns","PaymentConfirmationComponent","filter","orderDate","$router","replace","name","public","scan","onCancel","computed","component","customerModule","registeredTagModule","PublicCancelMixin","resetStateAction","module","exports"],"mappings":"yHAAA,IAAIA,OAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,QAAQ,CAACE,YAAY,QAAQ,CAACF,EAAG,QAAQ,CAACA,EAAG,SAAS,CAACE,YAAY,OAAOC,MAAM,CAAC,eAAe,QAAQ,aAAa,YAAY,iBAAiB,cAAc,CAACH,EAAG,MAAM,CAACE,YAAY,OAAOC,MAAM,CAAC,IAAM,EAAQ,QAA2B,IAAM,mBAAmB,MAAQ,SAASH,EAAG,KAAK,CAACE,YAAY,iBAAiBF,EAAG,eAAe,CAACE,YAAY,cAAc,CAACN,EAAIQ,GAAG,oBAAoBJ,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACA,EAAG,IAAI,CAACJ,EAAIQ,GAAG,wHAAwHJ,EAAG,IAAI,CAACJ,EAAIQ,GAAG,SAASR,EAAIS,GAAGT,EAAIU,gBAAgBN,EAAG,IAAI,CAACJ,EAAIQ,GAAG,SAASR,EAAIS,GAAGT,EAAIW,aAAaC,QAAQR,EAAG,IAAI,CAACJ,EAAIQ,GAAG,WAAWR,EAAIS,GAAGT,EAAIW,aAAaE,YAAY,GAAGT,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACG,MAAM,CAAC,GAAK,OAAO,CAACH,EAAG,QAAQ,CAACA,EAAG,OAAO,CAACE,YAAY,SAAS,CAACN,EAAIQ,GAAG,WAAWJ,EAAG,SAAS,CAACE,YAAY,QAAQQ,GAAG,CAAC,MAAQd,EAAIe,gBAAgB,CAACf,EAAIQ,GAAG,4BAA4B,MAAM,IAAI,IAAI,IAAI,IAAI,IACjiCQ,EAAkB,G,4GC+DtB,IAAqB,EAArB,MAAqBC,qCAAqC,eACxD,SAKA,gBACE,OAAO,OAGF,UACDhB,KAAKU,eACPV,KAAKS,YAAc,OAAIQ,OAAO,YAAX,CAAwBjB,KAAKU,aAAaQ,YAI1D,iBACLlB,KAAKmB,QAAQC,QAAQ,CAAEC,KAAM,OAAUC,OAAOC,OAGzC,gBACLvB,KAAKwB,aArBY,EAA4B,gBALhD,eAAU,CACTC,SAAU,kBACL,eAAS,OAA4B,CAAC,qBAGxB,WChEsZ,I,YCOvaC,EAAY,eACd,EACA5B,OACAiB,GACA,EACA,KACA,KACA,MAIa,aAAAW,E,uJCXf,MAAMC,EAAiC,eAAU,OAAgB,QAE3DC,EAA2C,eAC/C,OACA,QAIF,IAAqBC,EAArB,MAAqBA,0BAA0B,OACtC,iBAELF,EAAeG,mBACfF,EAAoBE,mBAEpB9B,KAAKmB,QAAQC,QAAQ,CAAEC,KAAM,OAAUC,OAAOC,SAN7BM,EAAiB,gBADrC,QACoBA,GAAA,U,qBCfrBE,EAAOC,QAAU,IAA0B","file":"js/chunk-08a54509.3a8afae9.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"pt-3\"},[_c('b-col',[_c('b-card',{staticClass:\"mb-3\",attrs:{\"text-variant\":\"white\",\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('img',{staticClass:\"mb-3\",attrs:{\"src\":require(\"@/assets/logo-white.png\"),\"alt\":\"Paw Finders Logo\",\"width\":\"150\"}}),_c('hr',{staticClass:\"mt-0 inverse\"}),_c('b-card-title',{staticClass:\"text-white\"},[_vm._v(\" Confirmation \")]),_c('b-row',[_c('b-col',[_c('p',[_vm._v(\" This confirmation page serves as your receipt of payment. Please print it or take a screenshot for your records. \")]),_c('p',[_vm._v(\"Date: \"+_vm._s(_vm.createdDate))]),_c('p',[_vm._v(\"Tag#: \"+_vm._s(_vm.orderDetails.tag))]),_c('p',[_vm._v(\"Price: $\"+_vm._s(_vm.orderDetails.cost))])])],1),_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\"}},[_c('small',[_c('span',{staticClass:\"small\"},[_vm._v(\"Done?\")]),_c('b-link',{staticClass:\"small\",on:{\"click\":_vm.onCancelClick}},[_vm._v(\" Cancel and go back. \")])],1)])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\nimport PublicCancelMixin from '@/mixins/public-cancel.mixin';\nimport { routeName } from '@/constants/route.constants';\nimport { mapState } from 'vuex';\nimport { REGISTERED_TAG_MODULE_NAME } from '@/store/modules/registered-tag.module';\nimport { PayPalVenmoOrderDetails } from '@/models/paypal-venmo-order-details';\n\n@Component({\n computed: {\n ...mapState(REGISTERED_TAG_MODULE_NAME, ['orderDetails'])\n }\n})\nexport default class PaymentConfirmationComponent extends mixins(\n PublicCancelMixin\n) {\n public createdDate: Date;\n public orderDetails: PayPalVenmoOrderDetails | null;\n\n public get routeName(): typeof routeName {\n return routeName;\n }\n\n public created() {\n if (this.orderDetails) {\n this.createdDate = Vue.filter('localTime')(this.orderDetails.orderDate);\n }\n }\n\n public onScanTagClick() {\n this.$router.replace({ name: routeName.public.scan });\n }\n\n public onCancelClick() {\n this.onCancel();\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./payment-confirmation.component.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./payment-confirmation.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./payment-confirmation.component.vue?vue&type=template&id=041ebd10&\"\nimport script from \"./payment-confirmation.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./payment-confirmation.component.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { Component, Vue } from 'vue-property-decorator';\nimport CustomerModule from '@/store/modules/customer.module';\nimport RegisteredTagModule from '@/store/modules/registered-tag.module';\nimport { getModule } from 'vuex-module-decorators';\nimport store from '@/store';\nimport { routeName } from '@/constants/route.constants';\n\nconst customerModule: CustomerModule = getModule(CustomerModule, store);\n\nconst registeredTagModule: RegisteredTagModule = getModule(\n RegisteredTagModule,\n store\n);\n\n@Component\nexport default class PublicCancelMixin extends Vue {\n public async onCancel(): Promise {\n // allow these to go without awaiting\n customerModule.resetStateAction();\n registeredTagModule.resetStateAction();\n\n this.$router.replace({ name: routeName.public.scan });\n }\n}\n","module.exports = __webpack_public_path__ + \"img/logo-white.d972e702.png\";"],"sourceRoot":""}