{"version":3,"sources":["webpack:///./src/views/reports/show.vue?6a2b","webpack:///./src/views/reports/show.vue?101b","webpack:///src/views/reports/show.vue","webpack:///./src/views/reports/show.vue","webpack:///./src/views/reports/show.vue?36da"],"names":["reports_showvue_type_script_lang_js_","name","components","ModerateUserDropdown","RebootButton","ReportContent","computed","isMobile","this","$store","state","app","device","loading","reports","loadingSingleReport","report","singleReport","mounted","dispatch","$route","params","id","methods","capitalizeFirstLetter","str","charAt","toUpperCase","slice","changeReportState","_this","asyncToGenerator_default","regenerator_default","a","mark","_callee","wrap","_context","prev","next","stop","getStateType","propertyExists","account","property","_secondProperty","component","Object","componentNormalizer","_vm","_h","$createElement","_c","_self","_e","staticClass","_v","_s","$t","attrs","src","avatar","size","nickname","href","url","target","title","type","trigger","plain","icon","slot","nativeOn","click","$event","report-id","rendered-from","options","__file","__webpack_exports__","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_11_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_11_2_node_modules_sass_loader_lib_loader_js_ref_11_3_node_modules_vue_loader_lib_index_js_vue_loader_options_show_vue_vue_type_style_index_0_rel_stylesheet_2Fscss_lang_scss___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","n"],"mappings":"+GAAA,kFCAyMA,GCyDzMC,mBACAC,YAAAC,yBAAAC,iBAAAC,mBACAC,UACAC,SADA,WAEA,iBAAAC,KAAAC,OAAAC,MAAAC,IAAAC,QAEAC,QAJA,WAKA,OAAAL,KAAAC,OAAAC,MAAAI,QAAAC,qBAEAC,OAPA,WAQA,OAAAR,KAAAC,OAAAC,MAAAI,QAAAG,eAGAC,mBACAV,KAAAC,OAAAU,SAAA,cACAX,KAAAC,OAAAU,SAAA,eACAX,KAAAC,OAAAU,SAAA,oBAAAX,KAAAY,OAAAC,OAAAC,IACAd,KAAAC,OAAAU,SAAA,0BAEAI,SACAC,sBADA,SACAC,GACA,OAAAA,EAAAC,OA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P,EAAAjC,OAAAN,MAAA0C,EAAA,oBAAyHqB,UAAUC,MAAA,SAAAC,GAAyB,OAAA1B,EAAApB,kBAAA,SAAAoB,EAAAjC,OAAAM,QAAwD2B,EAAAO,GAAAP,EAAAQ,GAAAR,EAAAS,GAAA,qBAAAT,EAAAK,MAAA,OAAAL,EAAAO,GAAA,KAAAP,EAAAP,eAAAO,EAAAjC,OAAA2B,QAAA,YAAAS,EAAA,0BAA2JO,OAAOhB,QAAAM,EAAAjC,OAAA2B,QAAAiC,YAAA3B,EAAAjC,OAAAM,GAAAuD,gBAAA,cAAmF5B,EAAAK,KAAAL,EAAAO,GAAA,KAAAJ,EAAA,uBAAAH,EAAAO,GAAA,KAAAP,EAAAP,eAAAO,EAAAjC,OAAA2B,QAAA,MAAAS,EAAA,MAAqHG,YAAA,OAAiBN,EAAAO,GAAAP,EAAAQ,GAAAR,EAAAS,GAAA,oBAAAT,EAAAQ,GAAAR,EAAAjC,OAAAM,OAAA2B,EAAAK,KAAAL,EAAAO,GAAA,KAAAJ,EAAA,OAAmGG,YAAA,0BAAoCH,EAAA,WAAgBG,YAAA,WAAqBH,EAAA,kBAAuBO,OAAO3C,OAAAiC,EAAAjC,WAAqB,cGYntF,EACA,KACA,KACA,MAIA8B,EAAAgC,QAAAC,OAAA,WACeC,EAAA,QAAAlC,6CCpBf,IAAAmC,EAAAC,EAAA,QAAAA,EAAAC,EAAAF,GAAsd","file":"static/js/chunk-68b6.4347fd87.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.loading)?_c('div',{staticClass:\"report-show-page-container\"},[_c('header',{staticClass:\"report-page-header-container\"},[_c('div',{staticClass:\"report-page-header\"},[(_vm.propertyExists(_vm.report.account, 'nickname'))?_c('div',{staticClass:\"avatar-name-container\"},[_c('h1',[_vm._v(_vm._s(_vm.$t('reports.reportOn')))]),_vm._v(\" \"),(_vm.propertyExists(_vm.report.account, 'avatar'))?_c('el-avatar',{staticClass:\"report-page-avatar\",attrs:{\"src\":_vm.report.account.avatar,\"size\":_vm.isMobile ? 'small' : 'large'}}):_vm._e(),_vm._v(\" \"),_c('h1',[_vm._v(_vm._s(_vm.report.account.nickname))]),_vm._v(\" \"),(_vm.propertyExists(_vm.report.account, 'url'))?_c('a',{attrs:{\"href\":_vm.report.account.url,\"target\":\"_blank\"}},[_c('i',{staticClass:\"el-icon-top-right\",attrs:{\"title\":_vm.$t('userProfile.openAccountInInstance')}})]):_vm._e()],1):_c('h1',[_vm._v(_vm._s(_vm.$t('reports.report')))])]),_vm._v(\" \"),_c('div',{staticClass:\"report-actions-container\"},[_c('el-tag',{staticClass:\"report-tag\",attrs:{\"type\":_vm.getStateType(_vm.report.state)}},[_vm._v(_vm._s(_vm.capitalizeFirstLetter(_vm.report.state)))]),_vm._v(\" \"),_c('el-dropdown',{attrs:{\"trigger\":\"click\"}},[_c('el-button',{staticClass:\"report-actions-button\",attrs:{\"size\":_vm.isMobile ? 'small' : 'medium',\"plain\":\"\",\"icon\":\"el-icon-edit\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('reports.changeState'))),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})]),_vm._v(\" \"),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[(_vm.report.state !== 'resolved')?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.changeReportState('resolved', _vm.report.id)}}},[_vm._v(_vm._s(_vm.$t('reports.resolve')))]):_vm._e(),_vm._v(\" \"),(_vm.report.state !== 'open')?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.changeReportState('open', _vm.report.id)}}},[_vm._v(_vm._s(_vm.$t('reports.reopen')))]):_vm._e(),_vm._v(\" \"),(_vm.report.state !== 'closed')?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.changeReportState('closed', _vm.report.id)}}},[_vm._v(_vm._s(_vm.$t('reports.close')))]):_vm._e()],1)],1),_vm._v(\" \"),(_vm.propertyExists(_vm.report.account, 'nickname'))?_c('moderate-user-dropdown',{attrs:{\"account\":_vm.report.account,\"report-id\":_vm.report.id,\"rendered-from\":'showPage'}}):_vm._e(),_vm._v(\" \"),_c('reboot-button')],1)]),_vm._v(\" \"),(_vm.propertyExists(_vm.report.account, 'id'))?_c('h4',{staticClass:\"id\"},[_vm._v(_vm._s(_vm.$t('reports.id'))+\": \"+_vm._s(_vm.report.id))]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"report-card-container\"},[_c('el-card',{staticClass:\"report\"},[_c('report-content',{attrs:{\"report\":_vm.report}})],1)],1)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js?cacheDirectory!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./show.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js?cacheDirectory!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./show.vue?vue&type=script&lang=js&\"","\n \n \n
{{ $t('reports.id') }}: {{ report.id }}
\n
\n \n \n \n
\n
\n\n\n\n\n\n","import { render, staticRenderFns } from \"./show.vue?vue&type=template&id=0a944d6d&\"\nimport script from \"./show.vue?vue&type=script&lang=js&\"\nexport * from \"./show.vue?vue&type=script&lang=js&\"\nimport style0 from \"./show.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&\"\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\ncomponent.options.__file = \"show.vue\"\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js??ref--11-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/lib/index.js??ref--11-2!../../../node_modules/sass-loader/lib/loader.js??ref--11-3!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./show.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js??ref--11-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/lib/index.js??ref--11-2!../../../node_modules/sass-loader/lib/loader.js??ref--11-3!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./show.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&\""],"sourceRoot":""}