use correct versions for oban migrations
[akkoma] / priv / static / adminfe / static / js / chunk-f364.1122502b.js.map
1 {"version":3,"sources":["webpack:///./src/views/reports/show.vue?bef6","webpack:///./src/views/reports/show.vue?101b","webpack:///src/views/reports/show.vue","webpack:///./src/views/reports/show.vue","webpack:///./src/views/reports/components/ModerateUserDropdown.vue?8142","webpack:///./src/views/reports/components/NoteCard.vue?b93a","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/views/reports/components/ModerateUserDropdown.vue?8832","webpack:///./src/views/reports/components/ModerateUserDropdown.vue?6745","webpack:///src/views/reports/components/ModerateUserDropdown.vue","webpack:///./src/views/reports/components/ModerateUserDropdown.vue","webpack:///./src/views/reports/components/ReportContent.vue?f31e","webpack:///./src/views/reports/show.vue?36da","webpack:///./src/views/reports/components/ReportContent.vue?c1f4","webpack:///./src/views/reports/components/NoteCard.vue?6205","webpack:///src/views/reports/components/NoteCard.vue","webpack:///./src/views/reports/components/NoteCard.vue","webpack:///./src/views/reports/components/NoteCard.vue?6977","webpack:///./src/views/reports/components/ReportContent.vue?30a4","webpack:///src/views/reports/components/ReportContent.vue","webpack:///./src/views/reports/components/ReportContent.vue"],"names":["reports_showvue_type_script_lang_js_","name","components","ModerateUserDropdown","RebootButton","ReportContent","computed","loading","this","$store","state","reports","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_ModerateUserDropdown_vue_vue_type_style_index_0_rel_stylesheet_2Fscss_lang_scss___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","n","_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_NoteCard_vue_vue_type_style_index_0_rel_stylesheet_2Fscss_lang_scss___WEBPACK_IMPORTED_MODULE_0__","map","./af","./af.js","./ar","./ar-dz","./ar-dz.js","./ar-kw","./ar-kw.js","./ar-ly","./ar-ly.js","./ar-ma","./ar-ma.js","./ar-sa","./ar-sa.js","./ar-tn","./ar-tn.js","./ar.js","./az","./az.js","./be","./be.js","./bg","./bg.js","./bm","./bm.js","./bn","./bn.js","./bo","./bo.js","./br","./br.js","./bs","./bs.js","./ca","./ca.js","./cs","./cs.js","./cv","./cv.js","./cy","./cy.js","./da","./da.js","./de","./de-at","./de-at.js","./de-ch","./de-ch.js","./de.js","./dv","./dv.js","./el","./el.js","./en-au","./en-au.js","./en-ca","./en-ca.js","./en-gb","./en-gb.js","./en-ie","./en-ie.js","./en-il","./en-il.js","./en-in","./en-in.js","./en-nz","./en-nz.js","./en-sg","./en-sg.js","./eo","./eo.js","./es","./es-do","./es-do.js","./es-us","./es-us.js","./es.js","./et","./et.js","./eu","./eu.js","./fa","./fa.js","./fi","./fi.js","./fil","./fil.js","./fo","./fo.js","./fr","./fr-ca","./fr-ca.js","./fr-ch","./fr-ch.js","./fr.js","./fy","./fy.js","./ga","./ga.js","./gd","./gd.js","./gl","./gl.js","./gom-deva","./gom-deva.js","./gom-latn","./gom-latn.js","./gu","./gu.js","./he","./he.js","./hi","./hi.js","./hr","./hr.js","./hu","./hu.js","./hy-am","./hy-am.js","./id","./id.js","./is","./is.js","./it","./it-ch","./it-ch.js","./it.js","./ja","./ja.js","./jv","./jv.js","./ka","./ka.js","./kk","./kk.js","./km","./km.js","./kn","./kn.js","./ko","./ko.js","./ku","./ku.js","./ky","./ky.js","./lb","./lb.js","./lo","./lo.js","./lt","./lt.js","./lv","./lv.js","./me","./me.js","./mi","./mi.js","./mk","./mk.js","./ml","./ml.js","./mn","./mn.js","./mr","./mr.js","./ms","./ms-my","./ms-my.js","./ms.js","./mt","./mt.js","./my","./my.js","./nb","./nb.js","./ne","./ne.js","./nl","./nl-be","./nl-be.js","./nl.js","./nn","./nn.js","./oc-lnc","./oc-lnc.js","./pa-in","./pa-in.js","./pl","./pl.js","./pt","./pt-br","./pt-br.js","./pt.js","./ro","./ro.js","./ru","./ru.js","./sd","./sd.js","./se","./se.js","./si","./si.js","./sk","./sk.js","./sl","./sl.js","./sq","./sq.js","./sr","./sr-cyrl","./sr-cyrl.js","./sr.js","./ss","./ss.js","./sv","./sv.js","./sw","./sw.js","./ta","./ta.js","./te","./te.js","./tet","./tet.js","./tg","./tg.js","./th","./th.js","./tk","./tk.js","./tl-ph","./tl-ph.js","./tlh","./tlh.js","./tr","./tr.js","./tzl","./tzl.js","./tzm","./tzm-latn","./tzm-latn.js","./tzm.js","./ug-cn","./ug-cn.js","./uk","./uk.js","./ur","./ur.js","./uz","./uz-latn","./uz-latn.js","./uz.js","./vi","./vi.js","./x-pseudo","./x-pseudo.js","./yo","./yo.js","./zh-cn","./zh-cn.js","./zh-hk","./zh-hk.js","./zh-mo","./zh-mo.js","./zh-tw","./zh-tw.js","webpackContext","req","webpackContextResolve","o","e","Error","code","keys","resolve","module","exports","components_ModerateUserDropdownvue_type_script_lang_js_","props","required","reportId","String","renderedFrom","tagPolicyEnabled","users","mrfPolicies","includes","tags","enableTagPolicy","$confirm","confirmButtonText","cancelButtonText","then","$message","message","catch","handleDeactivation","user","deactivated","handleDeletion","_this2","showDeactivatedButton","toggleTag","tag","hide-on-click","disabled","class","active-tag","divided","local","_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_ReportContent_vue_vue_type_style_index_0_rel_stylesheet_2Fscss_lang_scss___WEBPACK_IMPORTED_MODULE_0__","_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__","components_NoteCardvue_type_script_lang_js_","note","handleNoteDeletion","noteID","reportID","parseTimestamp","timestamp","moment_default","format","to","alt","domProps","innerHTML","content","created_at","components_ReportContentvue_type_script_lang_js_","NoteCard","Status","data","notes","currentPage","getNotesTitle","arguments","length","undefined","concat","getStatusesTitle","statuses","handleNewNote","showStatuses","ReportContent_component","style","actor","_l","status","key","show-checkbox","page","index","placeholder","rows","model","value","callback","$$v","$set","expression","on"],"mappings":"+GAAA,kFCAyMA,GC6CzMC,KAAA,cACAC,YAAAC,uBAAA,EAAAC,eAAA,EAAAC,gBAAA,GACAC,UACAC,QADA,WAEA,OAAAC,KAAAC,OAAAC,MAAAC,QAAAJ,SAEAK,OAJA,WAKA,OAAAJ,KAAAC,OAAAC,MAAAC,QAAAE,eAGAC,QAAA,WACAN,KAAAC,OAAAM,SAAA,cACAP,KAAAC,OAAAM,SAAA,eACAP,KAAAC,OAAAM,SAAA,oBAAAP,KAAAQ,OAAAC,OAAAC,IACAV,KAAAC,OAAAM,SAAA,0BAEAI,SACAC,sBADA,SACAC,GACA,OAAAA,EAAAC,OAAA,GAAAC,cAAAF,EAAAG,MAAA,IAEAC,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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\":\"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',[_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:{\"plain\":\"\",\"icon\":\"el-icon-edit\"}},[_vm._v(_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('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&\"","<template>\n <div v-if=\"!loading\" class=\"report-show-page-container\">\n <header class=\"report-page-header-container\">\n <div class=\"report-page-header\">\n <div v-if=\"propertyExists(report.account, 'nickname')\" class=\"avatar-name-container\">\n <h1 >{{ $t('reports.reportOn') }}</h1>\n <el-avatar v-if=\"propertyExists(report.account, 'avatar')\" :src=\"report.account.avatar\" size=\"large\" class=\"report-page-avatar\"/>\n <h1>{{ report.account.nickname }}</h1>\n <a v-if=\"propertyExists(report.account, 'url')\" :href=\"report.account.url\" target=\"_blank\">\n <i :title=\"$t('userProfile.openAccountInInstance')\" class=\"el-icon-top-right\"/>\n </a>\n </div>\n <h1 v-else>{{ $t('reports.report') }}</h1>\n </div>\n <div>\n <el-tag :type=\"getStateType(report.state)\" class=\"report-tag\">{{ capitalizeFirstLetter(report.state) }}</el-tag>\n <el-dropdown trigger=\"click\">\n <el-button plain icon=\"el-icon-edit\" class=\"report-actions-button\">{{ $t('reports.changeState') }}<i class=\"el-icon-arrow-down el-icon--right\"/></el-button>\n <el-dropdown-menu slot=\"dropdown\">\n <el-dropdown-item v-if=\"report.state !== 'resolved'\" @click.native=\"changeReportState('resolved', report.id)\">{{ $t('reports.resolve') }}</el-dropdown-item>\n <el-dropdown-item v-if=\"report.state !== 'open'\" @click.native=\"changeReportState('open', report.id)\">{{ $t('reports.reopen') }}</el-dropdown-item>\n <el-dropdown-item v-if=\"report.state !== 'closed'\" @click.native=\"changeReportState('closed', report.id)\">{{ $t('reports.close') }}</el-dropdown-item>\n </el-dropdown-menu>\n </el-dropdown>\n <moderate-user-dropdown\n v-if=\"propertyExists(report.account, 'nickname')\"\n :account=\"report.account\"\n :report-id=\"report.id\"\n :rendered-from=\"'showPage'\"/>\n <reboot-button/>\n </div>\n </header>\n <h4 v-if=\"propertyExists(report.account, 'id')\" class=\"id\">{{ $t('reports.id') }}: {{ report.id }}</h4>\n <el-card class=\"report\">\n <report-content :report=\"report\"/>\n </el-card>\n </div>\n</template>\n\n<script>\nimport ModerateUserDropdown from './components/ModerateUserDropdown'\nimport RebootButton from '@/components/RebootButton'\nimport ReportContent from './components/ReportContent'\n\nexport default {\n name: 'ReportsShow',\n components: { ModerateUserDropdown, RebootButton, ReportContent },\n computed: {\n loading() {\n return this.$store.state.reports.loading\n },\n report() {\n return this.$store.state.reports.singleReport\n }\n },\n mounted: function() {\n this.$store.dispatch('NeedReboot')\n this.$store.dispatch('GetNodeInfo')\n this.$store.dispatch('FetchSingleReport', this.$route.params.id)\n this.$store.dispatch('FetchTagPolicySetting')\n },\n methods: {\n capitalizeFirstLetter(str) {\n return str.charAt(0).toUpperCase() + str.slice(1)\n },\n async changeReportState(state, id) {\n await this.$store.dispatch('ChangeReportState', [{ state, id }])\n this.$store.dispatch('FetchSingleReport', id)\n },\n getStateType(state) {\n switch (state) {\n case 'closed':\n return 'info'\n case 'resolved':\n return 'success'\n default:\n return 'primary'\n }\n },\n propertyExists(account, property, _secondProperty) {\n if (_secondProperty) {\n return account[property] && account[_secondProperty]\n }\n return account[property]\n }\n }\n}\n</script>\n\n<style rel='stylesheet/scss' lang='scss'>\n.report-show-page-container {\n .id {\n color: gray;\n margin: 0 15px 22px 15px;\n }\n .report {\n width: 1000px;\n margin: auto;\n }\n .report-actions-button {\n margin: 3px 0 6px;\n }\n .report-page-header {\n display: flex;\n flex-direction: column;\n margin: 10px 0;\n padding: 0;\n h1 {\n display: inline;\n margin: 0;\n }\n h4 {\n margin-top: 10px;\n }\n .avatar-name-container {\n display: flex;\n align-items: center;\n .el-icon-top-right {\n font-size: 2em;\n line-height: 36px;\n color: #606266;\n }\n }\n .report-page-avatar {\n margin: 0 7px 0 12px;\n }\n }\n .report-page-header-container {\n align-items: center;\n display: flex;\n justify-content: space-between;\n margin: 0 15px;\n padding: 0;\n }\n .report-tag {\n height: 36px;\n line-height: 36px;\n padding: 0 20px;\n font-size: 14px;\n }\n}\n</style>\n","import { render, staticRenderFns } from \"./show.vue?vue&type=template&id=2b305478&\"\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!./ModerateUserDropdown.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!./ModerateUserDropdown.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&\"","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!./NoteCard.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!./NoteCard.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&\"","var map = {\n\t\"./af\": \"K/tc\",\n\t\"./af.js\": \"K/tc\",\n\t\"./ar\": \"jnO4\",\n\t\"./ar-dz\": \"o1bE\",\n\t\"./ar-dz.js\": \"o1bE\",\n\t\"./ar-kw\": \"Qj4J\",\n\t\"./ar-kw.js\": \"Qj4J\",\n\t\"./ar-ly\": \"HP3h\",\n\t\"./ar-ly.js\": \"HP3h\",\n\t\"./ar-ma\": \"CoRJ\",\n\t\"./ar-ma.js\": \"CoRJ\",\n\t\"./ar-sa\": \"gjCT\",\n\t\"./ar-sa.js\": \"gjCT\",\n\t\"./ar-tn\": \"bYM6\",\n\t\"./ar-tn.js\": \"bYM6\",\n\t\"./ar.js\": \"jnO4\",\n\t\"./az\": \"SFxW\",\n\t\"./az.js\": \"SFxW\",\n\t\"./be\": \"H8ED\",\n\t\"./be.js\": \"H8ED\",\n\t\"./bg\": \"hKrs\",\n\t\"./bg.js\": \"hKrs\",\n\t\"./bm\": \"p/rL\",\n\t\"./bm.js\": \"p/rL\",\n\t\"./bn\": \"kEOa\",\n\t\"./bn.js\": \"kEOa\",\n\t\"./bo\": \"0mo+\",\n\t\"./bo.js\": \"0mo+\",\n\t\"./br\": \"aIdf\",\n\t\"./br.js\": \"aIdf\",\n\t\"./bs\": \"JVSJ\",\n\t\"./bs.js\": \"JVSJ\",\n\t\"./ca\": \"1xZ4\",\n\t\"./ca.js\": \"1xZ4\",\n\t\"./cs\": \"PA2r\",\n\t\"./cs.js\": \"PA2r\",\n\t\"./cv\": \"A+xa\",\n\t\"./cv.js\": \"A+xa\",\n\t\"./cy\": \"l5ep\",\n\t\"./cy.js\": \"l5ep\",\n\t\"./da\": \"DxQv\",\n\t\"./da.js\": \"DxQv\",\n\t\"./de\": \"tGlX\",\n\t\"./de-at\": \"s+uk\",\n\t\"./de-at.js\": \"s+uk\",\n\t\"./de-ch\": \"u3GI\",\n\t\"./de-ch.js\": \"u3GI\",\n\t\"./de.js\": \"tGlX\",\n\t\"./dv\": \"WYrj\",\n\t\"./dv.js\": \"WYrj\",\n\t\"./el\": \"jUeY\",\n\t\"./el.js\": \"jUeY\",\n\t\"./en-au\": \"Dmvi\",\n\t\"./en-au.js\": \"Dmvi\",\n\t\"./en-ca\": \"OIYi\",\n\t\"./en-ca.js\": \"OIYi\",\n\t\"./en-gb\": \"Oaa7\",\n\t\"./en-gb.js\": \"Oaa7\",\n\t\"./en-ie\": \"4dOw\",\n\t\"./en-ie.js\": \"4dOw\",\n\t\"./en-il\": \"czMo\",\n\t\"./en-il.js\": \"czMo\",\n\t\"./en-in\": \"7C5Q\",\n\t\"./en-in.js\": \"7C5Q\",\n\t\"./en-nz\": \"b1Dy\",\n\t\"./en-nz.js\": \"b1Dy\",\n\t\"./en-sg\": \"t+mt\",\n\t\"./en-sg.js\": \"t+mt\",\n\t\"./eo\": \"Zduo\",\n\t\"./eo.js\": \"Zduo\",\n\t\"./es\": \"iYuL\",\n\t\"./es-do\": \"CjzT\",\n\t\"./es-do.js\": \"CjzT\",\n\t\"./es-us\": \"Vclq\",\n\t\"./es-us.js\": \"Vclq\",\n\t\"./es.js\": \"iYuL\",\n\t\"./et\": \"7BjC\",\n\t\"./et.js\": \"7BjC\",\n\t\"./eu\": \"D/JM\",\n\t\"./eu.js\": \"D/JM\",\n\t\"./fa\": \"jfSC\",\n\t\"./fa.js\": \"jfSC\",\n\t\"./fi\": \"gekB\",\n\t\"./fi.js\": \"gekB\",\n\t\"./fil\": \"1ppg\",\n\t\"./fil.js\": \"1ppg\",\n\t\"./fo\": \"ByF4\",\n\t\"./fo.js\": \"ByF4\",\n\t\"./fr\": \"nyYc\",\n\t\"./fr-ca\": \"2fjn\",\n\t\"./fr-ca.js\": \"2fjn\",\n\t\"./fr-ch\": \"Dkky\",\n\t\"./fr-ch.js\": \"Dkky\",\n\t\"./fr.js\": \"nyYc\",\n\t\"./fy\": \"cRix\",\n\t\"./fy.js\": \"cRix\",\n\t\"./ga\": \"USCx\",\n\t\"./ga.js\": \"USCx\",\n\t\"./gd\": \"9rRi\",\n\t\"./gd.js\": \"9rRi\",\n\t\"./gl\": \"iEDd\",\n\t\"./gl.js\": \"iEDd\",\n\t\"./gom-deva\": \"qvJo\",\n\t\"./gom-deva.js\": \"qvJo\",\n\t\"./gom-latn\": \"DKr+\",\n\t\"./gom-latn.js\": \"DKr+\",\n\t\"./gu\": \"4MV3\",\n\t\"./gu.js\": \"4MV3\",\n\t\"./he\": \"x6pH\",\n\t\"./he.js\": \"x6pH\",\n\t\"./hi\": \"3E1r\",\n\t\"./hi.js\": \"3E1r\",\n\t\"./hr\": \"S6ln\",\n\t\"./hr.js\": \"S6ln\",\n\t\"./hu\": \"WxRl\",\n\t\"./hu.js\": \"WxRl\",\n\t\"./hy-am\": \"1rYy\",\n\t\"./hy-am.js\": \"1rYy\",\n\t\"./id\": \"UDhR\",\n\t\"./id.js\": \"UDhR\",\n\t\"./is\": \"BVg3\",\n\t\"./is.js\": \"BVg3\",\n\t\"./it\": \"bpih\",\n\t\"./it-ch\": \"bxKX\",\n\t\"./it-ch.js\": \"bxKX\",\n\t\"./it.js\": \"bpih\",\n\t\"./ja\": \"B55N\",\n\t\"./ja.js\": \"B55N\",\n\t\"./jv\": \"tUCv\",\n\t\"./jv.js\": \"tUCv\",\n\t\"./ka\": \"IBtZ\",\n\t\"./ka.js\": \"IBtZ\",\n\t\"./kk\": \"bXm7\",\n\t\"./kk.js\": \"bXm7\",\n\t\"./km\": \"6B0Y\",\n\t\"./km.js\": \"6B0Y\",\n\t\"./kn\": \"PpIw\",\n\t\"./kn.js\": \"PpIw\",\n\t\"./ko\": \"Ivi+\",\n\t\"./ko.js\": \"Ivi+\",\n\t\"./ku\": \"JCF/\",\n\t\"./ku.js\": \"JCF/\",\n\t\"./ky\": \"lgnt\",\n\t\"./ky.js\": \"lgnt\",\n\t\"./lb\": \"RAwQ\",\n\t\"./lb.js\": \"RAwQ\",\n\t\"./lo\": \"sp3z\",\n\t\"./lo.js\": \"sp3z\",\n\t\"./lt\": \"JvlW\",\n\t\"./lt.js\": \"JvlW\",\n\t\"./lv\": \"uXwI\",\n\t\"./lv.js\": \"uXwI\",\n\t\"./me\": \"KTz0\",\n\t\"./me.js\": \"KTz0\",\n\t\"./mi\": \"aIsn\",\n\t\"./mi.js\": \"aIsn\",\n\t\"./mk\": \"aQkU\",\n\t\"./mk.js\": \"aQkU\",\n\t\"./ml\": \"AvvY\",\n\t\"./ml.js\": \"AvvY\",\n\t\"./mn\": \"lYtQ\",\n\t\"./mn.js\": \"lYtQ\",\n\t\"./mr\": \"Ob0Z\",\n\t\"./mr.js\": \"Ob0Z\",\n\t\"./ms\": \"6+QB\",\n\t\"./ms-my\": \"ZAMP\",\n\t\"./ms-my.js\": \"ZAMP\",\n\t\"./ms.js\": \"6+QB\",\n\t\"./mt\": \"G0Uy\",\n\t\"./mt.js\": \"G0Uy\",\n\t\"./my\": \"honF\",\n\t\"./my.js\": \"honF\",\n\t\"./nb\": \"bOMt\",\n\t\"./nb.js\": \"bOMt\",\n\t\"./ne\": \"OjkT\",\n\t\"./ne.js\": \"OjkT\",\n\t\"./nl\": \"+s0g\",\n\t\"./nl-be\": \"2ykv\",\n\t\"./nl-be.js\": \"2ykv\",\n\t\"./nl.js\": \"+s0g\",\n\t\"./nn\": \"uEye\",\n\t\"./nn.js\": \"uEye\",\n\t\"./oc-lnc\": \"Fnuy\",\n\t\"./oc-lnc.js\": \"Fnuy\",\n\t\"./pa-in\": \"8/+R\",\n\t\"./pa-in.js\": \"8/+R\",\n\t\"./pl\": \"jVdC\",\n\t\"./pl.js\": \"jVdC\",\n\t\"./pt\": \"8mBD\",\n\t\"./pt-br\": \"0tRk\",\n\t\"./pt-br.js\": \"0tRk\",\n\t\"./pt.js\": \"8mBD\",\n\t\"./ro\": \"lyxo\",\n\t\"./ro.js\": \"lyxo\",\n\t\"./ru\": \"lXzo\",\n\t\"./ru.js\": \"lXzo\",\n\t\"./sd\": \"Z4QM\",\n\t\"./sd.js\": \"Z4QM\",\n\t\"./se\": \"//9w\",\n\t\"./se.js\": \"//9w\",\n\t\"./si\": \"7aV9\",\n\t\"./si.js\": \"7aV9\",\n\t\"./sk\": \"e+ae\",\n\t\"./sk.js\": \"e+ae\",\n\t\"./sl\": \"gVVK\",\n\t\"./sl.js\": \"gVVK\",\n\t\"./sq\": \"yPMs\",\n\t\"./sq.js\": \"yPMs\",\n\t\"./sr\": \"zx6S\",\n\t\"./sr-cyrl\": \"E+lV\",\n\t\"./sr-cyrl.js\": \"E+lV\",\n\t\"./sr.js\": \"zx6S\",\n\t\"./ss\": \"Ur1D\",\n\t\"./ss.js\": \"Ur1D\",\n\t\"./sv\": \"X709\",\n\t\"./sv.js\": \"X709\",\n\t\"./sw\": \"dNwA\",\n\t\"./sw.js\": \"dNwA\",\n\t\"./ta\": \"PeUW\",\n\t\"./ta.js\": \"PeUW\",\n\t\"./te\": \"XLvN\",\n\t\"./te.js\": \"XLvN\",\n\t\"./tet\": \"V2x9\",\n\t\"./tet.js\": \"V2x9\",\n\t\"./tg\": \"Oxv6\",\n\t\"./tg.js\": \"Oxv6\",\n\t\"./th\": \"EOgW\",\n\t\"./th.js\": \"EOgW\",\n\t\"./tk\": \"Wv91\",\n\t\"./tk.js\": \"Wv91\",\n\t\"./tl-ph\": \"Dzi0\",\n\t\"./tl-ph.js\": \"Dzi0\",\n\t\"./tlh\": \"z3Vd\",\n\t\"./tlh.js\": \"z3Vd\",\n\t\"./tr\": \"DoHr\",\n\t\"./tr.js\": \"DoHr\",\n\t\"./tzl\": \"z1FC\",\n\t\"./tzl.js\": \"z1FC\",\n\t\"./tzm\": \"wQk9\",\n\t\"./tzm-latn\": \"tT3J\",\n\t\"./tzm-latn.js\": \"tT3J\",\n\t\"./tzm.js\": \"wQk9\",\n\t\"./ug-cn\": \"YRex\",\n\t\"./ug-cn.js\": \"YRex\",\n\t\"./uk\": \"raLr\",\n\t\"./uk.js\": \"raLr\",\n\t\"./ur\": \"UpQW\",\n\t\"./ur.js\": \"UpQW\",\n\t\"./uz\": \"Loxo\",\n\t\"./uz-latn\": \"AQ68\",\n\t\"./uz-latn.js\": \"AQ68\",\n\t\"./uz.js\": \"Loxo\",\n\t\"./vi\": \"KSF8\",\n\t\"./vi.js\": \"KSF8\",\n\t\"./x-pseudo\": \"/X5v\",\n\t\"./x-pseudo.js\": \"/X5v\",\n\t\"./yo\": \"fzPg\",\n\t\"./yo.js\": \"fzPg\",\n\t\"./zh-cn\": \"XDpg\",\n\t\"./zh-cn.js\": \"XDpg\",\n\t\"./zh-hk\": \"SatO\",\n\t\"./zh-hk.js\": \"SatO\",\n\t\"./zh-mo\": \"OmwH\",\n\t\"./zh-mo.js\": \"OmwH\",\n\t\"./zh-tw\": \"kOpN\",\n\t\"./zh-tw.js\": \"kOpN\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"RnhZ\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dropdown',{attrs:{\"hide-on-click\":false,\"trigger\":\"click\"}},[_c('el-button',{attrs:{\"disabled\":!_vm.account.id,\"size\":_vm.renderedFrom === 'showPage' ? 'medium' : 'small',\"plain\":\"\",\"icon\":\"el-icon-files\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('reports.moderateUser'))+\"\\n \"),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})]),_vm._v(\" \"),_c('el-dropdown-menu',{staticClass:\"moderate-user-dropdown\",attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[(_vm.showDeactivatedButton(_vm.account))?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.handleDeactivation(_vm.account)}}},[_vm._v(\"\\n \"+_vm._s(_vm.account.deactivated ? _vm.$t('users.activateAccount') : _vm.$t('users.deactivateAccount'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.showDeactivatedButton(_vm.account.id))?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.handleDeletion(_vm.account)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.deleteAccount'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.tagPolicyEnabled)?_c('el-dropdown-item',{class:{ 'active-tag': _vm.tags.includes('mrf_tag:media-force-nsfw') },attrs:{\"divided\":true},nativeOn:{\"click\":function($event){return _vm.toggleTag(_vm.account, 'mrf_tag:media-force-nsfw')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.forceNsfw'))+\"\\n \"),(_vm.tags.includes('mrf_tag:media-force-nsfw'))?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.tagPolicyEnabled)?_c('el-dropdown-item',{class:{ 'active-tag': _vm.tags.includes('mrf_tag:media-strip') },nativeOn:{\"click\":function($event){return _vm.toggleTag(_vm.account, 'mrf_tag:media-strip')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.stripMedia'))+\"\\n \"),(_vm.tags.includes('mrf_tag:media-strip'))?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.tagPolicyEnabled)?_c('el-dropdown-item',{class:{ 'active-tag': _vm.tags.includes('mrf_tag:force-unlisted') },nativeOn:{\"click\":function($event){return _vm.toggleTag(_vm.account, 'mrf_tag:force-unlisted')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.forceUnlisted'))+\"\\n \"),(_vm.tags.includes('mrf_tag:force-unlisted'))?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.tagPolicyEnabled)?_c('el-dropdown-item',{class:{ 'active-tag': _vm.tags.includes('mrf_tag:sandbox') },nativeOn:{\"click\":function($event){return _vm.toggleTag(_vm.account, 'mrf_tag:sandbox')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.sandbox'))+\"\\n \"),(_vm.tags.includes('mrf_tag:sandbox'))?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.tagPolicyEnabled && _vm.account.local)?_c('el-dropdown-item',{class:{ 'active-tag': _vm.tags.includes('mrf_tag:disable-remote-subscription') },nativeOn:{\"click\":function($event){return _vm.toggleTag(_vm.account, 'mrf_tag:disable-remote-subscription')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.disableRemoteSubscription'))+\"\\n \"),(_vm.tags.includes('mrf_tag:disable-remote-subscription'))?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.tagPolicyEnabled && _vm.account.local)?_c('el-dropdown-item',{class:{ 'active-tag': _vm.tags.includes('mrf_tag:disable-any-subscription') },nativeOn:{\"click\":function($event){return _vm.toggleTag(_vm.account, 'mrf_tag:disable-any-subscription')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.disableAnySubscription'))+\"\\n \"),(_vm.tags.includes('mrf_tag:disable-any-subscription'))?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(!_vm.tagPolicyEnabled)?_c('el-dropdown-item',{staticClass:\"no-hover\",attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.enableTagPolicy($event)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.enableTagPolicy'))+\"\\n \")]):_vm._e()],1)],1)}\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!./ModerateUserDropdown.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!./ModerateUserDropdown.vue?vue&type=script&lang=js&\"","<template>\n <el-dropdown :hide-on-click=\"false\" trigger=\"click\">\n <el-button :disabled=\"!account.id\" :size=\"renderedFrom === 'showPage' ? 'medium' : 'small'\" plain icon=\"el-icon-files\">\n {{ $t('reports.moderateUser') }}\n <i class=\"el-icon-arrow-down el-icon--right\"/>\n </el-button>\n <el-dropdown-menu slot=\"dropdown\" class=\"moderate-user-dropdown\">\n <el-dropdown-item\n v-if=\"showDeactivatedButton(account)\"\n @click.native=\"handleDeactivation(account)\">\n {{ account.deactivated ? $t('users.activateAccount') : $t('users.deactivateAccount') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"showDeactivatedButton(account.id)\"\n @click.native=\"handleDeletion(account)\">\n {{ $t('users.deleteAccount') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"tagPolicyEnabled\"\n :divided=\"true\"\n :class=\"{ 'active-tag': tags.includes('mrf_tag:media-force-nsfw') }\"\n @click.native=\"toggleTag(account, 'mrf_tag:media-force-nsfw')\">\n {{ $t('users.forceNsfw') }}\n <i v-if=\"tags.includes('mrf_tag:media-force-nsfw')\" class=\"el-icon-check\"/>\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"tagPolicyEnabled\"\n :class=\"{ 'active-tag': tags.includes('mrf_tag:media-strip') }\"\n @click.native=\"toggleTag(account, 'mrf_tag:media-strip')\">\n {{ $t('users.stripMedia') }}\n <i v-if=\"tags.includes('mrf_tag:media-strip')\" class=\"el-icon-check\"/>\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"tagPolicyEnabled\"\n :class=\"{ 'active-tag': tags.includes('mrf_tag:force-unlisted') }\"\n @click.native=\"toggleTag(account, 'mrf_tag:force-unlisted')\">\n {{ $t('users.forceUnlisted') }}\n <i v-if=\"tags.includes('mrf_tag:force-unlisted')\" class=\"el-icon-check\"/>\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"tagPolicyEnabled\"\n :class=\"{ 'active-tag': tags.includes('mrf_tag:sandbox') }\"\n @click.native=\"toggleTag(account, 'mrf_tag:sandbox')\">\n {{ $t('users.sandbox') }}\n <i v-if=\"tags.includes('mrf_tag:sandbox')\" class=\"el-icon-check\"/>\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"tagPolicyEnabled && account.local\"\n :class=\"{ 'active-tag': tags.includes('mrf_tag:disable-remote-subscription') }\"\n @click.native=\"toggleTag(account, 'mrf_tag:disable-remote-subscription')\">\n {{ $t('users.disableRemoteSubscription') }}\n <i v-if=\"tags.includes('mrf_tag:disable-remote-subscription')\" class=\"el-icon-check\"/>\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"tagPolicyEnabled && account.local\"\n :class=\"{ 'active-tag': tags.includes('mrf_tag:disable-any-subscription') }\"\n @click.native=\"toggleTag(account, 'mrf_tag:disable-any-subscription')\">\n {{ $t('users.disableAnySubscription') }}\n <i v-if=\"tags.includes('mrf_tag:disable-any-subscription')\" class=\"el-icon-check\"/>\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"!tagPolicyEnabled\"\n divided\n class=\"no-hover\"\n @click.native=\"enableTagPolicy\">\n {{ $t('users.enableTagPolicy') }}\n </el-dropdown-item>\n </el-dropdown-menu>\n </el-dropdown>\n</template>\n\n<script>\nexport default {\n name: 'ModerateUserDropdown',\n props: {\n account: {\n type: Object,\n required: true\n },\n reportId: {\n type: String,\n required: true\n },\n renderedFrom: {\n type: String,\n required: true\n }\n },\n computed: {\n tagPolicyEnabled() {\n return this.$store.state.users.mrfPolicies.includes('Pleroma.Web.ActivityPub.MRF.TagPolicy')\n },\n tags() {\n return this.account.tags || []\n }\n },\n methods: {\n enableTagPolicy() {\n this.$confirm(\n this.$t('users.confirmEnablingTagPolicy'),\n {\n confirmButtonText: 'Yes',\n cancelButtonText: 'Cancel',\n type: 'warning'\n }).then(() => {\n this.$message({\n type: 'success',\n message: this.$t('users.enableTagPolicySuccessMessage')\n })\n this.$store.dispatch('EnableTagPolicy')\n }).catch(() => {\n this.$message({\n type: 'info',\n message: 'Canceled'\n })\n })\n },\n handleDeactivation(user) {\n if (this.renderedFrom === 'showPage') {\n user.deactivated\n ? this.$store.dispatch('ActivateUserFromReportShow', user)\n : this.$store.dispatch('DeactivateUserFromReportShow', user)\n } else if (this.renderedFrom === 'reportsPage') {\n user.deactivated\n ? this.$store.dispatch('ActivateUserFromReports', { user, reportId: this.reportId })\n : this.$store.dispatch('DeactivateUserFromReports', { user, reportId: this.reportId })\n }\n },\n handleDeletion(user) {\n this.$confirm(\n this.$t('users.deleteUserConfirmation'),\n {\n confirmButtonText: 'Delete',\n cancelButtonText: 'Cancel',\n type: 'warning'\n }).then(() => {\n this.$store.dispatch('DeleteUserFromReports', { user, reportId: this.reportId })\n }).catch(() => {\n this.$message({\n type: 'info',\n message: 'Delete canceled'\n })\n })\n },\n showDeactivatedButton(id) {\n return this.$store.state.user.id !== id\n },\n toggleTag(user, tag) {\n if (this.renderedFrom === 'showPage') {\n user.tags.includes(tag)\n ? this.$store.dispatch('RemoveTagFromReportsFromReportShow', { user, tag })\n : this.$store.dispatch('AddTagFromReportsFromReportShow', { user, tag })\n } else if (this.renderedFrom === 'reportsPage') {\n user.tags.includes(tag)\n ? this.$store.dispatch('RemoveTagFromReports', { user, tag, reportId: this.reportId })\n : this.$store.dispatch('AddTagFromReports', { user, tag, reportId: this.reportId })\n }\n }\n }\n}\n</script>\n\n<style rel='stylesheet/scss' lang='scss'>\n.moderate-user-dropdown {\n width: 350px;\n}\n</style>\n","import { render, staticRenderFns } from \"./ModerateUserDropdown.vue?vue&type=template&id=7f7f87a3&\"\nimport script from \"./ModerateUserDropdown.vue?vue&type=script&lang=js&\"\nexport * from \"./ModerateUserDropdown.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ModerateUserDropdown.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 = \"ModerateUserDropdown.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!./ReportContent.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!./ReportContent.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&\"","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&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"report-account-container\"},[_c('span',{staticClass:\"report-row-key\"},[_vm._v(_vm._s(_vm.$t('reports.account'))+\":\")]),_vm._v(\" \"),_c('div',{staticClass:\"report-account\"},[(_vm.propertyExists(_vm.report.account, 'id'))?_c('router-link',{staticClass:\"router-link\",attrs:{\"to\":{ name: 'UsersShow', params: { id: _vm.report.account.id }}}},[(_vm.propertyExists(_vm.report.account, 'avatar'))?_c('img',{staticClass:\"avatar-img\",attrs:{\"src\":_vm.report.account.avatar,\"alt\":\"avatar\"}}):_vm._e(),_vm._v(\" \"),(_vm.propertyExists(_vm.report.account, 'nickname'))?_c('span',{staticClass:\"report-account-name\"},[_vm._v(_vm._s(_vm.report.account.nickname))]):_c('span',{staticClass:\"report-account-name deactivated\"},[_vm._v(\"(\"+_vm._s(_vm.$t('users.invalidNickname'))+\")\")])]):_c('span',{staticClass:\"report-account-name deactivated\"},[_vm._v(\"(\"+_vm._s(_vm.$t('users.invalidNickname'))+\")\")]),_vm._v(\" \"),(_vm.propertyExists(_vm.report.account, 'url'))?_c('a',{staticClass:\"account\",attrs:{\"href\":_vm.report.account.url,\"target\":\"_blank\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('userProfile.openAccountInInstance'))+\"\\n \"),_c('i',{staticClass:\"el-icon-top-right\"})]):_vm._e()],1)]),_vm._v(\" \"),(_vm.report.content && _vm.report.content.length > 0)?_c('div',[_c('el-divider',{staticClass:\"divider\"}),_vm._v(\" \"),_c('span',{staticClass:\"report-row-key\"},[_vm._v(_vm._s(_vm.$t('reports.content'))+\":\\n \"),_c('span',[_vm._v(_vm._s(_vm.report.content))])])],1):_vm._e(),_vm._v(\" \"),_c('el-divider',{staticClass:\"divider\"}),_vm._v(\" \"),_c('div',{staticClass:\"report-account-container\",style:(_vm.showStatuses(_vm.report.statuses) ? '' : 'margin-bottom:15px')},[_c('span',{staticClass:\"report-row-key\"},[_vm._v(_vm._s(_vm.$t('reports.actor'))+\":\")]),_vm._v(\" \"),_c('div',{staticClass:\"report-account\"},[(_vm.propertyExists(_vm.report.actor, 'id'))?_c('router-link',{staticClass:\"router-link\",attrs:{\"to\":{ name: 'UsersShow', params: { id: _vm.report.actor.id }}}},[(_vm.propertyExists(_vm.report.actor, 'avatar'))?_c('img',{staticClass:\"avatar-img\",attrs:{\"src\":_vm.report.actor.avatar,\"alt\":\"avatar\"}}):_vm._e(),_vm._v(\" \"),(_vm.propertyExists(_vm.report.actor, 'nickname'))?_c('span',{staticClass:\"report-account-name\"},[_vm._v(_vm._s(_vm.report.actor.nickname))]):_c('span',{staticClass:\"report-account-name deactivated\"},[_vm._v(\"(\"+_vm._s(_vm.$t('users.invalidNickname'))+\")\")])]):_c('span',{staticClass:\"report-account-name deactivated\"},[_vm._v(\"(\"+_vm._s(_vm.$t('users.invalidNickname'))+\")\")]),_vm._v(\" \"),(_vm.propertyExists(_vm.report.actor, 'url'))?_c('a',{staticClass:\"account\",attrs:{\"href\":_vm.report.actor.url,\"target\":\"_blank\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('userProfile.openAccountInInstance'))+\"\\n \"),_c('i',{staticClass:\"el-icon-top-right\"})]):_vm._e()],1)]),_vm._v(\" \"),(_vm.showStatuses(_vm.report.statuses))?_c('div',{staticClass:\"reported-statuses\"},[_c('el-collapse',[_c('el-collapse-item',{attrs:{\"title\":_vm.getStatusesTitle(_vm.report.statuses)}},_vm._l((_vm.report.statuses),function(status){return _c('div',{key:status.id},[_c('status',{attrs:{\"status\":status,\"account\":status.account.nickname ? status.account : _vm.report.account,\"show-checkbox\":false,\"page\":_vm.currentPage}}),_vm._v(\" // check why it's currentPage here\\n \")],1)}),0)],1)],1):_vm._e(),_vm._v(\" \"),_c('div',[_c('el-collapse',[_c('el-collapse-item',{attrs:{\"title\":_vm.getNotesTitle(_vm.report.notes)}},_vm._l((_vm.report.notes),function(note,index){return _c('note-card',{key:index,attrs:{\"note\":note,\"report\":_vm.report}})}),1)],1),_vm._v(\" \"),_c('div',{staticClass:\"report-note-form\"},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('reports.leaveNote'),\"type\":\"textarea\",\"rows\":\"2\"},model:{value:(_vm.notes[_vm.report.id]),callback:function ($$v) {_vm.$set(_vm.notes, _vm.report.id, $$v)},expression:\"notes[report.id]\"}}),_vm._v(\" \"),_c('div',{staticClass:\"report-post-note\"},[_c('el-button',{on:{\"click\":function($event){return _vm.handleNewNote(_vm.report.id)}}},[_vm._v(_vm._s(_vm.$t('reports.postNote')))])],1)],1)],1)],1)}\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!./NoteCard.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!./NoteCard.vue?vue&type=script&lang=js&\"","<template>\n <el-card class=\"note-card\">\n <div slot=\"header\">\n <div class=\"note-header\">\n <router-link\n v-if=\"propertyExists(note.user, 'id')\"\n :to=\"{ name: 'UsersShow', params: { id: note.user.id }}\"\n class=\"router-link\">\n <div class=\"note-actor\">\n <img\n v-if=\"propertyExists(note.user, 'avatar')\"\n :src=\"note.user.avatar\"\n alt=\"avatar\"\n class=\"note-avatar-img\">\n <span v-if=\"propertyExists(note.user, 'nickname')\" class=\"note-actor-name\">{{ note.user.nickname }}</span>\n <span v-else class=\"note-actor-name deactivated\">({{ $t('users.invalidNickname') }})</span>\n </div>\n </router-link>\n <el-button size=\"mini\" @click.native=\"handleNoteDeletion(note.id, report.id)\">\n {{ $t('reports.deleteNote') }}\n </el-button>\n </div>\n </div>\n <div class=\"note-body\">\n <span class=\"note-content\" v-html=\"note.content\"/>\n {{ parseTimestamp(note.created_at) }}\n </div>\n </el-card>\n</template>\n\n<script>\nimport moment from 'moment'\n\nexport default {\n name: 'NoteCard',\n props: {\n report: {\n type: Object,\n required: true\n },\n note: {\n type: Object,\n required: true\n }\n },\n methods: {\n handleNoteDeletion(noteID, reportID) {\n this.$confirm('Are you sure you want to delete this note?', 'Warning', {\n confirmButtonText: 'OK',\n cancelButtonText: 'Cancel',\n type: 'warning'\n }).then(() => {\n this.$store.dispatch('DeleteReportNote', { noteID, reportID })\n this.$message({\n type: 'success',\n message: 'Delete completed'\n })\n }).catch(() => {\n this.$message({\n type: 'info',\n message: 'Delete canceled'\n })\n })\n },\n parseTimestamp(timestamp) {\n return moment(timestamp).format('YYYY-MM-DD HH:mm')\n },\n propertyExists(account, property) {\n return account[property]\n }\n }\n}\n</script>\n\n<style rel='stylesheet/scss' lang='scss'>\n a {\n text-decoration: underline;\n }\n .deactivated {\n color: gray;\n }\n .el-icon-arrow-right {\n margin-right: 6px;\n }\n .note-header {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n height: 40px;\n }\n .note-actor {\n display: flex;\n align-items: center;\n }\n .note-actor-name {\n margin: 0;\n height: 28px;\n }\n .note-avatar-img {\n width: 15px;\n height: 15px;\n margin-right: 5px;\n }\n .note-body {\n display: flex;\n flex-direction: column;\n }\n .note-card {\n margin-bottom: 15px;\n }\n .note-content {\n font-size: 15px;\n }\n .note-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n height: 28px;\n font-size: 15px;\n font-weight: 500;\n }\n .router-link {\n text-decoration: none;\n }\n\n @media only screen and (max-width:480px) {\n .el-card__header {\n padding: 10px 17px;\n }\n .note-header {\n display: flex;\n flex-direction: column;\n height: 65px;\n }\n .note-actor {\n margin-bottom: 5px;\n }\n .note-header {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n }\n</style>\n","import { render, staticRenderFns } from \"./NoteCard.vue?vue&type=template&id=030edbfd&\"\nimport script from \"./NoteCard.vue?vue&type=script&lang=js&\"\nexport * from \"./NoteCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./NoteCard.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 = \"NoteCard.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{staticClass:\"note-card\"},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('div',{staticClass:\"note-header\"},[(_vm.propertyExists(_vm.note.user, 'id'))?_c('router-link',{staticClass:\"router-link\",attrs:{\"to\":{ name: 'UsersShow', params: { id: _vm.note.user.id }}}},[_c('div',{staticClass:\"note-actor\"},[(_vm.propertyExists(_vm.note.user, 'avatar'))?_c('img',{staticClass:\"note-avatar-img\",attrs:{\"src\":_vm.note.user.avatar,\"alt\":\"avatar\"}}):_vm._e(),_vm._v(\" \"),(_vm.propertyExists(_vm.note.user, 'nickname'))?_c('span',{staticClass:\"note-actor-name\"},[_vm._v(_vm._s(_vm.note.user.nickname))]):_c('span',{staticClass:\"note-actor-name deactivated\"},[_vm._v(\"(\"+_vm._s(_vm.$t('users.invalidNickname'))+\")\")])])]):_vm._e(),_vm._v(\" \"),_c('el-button',{attrs:{\"size\":\"mini\"},nativeOn:{\"click\":function($event){return _vm.handleNoteDeletion(_vm.note.id, _vm.report.id)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('reports.deleteNote'))+\"\\n \")])],1)]),_vm._v(\" \"),_c('div',{staticClass:\"note-body\"},[_c('span',{staticClass:\"note-content\",domProps:{\"innerHTML\":_vm._s(_vm.note.content)}}),_vm._v(\"\\n \"+_vm._s(_vm.parseTimestamp(_vm.note.created_at))+\"\\n \")])])}\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!./ReportContent.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!./ReportContent.vue?vue&type=script&lang=js&\"","<template>\n <div>\n <div class=\"report-account-container\">\n <span class=\"report-row-key\">{{ $t('reports.account') }}:</span>\n <div class=\"report-account\">\n <router-link\n v-if=\"propertyExists(report.account, 'id')\"\n :to=\"{ name: 'UsersShow', params: { id: report.account.id }}\"\n class=\"router-link\">\n <img\n v-if=\"propertyExists(report.account, 'avatar')\"\n :src=\"report.account.avatar\"\n alt=\"avatar\"\n class=\"avatar-img\">\n <span v-if=\"propertyExists(report.account, 'nickname')\" class=\"report-account-name\">{{ report.account.nickname }}</span>\n <span v-else class=\"report-account-name deactivated\">({{ $t('users.invalidNickname') }})</span>\n </router-link>\n <span v-else class=\"report-account-name deactivated\">({{ $t('users.invalidNickname') }})</span>\n <a v-if=\"propertyExists(report.account, 'url')\" :href=\"report.account.url\" target=\"_blank\" class=\"account\">\n {{ $t('userProfile.openAccountInInstance') }}\n <i class=\"el-icon-top-right\"/>\n </a>\n </div>\n </div>\n <div v-if=\"report.content && report.content.length > 0\">\n <el-divider class=\"divider\"/>\n <span class=\"report-row-key\">{{ $t('reports.content') }}:\n <span>{{ report.content }}</span>\n </span>\n </div>\n <el-divider class=\"divider\"/>\n <div :style=\"showStatuses(report.statuses) ? '' : 'margin-bottom:15px'\" class=\"report-account-container\">\n <span class=\"report-row-key\">{{ $t('reports.actor') }}:</span>\n <div class=\"report-account\">\n <router-link\n v-if=\"propertyExists(report.actor, 'id')\"\n :to=\"{ name: 'UsersShow', params: { id: report.actor.id }}\"\n class=\"router-link\">\n <img\n v-if=\"propertyExists(report.actor, 'avatar')\"\n :src=\"report.actor.avatar\"\n alt=\"avatar\"\n class=\"avatar-img\">\n <span v-if=\"propertyExists(report.actor, 'nickname')\" class=\"report-account-name\">{{ report.actor.nickname }}</span>\n <span v-else class=\"report-account-name deactivated\">({{ $t('users.invalidNickname') }})</span>\n </router-link>\n <span v-else class=\"report-account-name deactivated\">({{ $t('users.invalidNickname') }})</span>\n <a v-if=\"propertyExists(report.actor, 'url')\" :href=\"report.actor.url\" target=\"_blank\" class=\"account\">\n {{ $t('userProfile.openAccountInInstance') }}\n <i class=\"el-icon-top-right\"/>\n </a>\n </div>\n </div>\n <div v-if=\"showStatuses(report.statuses)\" class=\"reported-statuses\">\n <el-collapse>\n <el-collapse-item :title=\"getStatusesTitle(report.statuses)\">\n <div v-for=\"status in report.statuses\" :key=\"status.id\">\n <status :status=\"status\" :account=\"status.account.nickname ? status.account : report.account\" :show-checkbox=\"false\" :page=\"currentPage\"/> // check why it's currentPage here\n </div>\n </el-collapse-item>\n </el-collapse>\n </div>\n <div>\n <el-collapse>\n <el-collapse-item :title=\"getNotesTitle(report.notes)\">\n <note-card v-for=\"(note, index) in report.notes\" :key=\"index\" :note=\"note\" :report=\"report\"/>\n </el-collapse-item>\n </el-collapse>\n <div class=\"report-note-form\">\n <el-input\n v-model=\"notes[report.id]\"\n :placeholder=\"$t('reports.leaveNote')\"\n type=\"textarea\"\n rows=\"2\"/>\n <div class=\"report-post-note\">\n <el-button @click=\"handleNewNote(report.id)\">{{ $t('reports.postNote') }}</el-button>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport NoteCard from './NoteCard'\nimport Status from '@/components/Status'\n\nexport default {\n name: 'ReportContent',\n components: { NoteCard, Status },\n props: {\n report: {\n type: Object,\n required: true\n }\n },\n data() {\n return {\n notes: {}\n }\n },\n computed: {\n currentPage() {\n return this.$store.state.reports.currentPage\n }\n },\n methods: {\n getNotesTitle(notes = []) {\n return `Notes: ${notes.length} item(s)`\n },\n getStatusesTitle(statuses = []) {\n return `Reported statuses: ${statuses.length} item(s)`\n },\n handleNewNote(reportID) {\n this.$store.dispatch('CreateReportNote', { content: this.notes[reportID], reportID })\n this.notes[reportID] = ''\n },\n propertyExists(account, property, _secondProperty) {\n if (_secondProperty) {\n return account[property] && account[_secondProperty]\n }\n return account[property]\n },\n showStatuses(statuses = []) {\n return statuses.length > 0\n }\n }\n}\n</script>\n\n<style rel='stylesheet/scss' lang='scss'>\n .account {\n line-height: 26px;\n font-size: 13px;\n color: #606266;\n }\n .account:hover {\n text-decoration: underline;\n }\n .avatar-img {\n vertical-align: bottom;\n width: 15px;\n height: 15px;\n }\n .deactivated {\n color: gray;\n }\n .divider {\n margin: 15px 0;\n }\n .report-account {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n flex-grow: 2;\n }\n .report-account-container {\n display: flex;\n align-items: baseline;\n }\n .report-account-name {\n font-size: 15px;\n font-weight: 500;\n }\n .report-note-form {\n margin: 15px 0 0 0;\n }\n .report-post-note {\n margin: 5px 0 0 0;\n text-align: right;\n }\n .report-row-key {\n font-size: 14px;\n font-weight: 500;\n padding-right: 5px;\n }\n .reported-statuses {\n margin-top: 15px;\n }\n .router-link {\n text-decoration: none;\n }\n</style>\n","import { render, staticRenderFns } from \"./ReportContent.vue?vue&type=template&id=1ab77e29&\"\nimport script from \"./ReportContent.vue?vue&type=script&lang=js&\"\nexport * from \"./ReportContent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ReportContent.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 = \"ReportContent.vue\"\nexport default component.exports"],"sourceRoot":""}