1 {"version":3,"sources":["webpack:///./src/views/users/components/SecuritySettingsModal.vue?5147","webpack:///./src/views/users/show.vue?09c5","webpack:///./src/views/users/components/SecuritySettingsModal.vue?49db","webpack:///src/views/users/components/SecuritySettingsModal.vue","webpack:///./src/views/users/components/SecuritySettingsModal.vue","webpack:///./src/views/users/components/SecuritySettingsModal.vue?dd3f","webpack:///./src/views/users/show.vue?ac8b","webpack:///src/views/users/show.vue","webpack:///./src/views/users/show.vue","webpack:///./src/views/users/components/ModerationDropdown.vue?e3f0","webpack:///./src/views/users/show.vue?aed3","webpack:///./src/components/Status/index.vue?aecc","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/views/users/components/ResetPasswordDialog.vue?0b2b","webpack:///./src/views/users/components/ResetPasswordDialog.vue?31da","webpack:///src/views/users/components/ResetPasswordDialog.vue","webpack:///./src/views/users/components/ResetPasswordDialog.vue","webpack:///./src/components/Status/index.vue?ba4a","webpack:///./src/components/Status/index.vue?6071","webpack:///src/components/Status/index.vue","webpack:///./src/components/Status/index.vue","webpack:///./src/components/RebootButton/index.vue?8db4","webpack:///./src/components/RebootButton/index.vue?2f45","webpack:///src/components/RebootButton/index.vue","webpack:///./src/components/RebootButton/index.vue","webpack:///./src/views/users/components/ModerationDropdown.vue?4fe2","webpack:///./src/views/users/components/ModerationDropdown.vue?676e","webpack:///src/views/users/components/ModerationDropdown.vue","webpack:///./src/views/users/components/ModerationDropdown.vue"],"names":["_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_SecuritySettingsModal_vue_vue_type_style_index_0_rel_stylesheet_2Fscss_lang_scss___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","n","components_SecuritySettingsModalvue_type_script_lang_js_","name","props","visible","type","default","user","data","securitySettingsForm","newEmail","newPassword","isEmailLoading","isPasswordLoading","computed","isDesktop","this","$store","state","app","device","getLabelWidth","userCredentials","userProfile","mounted","_mounted","asyncToGenerator_default","regenerator_default","a","mark","_callee","wrap","_context","prev","next","dispatch","nickname","email","stop","apply","arguments","methods","updateEmail","_this","_callee2","credentials","_context2","Message","message","duration","updatePassword","_this2","_callee3","_context3","password","close","$emit","component","Object","componentNormalizer","_vm","_h","$createElement","_c","_self","staticClass","attrs","before-close","title","$t","model","label-width","label","placeholder","value","callback","$$v","$set","expression","_v","loading","disabled","on","click","$event","_s","minLength","closable","show-icon","length","options","__file","SecuritySettingsModal","users_showvue_type_script_lang_js_","components","ModerationDropdown","RebootButton","ResetPasswordDialog","Status","showPrivate","resetPasswordDialogOpen","securitySettingsModalVisible","isMobile","isTablet","users","statuses","statusesLoading","chats","chatsLoading","userProfileLoading","userId","godmode","closeResetPasswordDialog","humanizeTag","tag","mrf_tag:media-force-nsfw","mrf_tag:media-strip","mrf_tag:force-unlisted","mrf_tag:sandbox","mrf_tag:disable-remote-subscription","mrf_tag:disable-any-subscription","onTogglePrivate","openResetPasswordDialog","propertyExists","account","property","show_component","_e","src","avatar","size","href","url","target","page","open-reset-token-dialog","reset-password-dialog-open","close-reset-token-dialog","id","actor_type","tags","_l","key","roles","moderator","admin","local","is_approved","is_active","registration_reason","icon","chat","to","params","receiver","username","last_message","content","change","status","show-checkbox","user-id","__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_ModerationDropdown_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__","_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_index_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-bd","./bn-bd.js","./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-mx","./es-mx.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_ResetPasswordDialogvue_type_script_lang_js_","dialogOpen","passwordResetLink","passwordResetToken","link","token","directives","rawName","custom-class","components_Statusvue_type_script_lang_js_","required","fetchStatusesByInstance","showCheckbox","showHiddenStatus","capitalizeFirstLetter","str","charAt","toUpperCase","slice","isPrivileged","accepted_privileges","accepted_roles","user_privileges","getters","privileges","user_roles","some","privilege","indexOf","role","changeStatus","statusId","isSensitive","visibility","reportCurrentPage","deleteStatus","$confirm","confirmButtonText","cancelButtonText","then","$message","catch","handleStatusSelection","handleRouteChange","$router","push","optionPercent","poll","pollOption","allVotes","reduce","acc","option","votes_count","toFixed","parseTimestamp","timestamp","moment_default","format","_secondProperty","deleted","slot","domProps","innerHTML","created_at","stopPropagation","nativeOn","trigger","plain","sensitive","spoiler_text","index","percentage","attachment","preview_url","components_RebootButtonvue_type_script_lang_js_","needReboot","restartApp","t0","abrupt","placement","components_ModerationDropdownvue_type_script_lang_js_","actorType","get","set","_userId","_statusId","tagPolicyEnabled","mrfPolicies","includes","disableMfa","enableTagPolicy","getPasswordResetToken","handleConfirmationResend","handleDeletion","handleAccountApproval","handleAccountRejection","_this3","handleEmailConfirmation","requirePasswordReset","nodeInfo","metadata","mailerEnabled","$alert","showAdminAction","_ref","showDeactivatedButton","toggleActivation","toggleTag","toggleUserRight","right","hide-on-click","divided","is_confirmed","class","active-tag"],"mappings":"wGAAA,IAAAA,EAAAC,EAAA,QAAAA,EAAAC,EAAAF,GAAyf,uECAzf,kFCAgOG,GCoDhOC,6BACAC,OACAC,SACAC,aACAC,YAEAC,MACAF,YACAC,mBACA,YAIAE,KAdA,WAeA,OACAC,sBACAC,YACAC,eACAC,kBACAC,wBAIAC,UACAC,UADA,WAEA,kBAAAC,KAAAC,OAAAC,MAAAC,IAAAC,QAEAC,cAJA,WAKA,OAAAL,KAAAD,UAAA,gBAEAO,gBAPA,WAQA,OAAAN,KAAAC,OAAAC,MAAAK,YAAAD,kBAGAE,mBAAA,IAAAC,EAAAC,IAAAC,EAAAC,EAAAC,KAAA,SAAAC,IAAA,OAAAH,EAAAC,EAAAG,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,cAAAF,EAAAE,KAAA,EACAlB,KAAAC,OAAAkB,SAAA,wBAAAC,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mE,KAAAnE,EAAAmB,GAAA,KAAAnB,EAAAuZ,iBAAA,WAAAvZ,EAAArD,KAAA2I,MAAAnF,EAAA,oBAA8Kmc,UAAU/a,MAAA,SAAAC,GAAyB,OAAAxB,EAAAue,qBAAAve,EAAArD,UAA4CqD,EAAAmB,GAAA,WAAAnB,EAAAyB,GAAAzB,EAAAS,GAAA,2CAAAT,EAAAmE,KAAAnE,EAAAmB,GAAA,KAAAnB,EAAAuZ,iBAAA,WAAAvZ,EAAArD,KAAA2I,MAAAnF,EAAA,oBAA6Kmc,UAAU/a,MAAA,SAAAC,GAAyB,OAAAxB,EAAA8d,WAAA9d,EAAArD,KAAA6B,cAA2CwB,EAAAmB,GAAA,WAAAnB,EAAAyB,GAAAzB,EAAAS,GAAA,iCAAAT,EAAAmE,MAAA,OAAAnE,EAAAmE,UGYr5P,EACA,KACA,KACA,MAIAtE,EAAAiC,QAAAC,OAAA,yBACeuE,EAAA,EAAAzG","file":"static/js/chunk-2be3.7b7c045e.js","sourcesContent":["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!./SecuritySettingsModal.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!./SecuritySettingsModal.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 (!_vm.userProfileLoading)?_c('main',[(_vm.isDesktop || _vm.isTablet)?_c('header',{staticClass:\"user-page-header\"},[_c('div',{staticClass:\"avatar-name-container\"},[(_vm.propertyExists(_vm.user, 'avatar'))?_c('el-avatar',{attrs:{\"src\":_vm.user.avatar,\"size\":\"large\"}}):_vm._e(),_vm._v(\" \"),(_vm.propertyExists(_vm.user, 'nickname'))?_c('h1',[_vm._v(_vm._s(_vm.user.nickname))]):_c('h1',{staticClass:\"invalid\"},[_vm._v(\"(\"+_vm._s(_vm.$t('users.invalidNickname'))+\")\")]),_vm._v(\" \"),(_vm.propertyExists(_vm.user, 'url'))?_c('a',{attrs:{\"href\":_vm.user.url,\"target\":\"_blank\"}},[_c('i',{staticClass:\"el-icon-top-right\",attrs:{\"title\":_vm.$t('userProfile.openAccountInInstance')}})]):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"left-header-container\"},[(_vm.propertyExists(_vm.user, 'nickname'))?_c('moderation-dropdown',{attrs:{\"user\":_vm.user,\"page\":'userPage'},on:{\"open-reset-token-dialog\":_vm.openResetPasswordDialog}}):_vm._e(),_vm._v(\" \"),_c('reboot-button')],1)]):_vm._e(),_vm._v(\" \"),(_vm.isMobile)?_c('div',{staticClass:\"user-page-header-container\"},[_c('header',{staticClass:\"user-page-header\"},[_c('div',{staticClass:\"avatar-name-container\"},[(_vm.propertyExists(_vm.user, 'avatar'))?_c('el-avatar',{attrs:{\"src\":_vm.user.avatar,\"size\":\"large\"}}):_vm._e(),_vm._v(\" \"),(_vm.propertyExists(_vm.user, 'nickname'))?_c('h1',[_vm._v(_vm._s(_vm.user.nickname))]):_c('h1',{staticClass:\"invalid\"},[_vm._v(\"(\"+_vm._s(_vm.$t('users.invalidNickname'))+\")\")])],1),_vm._v(\" \"),_c('reboot-button')],1),_vm._v(\" \"),(_vm.propertyExists(_vm.user, 'nickname'))?_c('moderation-dropdown',{attrs:{\"user\":_vm.user,\"page\":'userPage'},on:{\"open-reset-token-dialog\":_vm.openResetPasswordDialog}}):_vm._e()],1):_vm._e(),_vm._v(\" \"),_c('reset-password-dialog',{attrs:{\"reset-password-dialog-open\":_vm.resetPasswordDialogOpen},on:{\"close-reset-token-dialog\":_vm.closeResetPasswordDialog}}),_vm._v(\" \"),_c('div',{staticClass:\"user-profile-container\"},[_c('div',{staticClass:\"user-cards-container\"},[_c('el-card',{staticClass:\"user-profile-card\"},[_c('div',{staticClass:\"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition el-table--medium\"},[(!_vm.propertyExists(_vm.user, 'nickname'))?_c('el-tag',{staticClass:\"invalid-user-tag\",attrs:{\"type\":\"info\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.invalidAccount'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('table',{staticClass:\"user-profile-table\"},[_c('tbody',[_c('tr',{staticClass:\"el-table__row\"},[_c('td',{staticClass:\"name-col\"},[_vm._v(\"ID\")]),_vm._v(\" \"),_c('td',[_vm._v(\"\\n \"+_vm._s(_vm.user.id)+\"\\n \")])]),_vm._v(\" \"),_c('tr',{staticClass:\"el-table__row\"},[_c('td',[_vm._v(_vm._s(_vm.$t('userProfile.actorType')))]),_vm._v(\" \"),_c('td',[_c('el-tag',{attrs:{\"type\":_vm.userCredentials.actor_type === 'Person' ? 'success' : 'warning'}},[_vm._v(\"\\n \"+_vm._s(_vm.userCredentials.actor_type)+\"\\n \")])],1)]),_vm._v(\" \"),_c('tr',{staticClass:\"el-table__row\"},[_c('td',[_vm._v(_vm._s(_vm.$t('userProfile.tags')))]),_vm._v(\" \"),_c('td',[(_vm.user.tags.length === 0 || !_vm.propertyExists(_vm.user, 'tags'))?_c('span',[_vm._v(\"—\")]):_vm._l((_vm.user.tags),function(tag){return _c('el-tag',{key:tag,staticClass:\"user-profile-tag\"},[_vm._v(_vm._s(_vm.humanizeTag(tag)))])})],2)]),_vm._v(\" \"),_c('tr',{staticClass:\"el-table__row\"},[_c('td',[_vm._v(_vm._s(_vm.$t('userProfile.roles')))]),_vm._v(\" \"),_c('td',[(_vm.user.roles.admin)?_c('el-tag',{staticClass:\"user-profile-tag\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.admin'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.user.roles.moderator)?_c('el-tag',{staticClass:\"user-profile-tag\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.moderator'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(!_vm.propertyExists(_vm.user, 'roles') || (!_vm.user.roles.moderator && !_vm.user.roles.admin))?_c('span',[_vm._v(\"—\")]):_vm._e()],1)]),_vm._v(\" \"),_c('tr',{staticClass:\"el-table__row\"},[_c('td',[_vm._v(_vm._s(_vm.$t('userProfile.accountType')))]),_vm._v(\" \"),_c('td',[(_vm.user.local)?_c('el-tag',{attrs:{\"type\":\"info\"}},[_vm._v(_vm._s(_vm.$t('userProfile.local')))]):_vm._e(),_vm._v(\" \"),(!_vm.user.local)?_c('el-tag',{attrs:{\"type\":\"info\"}},[_vm._v(_vm._s(_vm.$t('userProfile.external')))]):_vm._e()],1)]),_vm._v(\" \"),_c('tr',{staticClass:\"el-table__row\"},[_c('td',[_vm._v(_vm._s(_vm.$t('userProfile.status')))]),_vm._v(\" \"),_c('td',[(!_vm.user.is_approved)?_c('el-tag',{attrs:{\"type\":\"info\"}},[_vm._v(_vm._s(_vm.$t('userProfile.pending')))]):_vm._e(),_vm._v(\" \"),(_vm.user.is_active && _vm.user.is_approved)?_c('el-tag',{attrs:{\"type\":\"success\"}},[_vm._v(_vm._s(_vm.$t('userProfile.active')))]):_vm._e(),_vm._v(\" \"),(!_vm.user.is_active)?_c('el-tag',{attrs:{\"type\":\"danger\"}},[_vm._v(_vm._s(_vm.$t('userProfile.deactivated')))]):_vm._e()],1)])])]),_vm._v(\" \"),(_vm.user.registration_reason)?_c('div',[_c('div',{staticClass:\"reason-label\"},[_vm._v(_vm._s(_vm.$t('userProfile.reason')))]),_vm._v(\"\\n \\\"\"+_vm._s(_vm.user.registration_reason)+\"\\\"\\n \")]):_vm._e()],1),_vm._v(\" \"),(_vm.propertyExists(_vm.user, 'nickname'))?_c('el-button',{staticClass:\"security-setting-button\",attrs:{\"icon\":\"el-icon-lock\"},on:{\"click\":function($event){_vm.securitySettingsModalVisible = true}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('userProfile.securitySettings.securitySettings'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.propertyExists(_vm.user, 'nickname'))?_c('SecuritySettingsModal',{attrs:{\"user\":_vm.user,\"visible\":_vm.securitySettingsModalVisible},on:{\"close\":function($event){_vm.securitySettingsModalVisible = false}}}):_vm._e()],1),_vm._v(\" \"),_c('el-card',{staticClass:\"user-chats-card\"},[_c('h2',{staticClass:\"chats\"},[_vm._v(_vm._s(_vm.$t('userProfile.chats')))]),_vm._v(\" \"),_c('div',{staticClass:\"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition el-table--medium\"},[_c('table',{staticClass:\"user-chats-table\"},[(!_vm.chatsLoading)?_c('tbody',{staticClass:\"chats\"},[(_vm.chats.length === 0)?_c('tr',{staticClass:\"no-statuses\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('userProfile.noChats'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.chats),function(chat){return _c('tr',{key:chat.id,staticClass:\"el-table__row chat-item\"},[_c('td',[(_vm.propertyExists(chat, 'id'))?_c('router-link',{staticClass:\"router-link\",attrs:{\"to\":{ name: 'ChatsShow', params: { id: chat.id }}}},[_c('div',{staticClass:\"chat-card-header\"},[(_vm.propertyExists(chat.receiver, 'avatar'))?_c('img',{staticClass:\"chat-avatar-img\",attrs:{\"src\":chat.receiver.avatar}}):_vm._e(),_vm._v(\" \"),(_vm.propertyExists(chat.receiver, 'username'))?_c('span',{staticClass:\"chat-account-name\"},[_vm._v(_vm._s(chat.receiver.username))]):_c('span',[(_vm.propertyExists(chat.receiver, 'username'))?_c('span',{staticClass:\"chat-account-name\"},[_vm._v(\"\\n \"+_vm._s(chat.receiver.username)+\"\\n \")]):_c('span',{staticClass:\"chat-account-name deactivated\"},[_vm._v(\"(\"+_vm._s(_vm.$t('users.invalidNickname'))+\")\")])])]),_vm._v(\" \"),_c('div',{staticClass:\"chat-card-preview\"},[(_vm.propertyExists(chat, 'last_message'))?_c('span',{staticClass:\"chat-preview\"},[_vm._v(_vm._s(chat.last_message.content))]):_vm._e()])]):_vm._e()],1)])})],2):_vm._e()])])])],1),_vm._v(\" \"),_c('div',{staticClass:\"recent-statuses-container\"},[_c('h2',{staticClass:\"recent-statuses\"},[_vm._v(_vm._s(_vm.$t('userProfile.recentStatuses')))]),_vm._v(\" \"),_c('el-checkbox',{staticClass:\"show-private-statuses\",on:{\"change\":_vm.onTogglePrivate},model:{value:(_vm.showPrivate),callback:function ($$v) {_vm.showPrivate=$$v},expression:\"showPrivate\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('statuses.showPrivateStatuses'))+\"\\n \")]),_vm._v(\" \"),(!_vm.statusesLoading)?_c('el-timeline',{staticClass:\"statuses\"},[_vm._l((_vm.statuses),function(status){return _c('el-timeline-item',{key:status.id},[_c('status',{attrs:{\"status\":status,\"account\":status.account,\"show-checkbox\":false,\"user-id\":_vm.user.id,\"godmode\":_vm.showPrivate}})],1)}),_vm._v(\" \"),(_vm.statuses.length === 0)?_c('p',{staticClass:\"no-statuses\"},[_vm._v(_vm._s(_vm.$t('userProfile.noStatuses')))]):_vm._e()],2):_vm._e()],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!./SecuritySettingsModal.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!./SecuritySettingsModal.vue?vue&type=script&lang=js&\"","<template>\n <el-dialog\n :before-close=\"close\"\n :title=\"$t('userProfile.securitySettings.securitySettings')\"\n :visible=\"visible\"\n class=\"security-settings-modal\">\n <el-form :model=\"securitySettingsForm\" :label-width=\"getLabelWidth\">\n <el-form-item :label=\"$t('userProfile.securitySettings.email')\">\n <el-input v-model=\"securitySettingsForm.newEmail\" :placeholder=\"$t('userProfile.securitySettings.inputNewEmail')\"/>\n </el-form-item>\n <el-form-item>\n <el-button\n :loading=\"securitySettingsForm.isEmailLoading\"\n :disabled=\"!securitySettingsForm.newEmail || securitySettingsForm.newEmail === userCredentials.email\"\n type=\"primary\"\n class=\"security-settings-submit-button\"\n @click=\"updateEmail()\">\n {{ $t('userProfile.securitySettings.submit') }}\n </el-button>\n </el-form-item>\n <el-form-item :label=\"$t('userProfile.securitySettings.password')\" class=\"password-input\">\n <el-input v-model=\"securitySettingsForm.newPassword\" :placeholder=\"$t('userProfile.securitySettings.inputNewPassword')\"/>\n <small class=\"form-text\">\n {{ $t('userProfile.securitySettings.passwordLengthNotice', { minLength: 8 }) }}\n </small>\n </el-form-item>\n <el-alert\n :closable=\"false\"\n type=\"warning\"\n show-icon\n class=\"password-alert\">\n <p>{{ $t('userProfile.securitySettings.passwordChangeWarning1') }}</p>\n <p>{{ $t('userProfile.securitySettings.passwordChangeWarning2') }}</p>\n </el-alert>\n <el-form-item>\n <el-button\n :loading=\"securitySettingsForm.isPasswordLoading\"\n :disabled=\"securitySettingsForm.newPassword.length < 8\"\n type=\"primary\"\n class=\"security-settings-submit-button\"\n @click=\"updatePassword()\">\n {{ $t('userProfile.securitySettings.submit') }}\n </el-button>\n </el-form-item>\n </el-form>\n </el-dialog>\n</template>\n\n<script>\nimport { Message } from 'element-ui'\n\nexport default {\n name: 'SecuritySettingsModal',\n props: {\n visible: {\n type: Boolean,\n default: false\n },\n user: {\n type: Object,\n default: function() {\n return {}\n }\n }\n },\n data() {\n return {\n securitySettingsForm: {\n newEmail: '',\n newPassword: '',\n isEmailLoading: false,\n isPasswordLoading: false\n }\n }\n },\n computed: {\n isDesktop() {\n return this.$store.state.app.device === 'desktop'\n },\n getLabelWidth() {\n return this.isDesktop ? '120px' : '85px'\n },\n userCredentials() {\n return this.$store.state.userProfile.userCredentials\n }\n },\n mounted: async function() {\n await this.$store.dispatch('FetchUserCredentials', { nickname: this.user.nickname })\n this.securitySettingsForm.newEmail = this.userCredentials.email\n },\n methods: {\n async updateEmail() {\n const credentials = { email: this.securitySettingsForm.newEmail }\n this.securitySettingsForm.isEmailLoading = true\n await this.$store.dispatch('UpdateUserCredentials', { nickname: this.user.nickname, credentials })\n this.securitySettingsForm.isEmailLoading = false\n Message({\n message: this.$t('userProfile.securitySettings.emailUpdated'),\n type: 'success',\n duration: 5 * 1000\n })\n },\n async updatePassword() {\n const credentials = { password: this.securitySettingsForm.newPassword }\n this.securitySettingsForm.isPasswordLoading = true\n await this.$store.dispatch('UpdateUserCredentials', { nickname: this.user.nickname, credentials })\n this.securitySettingsForm.isPasswordLoading = false\n this.securitySettingsForm.newPassword = ''\n Message({\n message: this.$t('userProfile.securitySettings.passwordUpdated'),\n type: 'success',\n duration: 5 * 1000\n })\n },\n close() {\n this.$emit('close', true)\n }\n }\n}\n</script>\n\n<style rel='stylesheet/scss' lang='scss'>\n.security-settings-container {\n display: flex;\n label {\n width: 15%;\n height: 36px;\n }\n}\n.security-settings-modal {\n .el-dialog__body {\n padding-top: 10px;\n }\n .el-form-item {\n margin-bottom: 15px;\n }\n .password-alert {\n margin-bottom: 15px;\n }\n .password-input {\n margin-bottom: 0;\n }\n}\n.security-settings-submit-button {\n float: right;\n}\n\n@media all and (max-width: 800px) {\n .security-settings-modal {\n .el-dialog {\n width: 90%;\n }\n }\n}\n\n.security-settings-modal {\n .el-alert .el-alert__description {\n word-break: break-word;\n font-size: 1em;\n }\n\n .form-text {\n display: block;\n margin-top: .25rem;\n color: #909399;\n }\n}\n</style>\n","import { render, staticRenderFns } from \"./SecuritySettingsModal.vue?vue&type=template&id=7fb08478&\"\nimport script from \"./SecuritySettingsModal.vue?vue&type=script&lang=js&\"\nexport * from \"./SecuritySettingsModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SecuritySettingsModal.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 = \"SecuritySettingsModal.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:\"security-settings-modal\",attrs:{\"before-close\":_vm.close,\"title\":_vm.$t('userProfile.securitySettings.securitySettings'),\"visible\":_vm.visible}},[_c('el-form',{attrs:{\"model\":_vm.securitySettingsForm,\"label-width\":_vm.getLabelWidth}},[_c('el-form-item',{attrs:{\"label\":_vm.$t('userProfile.securitySettings.email')}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('userProfile.securitySettings.inputNewEmail')},model:{value:(_vm.securitySettingsForm.newEmail),callback:function ($$v) {_vm.$set(_vm.securitySettingsForm, \"newEmail\", $$v)},expression:\"securitySettingsForm.newEmail\"}})],1),_vm._v(\" \"),_c('el-form-item',[_c('el-button',{staticClass:\"security-settings-submit-button\",attrs:{\"loading\":_vm.securitySettingsForm.isEmailLoading,\"disabled\":!_vm.securitySettingsForm.newEmail || _vm.securitySettingsForm.newEmail === _vm.userCredentials.email,\"type\":\"primary\"},on:{\"click\":function($event){return _vm.updateEmail()}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('userProfile.securitySettings.submit'))+\"\\n \")])],1),_vm._v(\" \"),_c('el-form-item',{staticClass:\"password-input\",attrs:{\"label\":_vm.$t('userProfile.securitySettings.password')}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('userProfile.securitySettings.inputNewPassword')},model:{value:(_vm.securitySettingsForm.newPassword),callback:function ($$v) {_vm.$set(_vm.securitySettingsForm, \"newPassword\", $$v)},expression:\"securitySettingsForm.newPassword\"}}),_vm._v(\" \"),_c('small',{staticClass:\"form-text\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('userProfile.securitySettings.passwordLengthNotice', { minLength: 8 }))+\"\\n \")])],1),_vm._v(\" \"),_c('el-alert',{staticClass:\"password-alert\",attrs:{\"closable\":false,\"type\":\"warning\",\"show-icon\":\"\"}},[_c('p',[_vm._v(_vm._s(_vm.$t('userProfile.securitySettings.passwordChangeWarning1')))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('userProfile.securitySettings.passwordChangeWarning2')))])]),_vm._v(\" \"),_c('el-form-item',[_c('el-button',{staticClass:\"security-settings-submit-button\",attrs:{\"loading\":_vm.securitySettingsForm.isPasswordLoading,\"disabled\":_vm.securitySettingsForm.newPassword.length < 8,\"type\":\"primary\"},on:{\"click\":function($event){return _vm.updatePassword()}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('userProfile.securitySettings.submit'))+\"\\n \")])],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!./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 <main v-if=\"!userProfileLoading\">\n <header v-if=\"isDesktop || isTablet\" class=\"user-page-header\">\n <div class=\"avatar-name-container\">\n <el-avatar v-if=\"propertyExists(user, 'avatar')\" :src=\"user.avatar\" size=\"large\" />\n <h1 v-if=\"propertyExists(user, 'nickname')\">{{ user.nickname }}</h1>\n <h1 v-else class=\"invalid\">({{ $t('users.invalidNickname') }})</h1>\n <a v-if=\"propertyExists(user, 'url')\" :href=\"user.url\" target=\"_blank\">\n <i :title=\"$t('userProfile.openAccountInInstance')\" class=\"el-icon-top-right\"/>\n </a>\n </div>\n <div class=\"left-header-container\">\n <moderation-dropdown\n v-if=\"propertyExists(user, 'nickname')\"\n :user=\"user\"\n :page=\"'userPage'\"\n @open-reset-token-dialog=\"openResetPasswordDialog\"/>\n <reboot-button/>\n </div>\n </header>\n <div v-if=\"isMobile\" class=\"user-page-header-container\">\n <header class=\"user-page-header\">\n <div class=\"avatar-name-container\">\n <el-avatar v-if=\"propertyExists(user, 'avatar')\" :src=\"user.avatar\" size=\"large\" />\n <h1 v-if=\"propertyExists(user, 'nickname')\">{{ user.nickname }}</h1>\n <h1 v-else class=\"invalid\">({{ $t('users.invalidNickname') }})</h1>\n </div>\n <reboot-button/>\n </header>\n <moderation-dropdown\n v-if=\"propertyExists(user, 'nickname')\"\n :user=\"user\"\n :page=\"'userPage'\"\n @open-reset-token-dialog=\"openResetPasswordDialog\"/>\n </div>\n <reset-password-dialog\n :reset-password-dialog-open=\"resetPasswordDialogOpen\"\n @close-reset-token-dialog=\"closeResetPasswordDialog\"/>\n <div class=\"user-profile-container\">\n <div class=\"user-cards-container\">\n <el-card class=\"user-profile-card\">\n <div class=\"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition el-table--medium\">\n <el-tag v-if=\"!propertyExists(user, 'nickname')\" type=\"info\" class=\"invalid-user-tag\">\n {{ $t('users.invalidAccount') }}\n </el-tag>\n <table class=\"user-profile-table\">\n <tbody>\n <tr class=\"el-table__row\">\n <td class=\"name-col\">ID</td>\n <td>\n {{ user.id }}\n </td>\n </tr>\n <tr class=\"el-table__row\">\n <td>{{ $t('userProfile.actorType') }}</td>\n <td>\n <el-tag\n :type=\"userCredentials.actor_type === 'Person' ? 'success' : 'warning'\">\n {{ userCredentials.actor_type }}\n </el-tag>\n </td>\n </tr>\n <tr class=\"el-table__row\">\n <td>{{ $t('userProfile.tags') }}</td>\n <td>\n <span v-if=\"user.tags.length === 0 || !propertyExists(user, 'tags')\">—</span>\n <el-tag v-for=\"tag in user.tags\" v-else :key=\"tag\" class=\"user-profile-tag\">{{ humanizeTag(tag) }}</el-tag>\n </td>\n </tr>\n <tr class=\"el-table__row\">\n <td>{{ $t('userProfile.roles') }}</td>\n <td>\n <el-tag v-if=\"user.roles.admin\" class=\"user-profile-tag\">\n {{ $t('users.admin') }}\n </el-tag>\n <el-tag v-if=\"user.roles.moderator\" class=\"user-profile-tag\">\n {{ $t('users.moderator') }}\n </el-tag>\n <span v-if=\"!propertyExists(user, 'roles') || (!user.roles.moderator && !user.roles.admin)\">—</span>\n </td>\n </tr>\n <tr class=\"el-table__row\">\n <td>{{ $t('userProfile.accountType') }}</td>\n <td>\n <el-tag v-if=\"user.local\" type=\"info\">{{ $t('userProfile.local') }}</el-tag>\n <el-tag v-if=\"!user.local\" type=\"info\">{{ $t('userProfile.external') }}</el-tag>\n </td>\n </tr>\n <tr class=\"el-table__row\">\n <td>{{ $t('userProfile.status') }}</td>\n <td>\n <el-tag v-if=\"!user.is_approved\" type=\"info\">{{ $t('userProfile.pending') }}</el-tag>\n <el-tag v-if=\"user.is_active && user.is_approved\" type=\"success\">{{ $t('userProfile.active') }}</el-tag>\n <el-tag v-if=\"!user.is_active\" type=\"danger\">{{ $t('userProfile.deactivated') }}</el-tag>\n </td>\n </tr>\n </tbody>\n </table>\n <div v-if=\"user.registration_reason\">\n <div class=\"reason-label\">{{ $t('userProfile.reason') }}</div>\n \"{{ user.registration_reason }}\"\n </div>\n </div>\n <el-button v-if=\"propertyExists(user, 'nickname')\" icon=\"el-icon-lock\" class=\"security-setting-button\" @click=\"securitySettingsModalVisible = true\">\n {{ $t('userProfile.securitySettings.securitySettings') }}\n </el-button>\n <SecuritySettingsModal\n v-if=\"propertyExists(user, 'nickname')\"\n :user=\"user\"\n :visible=\"securitySettingsModalVisible\"\n @close=\"securitySettingsModalVisible = false\" />\n </el-card>\n <el-card class=\"user-chats-card\">\n <h2 class=\"chats\">{{ $t('userProfile.chats') }}</h2>\n <div class=\"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition el-table--medium\">\n <table class=\"user-chats-table\">\n <tbody v-if=\"!chatsLoading\" class=\"chats\">\n <tr v-if=\"chats.length === 0\" class=\"no-statuses\">\n {{ $t('userProfile.noChats') }}\n </tr>\n <tr v-for=\"chat in chats\" :key=\"chat.id\" class=\"el-table__row chat-item\">\n <td>\n <router-link\n v-if=\"propertyExists(chat, 'id')\"\n :to=\"{ name: 'ChatsShow', params: { id: chat.id }}\"\n class=\"router-link\">\n <div class=\"chat-card-header\">\n <img v-if=\"propertyExists(chat.receiver, 'avatar')\" :src=\"chat.receiver.avatar\" class=\"chat-avatar-img\">\n <span v-if=\"propertyExists(chat.receiver, 'username')\" class=\"chat-account-name\">{{ chat.receiver.username }}</span>\n <span v-else>\n <span v-if=\"propertyExists(chat.receiver, 'username')\" class=\"chat-account-name\">\n {{ chat.receiver.username }}\n </span>\n <span v-else class=\"chat-account-name deactivated\">({{ $t('users.invalidNickname') }})</span>\n </span>\n </div>\n <div class=\"chat-card-preview\">\n <span v-if=\"propertyExists(chat, 'last_message')\" class=\"chat-preview\">{{ chat.last_message.content }}</span>\n </div>\n </router-link>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </el-card>\n </div>\n <div class=\"recent-statuses-container\">\n <h2 class=\"recent-statuses\">{{ $t('userProfile.recentStatuses') }}</h2>\n <el-checkbox v-model=\"showPrivate\" class=\"show-private-statuses\" @change=\"onTogglePrivate\">\n {{ $t('statuses.showPrivateStatuses') }}\n </el-checkbox>\n <el-timeline v-if=\"!statusesLoading\" class=\"statuses\">\n <el-timeline-item v-for=\"status in statuses\" :key=\"status.id\">\n <status :status=\"status\" :account=\"status.account\" :show-checkbox=\"false\" :user-id=\"user.id\" :godmode=\"showPrivate\"/>\n </el-timeline-item>\n <p v-if=\"statuses.length === 0\" class=\"no-statuses\">{{ $t('userProfile.noStatuses') }}</p>\n </el-timeline>\n </div>\n </div>\n </main>\n</template>\n\n<script>\nimport Status from '@/components/Status'\nimport ModerationDropdown from './components/ModerationDropdown'\nimport SecuritySettingsModal from './components/SecuritySettingsModal'\nimport RebootButton from '@/components/RebootButton'\nimport ResetPasswordDialog from './components/ResetPasswordDialog'\n\nexport default {\n name: 'UsersShow',\n components: { ModerationDropdown, RebootButton, ResetPasswordDialog, Status, SecuritySettingsModal },\n data() {\n return {\n showPrivate: false,\n resetPasswordDialogOpen: false,\n securitySettingsModalVisible: false\n }\n },\n computed: {\n isDesktop() {\n return this.$store.state.app.device === 'desktop'\n },\n isMobile() {\n return this.$store.state.app.device === 'mobile'\n },\n isTablet() {\n return this.$store.state.app.device === 'tablet'\n },\n loading() {\n return this.$store.state.users.loading\n },\n statuses() {\n return this.$store.state.userProfile.statuses\n },\n statusesLoading() {\n return this.$store.state.userProfile.statusesLoading\n },\n chats() {\n return this.$store.state.userProfile.chats\n },\n chatsLoading() {\n return this.$store.state.userProfile.chatsLoading\n },\n user() {\n return this.$store.state.userProfile.user\n },\n userProfileLoading() {\n return this.$store.state.userProfile.userProfileLoading\n },\n userCredentials() {\n return this.$store.state.userProfile.userCredentials\n }\n },\n mounted: function() {\n this.$store.dispatch('NeedReboot')\n this.$store.dispatch('GetNodeInfo')\n this.$store.dispatch('FetchUserProfile', { userId: this.$route.params.id, godmode: false })\n },\n methods: {\n closeResetPasswordDialog() {\n this.resetPasswordDialogOpen = false\n this.$store.dispatch('RemovePasswordToken')\n },\n humanizeTag(tag) {\n const mapTags = {\n 'mrf_tag:media-force-nsfw': 'Force NSFW',\n 'mrf_tag:media-strip': 'Strip Media',\n 'mrf_tag:force-unlisted': 'Force Unlisted',\n 'mrf_tag:sandbox': 'Sandbox',\n 'mrf_tag:disable-remote-subscription': 'Disable remote subscription',\n 'mrf_tag:disable-any-subscription': 'Disable any subscription'\n }\n return mapTags[tag]\n },\n onTogglePrivate() {\n this.$store.dispatch('FetchUserProfile', { userId: this.$route.params.id, godmode: this.showPrivate })\n },\n openResetPasswordDialog() {\n this.resetPasswordDialogOpen = true\n },\n propertyExists(account, property) {\n return account[property]\n }\n }\n}\n</script>\n\n<style rel='stylesheet/scss' lang='scss'>\nheader {\n align-items: center;\n display: flex;\n margin: 22px 0;\n padding-left: 15px;\n h1 {\n margin: 0 0 0 10px;\n }\n}\ntable {\n margin: 10px 0 0 15px;\n .name-col {\n width: 150px;\n }\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.invalid {\n color: gray;\n}\n.el-table--border::after, .el-table--group::after, .el-table::before {\n background-color: transparent;\n}\n.image {\n width: 20%;\n img {\n width: 100%;\n }\n}\n.invalid-user-tag {\n font-size: 14px;\n width: inherit;\n height: auto;\n text-align: center;\n word-wrap: break-word;\n white-space: normal;\n}\n.left-header-container {\n align-items: center;\n display: flex;\n justify-content: space-between;\n}\n.no-statuses {\n margin-left: 28px;\n color: #606266;\n}\n.password-reset-token {\n margin: 0 0 14px 0;\n}\n.password-reset-token-dialog {\n width: 50%\n}\n.poll ul {\n list-style-type: none;\n padding: 0;\n width: 30%;\n}\n.reboot-button {\n padding: 10px;\n margin-left: 10px;\n}\n.recent-statuses-container {\n display: flex;\n flex-direction: column;\n width: 67%;\n}\n.recent-statuses-header {\n margin-top: 10px;\n}\n.reset-password-link {\n text-decoration: underline;\n}\n.security-setting-button {\n margin-top: 20px;\n width: 100%;\n}\n.statuses {\n padding: 0 20px 0 0;\n}\n.show-private {\n width: 200px;\n text-align: left;\n line-height: 67px;\n margin-right: 20px;\n}\n.show-private-statuses {\n margin-left: 28px;\n margin-bottom: 20px;\n}\n.recent-statuses {\n margin-left: 28px;\n}\n.user-page-header {\n display: flex;\n justify-content: space-between;\n margin: 22px 15px 22px 20px;\n padding: 0;\n align-items: center;\n h1 {\n display: inline\n }\n}\n.user-cards-container {\n display: flex;\n flex-direction: column;\n width: 30%;\n min-width: 300px;\n margin: 0 20px;\n}\n.user-profile-card {\n height: fit-content;\n width: auto;\n margin-bottom: 20px;\n}\n.user-chats-card {\n width: auto;\n height: fit-content;\n margin-bottom: 20px;\n}\n.user-profile-container {\n display: flex;\n}\n.user-profile-table {\n margin: 0;\n width: inherit;\n}\n.user-chats-table {\n width: 100%;\n}\n.user-profile-tag {\n margin: 0 4px 4px 0;\n}\n.reason-label {\n color: #878d99;\n font-weight: bold;\n margin: 5px 0;\n}\n.chat-card-header {\n display: flex;\n align-items: center;\n}\n.chat-avatar-img {\n display: inline-block;\n width: 15px;\n height: 15px;\n margin-right: 5px;\n}\n.chat-account-name {\n display: inline-block;\n margin: 0;\n font-size: 15px;\n font-weight: 500;\n}\n.chat-card-preview {\n color: gray;\n font-style: italic;\n margin: 5px 0 0 20px;\n}\n\n@media only screen and (max-width:480px) {\n .avatar-name-container {\n margin-bottom: 10px;\n }\n .el-timeline-item__wrapper {\n padding-left: 18px;\n }\n .password-reset-token-dialog {\n width: 85%\n }\n .recent-statuses {\n margin: 20px 10px 15px 10px;\n }\n .recent-statuses-container {\n width: 100%;\n margin: 0;\n }\n .show-private-statuses {\n margin: 0 10px 20px 10px;\n }\n .status-container {\n margin: 0 10px;\n }\n .statuses {\n padding-right: 10px;\n margin-left: 8px;\n }\n .user-page-header {\n padding: 0;\n margin: 7px 15px 15px 10px;\n }\n .user-page-header-container {\n .el-dropdown {\n width: 95%;\n margin: 0 15px 15px 10px;\n }\n }\n .user-profile-card, .user-chats-card {\n margin: 0 10px 20px;\n width: 95%;\n td {\n width: 80px;\n }\n }\n .user-profile-container {\n flex-direction: column;\n }\n .user-cards-container {\n width: 100%;\n margin: 0;\n }\n}\n\n@media only screen and (max-width:801px) and (min-width: 481px) {\n .recent-statuses {\n margin: 20px 10px 15px 0;\n }\n .recent-statuses-container {\n width: 97%;\n margin: 0 20px;\n }\n .show-private-statuses {\n margin: 0 10px 20px 0;\n }\n .user-page-header {\n padding: 0;\n margin: 7px 15px 20px 20px;\n }\n .user-profile-container {\n flex-direction: column;\n }\n .user-cards-container {\n width: 66%;\n padding-left: 28px;\n }\n}\n</style>\n","import { render, staticRenderFns } from \"./show.vue?vue&type=template&id=6246172a&\"\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!./ModerationDropdown.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!./ModerationDropdown.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&\"","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!./index.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!./index.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-bd\": \"loYQ\",\n\t\"./bn-bd.js\": \"loYQ\",\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-mx\": \"tbfe\",\n\t\"./es-mx.js\": \"tbfe\",\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-dialog',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],attrs:{\"visible\":_vm.dialogOpen,\"title\":_vm.$t('users.passwordResetTokenCreated'),\"custom-class\":\"password-reset-token-dialog\"},on:{\"close\":_vm.closeResetPasswordDialog}},[_c('div',[_c('p',{staticClass:\"password-reset-token\"},[_vm._v(_vm._s(_vm.$t('users.passwordResetTokenGenerated'))+\" \"+_vm._s(_vm.passwordResetToken))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('users.linkToResetPassword'))+\"\\n \"),_c('a',{staticClass:\"reset-password-link\",attrs:{\"href\":_vm.passwordResetLink,\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.passwordResetLink))])])])])}\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!./ResetPasswordDialog.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!./ResetPasswordDialog.vue?vue&type=script&lang=js&\"","<template>\n <el-dialog\n v-loading=\"loading\"\n :visible=\"dialogOpen\"\n :title=\"$t('users.passwordResetTokenCreated')\"\n custom-class=\"password-reset-token-dialog\"\n @close=\"closeResetPasswordDialog\">\n <div>\n <p class=\"password-reset-token\">{{ $t('users.passwordResetTokenGenerated') }} {{ passwordResetToken }}</p>\n <p>{{ $t('users.linkToResetPassword') }}\n <a :href=\"passwordResetLink\" target=\"_blank\" class=\"reset-password-link\">{{ passwordResetLink }}</a>\n </p>\n </div>\n </el-dialog>\n</template>\n\n<script>\nexport default {\n name: 'ResetPasswordDialog',\n props: {\n resetPasswordDialogOpen: {\n type: Boolean,\n default: false\n }\n },\n computed: {\n dialogOpen() {\n return this.resetPasswordDialogOpen\n },\n loading() {\n return this.$store.state.users.loading\n },\n passwordResetLink() {\n return this.$store.state.users.passwordResetToken.link\n },\n passwordResetToken() {\n return this.$store.state.users.passwordResetToken.token\n }\n },\n methods: {\n closeResetPasswordDialog() {\n this.$emit('close-reset-token-dialog')\n }\n }\n}\n</script>\n\n","import { render, staticRenderFns } from \"./ResetPasswordDialog.vue?vue&type=template&id=e7d3eed4&\"\nimport script from \"./ResetPasswordDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ResetPasswordDialog.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\ncomponent.options.__file = \"ResetPasswordDialog.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.status.deleted)?_c('el-card',{staticClass:\"status-card\",nativeOn:{\"click\":function($event){return _vm.handleRouteChange()}}},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('div',{staticClass:\"status-header\"},[_c('div',{staticClass:\"status-account-container\"},[_c('div',{staticClass:\"status-account\"},[(_vm.showCheckbox)?_c('el-checkbox',{staticClass:\"status-checkbox\",on:{\"change\":function($event){return _vm.handleStatusSelection(_vm.account)}}}):_vm._e(),_vm._v(\" \"),(_vm.propertyExists(_vm.account, 'id'))?_c('router-link',{staticClass:\"router-link\",attrs:{\"to\":{ name: 'UsersShow', params: { id: _vm.account.id }}},nativeOn:{\"click\":function($event){$event.stopPropagation();}}},[_c('div',{staticClass:\"status-card-header\"},[(_vm.propertyExists(_vm.account, 'avatar'))?_c('img',{staticClass:\"status-avatar-img\",attrs:{\"src\":_vm.account.avatar}}):_vm._e(),_vm._v(\" \"),(_vm.propertyExists(_vm.account, 'nickname'))?_c('span',{staticClass:\"status-account-name\"},[_vm._v(_vm._s(_vm.account.nickname))]):_c('span',[(_vm.propertyExists(_vm.account, 'nickname'))?_c('span',{staticClass:\"status-account-name\"},[_vm._v(\"\\n \"+_vm._s(_vm.account.nickname)+\"\\n \")]):_c('span',{staticClass:\"status-account-name deactivated\"},[_vm._v(\"(\"+_vm._s(_vm.$t('users.invalidNickname'))+\")\")])])])]):_vm._e()],1)]),_vm._v(\" \"),(_vm.isPrivileged(['messages_delete'], []))?_c('div',{staticClass:\"status-actions\"},[_c('div',{staticClass:\"status-tags\"},[(_vm.status.sensitive)?_c('el-tag',{attrs:{\"type\":\"warning\",\"size\":\"large\"}},[_vm._v(_vm._s(_vm.$t('reports.sensitive')))]):_vm._e(),_vm._v(\" \"),_c('el-tag',{attrs:{\"size\":\"large\"}},[_vm._v(_vm._s(_vm.capitalizeFirstLetter(_vm.status.visibility)))])],1),_vm._v(\" \"),_c('el-dropdown',{attrs:{\"trigger\":\"click\"},nativeOn:{\"click\":function($event){$event.stopPropagation();}}},[_c('el-button',{staticClass:\"status-actions-button\",attrs:{\"plain\":\"\",\"size\":\"small\",\"icon\":\"el-icon-edit\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('reports.changeScope'))),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})]),_vm._v(\" \"),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[(!_vm.status.sensitive)?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.changeStatus(_vm.status.id, true, _vm.status.visibility)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('reports.addSensitive'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.status.sensitive)?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.changeStatus(_vm.status.id, false, _vm.status.visibility)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('reports.removeSensitive'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.status.visibility !== 'public')?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.changeStatus(_vm.status.id, _vm.status.sensitive, 'public')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('reports.public'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.status.visibility !== 'private')?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.changeStatus(_vm.status.id, _vm.status.sensitive, 'private')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('reports.private'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.status.visibility !== 'unlisted')?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.changeStatus(_vm.status.id, _vm.status.sensitive, 'unlisted')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('reports.unlisted'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.deleteStatus(_vm.status.id)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('reports.deleteStatus'))+\"\\n \")])],1)],1)],1):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"status-body\"},[(_vm.status.spoiler_text)?_c('div',[_c('strong',[_vm._v(_vm._s(_vm.status.spoiler_text))]),_vm._v(\" \"),(!_vm.showHiddenStatus)?_c('el-button',{staticClass:\"show-more-button\",attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.showHiddenStatus = true}}},[_vm._v(\"Show more\")]):_vm._e(),_vm._v(\" \"),(_vm.showHiddenStatus)?_c('el-button',{staticClass:\"show-more-button\",attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.showHiddenStatus = false}}},[_vm._v(\"Show less\")]):_vm._e(),_vm._v(\" \"),(_vm.showHiddenStatus)?_c('div',[_c('span',{staticClass:\"status-content\",domProps:{\"innerHTML\":_vm._s(_vm.status.content)}}),_vm._v(\" \"),(_vm.status.poll)?_c('div',{staticClass:\"poll\"},[_c('ul',_vm._l((_vm.status.poll.options),function(option,index){return _c('li',{key:index},[_vm._v(\"\\n \"+_vm._s(option.title)+\"\\n \"),_c('el-progress',{attrs:{\"percentage\":_vm.optionPercent(_vm.status.poll, option)}})],1)}),0)]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.status.media_attachments),function(attachment,index){return _c('div',{key:index,staticClass:\"image\"},[_c('img',{attrs:{\"src\":attachment.preview_url}})])})],2):_vm._e()],1):_vm._e(),_vm._v(\" \"),(!_vm.status.spoiler_text)?_c('div',[_c('span',{staticClass:\"status-content\",domProps:{\"innerHTML\":_vm._s(_vm.status.content)}}),_vm._v(\" \"),(_vm.status.poll)?_c('div',{staticClass:\"poll\"},[_c('ul',_vm._l((_vm.status.poll.options),function(option,index){return _c('li',{key:index},[_vm._v(\"\\n \"+_vm._s(option.title)+\"\\n \"),_c('el-progress',{attrs:{\"percentage\":_vm.optionPercent(_vm.status.poll, option)}})],1)}),0)]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.status.media_attachments),function(attachment,index){return _c('div',{key:index,staticClass:\"image\"},[_c('img',{attrs:{\"src\":attachment.preview_url}})])})],2):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"status-footer\"},[_c('span',{staticClass:\"status-created-at\"},[_vm._v(_vm._s(_vm.parseTimestamp(_vm.status.created_at)))]),_vm._v(\" \"),(_vm.status.url)?_c('a',{staticClass:\"account\",attrs:{\"href\":_vm.status.url,\"target\":\"_blank\"},on:{\"click\":function($event){$event.stopPropagation();}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('statuses.openStatusInInstance'))+\"\\n \"),_c('i',{staticClass:\"el-icon-top-right\"})]):_vm._e()])])]):_c('el-card',{staticClass:\"status-card\"},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('div',{staticClass:\"status-header\"},[_c('div',{staticClass:\"status-account-container\"},[_c('div',{staticClass:\"status-account\"},[_c('h4',{staticClass:\"status-deleted\"},[_vm._v(_vm._s(_vm.$t('reports.statusDeleted')))])])])])]),_vm._v(\" \"),_c('div',{staticClass:\"status-body\"},[(_vm.status.content)?_c('span',{staticClass:\"status-content\",domProps:{\"innerHTML\":_vm._s(_vm.status.content)}}):_c('span',{staticClass:\"status-without-content\"},[_vm._v(\"no content\")])]),_vm._v(\" \"),_c('div',{staticClass:\"status-footer\"},[(_vm.status.created_at)?_c('span',{staticClass:\"status-created-at\"},[_vm._v(_vm._s(_vm.parseTimestamp(_vm.status.created_at)))]):_vm._e(),_vm._v(\" \"),(_vm.status.url)?_c('a',{staticClass:\"account\",attrs:{\"href\":_vm.status.url,\"target\":\"_blank\"},on:{\"click\":function($event){$event.stopPropagation();}}},[_vm._v(\"\\n Open status in instance\\n \"),_c('i',{staticClass:\"el-icon-top-right\"})]):_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!./index.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!./index.vue?vue&type=script&lang=js&\"","<template>\n <el-card v-if=\"!status.deleted\" class=\"status-card\" @click.native=\"handleRouteChange()\">\n <div slot=\"header\">\n <div class=\"status-header\">\n <div class=\"status-account-container\">\n <div class=\"status-account\">\n <el-checkbox v-if=\"showCheckbox\" class=\"status-checkbox\" @change=\"handleStatusSelection(account)\"/>\n <router-link\n v-if=\"propertyExists(account, 'id')\"\n :to=\"{ name: 'UsersShow', params: { id: account.id }}\"\n class=\"router-link\"\n @click.native.stop>\n <div class=\"status-card-header\">\n <img v-if=\"propertyExists(account, 'avatar')\" :src=\"account.avatar\" class=\"status-avatar-img\">\n <span v-if=\"propertyExists(account, 'nickname')\" class=\"status-account-name\">{{ account.nickname }}</span>\n <span v-else>\n <span v-if=\"propertyExists(account, 'nickname')\" class=\"status-account-name\">\n {{ account.nickname }}\n </span>\n <span v-else class=\"status-account-name deactivated\">({{ $t('users.invalidNickname') }})</span>\n </span>\n </div>\n </router-link>\n </div>\n </div>\n <div v-if=\"isPrivileged(['messages_delete'], [])\" class=\"status-actions\">\n <div class=\"status-tags\">\n <el-tag v-if=\"status.sensitive\" type=\"warning\" size=\"large\">{{ $t('reports.sensitive') }}</el-tag>\n <el-tag size=\"large\">{{ capitalizeFirstLetter(status.visibility) }}</el-tag>\n </div>\n <el-dropdown trigger=\"click\" @click.native.stop>\n <el-button plain size=\"small\" icon=\"el-icon-edit\" class=\"status-actions-button\">\n {{ $t('reports.changeScope') }}<i class=\"el-icon-arrow-down el-icon--right\"/>\n </el-button>\n <el-dropdown-menu slot=\"dropdown\">\n <el-dropdown-item\n v-if=\"!status.sensitive\"\n @click.native=\"changeStatus(status.id, true, status.visibility)\">\n {{ $t('reports.addSensitive') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"status.sensitive\"\n @click.native=\"changeStatus(status.id, false, status.visibility)\">\n {{ $t('reports.removeSensitive') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"status.visibility !== 'public'\"\n @click.native=\"changeStatus(status.id, status.sensitive, 'public')\">\n {{ $t('reports.public') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"status.visibility !== 'private'\"\n @click.native=\"changeStatus(status.id, status.sensitive, 'private')\">\n {{ $t('reports.private') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"status.visibility !== 'unlisted'\"\n @click.native=\"changeStatus(status.id, status.sensitive, 'unlisted')\">\n {{ $t('reports.unlisted') }}\n </el-dropdown-item>\n <el-dropdown-item\n @click.native=\"deleteStatus(status.id)\">\n {{ $t('reports.deleteStatus') }}\n </el-dropdown-item>\n </el-dropdown-menu>\n </el-dropdown>\n </div>\n </div>\n </div>\n <div class=\"status-body\">\n <div v-if=\"status.spoiler_text\">\n <strong>{{ status.spoiler_text }}</strong>\n <el-button v-if=\"!showHiddenStatus\" size=\"mini\" class=\"show-more-button\" @click=\"showHiddenStatus = true\">Show more</el-button>\n <el-button v-if=\"showHiddenStatus\" size=\"mini\" class=\"show-more-button\" @click=\"showHiddenStatus = false\">Show less</el-button>\n <div v-if=\"showHiddenStatus\">\n <span class=\"status-content\" v-html=\"status.content\"/>\n <div v-if=\"status.poll\" class=\"poll\">\n <ul>\n <li v-for=\"(option, index) in status.poll.options\" :key=\"index\">\n {{ option.title }}\n <el-progress :percentage=\"optionPercent(status.poll, option)\" />\n </li>\n </ul>\n </div>\n <div v-for=\"(attachment, index) in status.media_attachments\" :key=\"index\" class=\"image\">\n <img :src=\"attachment.preview_url\">\n </div>\n </div>\n </div>\n <div v-if=\"!status.spoiler_text\">\n <span class=\"status-content\" v-html=\"status.content\"/>\n <div v-if=\"status.poll\" class=\"poll\">\n <ul>\n <li v-for=\"(option, index) in status.poll.options\" :key=\"index\">\n {{ option.title }}\n <el-progress :percentage=\"optionPercent(status.poll, option)\" />\n </li>\n </ul>\n </div>\n <div v-for=\"(attachment, index) in status.media_attachments\" :key=\"index\" class=\"image\">\n <img :src=\"attachment.preview_url\">\n </div>\n </div>\n <div class=\"status-footer\">\n <span class=\"status-created-at\">{{ parseTimestamp(status.created_at) }}</span>\n <a v-if=\"status.url\" :href=\"status.url\" target=\"_blank\" class=\"account\" @click.stop>\n {{ $t('statuses.openStatusInInstance') }}\n <i class=\"el-icon-top-right\"/>\n </a>\n </div>\n </div>\n </el-card>\n <el-card v-else class=\"status-card\">\n <div slot=\"header\">\n <div class=\"status-header\">\n <div class=\"status-account-container\">\n <div class=\"status-account\">\n <h4 class=\"status-deleted\">{{ $t('reports.statusDeleted') }}</h4>\n </div>\n </div>\n </div>\n </div>\n <div class=\"status-body\">\n <span v-if=\"status.content\" class=\"status-content\" v-html=\"status.content\"/>\n <span v-else class=\"status-without-content\">no content</span>\n </div>\n <div class=\"status-footer\">\n <span v-if=\"status.created_at\" class=\"status-created-at\">{{ parseTimestamp(status.created_at) }}</span>\n <a v-if=\"status.url\" :href=\"status.url\" target=\"_blank\" class=\"account\" @click.stop>\n Open status in instance\n <i class=\"el-icon-top-right\"/>\n </a>\n </div>\n </el-card>\n</template>\n\n<script>\nimport moment from 'moment'\n\nexport default {\n name: 'Status',\n props: {\n account: {\n type: Object,\n required: false,\n default: () => { return {} }\n },\n fetchStatusesByInstance: {\n type: Boolean,\n required: false,\n default: false\n },\n showCheckbox: {\n type: Boolean,\n required: true,\n default: false\n },\n status: {\n type: Object,\n required: true\n },\n page: {\n type: Number,\n required: false,\n default: 0\n },\n userId: {\n type: String,\n required: false,\n default: ''\n },\n godmode: {\n type: Boolean,\n required: false,\n default: false\n }\n },\n data() {\n return {\n showHiddenStatus: false\n }\n },\n methods: {\n capitalizeFirstLetter(str) {\n return str.charAt(0).toUpperCase() + str.slice(1)\n },\n isPrivileged(accepted_privileges, accepted_roles) {\n const user_privileges = this.$store.getters.privileges\n const user_roles = this.$store.getters.roles\n return accepted_privileges.some(privilege => user_privileges.indexOf(privilege) >= 0) || accepted_roles.some(role => user_roles.indexOf(role) >= 0)\n },\n changeStatus(statusId, isSensitive, visibility) {\n this.$store.dispatch('ChangeStatusScope', {\n statusId,\n isSensitive,\n visibility,\n reportCurrentPage: this.page,\n userId: this.userId,\n godmode: this.godmode,\n fetchStatusesByInstance: this.fetchStatusesByInstance\n })\n },\n deleteStatus(statusId) {\n this.$confirm('Are you sure you want to delete this status?', 'Warning', {\n confirmButtonText: 'OK',\n cancelButtonText: 'Cancel',\n type: 'warning'\n }).then(() => {\n this.$store.dispatch('DeleteStatus', {\n statusId,\n reportCurrentPage: this.page,\n userId: this.userId,\n godmode: this.godmode,\n fetchStatusesByInstance: this.fetchStatusesByInstance\n })\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 handleStatusSelection(account) {\n this.$emit('status-selection', account)\n },\n handleRouteChange() {\n this.$router.push({ name: 'StatusShow', params: { id: this.status.id }})\n },\n optionPercent(poll, pollOption) {\n const allVotes = poll.options.reduce((acc, option) => (acc + option.votes_count), 0)\n if (allVotes === 0) {\n return 0\n }\n return +(pollOption.votes_count / allVotes * 100).toFixed(1)\n },\n parseTimestamp(timestamp) {\n return moment(timestamp).format('YYYY-MM-DD HH:mm')\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.status-card {\n margin-bottom: 10px;\n cursor: pointer;\n .account {\n line-height: 26px;\n font-size: 13px;\n color: #606266;\n }\n .account:hover {\n text-decoration: underline;\n }\n .deactivated {\n color: gray;\n line-height: 28px;\n vertical-align: middle;\n }\n .image {\n width: 20%;\n img {\n width: 100%;\n }\n }\n .router-link {\n text-decoration: none;\n }\n .show-more-button {\n margin-left: 5px;\n }\n .status-account {\n display: flex;\n align-items: center;\n }\n .status-avatar-img {\n display: inline-block;\n width: 15px;\n height: 15px;\n margin-right: 5px;\n }\n .status-account-name {\n display: inline-block;\n margin: 0;\n font-size: 15px;\n font-weight: 500;\n }\n .status-body {\n display: flex;\n flex-direction: column;\n }\n .status-card-header {\n display: flex;\n align-items: center;\n }\n .status-checkbox {\n margin-right: 7px;\n }\n .status-content {\n font-size: 15px;\n line-height: 26px;\n }\n .status-created-at {\n font-size: 13px;\n color: #606266;\n }\n .status-deleted {\n font-style: italic;\n margin-top: 3px;\n }\n .status-footer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n .status-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n .status-tags {\n display: inline;\n }\n .status-without-content {\n font-style: italic;\n }\n}\n\n@media only screen and (max-width:480px) {\n .el-message {\n min-width: 80%;\n }\n .el-message-box {\n width: 80%;\n }\n .status-card {\n .el-card__header {\n padding: 10px 17px;\n }\n .el-tag {\n margin: 3px 0;\n }\n .status-account-container {\n margin-bottom: 5px;\n }\n .status-actions-button {\n margin: 3px 0 3px;\n }\n .status-actions {\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n }\n .status-footer {\n flex-direction: column;\n align-items: flex-start;\n margin-top: 10px;\n }\n .status-header {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n }\n}\n</style>\n","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=b8b8bece&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.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 = \"index.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.needReboot)?_c('el-tooltip',{attrs:{\"content\":_vm.$t('settings.restartApp'),\"placement\":\"bottom-end\"}},[_c('el-button',{staticClass:\"reboot-button\",attrs:{\"type\":\"warning\"},on:{\"click\":_vm.restartApp}},[_c('span',[_c('i',{staticClass:\"el-icon-refresh\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.instanceReboot'))+\"\\n \")])])],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!./index.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!./index.vue?vue&type=script&lang=js&\"","<template>\n <el-tooltip v-if=\"needReboot\" :content=\"$t('settings.restartApp')\" placement=\"bottom-end\">\n <el-button type=\"warning\" class=\"reboot-button\" @click=\"restartApp\">\n <span>\n <i class=\"el-icon-refresh\"/>\n {{ $t('settings.instanceReboot') }}\n </span>\n </el-button>\n </el-tooltip>\n</template>\n\n<script>\nimport i18n from '@/lang'\n\nexport default {\n name: 'RebootButton',\n computed: {\n needReboot() {\n return this.$store.state.app.needReboot\n }\n },\n methods: {\n async restartApp() {\n try {\n await this.$store.dispatch('RestartApplication')\n } catch (e) {\n return\n }\n this.$message({\n type: 'success',\n message: i18n.t('settings.restartSuccess')\n })\n }\n }\n}\n</script>\n","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=53cfaf1d&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.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\ncomponent.options.__file = \"index.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isPrivileged(['users_manage_activation_state', 'users_delete', 'users_manage_tags', 'users_manage_credentials'], ['admin']))?_c('el-dropdown',{attrs:{\"hide-on-click\":false,\"size\":\"small\",\"trigger\":\"click\",\"placement\":\"top-start\"},nativeOn:{\"click\":function($event){$event.stopPropagation();}}},[_c('div',[(_vm.page === 'users')?_c('el-button',{staticClass:\"el-dropdown-link\",attrs:{\"type\":\"text\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.moderation'))+\"\\n \"),(_vm.isDesktop)?_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.page === 'userPage' || _vm.page === 'statusPage')?_c('el-button',{staticClass:\"moderate-user-button\"},[_c('span',{staticClass:\"moderate-user-button-container\"},[_c('span',[_c('i',{staticClass:\"el-icon-edit\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('users.moderateUser'))+\"\\n \")]),_vm._v(\" \"),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})])]):_vm._e()],1),_vm._v(\" \"),_c('el-dropdown-menu',{staticClass:\"moderation-dropdown-menu\",attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[(_vm.isPrivileged([], ['admin']))?_c('el-dropdown-item',{staticClass:\"actor-type-dropdown\"},[_c('el-select',{staticClass:\"actor-type-select\",attrs:{\"placeholder\":_vm.$t('userProfile.actorType')},model:{value:(_vm.actorType),callback:function ($$v) {_vm.actorType=$$v},expression:\"actorType\"}},[_c('el-option',{attrs:{\"label\":_vm.$t('users.service'),\"value\":\"Service\"}}),_vm._v(\" \"),_c('el-option',{attrs:{\"label\":_vm.$t('users.person'),\"value\":\"Person\"}})],1)],1):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']) && _vm.showAdminAction(_vm.user))?_c('el-dropdown-item',{attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.toggleUserRight(_vm.user, 'admin')}}},[_vm._v(\"\\n \"+_vm._s(_vm.user.roles.admin ? _vm.$t('users.revokeAdmin') : _vm.$t('users.grantAdmin'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']) && _vm.showAdminAction(_vm.user))?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.toggleUserRight(_vm.user, 'moderator')}}},[_vm._v(\"\\n \"+_vm._s(_vm.user.roles.moderator ? _vm.$t('users.revokeModerator') : _vm.$t('users.grantModerator'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_manage_activation_state'], []) && _vm.showDeactivatedButton(_vm.user.id) && _vm.page !== 'statusPage')?_c('el-dropdown-item',{attrs:{\"divided\":_vm.showAdminAction(_vm.user)},nativeOn:{\"click\":function($event){return _vm.toggleActivation(_vm.user)}}},[_vm._v(\"\\n \"+_vm._s(!_vm.user.is_active ? _vm.$t('users.activateAccount') : _vm.$t('users.deactivateAccount'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_delete'], []) && _vm.showDeactivatedButton(_vm.user.id) && _vm.page !== 'statusPage')?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.handleDeletion(_vm.user)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.deleteAccount'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']) && _vm.user.local && !_vm.user.is_approved)?_c('el-dropdown-item',{attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.handleAccountApproval(_vm.user)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.approveAccount'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']) && _vm.user.local && !_vm.user.is_approved)?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.handleAccountRejection(_vm.user)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.rejectAccount'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']) && _vm.user.local && !_vm.user.is_confirmed)?_c('el-dropdown-item',{attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.handleEmailConfirmation(_vm.user)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.confirmAccount'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']) && _vm.user.local && !_vm.user.is_confirmed)?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.handleConfirmationResend(_vm.user)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.resendConfirmation'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_manage_tags'], []) && _vm.tagPolicyEnabled)?_c('el-dropdown-item',{class:{ 'active-tag': _vm.user.tags.includes('mrf_tag:media-force-nsfw') },attrs:{\"divided\":_vm.showAdminAction(_vm.user)},nativeOn:{\"click\":function($event){return _vm.toggleTag(_vm.user, 'mrf_tag:media-force-nsfw')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.forceNsfw'))+\"\\n \"),(_vm.user.tags.includes('mrf_tag:media-force-nsfw'))?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_manage_tags'], []) && _vm.tagPolicyEnabled)?_c('el-dropdown-item',{class:{ 'active-tag': _vm.user.tags.includes('mrf_tag:media-strip') },nativeOn:{\"click\":function($event){return _vm.toggleTag(_vm.user, 'mrf_tag:media-strip')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.stripMedia'))+\"\\n \"),(_vm.user.tags.includes('mrf_tag:media-strip'))?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_manage_tags'], []) && _vm.tagPolicyEnabled)?_c('el-dropdown-item',{class:{ 'active-tag': _vm.user.tags.includes('mrf_tag:force-unlisted') },nativeOn:{\"click\":function($event){return _vm.toggleTag(_vm.user, 'mrf_tag:force-unlisted')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.forceUnlisted'))+\"\\n \"),(_vm.user.tags.includes('mrf_tag:force-unlisted'))?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_manage_tags'], []) && _vm.tagPolicyEnabled)?_c('el-dropdown-item',{class:{ 'active-tag': _vm.user.tags.includes('mrf_tag:sandbox') },nativeOn:{\"click\":function($event){return _vm.toggleTag(_vm.user, 'mrf_tag:sandbox')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.sandbox'))+\"\\n \"),(_vm.user.tags.includes('mrf_tag:sandbox'))?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_manage_tags'], []) && _vm.user.local && _vm.tagPolicyEnabled)?_c('el-dropdown-item',{class:{ 'active-tag': _vm.user.tags.includes('mrf_tag:disable-remote-subscription') },nativeOn:{\"click\":function($event){return _vm.toggleTag(_vm.user, 'mrf_tag:disable-remote-subscription')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.disableRemoteSubscription'))+\"\\n \"),(_vm.user.tags.includes('mrf_tag:disable-remote-subscription'))?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_manage_tags'], []) && _vm.user.local && _vm.tagPolicyEnabled)?_c('el-dropdown-item',{class:{ 'active-tag': _vm.user.tags.includes('mrf_tag:disable-any-subscription') },nativeOn:{\"click\":function($event){return _vm.toggleTag(_vm.user, 'mrf_tag:disable-any-subscription')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.disableAnySubscription'))+\"\\n \"),(_vm.user.tags.includes('mrf_tag:disable-any-subscription'))?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_manage_tags'], []) && _vm.isPrivileged([], ['admin']) && !_vm.tagPolicyEnabled)?_c('el-dropdown-item',{staticClass:\"no-hover\",attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.enableTagPolicy.apply(null, arguments)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.enableTagPolicy'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_manage_credentials'], []) && _vm.user.local)?_c('el-dropdown-item',{attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.getPasswordResetToken(_vm.user.nickname)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.getPasswordResetToken'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']) && _vm.user.local)?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.requirePasswordReset(_vm.user)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.requirePasswordReset'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']) && _vm.user.local)?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.disableMfa(_vm.user.nickname)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('users.disableMfa'))+\"\\n \")]):_vm._e()],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!./ModerationDropdown.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!./ModerationDropdown.vue?vue&type=script&lang=js&\"","<template>\n <el-dropdown v-if=\"isPrivileged(['users_manage_activation_state', 'users_delete', 'users_manage_tags', 'users_manage_credentials'], ['admin'])\" :hide-on-click=\"false\" size=\"small\" trigger=\"click\" placement=\"top-start\" @click.native.stop>\n <div>\n <el-button v-if=\"page === 'users'\" type=\"text\" class=\"el-dropdown-link\">\n {{ $t('users.moderation') }}\n <i v-if=\"isDesktop\" class=\"el-icon-arrow-down el-icon--right\"/>\n </el-button>\n <el-button v-if=\"page === 'userPage' || page === 'statusPage'\" class=\"moderate-user-button\">\n <span class=\"moderate-user-button-container\">\n <span>\n <i class=\"el-icon-edit\" />\n {{ $t('users.moderateUser') }}\n </span>\n <i class=\"el-icon-arrow-down el-icon--right\"/>\n </span>\n </el-button>\n </div>\n <el-dropdown-menu slot=\"dropdown\" class=\"moderation-dropdown-menu\">\n <el-dropdown-item\n v-if=\"isPrivileged([], ['admin'])\"\n class=\"actor-type-dropdown\">\n <el-select v-model=\"actorType\" :placeholder=\"$t('userProfile.actorType')\" class=\"actor-type-select\">\n <el-option :label=\"$t('users.service')\" value=\"Service\"/>\n <el-option :label=\"$t('users.person')\" value=\"Person\"/>\n </el-select>\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged([], ['admin']) && showAdminAction(user)\"\n divided\n @click.native=\"toggleUserRight(user, 'admin')\">\n {{ user.roles.admin ? $t('users.revokeAdmin') : $t('users.grantAdmin') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged([], ['admin']) && showAdminAction(user)\"\n @click.native=\"toggleUserRight(user, 'moderator')\">\n {{ user.roles.moderator ? $t('users.revokeModerator') : $t('users.grantModerator') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged(['users_manage_activation_state'], []) && showDeactivatedButton(user.id) && page !== 'statusPage'\"\n :divided=\"showAdminAction(user)\"\n @click.native=\"toggleActivation(user)\">\n {{ !user.is_active ? $t('users.activateAccount') : $t('users.deactivateAccount') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged(['users_delete'], []) && showDeactivatedButton(user.id) && page !== 'statusPage'\"\n @click.native=\"handleDeletion(user)\">\n {{ $t('users.deleteAccount') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged([], ['admin']) && user.local && !user.is_approved\"\n divided\n @click.native=\"handleAccountApproval(user)\">\n {{ $t('users.approveAccount') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged([], ['admin']) && user.local && !user.is_approved\"\n @click.native=\"handleAccountRejection(user)\">\n {{ $t('users.rejectAccount') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged([], ['admin']) && user.local && !user.is_confirmed\"\n divided\n @click.native=\"handleEmailConfirmation(user)\">\n {{ $t('users.confirmAccount') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged([], ['admin']) && user.local && !user.is_confirmed\"\n @click.native=\"handleConfirmationResend(user)\">\n {{ $t('users.resendConfirmation') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged(['users_manage_tags'], []) && tagPolicyEnabled\"\n :divided=\"showAdminAction(user)\"\n :class=\"{ 'active-tag': user.tags.includes('mrf_tag:media-force-nsfw') }\"\n @click.native=\"toggleTag(user, 'mrf_tag:media-force-nsfw')\">\n {{ $t('users.forceNsfw') }}\n <i v-if=\"user.tags.includes('mrf_tag:media-force-nsfw')\" class=\"el-icon-check\"/>\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged(['users_manage_tags'], []) && tagPolicyEnabled\"\n :class=\"{ 'active-tag': user.tags.includes('mrf_tag:media-strip') }\"\n @click.native=\"toggleTag(user, 'mrf_tag:media-strip')\">\n {{ $t('users.stripMedia') }}\n <i v-if=\"user.tags.includes('mrf_tag:media-strip')\" class=\"el-icon-check\"/>\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged(['users_manage_tags'], []) && tagPolicyEnabled\"\n :class=\"{ 'active-tag': user.tags.includes('mrf_tag:force-unlisted') }\"\n @click.native=\"toggleTag(user, 'mrf_tag:force-unlisted')\">\n {{ $t('users.forceUnlisted') }}\n <i v-if=\"user.tags.includes('mrf_tag:force-unlisted')\" class=\"el-icon-check\"/>\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged(['users_manage_tags'], []) && tagPolicyEnabled\"\n :class=\"{ 'active-tag': user.tags.includes('mrf_tag:sandbox') }\"\n @click.native=\"toggleTag(user, 'mrf_tag:sandbox')\">\n {{ $t('users.sandbox') }}\n <i v-if=\"user.tags.includes('mrf_tag:sandbox')\" class=\"el-icon-check\"/>\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged(['users_manage_tags'], []) && user.local && tagPolicyEnabled\"\n :class=\"{ 'active-tag': user.tags.includes('mrf_tag:disable-remote-subscription') }\"\n @click.native=\"toggleTag(user, 'mrf_tag:disable-remote-subscription')\">\n {{ $t('users.disableRemoteSubscription') }}\n <i v-if=\"user.tags.includes('mrf_tag:disable-remote-subscription')\" class=\"el-icon-check\"/>\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged(['users_manage_tags'], []) && user.local && tagPolicyEnabled\"\n :class=\"{ 'active-tag': user.tags.includes('mrf_tag:disable-any-subscription') }\"\n @click.native=\"toggleTag(user, 'mrf_tag:disable-any-subscription')\">\n {{ $t('users.disableAnySubscription') }}\n <i v-if=\"user.tags.includes('mrf_tag:disable-any-subscription')\" class=\"el-icon-check\"/>\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged(['users_manage_tags'], []) && isPrivileged([], ['admin']) && !tagPolicyEnabled\"\n divided\n class=\"no-hover\"\n @click.native=\"enableTagPolicy\">\n {{ $t('users.enableTagPolicy') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged(['users_manage_credentials'], []) && user.local\"\n divided\n @click.native=\"getPasswordResetToken(user.nickname)\">\n {{ $t('users.getPasswordResetToken') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged([], ['admin']) && user.local\"\n @click.native=\"requirePasswordReset(user)\">\n {{ $t('users.requirePasswordReset') }}\n </el-dropdown-item>\n <el-dropdown-item\n v-if=\"isPrivileged([], ['admin']) && user.local\"\n @click.native=\"disableMfa(user.nickname)\">\n {{ $t('users.disableMfa') }}\n </el-dropdown-item>\n </el-dropdown-menu>\n </el-dropdown>\n</template>\n\n<script>\nexport default {\n name: 'ModerationDropdown',\n props: {\n user: {\n type: Object,\n default: function() {\n return {}\n }\n },\n page: {\n type: String,\n default: 'users'\n },\n statusId: {\n type: String,\n default: ''\n }\n },\n computed: {\n actorType: {\n get() {\n return this.user.actor_type\n },\n set(type) {\n this.$store.dispatch('UpdateActorType', {\n user: this.user,\n type,\n _userId: this.user.id,\n _statusId: this.statusId\n })\n }\n },\n isDesktop() {\n return this.$store.state.app.device === 'desktop'\n },\n tagPolicyEnabled() {\n return this.$store.state.users.mrfPolicies.includes('Pleroma.Web.ActivityPub.MRF.TagPolicy')\n }\n },\n methods: {\n disableMfa(nickname) {\n this.$store.dispatch('DisableMfa', nickname)\n },\n isPrivileged(accepted_privileges, accepted_roles) {\n const user_privileges = this.$store.getters.privileges\n const user_roles = this.$store.getters.roles\n return accepted_privileges.some(privilege => user_privileges.indexOf(privilege) >= 0) || accepted_roles.some(role => user_roles.indexOf(role) >= 0)\n },\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 getPasswordResetToken(nickname) {\n this.$emit('open-reset-token-dialog')\n this.$store.dispatch('GetPasswordResetToken', nickname)\n },\n handleConfirmationResend(user) {\n this.$store.dispatch('ResendConfirmationEmail', [user])\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('DeleteUsers', { users: [user], _userId: user.id })\n }).catch(() => {\n this.$message({\n type: 'info',\n message: 'Delete canceled'\n })\n })\n },\n handleAccountApproval(user) {\n this.$store.dispatch('ApproveUsersAccount', { users: [user], _userId: user.id, _statusId: this.statusId })\n },\n handleAccountRejection(user) {\n this.$confirm(\n this.$t('users.rejectAccountConfirmation'),\n {\n confirmButtonText: 'Reject',\n cancelButtonText: 'Cancel',\n type: 'warning'\n }).then(() => {\n this.$store.dispatch('DeleteUsers', { users: [user], _userId: user.id })\n }).catch(() => {\n this.$message({\n type: 'info',\n message: 'Reject canceled'\n })\n })\n },\n handleEmailConfirmation(user) {\n this.$store.dispatch('ConfirmUsersEmail', { users: [user], _userId: user.id, _statusId: this.statusId })\n },\n requirePasswordReset(user) {\n const mailerEnabled = this.$store.state.user.nodeInfo.metadata.mailerEnabled\n if (!mailerEnabled) {\n this.$alert(this.$t('users.mailerMustBeEnabled'), 'Error', { type: 'error' })\n return\n }\n this.$store.dispatch('RequirePasswordReset', [user])\n },\n showAdminAction({ local, id }) {\n return local && this.showDeactivatedButton(id)\n },\n showDeactivatedButton(id) {\n return this.$store.state.user.id !== id\n },\n toggleActivation(user) {\n !user.is_active\n ? this.$store.dispatch('ActivateUsers', { users: [user], _userId: user.id })\n : this.$store.dispatch('DeactivateUsers', { users: [user], _userId: user.id })\n },\n toggleTag(user, tag) {\n user.tags.includes(tag)\n ? this.$store.dispatch('RemoveTag', { users: [user], tag, _userId: user.id, _statusId: this.statusId })\n : this.$store.dispatch('AddTag', { users: [user], tag, _userId: user.id, _statusId: this.statusId })\n },\n toggleUserRight(user, right) {\n user.roles[right]\n ? this.$store.dispatch('DeleteRight', { users: [user], right, _userId: user.id, _statusId: this.statusId })\n : this.$store.dispatch('AddRight', { users: [user], right, _userId: user.id, _statusId: this.statusId })\n }\n }\n}\n</script>\n\n<style rel='stylesheet/scss' lang='scss'>\n .el-dropdown-menu--small .el-dropdown-menu__item.el-dropdown-menu__item--divided.actor-type-dropdown:before {\n margin: 0 0;\n height: 0;\n }\n .el-dropdown-menu--small .actor-type-dropdown {\n padding: 0;\n }\n .actor-type-select {\n width: 100%;\n input {\n border-color: transparent;\n color: #606266;\n }\n .el-input__inner:hover {\n border-color: transparent;\n background-color: #ecf5ff;\n }\n .el-input.is-focus {\n border-color: transparent;\n }\n .el-input__suffix-inner {\n pointer-events: none;\n }\n .el-select .el-input__inner:focus {\n border-color: transparent;\n }\n .el-input.is-active .el-input__inner, .el-input__inner:focus {\n border-color: transparent;\n }\n }\n .actor-type-select .el-input.is-focus .el-input__inner {\n border-color: transparent;\n }\n .moderate-user-button {\n text-align: left;\n width: 350px;\n padding: 10px;\n }\n .moderate-user-button-container {\n display: flex;\n justify-content: space-between;\n }\n .moderation-dropdown-menu {\n width: 350px;\n }\n @media only screen and (max-width:480px) {\n .moderate-user-button {\n width: 100%\n }\n .moderation-dropdown-menu {\n width: auto;\n }\n }\n</style>\n","import { render, staticRenderFns } from \"./ModerationDropdown.vue?vue&type=template&id=59ad0208&\"\nimport script from \"./ModerationDropdown.vue?vue&type=script&lang=js&\"\nexport * from \"./ModerationDropdown.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ModerationDropdown.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 = \"ModerationDropdown.vue\"\nexport default component.exports"],"sourceRoot":""}