{"version":3,"sources":["webpack:///./src/views/ROICalculator.vue?2552","webpack:///./src/views/ROICalculator.vue","webpack:///./src/views/ROICalculator.vue?026d","webpack:///./src/views/ROICalculator.vue?3572","webpack:///./src/views/ROICalculator.vue?e95d"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","scopedSlots","_u","key","fn","_v","proxy","staticClass","directives","name","rawName","value","expression","domProps","on","$event","target","composing","units","mapping","$set","_s","people","assessmentTools","review","reports","moneyFormatter","format","totalCost","formattedTime","p2sCost","savingsEst","p2sTime","staticRenderFns","pricingData","rate","hours","Intl","NumberFormat","style","currency","api","Require","API","mappingCost","reviewCost","reportsCost","Math","round","parseFloat","String","count","singular","totalTime","workingHours","pluralise","ceil","calculateComponentPrice","itemType","qty","total","ruleset","find","rs","isMarginal","i","rules","length","rule","qtyInRule","max","min","maxQty","minQty","j","rule2","getPricingRules","Promise","resolve","reject","PaymentAPI","GetPricingCalculatorRules","then","data","catch","components","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,aAAa,CAACA,EAAG,mBAAmB,CAACA,EAAG,SAAS,CAACE,MAAM,CAAC,YAAa,GAAMC,YAAYP,EAAIQ,GAAG,CAAC,CAACC,IAAI,aAAaC,GAAG,WAAW,MAAO,CAACV,EAAIW,GAAG,kEAAkEC,OAAM,MAAS,CAACZ,EAAIW,GAAG,sBAAsBP,EAAG,MAAM,CAACS,YAAY,YAAY,CAACT,EAAG,MAAM,CAACS,YAAY,kBAAkB,CAACT,EAAG,MAAM,CAACS,YAAY,qBAAqB,CAACT,EAAG,KAAK,CAACS,YAAY,mBAAmB,CAACb,EAAIW,GAAG,aAAaP,EAAG,IAAI,CAACS,YAAY,kBAAkB,CAACb,EAAIW,GAAG,0GAA0GP,EAAG,MAAM,CAACS,YAAY,mBAAmB,CAACT,EAAG,QAAQ,CAACS,YAAY,mB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KS,KAAKpB,GAAQ,QAEjDzC,KAAK4D,UAAUR,KAAKC,MAAc,GAARZ,GAAa,YA1HlD,qCA6HE,SAAyBsB,EAAkBC,GAAU,MAC/CC,EAAQ,EACRC,EAAO,UAAGlE,KAAKuC,mBAAR,aAAG,EAAkB4B,MAAK,SAACC,GAAD,OAA8BA,EAAGL,WAAaA,KAEnF,GAAIG,EACF,GAAIA,EAAQG,WACV,IAAK,IAAIC,EAAI,EAAGA,EAAIJ,EAAQK,MAAMC,OAAQF,IAAK,CAC7C,IAAIG,EAAOP,EAAQK,MAAMD,GAErBI,EAAYtB,KAAKuB,IACnB,EACAvB,KAAKwB,IAAIH,EAAKI,OAASJ,EAAKK,OAAQd,EAAMS,EAAKK,SAGjDb,GAASS,EAAYD,EAAKjC,UAG5B,IAAK,IAAIuC,EAAI,EAAGA,EAAIb,EAAQK,MAAMC,OAAQO,IAAK,CAC7C,IAAIC,EAAQd,EAAQK,MAAMQ,GAE1B,KAAIf,EAAMgB,EAAMH,QAAhB,CAEAZ,EAAQD,EAAMgB,EAAMxC,KACpB,OAIN,OAAOyB,IAxJX,sBA2JE,WACE,OAAOjE,KAAKiC,UAAYjC,KAAKmC,UA5JjC,qBAiKE,WACEnC,KAAKiF,oBAlKT,6BAqKE,WAAe,WACb,OAAO,IAAIC,SAAQ,SAACC,EAASC,GAC3B,EAAKtC,IAAIuC,WAAWC,4BACjBC,MAAK,SAAAC,GACJ,EAAKjD,YAAciD,EACnBL,GAAQ,MAETM,MAAML,UA5Kf,GAA2C,eAAO,SAA7B,EAAa,gBAHjC,eAAU,CACTM,WAAY,MAEO,WC3PmX,I,wBCQpYC,EAAY,eACd,EACA7F,EACAwC,GACA,EACA,KACA,WACA,MAIa,aAAAqD,E,oECnBf","file":"js/chunk-9e88a4bc.9993b607.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ContentRow',[_c('ContentContainer',[_c('Titles',{attrs:{\"isCentered\":true},scopedSlots:_vm._u([{key:\"supertitle\",fn:function(){return [_vm._v(\" How much can Prickly2Sweet™ reduce your compliance burden? \")]},proxy:true}])},[_vm._v(\" ROI Calculator \")]),_c('div',{staticClass:\"roi-calc\"},[_c('div',{staticClass:\"roi-calc__form\"},[_c('div',{staticClass:\"roi-calc__section\"},[_c('h1',{staticClass:\"roi-calc__title\"},[_vm._v(\"Mapping\")]),_c('p',{staticClass:\"roi-calc__hint\"},[_vm._v(\" Include the time and resources taken to map the assessment tool(s) to the criteria within the unit \")]),_c('div',{staticClass:\"roi-calc__field\"},[_c('label',{staticClass:\"roi-calc__label\"},[_vm._v(\"No. of Units\")]),_c('div',{staticClass:\"roi-calc__input-wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.units),expression:\"units\"}],staticClass:\"roi-calc__input\",attrs:{\"type\":\"number\",\"min\":\"1\",\"step\":\"1\"},domProps:{\"value\":(_vm.units)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.units=$event.target.value}}}),_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(\"Units\")])])]),_c('div',{staticClass:\"roi-calc__field\"},[_c('label',{staticClass:\"roi-calc__label\"},[_vm._v(\"Hourly Rate\")]),_c('div',{staticClass:\"roi-calc__input-wrap\"},[_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(\"$\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.mapping.rate),expression:\"mapping.rate\"}],staticClass:\"roi-calc__input\",attrs:{\"type\":\"number\",\"min\":\"0\",\"step\":\"0.05\"},domProps:{\"value\":(_vm.mapping.rate)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.mapping, \"rate\", $event.target.value)}}}),_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(\"/ Hour\")])])]),_c('div',{staticClass:\"roi-calc__field\"},[_c('label',{staticClass:\"roi-calc__label\"},[_vm._v(\"Time Taken\")]),_c('div',{staticClass:\"roi-calc__input-wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.mapping.hours),expression:\"mapping.hours\"}],staticClass:\"roi-calc__input\",attrs:{\"type\":\"number\",\"min\":\"0\",\"step\":\"0.25\"},domProps:{\"value\":(_vm.mapping.hours)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.mapping, \"hours\", $event.target.value)}}}),_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(\"Hours\")])])]),_c('div',{staticClass:\"roi-calc__field\"},[_c('label',{staticClass:\"roi-calc__label\"},[_vm._v(\"People\")]),_c('div',{staticClass:\"roi-calc__input-wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.mapping.people),expression:\"mapping.people\"}],staticClass:\"roi-calc__input\",attrs:{\"type\":\"number\",\"min\":\"0\",\"step\":\"1\"},domProps:{\"value\":(_vm.mapping.people)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.mapping, \"people\", $event.target.value)}}}),_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(_vm._s(_vm.mapping.people == 1 ? 'Person' : 'People '))])])])]),_c('div',{staticClass:\"roi-calc__section\"},[_c('h1',{staticClass:\"roi-calc__title\"},[_vm._v(\"Review Of Tools\")]),_c('p',{staticClass:\"roi-calc__hint\"},[_vm._v(\" Include the time and resources taken to identify gaps in the assessment tool(s), including content coverage of the unit, any rectification and reflection of the principles of assessment and rules of evidence. \")]),_c('div',{staticClass:\"roi-calc__field\"},[_c('label',{staticClass:\"roi-calc__label\"},[_vm._v(\"No. of Assessment Tools\")]),_c('div',{staticClass:\"roi-calc__input-wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.assessmentTools),expression:\"assessmentTools\"}],staticClass:\"roi-calc__input\",attrs:{\"type\":\"number\",\"min\":\"1\",\"step\":\"1\"},domProps:{\"value\":(_vm.assessmentTools)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.assessmentTools=$event.target.value}}}),_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(\"Tools\")])])]),_c('div',{staticClass:\"roi-calc__field\"},[_c('label',{staticClass:\"roi-calc__label\"},[_vm._v(\"Hourly Rate\")]),_c('div',{staticClass:\"roi-calc__input-wrap\"},[_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(\"$\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.review.rate),expression:\"review.rate\"}],staticClass:\"roi-calc__input\",attrs:{\"type\":\"number\",\"min\":\"0\",\"step\":\"0.05\"},domProps:{\"value\":(_vm.review.rate)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.review, \"rate\", $event.target.value)}}}),_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(\"/ Hour\")])])]),_c('div',{staticClass:\"roi-calc__field\"},[_c('label',{staticClass:\"roi-calc__label\"},[_vm._v(\"Hours per Tool\")]),_c('div',{staticClass:\"roi-calc__input-wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.review.hours),expression:\"review.hours\"}],staticClass:\"roi-calc__input\",attrs:{\"type\":\"number\",\"min\":\"0\",\"step\":\"0.25\"},domProps:{\"value\":(_vm.review.hours)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.review, \"hours\", $event.target.value)}}}),_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(\"Hours\")])])]),_c('div',{staticClass:\"roi-calc__field\"},[_c('label',{staticClass:\"roi-calc__label\"},[_vm._v(\"People\")]),_c('div',{staticClass:\"roi-calc__input-wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.review.people),expression:\"review.people\"}],staticClass:\"roi-calc__input\",attrs:{\"type\":\"number\",\"min\":\"0\",\"step\":\"1\"},domProps:{\"value\":(_vm.review.people)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.review, \"people\", $event.target.value)}}}),_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(_vm._s(_vm.mapping.people == 1 ? 'Person' : 'People '))])])])])]),_c('div',{staticClass:\"roi-calc__results\"},[_c('div',{staticClass:\"roi-calc__section\"},[_c('h1',{staticClass:\"roi-calc__title\"},[_vm._v(\"Analysis and Report Creation\")]),_c('p',{staticClass:\"roi-calc__hint\"},[_vm._v(\" Include the time and resources taken to collate the findings of the mapping and review of the assessment tool(s) into an actionable report. \")]),_c('div',{staticClass:\"roi-calc__field\"},[_c('label',{staticClass:\"roi-calc__label\"},[_vm._v(\"Hourly Rate\")]),_c('div',{staticClass:\"roi-calc__input-wrap\"},[_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(\"$\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reports.rate),expression:\"reports.rate\"}],staticClass:\"roi-calc__input\",attrs:{\"type\":\"number\",\"min\":\"0\",\"step\":\"0.05\"},domProps:{\"value\":(_vm.reports.rate)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.reports, \"rate\", $event.target.value)}}}),_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(\"/ Hour\")])])]),_c('div',{staticClass:\"roi-calc__field\"},[_c('label',{staticClass:\"roi-calc__label\"},[_vm._v(\"Time Taken\")]),_c('div',{staticClass:\"roi-calc__input-wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reports.hours),expression:\"reports.hours\"}],staticClass:\"roi-calc__input\",attrs:{\"type\":\"number\",\"min\":\"0\",\"step\":\"0.25\"},domProps:{\"value\":(_vm.reports.hours)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.reports, \"hours\", $event.target.value)}}}),_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(\"Hours\")])])]),_c('div',{staticClass:\"roi-calc__field\"},[_c('label',{staticClass:\"roi-calc__label\"},[_vm._v(\"People\")]),_c('div',{staticClass:\"roi-calc__input-wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reports.people),expression:\"reports.people\"}],staticClass:\"roi-calc__input\",attrs:{\"type\":\"number\",\"min\":\"0\",\"step\":\"1\"},domProps:{\"value\":(_vm.reports.people)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.reports, \"people\", $event.target.value)}}}),_c('span',{staticClass:\"roi-calc__unit\"},[_vm._v(_vm._s(_vm.mapping.people == 1 ? 'Person' : 'People '))])])])]),_c('div',{staticClass:\"results\"},[_c('h1',{staticClass:\"results__label\"},[_vm._v(\"Results\")]),_c('div',{staticClass:\"results__main results__main--no-border\"},[_c('h6',{staticClass:\"results__est\"},[_vm._v(\"Manual Validation Estimate\")]),_c('h3',{staticClass:\"results__price\"},[_vm._v(\" \"+_vm._s(_vm.moneyFormatter.format(_vm.totalCost))+\" \")]),_c('h4',{staticClass:\"result__time\"},[_vm._v(_vm._s(_vm.formattedTime))])]),_c('div',{staticClass:\"results__main\"},[_c('h6',{staticClass:\"results__est\"},[_vm._v(\"Prickly2Sweet™ Estimate\")]),_c('h3',{staticClass:\"results__price\"},[_vm._v(\" \"+_vm._s(_vm.moneyFormatter.format(_vm.p2sCost))+\" \")]),_c('h5',{staticClass:\"result__savings-est\"},[_vm._v(\" Est. Savings — \"+_vm._s(_vm.moneyFormatter.format(_vm.savingsEst))+\" \")]),_c('h4',{staticClass:\"result__time\"},[_vm._v(\" \"+_vm._s(_vm.p2sTime)+\" — approx. 20 mins per tool \")]),_c('LinkButton',{staticClass:\"results__button primary\",attrs:{\"to\":\"/pricing\"}},[_vm._v(\"Get Started\")])],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\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\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\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\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\r\nimport { RuleResultModel } from '@/app_code/models/RuleResultModel'\r\nimport { API, ServiceManager } from '@/app_code/services'\r\nimport { View } from '@/app_code/services/meta/view'\r\nimport ServiceType from '@/app_code/services/ServiceTypes'\r\nimport { Component, Mixins } from 'vue-property-decorator'\r\n\r\n@Component({\r\n components: {}\r\n})\r\nexport default class ROICalculator extends Mixins(View) {\r\n private units = 1\r\n private assessmentTools = 1\r\n private pricingData: RuleResultModel[] | null = null\r\n\r\n private mapping = {\r\n rate: 50,\r\n hours: 4,\r\n people: 1\r\n }\r\n\r\n get mappingCost (): number {\r\n return (\r\n this.units * this.mapping.rate * this.mapping.hours * this.mapping.people\r\n )\r\n }\r\n\r\n private review = {\r\n rate: 50,\r\n hours: 8,\r\n people: 1\r\n }\r\n\r\n get reviewCost (): number {\r\n return (\r\n this.assessmentTools *\r\n this.review.rate *\r\n this.review.hours *\r\n this.review.people\r\n )\r\n }\r\n\r\n private reports = {\r\n rate: 50,\r\n hours: 4,\r\n people: 1\r\n }\r\n\r\n get reportsCost (): number {\r\n return (\r\n this.reports.rate * this.reports.hours * this.reports.people * this.units\r\n )\r\n }\r\n\r\n get totalCost (): number {\r\n return this.mappingCost + this.reviewCost + this.reportsCost\r\n }\r\n\r\n get totalTime (): number {\r\n return (\r\n Math.round(\r\n parseFloat(String(this.mapping.hours)) +\r\n parseFloat(String(this.review.hours)) * this.assessmentTools +\r\n parseFloat(String(this.reports.hours))\r\n ) * this.units\r\n )\r\n }\r\n\r\n moneyFormatter = new Intl.NumberFormat('en-AU', {\r\n style: 'currency',\r\n currency: 'AUD'\r\n })\r\n\r\n pluralise (count: number, singular: string): string {\r\n return `${count} ${count === 1 ? singular : `${singular}s`}`\r\n }\r\n\r\n get formattedTime (): string {\r\n var hours = this.totalTime\r\n const workingHours = 8\r\n if (hours > workingHours * 5 * 4 * 12 * 10) {\r\n return this.pluralise(\r\n Math.ceil(hours / (workingHours * 5 * 4 * 12 * 10)),\r\n 'Decade'\r\n )\r\n }\r\n if (hours > workingHours * 5 * 4 * 12) {\r\n return this.pluralise(\r\n Math.ceil(hours / (workingHours * 5 * 4 * 12)),\r\n 'Year'\r\n )\r\n }\r\n if (hours > workingHours * 5 * 4) {\r\n return this.pluralise(Math.ceil(hours / (workingHours * 5 * 4)), 'Month')\r\n }\r\n if (hours > workingHours * 5) {\r\n return this.pluralise(Math.ceil(hours / (workingHours * 5)), 'Week')\r\n }\r\n if (hours > workingHours) {\r\n return this.pluralise(Math.ceil(hours / workingHours), 'Day')\r\n }\r\n if (hours >= 1) return this.pluralise(Math.ceil(hours), 'Hour')\r\n\r\n return this.pluralise(Math.round(hours * 60), 'Minute')\r\n }\r\n\r\n get p2sCost (): number {\r\n return this.calculateComponentPrice(7, this.units) + 0.5 * this.mapping.rate\r\n }\r\n\r\n get p2sTime (): string {\r\n var hours = (this.assessmentTools * this.units) / 3\r\n\r\n const workingHours = 8\r\n\r\n if (hours > workingHours * 5 * 4 * 12 * 10) {\r\n return this.pluralise(\r\n Math.ceil(hours / (workingHours * 5 * 4 * 12 * 10)),\r\n 'Decade'\r\n )\r\n }\r\n if (hours > workingHours * 5 * 4 * 12) {\r\n return this.pluralise(\r\n Math.ceil(hours / (workingHours * 5 * 4 * 12)),\r\n 'Year'\r\n )\r\n }\r\n if (hours > workingHours * 5 * 4) { return this.pluralise(Math.ceil(hours / (workingHours * 5 * 4)), 'Month') }\r\n if (hours > workingHours * 5) { return this.pluralise(Math.ceil(hours / (workingHours * 5)), 'Week') }\r\n if (hours > workingHours) { return this.pluralise(Math.ceil(hours / workingHours), 'Day') }\r\n if (hours >= 1) return this.pluralise(Math.ceil(hours), 'Hour')\r\n\r\n return this.pluralise(Math.round(hours * 60), 'Minute')\r\n }\r\n\r\n calculateComponentPrice (itemType: number, qty:number): number {\r\n var total = 0\r\n var ruleset = this.pricingData?.find((rs: { itemType: number }) => rs.itemType === itemType)\r\n\r\n if (ruleset) {\r\n if (ruleset.isMarginal) {\r\n for (var i = 0; i < ruleset.rules.length; i++) {\r\n var rule = ruleset.rules[i]\r\n\r\n var qtyInRule = Math.max(\r\n 0,\r\n Math.min(rule.maxQty - rule.minQty, qty - rule.minQty)\r\n )\r\n\r\n total += qtyInRule * rule.rate\r\n }\r\n } else {\r\n for (var j = 0; j < ruleset.rules.length; j++) {\r\n var rule2 = ruleset.rules[j]\r\n\r\n if (qty > rule2.maxQty) continue\r\n\r\n total = qty * rule2.rate\r\n break\r\n }\r\n }\r\n }\r\n return total\r\n }\r\n\r\n get savingsEst (): number {\r\n return this.totalCost - this.p2sCost\r\n }\r\n\r\n private api = ServiceManager.Require(ServiceType.API)\r\n\r\n mounted (): void {\r\n this.getPricingRules()\r\n }\r\n\r\n getPricingRules (): Promise {\r\n return new Promise((resolve, reject) => {\r\n this.api.PaymentAPI.GetPricingCalculatorRules()\r\n .then(data => {\r\n this.pricingData = data\r\n resolve(true)\r\n })\r\n .catch(reject)\r\n })\r\n }\r\n}\r\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!./ROICalculator.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!./ROICalculator.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ROICalculator.vue?vue&type=template&id=63b8d76e&scoped=true&\"\nimport script from \"./ROICalculator.vue?vue&type=script&lang=ts&\"\nexport * from \"./ROICalculator.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ROICalculator.vue?vue&type=style&index=0&id=63b8d76e&scoped=true&lang=css&\"\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 \"63b8d76e\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ROICalculator.vue?vue&type=style&index=0&id=63b8d76e&scoped=true&lang=css&\""],"sourceRoot":""}