mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-17 20:11:27 +00:00
1 line
No EOL
132 KiB
JavaScript
Vendored
1 line
No EOL
132 KiB
JavaScript
Vendored
(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[8774],{44928:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(95002);const a={props:{gid:{type:String},name:{type:String}},components:{GroupStatus:o.default},data:function(){return{isLoaded:!1,group:!1,profile:!1,feed:[],page:1,ids:[]}},mounted:function(){this.fetchProfile()},methods:{fetchProfile:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,t.fetchGroup()}))},fetchGroup:function(){var t=this;axios.get("/api/v0/groups/"+this.gid).then((function(e){t.group=e.data,t.fetchFeed()}))},fetchFeed:function(){var t=this;axios.get("/api/v0/groups/topics/tag",{params:{gid:this.gid,name:this.name}}).then((function(e){t.feed=e.data,t.isLoaded=!0;var s=t;e.data.forEach((function(t){-1==s.ids.indexOf(t.id)&&s.ids.push(t.id)})),t.page++}))},infiniteFeed:function(t){var e=this;this.feed.length<2?t.complete():axios.get("/api/v0/groups/topics/tag",{params:{gid:this.gid,name:this.name,limit:1,page:this.page}}).then((function(s){if(s.data.length){var o=s.data,a=e;o.forEach((function(t){-1==a.ids.indexOf(t.id)&&(a.ids.push(t.id),a.feed.push(t))})),t.loaded(),e.page++}else t.complete()}))}}}},68717:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(7764),a=s(66536);function i(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return n(t,e);var s={}.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?n(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=Array(e);s<e;s++)o[s]=t[s];return o}const r={props:{groupId:{type:String},profile:{type:Object},status:{type:Object},show:{type:Boolean,default:!1},permalinkMode:{type:Boolean,default:!1},permalinkStatus:{type:Object},canReply:{type:Boolean,default:!0}},components:{"read-more":o.default,"comment-post":a.default},data:function(){return{isLoaded:!1,hide:!1,feed:[],canLoadMore:!1,isLoadingMore:!1,replyContent:null,maxReplyId:null,readMoreCursor:200,avatar:"/storage/avatars/default.png",isUploading:!1,uploadProgress:0,lightboxStatus:null,replyChildId:void 0,replyChildIndex:void 0,childReplyContent:null,postingChildComment:!1,loadingChildComments:!1,replyChildMinId:void 0,replyCursorId:null}},mounted:function(){if(this.permalinkMode&&this.permalinkStatus){var t=this.permalinkStatus;t.reply_count&&(t.children={feed:[],can_load_more:!0}),this.feed.push(t),this.isLoaded=!0,this.canLoadMore=!1}else this.fetchComments();this.profile&&this.profile.hasOwnProperty("avatar")&&(this.avatar=this.profile.avatar)},methods:{fetchComments:function(){var t=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:this.status.id,limit:3}}).then((function(e){var s=e.data.map((function(t){return t.reply_count&&t.reply_count>0&&(t.children={feed:[],can_load_more:!0}),t}));t.feed=s,t.isLoaded=!0,t.maxReplyId=e.data[e.data.length-1].id,3==t.feed.length&&(t.canLoadMore=!0)})).catch((function(e){t.isLoaded=!0}))},loadMoreComments:function(){var t=this;this.isLoadingMore=!0,axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:this.status.id,limit:3,max_id:this.maxReplyId}}).then((function(e){var s;if(e.data[e.data.length-1].id==t.maxReplyId)return t.isLoadingMore=!1,void(t.canLoadMore=!1);(s=t.feed).push.apply(s,i(e.data)),setTimeout((function(){t.isLoadingMore=!1}),500),t.maxReplyId=e.data[e.data.length-1].id,e.data.length>0?t.canLoadMore=!0:t.canLoadMore=!1})).catch((function(e){t.isLoadingMore=!1,t.canLoadMore=!1}))},storeComment:function(t){var e,s=this;null===(e=t.currentTarget)||void 0===e||e.blur(),axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,content:this.replyContent}).then((function(t){s.replyContent=null,s.feed.unshift(t.data)})).catch((function(t){422==t.response.status?(s.isUploading=!1,s.uploadProgress=0,swal("Oops!",t.response.data.error,"error")):(s.isUploading=!1,s.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},readMore:function(){this.readMoreCursor=this.readMoreCursor+200},likeComment:function(t,e,s){s.target.blur();var o=!t.favourited;this.feed[e].favourited=o,t.favourited=o,axios.post("/api/v0/groups/comment/".concat(o?"like":"unlike"),{sid:t.id,gid:this.groupId})},deleteComment:function(t){var e=this;0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/api/v0/groups/comment/delete",{gid:this.groupId,id:this.feed[t].id}).then((function(s){e.feed.splice(t,1)})).catch((function(t){console.log(t.response),swal("Error","Something went wrong. Please try again later.","error")}))},uploadImage:function(){this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=this,s=new FormData;s.append("gid",this.groupId),s.append("sid",this.status.id),s.append("photo",this.$refs.fileInput.files[0]),axios.post("/api/v0/groups/comment/photo",s,{onUploadProgress:function(t){e.uploadProgress=Math.floor(t.loaded/t.total*100)}}).then((function(e){t.isUploading=!1,t.uploadProgress=0,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},replyToChild:function(t,e){var s=this;if(this.replyChildId==t.id)return this.replyChildId=null,void(this.replyChildIndex=null);this.childReplyContent=null,this.replyChildId=t.id,this.replyCursorId=t.id,this.replyChildIndex=e,t.hasOwnProperty("replies_loaded")&&t.replies_loaded,this.$nextTick((function(){s.fetchChildReplies(t,e)}))},fetchChildReplies:function(t,e){var s=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,cid:this.replyCursorId,limit:3}}).then((function(t){s.feed[e].hasOwnProperty("children")?(s.feed[e].children.feed.push(t.data),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length},s.replyChildMinId=t.data[t.data.length-1].id,s.$nextTick((function(){s.feed[e].replies_loaded=!0}))})).catch((function(t){s.feed[e].children.can_load_more=!1}))},storeChildComment:function(t){var e=this;this.postingChildComment=!0,axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,cid:this.replyChildId,content:this.childReplyContent}).then((function(s){e.childReplyContent=null,e.postingChildComment=!1,e.feed[t].children.feed.push(s.data)})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):swal("Oops!","An error occured while processing your request, please try again later","error")}))},loadMoreChildComments:function(t,e){var s=this;this.loadingChildComments=!0,axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,max_id:this.replyChildMinId,cid:1,limit:3}}).then((function(t){var o;s.feed[e].hasOwnProperty("children")?((o=s.feed[e].children.feed).push.apply(o,i(t.data)),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length};s.replyChildMinId=t.data[t.data.length-1].id,s.feed[e].replies_loaded=!0,s.loadingChildComments=!1})).catch((function(t){}))}}}},78828:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(7764);function a(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var s={}.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?i(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=Array(e);s<e;s++)o[s]=t[s];return o}const n={props:{groupId:{type:String},profile:{type:Object},status:{type:Object},commentBorderArrow:{type:Boolean,default:!1}},components:{"read-more":o.default},data:function(){return{isLoaded:!1,hide:!1,feed:[],canLoadMore:!1,isLoadingMore:!1,replyContent:null,maxReplyId:null,readMoreCursor:200,avatar:"/storage/avatars/default.png",isUploading:!1,uploadProgress:0,lightboxStatus:null,replyChildId:void 0,childReplyContent:null,postingChildComment:!1}},mounted:function(){console.log(this.status)},methods:{fetchComments:function(){var t=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:this.status.id,limit:3}}).then((function(e){t.feed=e.data,t.isLoaded=!0,t.maxReplyId=e.data[e.data.length-1].id,3==t.feed.length&&(t.canLoadMore=!0)})).catch((function(e){t.isLoaded=!0}))},loadMoreComments:function(){var t=this;this.isLoadingMore=!0,axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:this.status.id,limit:3,max_id:this.maxReplyId}}).then((function(e){var s;if(e.data[e.data.length-1].id==t.maxReplyId)return t.isLoadingMore=!1,void(t.canLoadMore=!1);(s=t.feed).push.apply(s,a(e.data)),t.isLoadingMore=!1,t.maxReplyId=e.data[e.data.length-1].id,e.data.length>0?t.canLoadMore=!0:t.canLoadMore=!1})).catch((function(e){t.isLoadingMore=!1,t.canLoadMore=!1}))},storeComment:function(){var t=this;axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,content:this.replyContent}).then((function(e){t.replyContent=null,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},readMore:function(){this.readMoreCursor=this.readMoreCursor+200},likeComment:function(t,e,s){s.target.blur();var o=!t.favourited;this.feed[e].favourited=o,t.favourited=o,axios.post("/api/v0/groups/like",{sid:t.id,gid:this.groupId})},deleteComment:function(t){var e=this;0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/api/v0/groups/status/delete",{gid:this.groupId,id:this.feed[t].id}).then((function(s){e.feed.splice(t,1)})).catch((function(t){console.log(t.response),swal("Error","Something went wrong. Please try again later.","error")}))},uploadImage:function(){this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=this,s=new FormData;s.append("gid",this.groupId),s.append("sid",this.status.id),s.append("photo",this.$refs.fileInput.files[0]),axios.post("/api/v0/groups/comment/photo",s,{onUploadProgress:function(t){e.uploadProgress=Math.floor(t.loaded/t.total*100)}}).then((function(e){t.isUploading=!1,t.uploadProgress=0,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},replyToChild:function(t,e){this.replyChildId!=t.id?(this.childReplyContent=null,this.replyChildId=t.id,t.hasOwnProperty("replies_loaded")&&t.replies_loaded||this.fetchChildReplies(t,e)):this.replyChildId=null},fetchChildReplies:function(t,e){var s=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,cid:1,limit:3}}).then((function(t){var o;s.feed[e].hasOwnProperty("children")?((o=s.feed[e].children.feed).push.apply(o,a(t.data)),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length};s.feed[e].replies_loaded=!0})).catch((function(t){}))},storeChildComment:function(){var t=this;this.postingChildComment=!0,axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,cid:this.replyChildId,content:this.childReplyContent}).then((function(e){t.childReplyContent=null,t.postingChildComment=!1})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):swal("Oops!","An error occured while processing your request, please try again later","error")})),console.log(this.replyChildId)}}}},15961:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(74692);const a={props:{status:{type:Object},profile:{type:Object},type:{type:String,default:"status",validator:function(t){return["status","comment","profile"].includes(t)}},groupId:{type:String}},data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/api/v0/groups/".concat(e.groupId,"/report/create"),{type:t,id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,a=(t.account.username,t.id,""),i=this;switch(e){case"addcw":a="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.ctxModMenuClose()}))}));break;case"remcw":a="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.ctxModMenuClose()}))}));break;case"unlist":a="Are you sure you want to unlist this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){o.feed=o.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":a="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=o("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},43599:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(7764),a=s(69513);const i={props:{groupId:{type:String},status:{type:Object},profile:{type:Object}},components:{"read-more":o.default,"comment-drawer":a.default},data:function(){return{loaded:!1}},mounted:function(){this.init()},methods:{init:function(){this.loaded=!0,this.$refs.modal.show()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)}}}},6234:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>g});var o=s(69513),a=s(84125),i=s(78841),n=s(21466),r=s(98051),l=s(37128),d=s(61518),c=s(79427),u=s(42013),p=s(93934),h=s(40798),m=s(76746);function f(t){return function(t){if(Array.isArray(t))return v(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return v(t,e);var s={}.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?v(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=Array(e);s<e;s++)o[s]=t[s];return o}const g={props:{groupId:{type:String},group:{type:Object},profile:{type:Object},prestatus:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!0},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"},permalinkMode:{type:Boolean,default:!1},showGroupChevron:{type:Boolean,default:!1},showGroupHeader:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"context-menu":a.default,"poll-card":i.default,"mixed-album-presenter":n.default,"photo-album-presenter":r.default,"photo-presenter":l.default,"video-album-presenter":d.default,"video-presenter":c.default,"post-modal":u.default,"parent-unavailable":h.default,"group-post-header":m.default},data:function(){return{config:window.App.config,status:{},loaded:!1,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,commentDrawerKey:0,showCommentDrawer:!1,parentContext:void 0,childContext:void 0,parentUnavailable:void 0,showModal:!1,likes:[],likesPage:1,openLikesModal:!1}},computed:{renderedCaption:{get:function(){if(this.prestatus){var t=this.prestatus.gid;return null==this.prestatus.content?"":(0,p.autoLink)(this.prestatus.content,{hashtagUrlBase:App.config.site.url+"/groups/".concat(t,"/topics/"),usernameUrlBase:App.config.site.url+"/groups/".concat(t,"/username/")})}return this.prestatus.content}}},mounted:function(){var t=this;this.status=this.prestatus;var e=this;setTimeout((function(){1==t.permalinkMode&&t.prestatus.in_reply_to_id?(e.childContext=e.status,axios.get("/api/v0/groups/status",{params:{gid:e.groupId,sid:e.status.in_reply_to_id}}).then((function(t){e.status=t.data,e.parentUnavailable=!1,e.showCommentDrawer=!0,e.parentContext=t.data,e.loaded=!0})).catch((function(s){e.status=t.prestatus,e.parentUnavailable=!0,e.showCommentDrawer=!0,e.parentContext=t.prestatus,e.loaded=!0}))):(e.parentUnavailable=!1,e.showCommentDrawer=!1,e.loaded=!0)}),100)},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,o=t.account.username,a=document.createElement("a");switch(a.href=t.account.url,a=a.hostname,e){case"@":default:return o+'<span class="text-lighter font-weight-bold">@'+a+"</span>";case"from":return o+'<span class="text-lighter font-weight-bold"> <span class="font-weight-normal">from</span> '+a+"</span>";case"custom":return o+'<span class="text-lighter font-weight-bold"> '+s+" "+a+"</span>"}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){e.currentTarget.blur();var s=t.favourites_count,o=t.favourited?"unlike":"like";axios.post("/api/v0/groups/status/"+o,{sid:t.id,gid:this.groupId}).then((function(a){t.favourited=o,t.favourites_count=o?s+1:s-1,t.favourited=o,t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)})).catch((function(t){422==t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200)},commentFocus:function(t){t.target.blur(),this.showCommentDrawer=!this.showCommentDrawer},commentSubmit:function(t,e){var s=this;this.replySending=!0;var o=t.id,a=this.replyText,i=this.config.uploader.max_caption_length;if(a.length>i)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+i+" characters or less.","error");axios.post("/i/comment",{item:o,comment:a,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete")},showPostModal:function(){this.showModal=!0,this.$refs.modal.init()},showLikesModal:function(t){t&&t.hasOwnProperty("currentTarget")&&t.currentTarget().blur(),this.$emit("likes-modal")},infiniteLikesHandler:function(t){var e=this;axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.status.id,{params:{page:this.likesPage}}).then((function(s){var o,a=s.data;a.data.length>0?((o=e.likes).push.apply(o,f(a.data)),e.likesPage++,t.loaded()):t.complete()}))}}}},79270:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{fullContent:null,content:null,cursor:200}},mounted:function(){this.cursor=this.cursorLimit,this.fullContent=this.status.content,this.content=this.status.content.substr(0,this.cursor)},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)}}}},33664:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:{group:{type:Object},status:{type:Object},profile:{type:Object},showGroupHeader:{type:Boolean,default:!1},showGroupChevron:{type:Boolean,default:!1}},data:function(){return{reportTypes:[{key:"spam",title:"It's spam"},{key:"sensitive",title:"Nudity or sexual activity"},{key:"abusive",title:"Bullying or harassment"},{key:"underage",title:"I think this account is underage"},{key:"violence",title:"Violence or dangerous organizations"},{key:"copyright",title:"Copyright infringement"},{key:"impersonation",title:"Impersonation"},{key:"scam",title:"Scam or fraud"},{key:"terrorism",title:"Terrorism or terrorism-related content"}]}},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(){return"/groups/"+this.status.gid+"/p/"+this.status.id},profileUrl:function(){return"/groups/"+this.status.gid+"/user/"+this.status.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,o=t.account.username,a=document.createElement("a");switch(a.href=t.account.url,a=a.hostname,e){case"@":default:return o+'<span class="text-lighter font-weight-bold">@'+a+"</span>";case"from":return o+'<span class="text-lighter font-weight-bold"> <span class="font-weight-normal">from</span> '+a+"</span>";case"custom":return o+'<span class="text-lighter font-weight-bold"> '+s+" "+a+"</span>"}},sendReport:function(t){var e=this,s=document.createElement("div");s.classList.add("list-group"),this.reportTypes.forEach((function(t){var e=document.createElement("button");e.classList.add("list-group-item","small"),e.innerHTML=t.title,e.onclick=function(){document.dispatchEvent(new CustomEvent("reportOption",{detail:{key:t.key,title:t.title}}))},s.appendChild(e)}));var o=document.createElement("div");o.appendChild(s),swal({title:"Report Content",icon:"warning",content:o,buttons:!1}),document.addEventListener("reportOption",(function(t){console.log(t.detail),e.showConfirmation(t.detail)}),{once:!0})},showConfirmation:function(t){var e=this;console.log(t),swal({title:"Confirmation",text:"You selected ".concat(t.title,". Do you want to proceed?"),icon:"info",buttons:!0}).then((function(s){s?axios.post("/api/v0/groups/".concat(e.status.gid,"/report/create"),{type:t.key,id:e.status.id}).then((function(t){swal("Confirmed!","Your report has been submitted.","success")})):swal("Cancelled","Your report was not submitted.","error")}))},onDelete:function(){var t=this;swal({title:"Delete Post Confirmation",text:"Are you sure you want to delete this post?",icon:"warning",dangerMode:!0,buttons:!0}).then((function(e){e&&axios.post("/api/v0/groups/status/delete",{id:t.status.id,gid:t.status.gid}).then((function(e){t.$emit("delete",t.status)})).catch((function(t){console.log(t)}))}))}}}},75e3:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(69513);const a={props:{showCommentDrawer:{type:Boolean},permalinkMode:{type:Boolean},childContext:{type:Object},status:{type:Object},profile:{type:Object},groupId:{type:String}},components:{"comment-drawer":o.default}}},33422:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"]}},36639:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(18634);const a={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,o.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var o="forward";e.advancePage(o),e.$emit("navigation-click",o)}}}}},9266:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(18634);const a={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,o.default)({el:t.target})},width:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.width)return this.status.media_attachments[0].meta.original.width},height:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.height)return this.status.media_attachments[0].meta.original.height}}}},35986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"]}},25189:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")},poster:function(){var t=this.status.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},70384:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(74692);const a={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,a=(t.account.username,t.id,""),i=this;switch(e){case"addcw":a="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.ctxModMenuClose()}))}));break;case"remcw":a="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.ctxModMenuClose()}))}));break;case"unlist":a="Are you sure you want to unlist this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){o.feed=o.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":a="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=o("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},78615:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(53744),a=s(74692);const i={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":o.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at)<new Date,t.status.poll.expired&&(t.tab=t.status.poll.voted?"voted":"results")})):(this.status.poll.voted&&(this.tab="voted"),this.status.poll.expired=new Date(this.status.poll.expires_at)<new Date,this.status.poll.expired&&(this.tab=this.status.poll.voted?"voted":"results"),this.status.poll.own_votes.length&&(this.selectedIndex=this.status.poll.own_votes[0])),this.authenticated=a("body").hasClass("loggedIn")},methods:{selectOption:function(t){event.currentTarget.blur(),this.selectedIndex=t},submitVote:function(){var t=this;axios.post("/api/v1/polls/"+this.status.poll.id+"/votes",{choices:[this.selectedIndex]}).then((function(e){console.log(e.data),t.status.poll=e.data})),this.tab="voted"},viewResultsTab:function(){this.tab="results"},viewPollTab:function(){this.tab=null!=this.selectedIndex?"voted":"vote"},formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},shortTimestampAhead:function(t){return window.App.util.format.timeAhead(t)},refreshResults:function(){var t=this;this.activeRefreshTimeout=!0,this.refreshingResults=!0,axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,t.status.poll.voted&&(t.selectedIndex=t.status.poll.own_votes[0],t.tab="voted",t.setActiveRefreshTimeout(),t.refreshingResults=!1)})).catch((function(e){swal("Oops!","An error occured while fetching the latest poll results. Please try again later.","error"),t.setActiveRefreshTimeout(),t.refreshingResults=!1}))},setActiveRefreshTimeout:function(){var t=this;this.refreshTimeout=setTimeout((function(){t.activeRefreshTimeout=!1}),3e4)},statusDeleted:function(t){this.$emit("status-delete",t)},ctxMenu:function(){this.$refs.contextMenu.open()},likeStatus:function(){this.$emit("likeStatus",this.status)},calculatePercentage:function(t){var e=this.status;return 0==e.poll.votes_count?0:Math.round(t.votes_count/e.poll.votes_count*100)}}}},85620:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-topic-feed-component"},[t.isLoaded?e("div",{staticClass:"bg-white py-5 border-bottom"},[e("div",{staticClass:"container"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("h3",{staticClass:"font-weight-bold mb-1"},[t._v("#"+t._s(t.name))]),t._v(" "),e("p",{staticClass:"mb-0 lead text-muted"},[e("span",[t._v("\n\t\t\t\t\t\t\tPosts in "),e("a",{staticClass:"text-muted font-weight-bold",attrs:{href:t.group.url}},[t._v(t._s(t.group.name))])]),t._v(" "),e("span",[t._v("·")]),t._v(" "),t._m(0),t._v(" "),e("span",[t._v("·")]),t._v(" "),e("span",[t._v(t._s("all"!=t.group.membership?"Private":"Public")+" Group")])])])])])]):t._e(),t._v(" "),t.isLoaded?e("div",{staticClass:"row justify-content-center mt-3"},[t.feed.length?e("div",{staticClass:"col-12 col-md-5"},[t._l(t.feed,(function(s,o){return e("group-status",{key:"gs:"+s.id+o,attrs:{prestatus:s,profile:t.profile,group:t.group,"show-group-chevron":!0,"group-id":t.gid}})})),t._v(" "),t.feed.length>2?e("div",[e("infinite-loading",{on:{infinite:t.infiniteFeed}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()],2):e("div",{staticClass:"col-12 col-md-5 d-flex justify-content-center"},[e("div",{staticClass:"mt-5"},[t._m(1),t._v(" "),e("p",{staticClass:"font-weight-bold text-muted"},[t._v("Cannot load any posts containg the "),e("span",{staticClass:"font-weight-normal"},[t._v("#"+t._s(t.name))]),t._v(" hashtag")]),t._v(" "),e("p",{staticClass:"text-left"},[t._v("\n\t\t\t\t\tThis can happen for a few reasons:\n\t\t\t\t")]),t._v(" "),t._m(2)])])]):t._e()])},a=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-globe"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-lighter text-center"},[t("i",{staticClass:"fal fa-exclamation-circle fa-4x"})])},function(){var t=this,e=t._self._c;return e("ul",{staticClass:"text-left"},[e("li",[t._v("There is a typo in the url")]),t._v(" "),e("li",[t._v("No posts exist that contain this hashtag")]),t._v(" "),e("li",[t._v("This hashtag has been banned by group admins")]),t._v(" "),e("li",[t._v("The hashtag is new or used infrequently")]),t._v(" "),e("li",[t._v("A technical issue has occured")])])}]},59296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t,e,s=this,o=s._self._c;return o("div",{staticClass:"comment-drawer-component"},[o("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:s.handleImageUpload}}),s._v(" "),s.hide?o("div"):s.isLoaded?o("div",{staticClass:"border-top"},[o("div",{staticClass:"my-3"},s._l(s.feed,(function(t,e){return o("div",{key:"cdf"+e+t.id,staticClass:"media media-status align-items-top"},[s.replyChildId==t.id?o("a",{staticClass:"comment-border-link",attrs:{href:"#comment-1"},on:{click:function(e){return e.preventDefault(),s.replyToChild(t)}}},[o("span",{staticClass:"sr-only"},[s._v("Jump to comment-"+s._s(e))])]):s._e(),s._v(" "),o("a",{attrs:{href:t.account.url}},[o("img",{staticClass:"rounded-circle media-avatar border",attrs:{src:t.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),s._v(" "),o("div",{staticClass:"media-body"},[t.media_attachments.length?o("div",[o("p",{staticClass:"media-body-comment-username"},[o("a",{attrs:{href:t.account.url}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),s._v(" "),o("div",{staticClass:"bh-comment",on:{click:function(e){return s.lightbox(t)}}},[o("blur-hash-image",{staticClass:"img-fluid rounded-lg border shadow",attrs:{width:s.blurhashWidth(t),height:s.blurhashHeight(t),punch:1,hash:t.media_attachments[0].blurhash,src:s.getMediaSource(t)}})],1)]):o("div",{staticClass:"media-body-comment"},[o("p",{staticClass:"media-body-comment-username"},[o("a",{attrs:{href:t.account.url}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),s._v(" "),o("read-more",{attrs:{status:t}})],1),s._v(" "),o("p",{staticClass:"media-body-reactions"},[s.profile?o("a",{staticClass:"font-weight-bold",class:[t.favourited?"text-primary":"text-muted"],attrs:{href:"#"},on:{click:function(o){return o.preventDefault(),s.likeComment(t,e,o)}}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]):s._e(),s._v(" "),o("span",{staticClass:"mx-1"},[s._v("·")]),s._v(" "),o("a",{staticClass:"text-muted font-weight-bold",attrs:{href:"#"},on:{click:function(o){return o.preventDefault(),s.replyToChild(t,e)}}},[s._v("Reply")]),s._v(" "),s.profile?o("span",{staticClass:"mx-1"},[s._v("·")]):s._e(),s._v(" "),s._o(o("a",{staticClass:"font-weight-bold text-muted",attrs:{href:t.url}},[s._v("\n\t\t\t\t\t\t\t\t"+s._s(s.shortTimestamp(t.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cdf"+e+t.id),s._v(" "),s.profile&&t.account.id===s.profile.id?o("span",[o("span",{staticClass:"mx-1"},[s._v("·")]),s._v(" "),o("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.deleteComment(e)}}},[s._v("\n\t\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t\t")])]):s._e()]),s._v(" "),s.replyChildIndex==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("feed")&&t.children.feed.length?o("div",s._l(t.children.feed,(function(t,e){return o("comment-post",{key:"scp_"+e+"_"+t.id,attrs:{status:t,profile:s.profile,commentBorderArrow:!0}})})),1):s._e(),s._v(" "),s.replyChildIndex==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("can_load_more")&&1==t.children.can_load_more?o("a",{staticClass:"text-muted font-weight-bold mt-1 mb-0",staticStyle:{"font-size":"13px"},attrs:{href:"#",disabled:s.loadingChildComments},on:{click:function(o){return o.preventDefault(),s.loadMoreChildComments(t,e)}}},[o("div",{staticClass:"comment-border-arrow"}),s._v(" "),o("i",{staticClass:"far fa-long-arrow-right mr-1"}),s._v("\n\t\t\t\t\t\t\t"+s._s(s.loadingChildComments?"Loading":"Load")+" more comments\n\t\t\t\t\t\t")]):s.replyChildIndex!==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("can_load_more")&&1==t.children.can_load_more&&t.reply_count>0&&!s.loadingChildComments?o("a",{staticClass:"text-muted font-weight-bold mt-1 mb-0",staticStyle:{"font-size":"13px"},attrs:{href:"#",disabled:s.loadingChildComments},on:{click:function(o){return o.preventDefault(),s.replyToChild(t,e)}}},[o("i",{staticClass:"far fa-long-arrow-right mr-1"}),s._v("\n\t\t\t\t\t\t\t"+s._s(s.loadingChildComments?"Loading":"Load")+" more comments\n\t\t\t\t\t\t")]):s._e(),s._v(" "),s.replyChildId==t.id?o("div",{staticClass:"mt-3 mb-3 d-flex align-items-top reply-form child-reply-form"},[o("div",{staticClass:"comment-border-arrow"}),s._v(" "),o("img",{staticClass:"rounded-circle mr-2 border",attrs:{src:s.avatar,width:"38",height:"38",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),s._v(" "),s.isUploading?o("div",{staticClass:"w-100"},[o("p",{staticClass:"font-weight-light mb-1"},[s._v("Uploading image ...")]),s._v(" "),o("div",{staticClass:"progress rounded-pill",staticStyle:{height:"10px"}},[o("div",{staticClass:"progress-bar progress-bar-striped progress-bar-animated",style:{width:s.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":s.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):o("div",{staticClass:"reply-form-input"},[o("input",{directives:[{name:"model",rawName:"v-model",value:s.childReplyContent,expression:"childReplyContent"}],staticClass:"form-control bg-light border-lighter rounded-pill",attrs:{placeholder:"Write a comment....",disabled:s.postingChildComment},domProps:{value:s.childReplyContent},on:{keyup:function(t){return!t.type.indexOf("key")&&s._k(t.keyCode,"enter",13,t.key,"Enter")?null:s.storeChildComment(e)},input:function(t){t.target.composing||(s.childReplyContent=t.target.value)}}})])]):s._e()])])})),0),s._v(" "),s.canLoadMore?o("button",{staticClass:"btn btn-link btn-sm text-muted mb-2",attrs:{disabled:s.isLoadingMore},on:{click:s.loadMoreComments}},[s.isLoadingMore?o("div",{staticClass:"spinner-border spinner-border-sm text-muted",attrs:{role:"status"}},[o("span",{staticClass:"sr-only"},[s._v("Loading...")])]):o("span",[s._v("\n\t\t\t\t\tLoad more comments ...\n\t\t\t\t")])]):s._e(),s._v(" "),s.profile&&s.canReply?o("div",{staticClass:"mt-3 mb-n3"},[o("div",{staticClass:"d-flex align-items-top reply-form cdrawer-reply-form"},[o("img",{staticClass:"rounded-circle mr-2 border",attrs:{src:s.avatar,width:"38",height:"38",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),s._v(" "),s.isUploading?o("div",{staticClass:"w-100"},[o("p",{staticClass:"font-weight-light small text-muted mb-1"},[s._v("Uploading image ...")]),s._v(" "),o("div",{staticClass:"progress rounded-pill",staticStyle:{height:"10px"}},[o("div",{staticClass:"progress-bar progress-bar-striped progress-bar-animated",style:{width:s.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":s.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):o("div",{staticClass:"w-100"},[o("div",{staticClass:"reply-form-input"},[o("textarea",{directives:[{name:"model",rawName:"v-model",value:s.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light border-lighter",attrs:{placeholder:"Write a comment....",rows:s.replyContent&&s.replyContent.length>40?4:1},domProps:{value:s.replyContent},on:{input:function(t){t.target.composing||(s.replyContent=t.target.value)}}}),s._v(" "),o("div",{staticClass:"reply-form-input-actions"},[o("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:s.uploadImage}},[o("i",{staticClass:"far fa-image fa-lg"})])])]),s._v(" "),o("div",{staticClass:"d-flex justify-content-between reply-form-menu"},[o("div",{staticClass:"char-counter"},[o("span",[s._v(s._s(null!==(t=null===(e=s.replyContent)||void 0===e?void 0:e.length)&&void 0!==t?t:0))]),s._v(" "),o("span",[s._v("/")]),s._v(" "),o("span",[s._v("500")])])])]),s._v(" "),o("button",{staticClass:"btn btn-link btn-sm font-weight-bold align-self-center ml-3 mb-3",on:{click:s.storeComment}},[s._v("Post")])])]):s._e()]):o("div",{staticClass:"border-top d-flex justify-content-center py-3"},[s._m(0)]),s._v(" "),o("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[s.lightboxStatus?o("div",{on:{click:s.hideLightbox}},[o("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:s.lightboxStatus.url}})]):s._e()])],1)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center"},[e("div",{staticClass:"spinner-border text-lighter",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]),t._v(" "),e("p",{staticClass:"text-muted"},[t._v("Loading Comments ...")])])}]},16560:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-post-component"},[e("div",{staticClass:"media media-status align-items-top mt-3"},[t.commentBorderArrow?e("div",{staticClass:"comment-border-arrow"}):t._e(),t._v(" "),e("a",{attrs:{href:t.status.account.url}},[e("img",{staticClass:"rounded-circle media-avatar border",attrs:{src:t.status.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),t._v(" "),e("div",{staticClass:"media-body"},[t.status.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"bh-comment",on:{click:function(e){return t.lightbox(t.status)}}},[e("blur-hash-image",{staticClass:"img-fluid rounded-lg border shadow",attrs:{width:t.blurhashWidth(t.status),height:t.blurhashHeight(t.status),punch:1,hash:t.status.media_attachments[0].blurhash,src:t.getMediaSource(t.status)}})],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t")])]),t._v(" "),e("read-more",{attrs:{status:t.status}})],1),t._v(" "),e("p",{staticClass:"media-body-reactions"},[t.profile?e("a",{staticClass:"font-weight-bold",class:[t.status.favourited?"text-primary":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.likeComment(t.status,t.index,e)}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t")]):t._e(),t._v(" "),t.profile?e("span",{staticClass:"mx-1"},[t._v("·")]):t._e(),t._v(" "),t._m(0),t._v(" "),t.profile&&t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(t.index)}}},[t._v("\n\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t")])]):t._e()])])])])},a=[function(){var t=this;return(0,t._self._c)("a",{staticClass:"font-weight-bold text-muted",attrs:{href:t.status.url}},[t._v("\n\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t")])}]},57442:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"context-menu-component modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,a=!!o.checked;if(Array.isArray(s)){var i=t._i(s,null);o.checked?i<0&&(t.ctxEmbedShowCaption=s.concat([null])):i>-1&&(t.ctxEmbedShowCaption=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowCaption=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,a=!!o.checked;if(Array.isArray(s)){var i=t._i(s,null);o.checked?i<0&&(t.ctxEmbedShowLikes=s.concat([null])):i>-1&&(t.ctxEmbedShowLikes=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowLikes=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,a=!!o.checked;if(Array.isArray(s)){var i=t._i(s,null);o.checked?i<0&&(t.ctxEmbedCompactMode=s.concat([null])):i>-1&&(t.ctxEmbedCompactMode=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedCompactMode=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},a=[]},64954:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-post-modal"},[e("b-modal",{ref:"modal",attrs:{size:"xl","hide-footer":"","hide-header":"",centered:"","body-class":"gpm p-0"}},[e("div",{staticClass:"d-flex"},[e("div",{staticClass:"gpm-media"},[e("img",{attrs:{src:t.status.media_attachments[0].preview_url}})]),t._v(" "),e("div",{staticClass:"p-3",staticStyle:{width:"30%"}},[e("div",{staticClass:"media align-items-center mb-2"},[e("a",{attrs:{href:t.status.account.url}},[e("img",{staticClass:"rounded-circle media-avatar border mr-2",attrs:{src:t.status.account.avatar,width:"32",height:"32"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username mb-n1"},[e("a",{staticClass:"text-dark text-decoration-none font-weight-bold",attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("p",{staticClass:"media-body-comment-timestamp mb-0"},[e("a",{staticClass:"font-weight-light text-muted small",attrs:{href:t.status.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted small"},[e("i",{staticClass:"fas fa-globe"})])])])]),t._v(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("read-more",{attrs:{status:t.status}}),t._v(" "),e("div",{staticClass:"border-top border-bottom mt-3"},[e("div",{staticClass:"d-flex justify-content-between",staticStyle:{padding:"8px 5px"}},[e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm text-muted"},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm",attrs:{disabled:""}},[e("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t")])])])],1)])])],1)},a=[]},38892:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":t.loaded&&"small"===t.size}},[t.loaded?e("div",{staticClass:"shadow-none mb-3"},["poll"!==t.status.pf_type?e("div",{staticClass:"card shadow-sm",class:{"border-top-0":!t.hasTopBorder},staticStyle:{"border-radius":"18px !important"}},[1==t.parentUnavailable?e("parent-unavailable",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId}}):e("div",{staticClass:"card-body pb-0"},[e("group-post-header",{attrs:{group:t.group,status:t.status,profile:t.profile,showGroupHeader:t.showGroupHeader,showGroupChevron:t.showGroupChevron},on:{delete:t.statusDeleted}}),t._v(" "),e("div",[e("div",[e("div",{staticClass:"pl-2"},[t.status.sensitive&&t.status.content.length?e("div",{staticClass:"card card-body shadow-none border bg-light py-2 my-2 text-center user-select-none cursor-pointer",on:{click:function(e){t.status.sensitive=!1}}},[e("div",{staticClass:"media justify-content-center align-items-center"},[e("div",{staticClass:"mx-3"},[e("i",{staticClass:"far fa-exclamation-triangle fa-2x text-lighter"})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Warning, may contain sensitive content. ")]),t._v(" "),e("p",{staticClass:"mb-0 text-lighter small text-center font-weight-bold"},[t._v("Click to view")])])])]):[e("p",{staticClass:"pt-2 text-break",staticStyle:{"font-size":"15px"},domProps:{innerHTML:t._s(t.renderedCaption)}})],t._v(" "),"photo"===t.status.pf_type?e("photo-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.showPostModal,togglecw:function(e){t.status.sensitive=!1},click:t.showPostModal}}):"video"===t.status.pf_type?e("video-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}}):"photo:album"===t.status.pf_type?e("photo-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}}):"video:album"===t.status.pf_type?e("video-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}}):"photo:video:album"===t.status.pf_type?e("mixed-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}}):t._e(),t._v(" "),t.status.favourites_count||t.status.reply_count?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2",staticStyle:{"font-size":"14px"}},[t.status.favourites_count?e("button",{staticClass:"btn btn-light py-0 text-decoration-none text-dark",staticStyle:{"font-size":"12px","font-weight":"600"},on:{click:function(e){return t.showLikesModal(e)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourites_count)+" "+t._s(1==t.status.favourites_count?"Like":"Likes")+"\n\t\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.status.reply_count?e("button",{staticClass:"btn btn-light py-0 text-decoration-none text-dark",staticStyle:{"font-size":"12px","font-weight":"600"},on:{click:function(e){return t.commentFocus(e)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.reply_count)+" "+t._s(1==t.status.reply_count?"Comment":"Comments")+"\n\t\t\t\t\t\t\t\t\t\t")]):t._e()])]):t._e(),t._v(" "),t.profile?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2 px-4"},[e("div",[e("button",{staticClass:"btn btn-link py-0 text-decoration-none",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited},attrs:{id:"lr__"+t.status.id},on:{click:function(e){return t.likeStatus(t.status,e)}}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none text-muted",on:{click:function(e){return t.commentFocus(e)}}},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none",attrs:{disabled:""}},[e("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId}}):t._e()],2)])])],1)],1):e("div",{staticClass:"border"},[e("poll-card",{attrs:{status:t.status,profile:t.profile,showBorder:!1},on:{"status-delete":t.statusDeleted}}),t._v(" "),e("div",{staticClass:"bg-white",staticStyle:{padding:"0 1.25rem"}},[t.profile?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2 px-4"},[e("div",[e("button",{staticClass:"btn btn-link py-0 text-decoration-none",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited},attrs:{id:"lr__"+t.status.id},on:{click:function(e){return t.likeStatus(t.status,e)}}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"lr__"+t.status.id,triggers:"hover",placement:"top"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("Popover Title")]},proxy:!0}],null,!1,4088088860)},[t._v("\n\t\t\t\t\t\t\t\t\tI am popover "),e("b",[t._v("component")]),t._v(" content!\n\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none text-muted",on:{click:function(e){return t.commentFocus(e)}}},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,profile:t.profile,status:t.status,"group-id":t.groupId}}):t._e()],1)],1),t._v(" "),t.profile?e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile,"group-id":t.groupId},on:{"status-delete":t.statusDeleted}}):t._e(),t._v(" "),t.showModal?e("post-modal",{ref:"modal",attrs:{status:t.status,profile:t.profile,groupId:t.groupId}}):t._e()],1):e("div",{staticClass:"card card-body shadow-none border mb-3",staticStyle:{height:"200px"}},[t._m(1)])])},a=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-link py-0 text-decoration-none",attrs:{disabled:""}},[t("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),this._v("\n\t\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t\t")])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[t("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])])}]},30832:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-all"}},[t.status.content.length<200?e("div",{domProps:{innerHTML:t._s(t.content)}}):e("div",[e("span",{domProps:{innerHTML:t._s(t.content)}}),t._v(" "),200==t.cursor||t.fullContent.length>t.cursor?e("a",{staticClass:"font-weight-bold text-muted",staticStyle:{display:"block","white-space":"nowrap"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.readMore.apply(null,arguments)}}},[e("i",{staticClass:"d-none fas fa-caret-down"}),t._v(" Read more...\n\t\t")]):t._e()])])},a=[]},48375:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t,e,s=this,o=s._self._c;return o("div",{staticClass:"group-post-header media"},[s.showGroupHeader?o("div",{staticClass:"mb-1",staticStyle:{position:"relative"}},[s.group.hasOwnProperty("metadata")&&(s.group.metadata.hasOwnProperty("avatar")||s.group.metadata.hasOwnProperty("header"))?o("img",{staticClass:"rounded-lg box-shadow mr-2",staticStyle:{"object-fit":"cover"},attrs:{src:s.group.metadata.hasOwnProperty("header")?s.group.metadata.header.url:s.group.metadata.avatar.url,width:"52",height:"52",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}):o("span",{staticClass:"d-block rounded-lg box-shadow mr-2 bg-primary",staticStyle:{width:"52px",height:"52px"}}),s._v(" "),o("img",{staticClass:"rounded-circle box-shadow border mr-2",staticStyle:{position:"absolute",bottom:"-4px",right:"-4px"},attrs:{src:s.status.account.avatar,width:"36",height:"36",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]):o("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:s.status.account.avatar,width:"42",height:"42",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),s._v(" "),o("div",{staticClass:"media-body"},[o("div",{staticClass:"pl-2 d-flex align-items-top"},[o("div",[o("p",{staticClass:"mb-0"},[s.showGroupHeader&&s.group?o("router-link",{staticClass:"group-name-link username",attrs:{to:"/groups/".concat(s.status.gid)}},[s._v("\n "+s._s(s.group.name)+"\n ")]):o("router-link",{staticClass:"group-name-link username",attrs:{to:"/groups/".concat(s.status.gid,"/user/").concat(null===(t=s.status)||void 0===t?void 0:t.account.id)},domProps:{innerHTML:s._s(s.statusCardUsernameFormat(s.status))}},[s._v("\n Loading...\n ")]),s._v(" "),s.showGroupChevron?o("span",[s._m(0),s._v(" "),o("span",[o("router-link",{staticClass:"group-name-link",attrs:{to:"/groups/".concat(s.status.gid)}},[s._v("\n "+s._s(s.group.name)+"\n ")])],1)]):s._e()],1),s._v(" "),o("p",{staticClass:"mb-0 mt-n1"},[s.showGroupHeader&&s.group?o("span",{staticStyle:{"font-size":"13px"}},[o("router-link",{staticClass:"group-name-link-small username",attrs:{to:"/groups/".concat(s.status.gid,"/user/").concat(null===(e=s.status)||void 0===e?void 0:e.account.id)},domProps:{innerHTML:s._s(s.statusCardUsernameFormat(s.status))}},[s._v("\n Loading...\n ")]),s._v(" "),o("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),o("router-link",{staticClass:"font-weight-light text-muted",attrs:{to:"/groups/".concat(s.status.gid,"/p/").concat(s.status.id)}},[s._v("\n "+s._s(s.shortTimestamp(s.status.created_at))+"\n ")]),s._v(" "),o("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),s._m(1)],1):o("span",[o("router-link",{staticClass:"font-weight-light text-muted small",attrs:{to:"/groups/".concat(s.status.gid,"/p/").concat(s.status.id)}},[s._v("\n "+s._s(s.shortTimestamp(s.status.created_at))+"\n ")]),s._v(" "),o("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),s._m(2)],1)])]),s._v(" "),s.profile?o("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[o("div",{staticClass:"dropdown"},[s._m(3),s._v(" "),o("div",{staticClass:"dropdown-menu dropdown-menu-right"},[o("a",{staticClass:"dropdown-item",attrs:{href:s.statusUrl()}},[s._v("View Post")]),s._v(" "),o("a",{staticClass:"dropdown-item",attrs:{href:s.profileUrl()}},[s._v("View Profile")]),s._v(" "),o("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.sendReport()}}},[s._v("Report")]),s._v(" "),o("div",{staticClass:"dropdown-divider"}),s._v(" "),o("a",{staticClass:"dropdown-item text-danger",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.onDelete()}}},[s._v("Delete")])])])]):s._e()])])])},a=[function(){var t=this._self._c;return t("span",{staticClass:"text-muted",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[t("i",{staticClass:"fas fa-caret-right"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-muted"},[t("i",{staticClass:"fas fa-globe"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-muted small"},[t("i",{staticClass:"fas fa-globe"})])},function(){var t=this._self._c;return t("button",{staticClass:"btn btn-link dropdown-toggle",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"fas fa-ellipsis-h text-lighter"})])}]},70560:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"18px !important"}},[e("div",{staticClass:"card-body pb-0"},[t._m(0),t._v(" "),e("div",[t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId,"can-reply":!1}}):t._e()],1)])])},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body border shadow-none mb-3",staticStyle:{"background-color":"#E5E7EB"}},[e("div",{staticClass:"media p-md-4"},[e("div",{staticClass:"mr-4 pt-2"},[e("i",{staticClass:"fas fa-lock fa-2x"})]),t._v(" "),e("div",{staticClass:"media-body",staticStyle:{"max-width":"320px"}},[e("p",{staticClass:"lead font-weight-bold mb-1"},[t._v("This content isn't available right now")]),t._v(" "),e("p",{staticClass:"mb-0",staticStyle:{"font-size":"12px","letter-spacing":"-0.3px"}},[t._v("When this happens, it's usually because the owner only shared it with a small group of people, changed who can see it, or it's been deleted.")])])])])}]},18389:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(s,o){return e("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{slot:"img",title:s.description},slot:"img"},[e("img",{class:s.filter_class+" d-block img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(s,o){return e("slide",{key:"px-carousel-"+s.id+"-"+o,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},a=[]},28691:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb",id:"carousel-"+t.status.id}},t._l(t.status.media_attachments,(function(s,o){return e("slide",{key:"px-carousel-"+s.id+"-"+o,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[e("img",{staticClass:"img-fluid w-100 p-0",attrs:{src:s.url,alt:t.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",left:"0",top:"0","border-bottom-right-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},84094:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},12024:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},a=[]},75593:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"","webkit-playsinline":"",preload:"metadata",loop:"","data-id":t.status.id,poster:t.poster()}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},45322:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,a=!!o.checked;if(Array.isArray(s)){var i=t._i(s,null);o.checked?i<0&&(t.ctxEmbedShowCaption=s.concat([null])):i>-1&&(t.ctxEmbedShowCaption=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowCaption=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,a=!!o.checked;if(Array.isArray(s)){var i=t._i(s,null);o.checked?i<0&&(t.ctxEmbedShowLikes=s.concat([null])):i>-1&&(t.ctxEmbedShowLikes=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowLikes=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,a=!!o.checked;if(Array.isArray(s)){var i=t._i(s,null);o.checked?i<0&&(t.ctxEmbedCompactMode=s.concat([null])):i>-1&&(t.ctxEmbedCompactMode=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedCompactMode=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},a=[]},28995:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[e("div",{staticClass:"poll py-3"},[e("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),e("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),e("div",{staticClass:"mb-2"},["vote"===t.tab?e("div",[t._l(t.status.poll.options,(function(s,o){return e("p",[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[o==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?e("p",{staticClass:"text-right"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?e("div",t._l(t.status.poll.options,(function(s,o){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[o==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?e("div",t._l(t.status.poll.options,(function(s,o){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[e("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?e("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),e("div",[e("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},a=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),e("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this._self._c;return t("span",{staticClass:"btn btn-primary px-2 py-1"},[t("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},6649:(t,e,s)=>{Vue.component("group-topic-feed",s(41056).default)},37365:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,".card-img-top[data-v-7066737e]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-7066737e]{position:relative}.content-label[data-v-7066737e]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-7066737e]{position:relative}",""]);const i=a},74e3:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,".card-img-top[data-v-f935045a]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-f935045a]{position:relative}.content-label[data-v-f935045a]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const i=a},83853:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,".content-label-wrapper[data-v-7871d23c]{position:relative}.content-label[data-v-7871d23c]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const i=a},92520:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,'.comment-drawer-component .media{position:relative}.comment-drawer-component .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.comment-drawer-component .media .comment-border-link:hover{background-color:#bfdbfe}.comment-drawer-component .media .child-reply-form{position:relative}.comment-drawer-component .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.comment-drawer-component .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.comment-drawer-component .media-status{margin-bottom:1.3rem}.comment-drawer-component .media-avatar{margin-right:12px}.comment-drawer-component .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.comment-drawer-component .media-body-comment-username{color:#000;font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.comment-drawer-component .media-body-comment-username a{color:#000;text-decoration:none}.comment-drawer-component .media-body-comment-content{font-size:16px;margin-bottom:0}.comment-drawer-component .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.25rem!important}.comment-drawer-component .load-more-comments{font-weight:500}.comment-drawer-component .reply-form{margin-bottom:2rem}.comment-drawer-component .reply-form-input{flex:1;position:relative}.comment-drawer-component .reply-form-input textarea{border-radius:10px}.comment-drawer-component .reply-form-input .form-control{padding-right:100px;resize:none}.comment-drawer-component .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.comment-drawer-component .reply-form .btn{text-decoration:none}.comment-drawer-component .reply-form-menu{margin-top:5px}.comment-drawer-component .reply-form-menu .char-counter{color:var(--muted);font-size:10px}.comment-drawer-component .bh-comment,.comment-drawer-component .bh-comment img,.comment-drawer-component .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.comment-drawer-component .bh-comment img{-o-object-fit:cover;object-fit:cover}',""]);const i=a},34682:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,"",""]);const i=a},46262:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,".gpm-media{display:flex;width:70%}.gpm-media img{background-color:#000;height:auto;max-height:70vh;-o-object-fit:contain;object-fit:contain;width:100%}.gpm .comment-drawer-component .my-3{max-height:46vh;overflow:auto}.gpm .cdrawer-reply-form{bottom:0;margin-bottom:1rem!important;min-width:310px;position:absolute}",""]);const i=a},61814:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}.reaction-bar{border:1px solid #f3f4f6!important;left:-50px!important;max-width:unset;width:auto}.reaction-bar .popover-body{padding:2px}.reaction-bar .arrow{display:none}.reaction-bar img{width:48px}",""]);const i=a},32845:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,".group-post-header .btn[data-v-29a27e2f]::focus{box-shadow:none}.group-post-header .dropdown-toggle[data-v-29a27e2f]:after{display:none}.group-post-header .group-name-link[data-v-29a27e2f]{font-size:16px}.group-post-header .group-name-link[data-v-29a27e2f],.group-post-header .group-name-link-small[data-v-29a27e2f]{word-wrap:break-word!important;color:var(--body-color)!important;font-weight:600;text-decoration:none;word-break:break-word!important}.group-post-header .group-name-link-small[data-v-29a27e2f]{font-size:14px}",""]);const i=a},47754:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(37365),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},34681:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(74e3),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},33844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(83853),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},34969:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(92520),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},80403:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(34682),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},54077:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(46262),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},25147:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(61814),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},96246:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(32845),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},41056:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(25041),a=s(74795),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},69513:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(99873),a=s(96046),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(92664);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},66536:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(47173),a=s(7059),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(94378);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},84125:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(22515),a=s(60586),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},42013:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(2133),a=s(65638),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(29030);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},95002:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(97569),a=s(60481),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(24870);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},7764:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(8751),a=s(6723),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},76746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(82368),a=s(28725),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(58781);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,"29a27e2f",null).exports},40798:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(97299),a=s(84381),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21466:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(63476),a=s(95509),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},98051:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(37086),a=s(90660),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(11415);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,"7066737e",null).exports},37128:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(84585),a=s(2815),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(85650);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,"f935045a",null).exports},61518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(99521),a=s(4777),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},79427:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(17962),a=s(6452),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(75475);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,"7871d23c",null).exports},53744:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(29375),a=s(21663),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},78841:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(8044),a=s(24966),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},74795:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(44928),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},96046:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(68717),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},7059:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(78828),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},60586:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(15961),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},65638:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(43599),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},60481:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(6234),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},6723:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(79270),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},28725:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(33664),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},84381:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(75e3),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},95509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(33422),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},90660:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(36639),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},2815:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(9266),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},4777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(35986),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},6452:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(25189),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},21663:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(70384),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},24966:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(78615),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},25041:(t,e,s)=>{"use strict";s.r(e);var o=s(85620),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},99873:(t,e,s)=>{"use strict";s.r(e);var o=s(59296),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},47173:(t,e,s)=>{"use strict";s.r(e);var o=s(16560),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},22515:(t,e,s)=>{"use strict";s.r(e);var o=s(57442),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},2133:(t,e,s)=>{"use strict";s.r(e);var o=s(64954),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},97569:(t,e,s)=>{"use strict";s.r(e);var o=s(38892),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},8751:(t,e,s)=>{"use strict";s.r(e);var o=s(30832),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},82368:(t,e,s)=>{"use strict";s.r(e);var o=s(48375),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},97299:(t,e,s)=>{"use strict";s.r(e);var o=s(70560),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},63476:(t,e,s)=>{"use strict";s.r(e);var o=s(18389),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},37086:(t,e,s)=>{"use strict";s.r(e);var o=s(28691),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},84585:(t,e,s)=>{"use strict";s.r(e);var o=s(84094),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},99521:(t,e,s)=>{"use strict";s.r(e);var o=s(12024),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},17962:(t,e,s)=>{"use strict";s.r(e);var o=s(75593),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},29375:(t,e,s)=>{"use strict";s.r(e);var o=s(45322),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},8044:(t,e,s)=>{"use strict";s.r(e);var o=s(28995),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},11415:(t,e,s)=>{"use strict";s.r(e);var o=s(47754),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},85650:(t,e,s)=>{"use strict";s.r(e);var o=s(34681),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},75475:(t,e,s)=>{"use strict";s.r(e);var o=s(33844),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},92664:(t,e,s)=>{"use strict";s.r(e);var o=s(34969),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},94378:(t,e,s)=>{"use strict";s.r(e);var o=s(80403),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},29030:(t,e,s)=>{"use strict";s.r(e);var o=s(54077),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},24870:(t,e,s)=>{"use strict";s.r(e);var o=s(25147),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},58781:(t,e,s)=>{"use strict";s.r(e);var o=s(96246),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)}},t=>{t.O(0,[3660],(()=>{return e=6649,t(t.s=e);var e}));t.O()}]); |