{"version":3,"sources":["webpack:///./src/services/publicReportService.js","webpack:///./src/components/SpillComplaintsReport.vue?0c07","webpack:///src/components/SpillComplaintsReport.vue","webpack:///./src/components/SpillComplaintsReport.vue?4084","webpack:///./src/components/SpillComplaintsReport.vue","webpack:///./src/services/util/fileService.js","webpack:///./src/views/Home.vue?1046","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?493c","webpack:///./src/views/Home.vue"],"names":["path","getIncidentPublicReport","http","get","responseType","then","response","__webpack_exports__","render","_vm","this","_h","$createElement","_c","_self","attrs","fluid","pa-0","wrap","hideHeader","_e","staticClass","xs12","_v","mt-2","reportError","type","model","value","callback","$$v","reportLoading","expression","disabled","color","on","click","$event","genReport","staticRenderFns","SpillComplaintsReportvue_type_script_lang_js_","props","default","data","mounted","computed","methods","_this","publicReportService","$http","fileService","fileToDownload","concat","Date","toISOString","slice","replace","catch","error","console","log","setTimeout","components_SpillComplaintsReportvue_type_script_lang_js_","component","Object","componentNormalizer","filename","blob","Blob","headers","link","document","createElement","href","window","URL","createObjectURL","download","mt-5","Homevue_type_script_lang_js_","components","spillComplaintsReport","SpillComplaintsReport","views_Homevue_type_script_lang_js_"],"mappings":"kHAGA,IAAIA,EAAO,iBAGX,SAASC,EAAyBC,GAC9B,OAAOA,EAAKC,IAAIH,EAAO,0BAA2B,CAAEI,aAAc,gBAAiBC,KAAK,SAAAC,GACpF,OAAOA,IAIAC,EAAA,MACXN,wBAAyBA,wCCb7B,IAAAO,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,eAAyBE,MAAA,CAAOC,MAAA,GAAAC,OAAA,KAAsB,CAAAJ,EAAA,YAAiBE,MAAA,CAAOG,KAAA,KAAW,CAAAT,EAAAU,WAAoEV,EAAAW,KAApEP,EAAA,UAAiCQ,YAAA,KAAAN,MAAA,CAAwBO,KAAA,KAAW,CAAAb,EAAAc,GAAA,yD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AA,KAAAD,CACdF,EACAtD,EACA+B,GACF,EACA,KACA,KACA,MAIehC,EAAA,KAAAwD,6CCjBf,SAASZ,EAAgB7C,EAAU4D,GAC/B,IAAIC,EAAO,IAAIC,KAAK,CAAC9D,EAASqC,MAAO,CAAEjB,KAAMpB,EAAS+D,QAAQ,kBAC1DC,EAAOC,SAASC,cAAc,KAClCF,EAAKG,KAAOC,OAAOC,IAAIC,gBAAgBT,GACvCG,EAAKO,SAAWX,EAChBI,EAAKlC,QAGM7B,EAAA,MACX4C,eAAgBA,6CCVpB,IAAA3C,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,eAAyBE,MAAA,CAAOC,MAAA,KAAY,CAAAH,EAAA,YAAiBE,MAAA,CAAOG,KAAA,KAAW,CAAAL,EAAA,UAAeE,MAAA,CAAOO,KAAA,KAAW,CAAAb,EAAAc,GAAA,yHAAAV,EAAA,KAAAJ,EAAAc,GAAA,8LAAAV,EAAA,KAAAA,EAAA,KAA+VE,MAAA,CAAO0D,KAAA,8BAAoC,CAAAhE,EAAAc,GAAA,uBAAAd,EAAAc,GAAA,iYAAAV,EAAA,YAAubE,MAAA,CAAOG,KAAA,GAAA4D,OAAA,KAAqB,CAAAjE,EAAA,UAAeE,MAAA,CAAOO,KAAA,KAAW,CAAAT,EAAA,yBAA8BE,MAAA,CAAOI,YAAA,MAAmB,YAC/nCoB,EAAA,eCqBAwC,EAAA,CACAC,WAAA,CACAC,sBAAAC,EAAA,MAEAvC,KAJA,WAKA,UAGAC,QARA,aAUAC,SAAA,GAEAC,QAAA,IClC8UqC,EAAA,cCO9UpB,EAAgBC,OAAAC,EAAA,KAAAD,CACdmB,EACA3E,EACA+B,GACF,EACA,KACA,KACA,MAIehC,EAAA,WAAAwD","file":"js/chunk-58c98ed2.86fa3249.js","sourcesContent":["//import loggingService from '@/services/util/loggingService'\r\n\r\n//var serviceName = 'publicReportService'\r\nvar path = '/PublicReport/'\r\n//var isDebug = false\r\n\r\nfunction getIncidentPublicReport (http) {\r\n return http.get(path + 'GetIncidentPublicReport', { responseType: 'arraybuffer' }).then(response => {\r\n return response\r\n })\r\n}\r\n\r\nexport default {\r\n getIncidentPublicReport: getIncidentPublicReport\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\",\"pa-0\":\"\"}},[_c('v-layout',{attrs:{\"wrap\":\"\"}},[(!_vm.hideHeader)?_c('v-flex',{staticClass:\"h4\",attrs:{\"xs12\":\"\"}},[_vm._v(\"\\n Spill and Complaints Report\\n \")]):_vm._e(),_c('v-flex',{attrs:{\"xs12\":\"\",\"mt-2\":\"\"}},[_vm._v(\"\\n Click below to generate and download the spill and complaints report. Please allow a few moments for the report to download on your browser.\\n \")]),_c('v-flex',{attrs:{\"xs12\":\"\"}},[(!_vm.reportError)?_c('v-alert',{attrs:{\"type\":\"info\"},model:{value:(_vm.reportLoading),callback:function ($$v) {_vm.reportLoading=$$v},expression:\"reportLoading\"}},[_vm._v(\"\\n Please wait while report is being generated. Report will be downloaded to your browswer once generated.\\n \")]):_vm._e(),_c('v-alert',{attrs:{\"type\":\"error\"},model:{value:(_vm.reportError),callback:function ($$v) {_vm.reportError=$$v},expression:\"reportError\"}},[_vm._v(\"\\n An error occurred during report generation. Please try again later.\\n \")]),(!_vm.reportError)?_c('v-btn',{attrs:{\"disabled\":_vm.reportLoading,\"color\":\"primary\"},on:{\"click\":function($event){return _vm.genReport()}}},[_vm._v(\"Download Report\")]):_vm._e()],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n Spill and Complaints Report\r\n \r\n \r\n Click below to generate and download the spill and complaints report. Please allow a few moments for the report to download on your browser.\r\n \r\n \r\n \r\n Please wait while report is being generated. Report will be downloaded to your browswer once generated.\r\n \r\n \r\n An error occurred during report generation. Please try again later.\r\n \r\n Download Report\r\n \r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SpillComplaintsReport.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SpillComplaintsReport.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SpillComplaintsReport.vue?vue&type=template&id=4648d9a6&\"\nimport script from \"./SpillComplaintsReport.vue?vue&type=script&lang=js&\"\nexport * from \"./SpillComplaintsReport.vue?vue&type=script&lang=js&\"\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","//This is an axios response object that contains a downloaded file\r\nfunction fileToDownload (response, filename) {\r\n var blob = new Blob([response.data], { type: response.headers['content-type'] })\r\n var link = document.createElement('a')\r\n link.href = window.URL.createObjectURL(blob)\r\n link.download = filename\r\n link.click()\r\n}\r\n\r\nexport default {\r\n fileToDownload: fileToDownload\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-layout',{attrs:{\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_vm._v(\"\\n Welcome to the Wyoming Department of Environmental Quality's Spill and Complaint website.\\n \"),_c('p'),_vm._v(\"\\n To report a spill or complaint, please click on the links provided in the menu. Also, the public can view and download past spill and complaints on this page.\\n \"),_c('p'),_c('a',{attrs:{\"href\":\"https://deqspills.wyo.gov\"}},[_vm._v(\"DEQSpills.wyo.gov\")]),_vm._v(\" will allow all residents to use geographic information systems (GIS) to map and locate spills or incidents across the state. In particular, when using a mobile device, residents will be able to use their phones’ GPS to pinpoint the exact latitude and longitude of a spill or incident. The site works on desktop computers, as well, but without the GPS capabilities.\\n \")])],1),_c('v-layout',{attrs:{\"wrap\":\"\",\"mt-5\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('spillComplaintsReport',{attrs:{\"hideHeader\":true}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n Welcome to the Wyoming Department of Environmental Quality's Spill and Complaint website.\r\n \r\n To report a spill or complaint, please click on the links provided in the menu. Also, the public can view and download past spill and complaints on this page.\r\n \r\n DEQSpills.wyo.gov will allow all residents to use geographic information systems (GIS) to map and locate spills or incidents across the state. In particular, when using a mobile device, residents will be able to use their phones’ GPS to pinpoint the exact latitude and longitude of a spill or incident. The site works on desktop computers, as well, but without the GPS capabilities.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=083ef954&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\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"],"sourceRoot":""}