"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[177],{53411:(t,e,o)=>{o.r(e),o.d(e,{default:()=>l});var s=o(42755),i=o(89965),n=o(85748),a=o(32303),r=o(24721);const l={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{drawer:s.default,"profile-feed":i.default,"profile-sidebar":n.default,"profile-followers":a.default,"profile-following":r.default},data:function(){return{isLoaded:!1,curUser:void 0,tab:"index",profile:void 0,relationship:void 0}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.tab="index",this.isLoaded=!1,this.relationship=void 0,this.owner=!1,this.cachedProfile&&this.cachedUser?(this.curUser=this.cachedUser,this.profile=this.cachedProfile,this.fetchRelationship()):(this.curUser=window._sharedData.user,this.fetchProfile())},getTabComponentName:function(){return"index"===this.tab?"profile-feed":"profile-".concat(this.tab)},fetchProfile:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/"+e).then((function(e){t.profile=e.data,e.data.id==t.curUser.id?(t.owner=!0,t.fetchRelationship()):(t.owner=!1,t.fetchRelationship())}))},fetchRelationship:function(){var t=this;if(this.owner)return this.relationship={},void(this.isLoaded=!0);axios.get("/api/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.isLoaded=!0}))},toggleTab:function(t){this.tab=t},goBack:function(){this.$router.push("/i/web")},unfollow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/unfollow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship.following=!1})).catch((function(e){swal("Oops!","An error occured when attempting to unfollow this account.","error"),t.relationship.following=!0}))},follow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/follow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship.following=!0})).catch((function(e){swal("Oops!","An error occured when attempting to follow this account.","error"),t.relationship.following=!1}))}}}},55336:(t,e,o)=>{o.r(e),o.d(e,{default:()=>i});var s=o(43985);const i={props:{hash:{type:String,required:!0},width:{type:[Number,String],default:32},height:{type:[Number,String],default:32},punch:{type:Number,default:1}},mounted:function(){this.draw()},updated:function(){console.log("updated")},beforeDestroy:function(){console.log("beforeDestroy")},methods:{parseNumber:function(t){return"number"==typeof t?t:parseInt(t,10)},draw:function(){var t=this.parseNumber(this.width),e=this.parseNumber(this.height),o=this.parseNumber(this.punch),i=(0,s.decode)(this.hash,t,e,o),n=this.$refs.canvas.getContext("2d"),a=n.createImageData(t,e);a.data.set(i),n.putImageData(a,0,0)}}}},77366:(t,e,o)=>{o.r(e),o.d(e,{default:()=>l});var s=o(80979),i=o(26535),n=o(22583),a=o(30765),r=o.n(a);const l={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"read-more":s.default,"profile-hover-card":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{toggleLightbox:function(t){r()({el:t.target})},timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},count:function(t){return App.util.format.count(t)},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.url},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.status.account.id),params:{id:this.status.account.id,cachedProfile:this.status.account,cachedUser:this.profile}})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},videoAltText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,o)=>{o.r(e),o.d(e,{default:()=>s});const s={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},25356:(t,e,o)=>{o.r(e),o.d(e,{default:()=>l});var s=o(15235),i=o(80979),n=o(22583),a=o(38287),r=o(4268);const l={props:{status:{type:Object}},components:{VueTribute:s.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(o){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],o=e.favourites_count,s=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=s?o-1:o+1,axios.post("/api/v1/statuses/"+e.id+"/"+(s?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},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},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(o){e.feed[t].replies=o.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(o){e.$store.commit("updateRelationship",[o.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(o){e.$store.commit("updateRelationship",[o.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++}}}},90427:(t,e,o)=>{o.r(e),o.d(e,{default:()=>i});var s=o(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:s.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(o){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],o=e.favourites_count,s=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=s?o-1:o+1,axios.post("/api/v1/statuses/"+e.id+"/"+(s?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},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},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,o)=>{o.r(e),o.d(e,{default:()=>s});const s={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,o)=>{o.r(e),o.d(e,{default:()=>s});const s={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 o=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,o)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var o=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,o)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var o=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,o)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$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;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;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 o=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+o,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var o=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 "+o,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},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,o=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s?axios.post("/i/report/",{report:t,type:"post",id:o}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"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(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,o){var s=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(s.$t("common.success"),s.$t("menu.modCWSuccess"),"success"),s.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(s.$t("common.success"),s.$t("menu.modRemoveCWSuccess"),"success"),s.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){s.$emit("moderate","unlist"),swal(s.$t("common.success"),s.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){s.$emit("moderate","spammer"),swal(s.$t("common.success"),s.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var o=this;0!=$("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})).catch((function(t){swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"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(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(o){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},57170:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(78423),i=o(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:s.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var o=this.likes[t];axios.post("/api/v1/accounts/"+o.id+"/follow").then((function(o){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var o=this.likes[t];axios.post("/api/v1/accounts/"+o.id+"/unfollow").then((function(o){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},66286:(t,e,o)=>{o.r(e),o.d(e,{default:()=>s});const s={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,o=document.createElement("div");o.innerHTML=e,o.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),o.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var o=e.innerText;if("@"==o.substr(0,1)&&(o=o.substr(1)),0==t.status.account.local&&!o.includes("@")){var s=document.createElement("a");s.href=t.status.account.url,o=o+"@"+s.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+o)})),this.content=o.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var o=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),o)}))}}}},92762:(t,e,o)=>{o.r(e),o.d(e,{default:()=>p});var s=o(78423),i=o(99247),n=o(45836),a=o(90086),r=o(8829),l=o(5327),c=o(21917);function d(t){return function(t){if(Array.isArray(t))return u(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)return;if("string"==typeof t)return u(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return u(t,e)}(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 u(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,s=new Array(e);o0})),s=o.map((function(t){return t.id}));t.ids=s,t.max_id=Math.min.apply(Math,d(s)),o.forEach((function(e){t.feed.push(e)})),t.canLoadMore=9===t.feed.length,t.feedLoaded=!0}))},enterIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:9,only_media:!0,max_id:this.max_id}}).then((function(e){e.data&&e.data.length||(t.canLoadMore=!1);e.data.filter((function(t){return t.media_attachments.length>0})).filter((function(e){return-1==t.ids.indexOf(e.id)})).forEach((function(e){e.id{o.r(e),o.d(e,{default:()=>u});var s=o(78423),i=o(48510),n=o(22583),a=o(20629);function r(t){return function(t){if(Array.isArray(t))return l(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)return;if("string"==typeof t)return l(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return l(t,e)}(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 l(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,s=new Array(e);o)?/g,(function(t){var o=t.slice(1,t.length-1),s=e.getCustomEmoji.filter((function(t){return t.shortcode==o}));return s.length?''.concat(s[0].shortcode,''):t}))}return o},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})}}}},68365:(t,e,o)=>{o.r(e),o.d(e,{default:()=>u});var s=o(78423),i=o(48510),n=o(22583),a=o(20629);function r(t){return function(t){if(Array.isArray(t))return l(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)return;if("string"==typeof t)return l(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return l(t,e)}(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 l(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,s=new Array(e);o)?/g,(function(t){var o=t.slice(1,t.length-1),s=e.getCustomEmoji.filter((function(t){return t.shortcode==o}));return s.length?''.concat(s[0].shortcode,''):t}))}return o},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})}}}},50371:(t,e,o)=>{o.r(e),o.d(e,{default:()=>r});var s=o(80979),i=o(20629);function n(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,s)}return o}function a(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}const r={props:{profile:{type:Object}},components:{ReadMore:s.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var o=e.slice(1,e.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==o}));return s.length?''.concat(s[0].shortcode,''):e}))}return o},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,o=document.createElement("div");o.innerHTML=e,o.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),o.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var o=e.innerText;if("@"==o.substr(0,1)&&(o=o.substr(1)),0==t.profile.local&&!o.includes("@")){var s=document.createElement("a");s.href=t.profile.url,o=o+"@"+s.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+o)})),this.bio=o.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},38544:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(20629);function i(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,s)}return o}function n(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}const a={props:{profile:{type:Object},relationship:{type:Object,default:function(){return{following:!1,followed_by:!1}}},user:{type:Object}},computed:function(t){for(var e=1;e)?/g,(function(e){var o=e.slice(1,e.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==o}));return s.length?''.concat(s[0].shortcode,''):e}))}return o},formatCount:function(t){return App.util.format.count(t)},goBack:function(){this.$emit("back")},showFullBio:function(){this.$refs.fullBio.show()},toggleTab:function(t){event.currentTarget.blur(),this.$emit("toggletab",t)},getJoinedDate:function(){var t=new Date(this.profile.created_at),e=new Intl.DateTimeFormat("en-US",{month:"long"}).format(t),o=t.getFullYear();return"".concat(e," ").concat(o)},follow:function(){event.currentTarget.blur(),this.$emit("follow")},unfollow:function(){event.currentTarget.blur(),this.$emit("unfollow")},getBio:function(){if(this.profile&&this.profile.note_text&&this.profile.note_text.length)return window.pftxt.autoLink(this.profile.note_text,{usernameUrlBase:"/i/web/profile/@",hashtagUrlBase:"/i/web/hashtag/"})},getAvatar:function(){return this.profile.id==this.user.id?window._sharedData.user.avatar:this.profile.avatar},copyTextToClipboard:function(t){App.util.clipboard(t)},goToOldProfile:function(){this.profile.local?location.href=this.profile.url:location.href="/i/web/profile/_/"+this.profile.id},handleMute:function(){var t=this,e=this.relationship.muting?"unmuted":"muted",o=1==this.relationship.muting?"/i/unmute":"/i/mute";axios.post(o,{type:"user",item:this.profile.id}).then((function(o){t.relationship.muting=!t.relationship.muting,swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},handleBlock:function(){var t=this,e=this.relationship.blocking?"unblock":"block",o=1==this.relationship.blocking?"/i/unblock":"/i/block";axios.post(o,{type:"user",item:this.profile.id}).then((function(o){t.relationship.blocking=!t.relationship.blocking,swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}}}},24304:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(23645),i=o.n(s)()((function(t){return t[1]}));i.push([t.id,".profile-timeline-component[data-v-c95215d8]{margin-bottom:10rem}",""]);const n=i},41882:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(23645),i=o.n(s)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .primary{color:#3b82f6}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:15px;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:15px;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;margin:0;position:absolute;top:0;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .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}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .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}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:#eff2f5;border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:#000;font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:#000;text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight,.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label{height:400px}',""]);const n=i},5480:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(23645),i=o.n(s)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:#64748b}.post-comment-drawer-feed .sort-menu .description{color:#94a3b8;font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:#212529;font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:#334155}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:#fff;border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},31946:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(23645),i=o.n(s)()((function(t){return t[1]}));i.push([t.id,".profile-feed-component{margin-top:0}.profile-feed-component .ph-wrapper{padding:.25rem}.profile-feed-component .ph-wrapper .ph-item{background-color:transparent;border:none;margin:0;padding:0}.profile-feed-component .ph-wrapper .ph-item .ph-picture{border-radius:5px;height:auto;padding-bottom:100%}.profile-feed-component .ph-wrapper .ph-item>*{margin-bottom:0}.profile-feed-component .info-overlay-text-field{font-size:13.5px;margin-bottom:2px}@media(min-width:768px){.profile-feed-component .info-overlay-text-field{font-size:20px;margin-bottom:15px}}",""]);const n=i},99280:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(23645),i=o.n(s)()((function(t){return t[1]}));i.push([t.id,".profile-followers-component .list-group-item{border:none}.profile-followers-component .list-group-item:not(:last-child){border-bottom:1px solid rgba(0,0,0,.125)}",""]);const n=i},60618:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(23645),i=o.n(s)()((function(t){return t[1]}));i.push([t.id,".profile-following-component .list-group-item{border:none}.profile-following-component .list-group-item:not(:last-child){border-bottom:1px solid rgba(0,0,0,.125)}",""]);const n=i},19661:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(23645),i=o.n(s)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:#212529;text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:#94a3b8;margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},74628:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(23645),i=o.n(s)()((function(t){return t[1]}));i.push([t.id,'.profile-sidebar-component{margin-bottom:1rem}.profile-sidebar-component .avatar{border-radius:15px;margin-bottom:1rem;width:140px}.profile-sidebar-component .display-name{font-size:20px;font-size:15px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-sidebar-component .display-name,.profile-sidebar-component .username{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.profile-sidebar-component .username{color:#3b82f6;font-size:14px;font-weight:600}.profile-sidebar-component .username.remote{font-size:11px}.profile-sidebar-component .stats{margin-bottom:1rem}.profile-sidebar-component .stats .stat-item{flex:0 0 33%;margin:0;max-width:33%;padding:0;text-align:center;text-decoration:none}.profile-sidebar-component .stats .stat-item strong{color:#000;display:block;font-size:18px;line-height:.9}.profile-sidebar-component .stats .stat-item span{color:#b8c2cc;display:block;font-size:12px}@media(min-width:768px){.profile-sidebar-component .follow-btn{margin-bottom:2rem}}.profile-sidebar-component .follow-btn.btn-primary{background-color:#3b82f6}.profile-sidebar-component .follow-btn.btn-light{border-color:#e5e7eb}.profile-sidebar-component .unfollow-btn{background-color:rgba(59,130,246,.7)}@media(min-width:768px){.profile-sidebar-component .unfollow-btn{margin-bottom:2rem}}.profile-sidebar-component .bio-wrapper{margin-bottom:1rem}.profile-sidebar-component .bio-wrapper .bio-body{display:block;font-size:12px!important;position:relative;white-space:pre-wrap}.profile-sidebar-component .bio-wrapper .bio-body .username{font-size:12px!important}.profile-sidebar-component .bio-wrapper .bio-body.long{max-height:80px;overflow:hidden}.profile-sidebar-component .bio-wrapper .bio-body.long:after{background:linear-gradient(180deg,transparent,hsla(0,0%,100%,.9) 60%,#fff 90%);content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:2}.profile-sidebar-component .bio-wrapper .bio-body p{margin-bottom:0!important}.profile-sidebar-component .bio-wrapper .bio-more{position:relative;z-index:3}.profile-sidebar-component .admin-label{background:#fee2e2;border:1px solid #fca5a5;border-radius:8px;color:#b91c1c;display:inline-block;font-size:12px;font-weight:600;padding:1px 5px;text-transform:capitalize}.profile-sidebar-component .sidebar-sitelinks{justify-content:space-between;margin-top:1rem;padding:0}.profile-sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.profile-sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.profile-sidebar-component .sidebar-attribution{color:#b8c2cc!important;font-size:12px;margin-top:.5rem}.profile-sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.profile-sidebar-component .user-card{align-items:center}.profile-sidebar-component .user-card .avatar{border:1px solid #e5e7eb;border-radius:15px;height:80px;margin-right:.8rem;width:80px}@media(min-width:390px){.profile-sidebar-component .user-card .avatar{height:100px;width:100px}}.profile-sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.profile-sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1}.profile-sidebar-component .user-card .avatar-update-btn-icon:before{content:""}.profile-sidebar-component .user-card .username{font-size:13px;font-weight:600;line-height:12px;margin:4px 0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}@media(min-width:390px){.profile-sidebar-component .user-card .username{font-size:16px;margin:8px 0}}.profile-sidebar-component .user-card .display-name{color:#212529;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:20px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}@media(min-width:390px){.profile-sidebar-component .user-card .display-name{font-size:24px}}.profile-sidebar-component .user-card .stats{display:flex;flex-direction:row;font-size:16px;justify-content:space-between;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-sidebar-component .user-card .stats .followers-count,.profile-sidebar-component .user-card .stats .following-count,.profile-sidebar-component .user-card .stats .posts-count{display:flex;font-weight:800}.profile-sidebar-component .user-card .stats .stats-label{color:#94a3b8;font-size:11px;margin-top:-5px}',""]);const n=i},7910:(t,e,o)=>{o.r(e),o.d(e,{default:()=>r});var s=o(93379),i=o.n(s),n=o(24304),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},79999:(t,e,o)=>{o.r(e),o.d(e,{default:()=>r});var s=o(93379),i=o.n(s),n=o(41882),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},93362:(t,e,o)=>{o.r(e),o.d(e,{default:()=>r});var s=o(93379),i=o.n(s),n=o(5480),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},56793:(t,e,o)=>{o.r(e),o.d(e,{default:()=>r});var s=o(93379),i=o.n(s),n=o(31946),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},82562:(t,e,o)=>{o.r(e),o.d(e,{default:()=>r});var s=o(93379),i=o.n(s),n=o(99280),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},9308:(t,e,o)=>{o.r(e),o.d(e,{default:()=>r});var s=o(93379),i=o.n(s),n=o(60618),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},82084:(t,e,o)=>{o.r(e),o.d(e,{default:()=>r});var s=o(93379),i=o.n(s),n=o(19661),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},91137:(t,e,o)=>{o.r(e),o.d(e,{default:()=>r});var s=o(93379),i=o.n(s),n=o(74628),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},70595:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(79204),i=o(41142),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);o(51142);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,"c95215d8",null).exports},90086:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(78710),i=o(79642),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},45836:(t,e,o)=>{o.r(e),o.d(e,{default:()=>i});var s=o(89673);const i=(0,o(51900).default)({},s.render,s.staticRenderFns,!1,null,null,null).exports},99247:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(80508),i=o(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);o(74413);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},21917:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(12350),i=o(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},26535:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(91056),i=o(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);o(79981);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},38287:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(61070),i=o(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},4268:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(50309),i=o(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},8829:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(3790),i=o(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},48510:(t,e,o)=>{o.r(e),o.d(e,{default:()=>i});var s=o(98223);const i=(0,o(51900).default)({},s.render,s.staticRenderFns,!1,null,null,null).exports},5327:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(19986),i=o(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},80979:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(17386),i=o(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},89965:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(21827),i=o(68944),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);o(94001);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},32303:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(4880),i=o(48084),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);o(29962);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},24721:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(99417),i=o(96400),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);o(9676);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},22583:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(28527),i=o(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);o(90738);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},85748:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(42681),i=o(64803),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);o.d(e,n);o(10164);const a=(0,o(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},41142:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(53411),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},79642:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(55336),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},41081:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(77366),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},35181:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(62744),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},55862:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(25356),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},63106:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(90427),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},78789:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(27830),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},12422:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(36765),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},40423:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(57170),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},20516:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(66286),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},68944:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(92762),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},48084:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(90760),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},96400:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(68365),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},81498:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(50371),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},64803:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var s=o(38544),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i);const n=s.default},51142:(t,e,o)=>{o.r(e);var s=o(7910),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},74413:(t,e,o)=>{o.r(e);var s=o(79999),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},79981:(t,e,o)=>{o.r(e);var s=o(93362),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},94001:(t,e,o)=>{o.r(e);var s=o(56793),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},29962:(t,e,o)=>{o.r(e);var s=o(82562),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},9676:(t,e,o)=>{o.r(e);var s=o(9308),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},90738:(t,e,o)=>{o.r(e);var s=o(82084),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},10164:(t,e,o)=>{o.r(e);var s=o(91137),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},79204:(t,e,o)=>{o.r(e);var s=o(99771),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},78710:(t,e,o)=>{o.r(e);var s=o(30703),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},89673:(t,e,o)=>{o.r(e);var s=o(20454),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},80508:(t,e,o)=>{o.r(e);var s=o(51986),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},12350:(t,e,o)=>{o.r(e);var s=o(4493),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},91056:(t,e,o)=>{o.r(e);var s=o(21903),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},61070:(t,e,o)=>{o.r(e);var s=o(72348),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},50309:(t,e,o)=>{o.r(e);var s=o(64084),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},3790:(t,e,o)=>{o.r(e);var s=o(83712),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},98223:(t,e,o)=>{o.r(e);var s=o(72729),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},19986:(t,e,o)=>{o.r(e);var s=o(51364),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},17386:(t,e,o)=>{o.r(e);var s=o(20512),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},21827:(t,e,o)=>{o.r(e);var s=o(67949),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},4880:(t,e,o)=>{o.r(e);var s=o(50252),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},99417:(t,e,o)=>{o.r(e);var s=o(83357),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},28527:(t,e,o)=>{o.r(e);var s=o(785),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},42681:(t,e,o)=>{o.r(e);var s=o(87577),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);o.d(e,i)},99771:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"profile-timeline-component"},[t.isLoaded?o("div",{staticClass:"container-fluid mt-3"},[o("div",{staticClass:"row"},[o("div",{staticClass:"col-md-3 d-md-block px-md-3 px-xl-5"},[o("profile-sidebar",{attrs:{profile:t.profile,relationship:t.relationship,user:t.curUser},on:{back:t.goBack,toggletab:t.toggleTab,follow:t.follow,unfollow:t.unfollow}})],1),t._v(" "),o("div",{staticClass:"col-md-8 px-md-5"},[o(t.getTabComponentName(),{key:t.getTabComponentName()+t.profile.id,tag:"component",attrs:{profile:t.profile,relationship:t.relationship}})],1)]),t._v(" "),o("drawer")],1):t._e()])},i=[]},30703:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement;return(t._self._c||e)("canvas",{ref:"canvas",attrs:{width:t.parseNumber(t.width),height:t.parseNumber(t.height)}})},i=[]},20454:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[o("div",{staticClass:"ph-col-12"},[o("div",{staticClass:"ph-row align-items-center"},[o("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),o("div",{staticClass:"ph-col-6 big"})]),t._v(" "),o("div",{staticClass:"empty"}),t._v(" "),o("div",{staticClass:"empty"}),t._v(" "),o("div",{staticClass:"ph-picture"}),t._v(" "),o("div",{staticClass:"ph-row"},[o("div",{staticClass:"ph-col-12 empty"}),t._v(" "),o("div",{staticClass:"ph-col-12 big"}),t._v(" "),o("div",{staticClass:"ph-col-12 empty"}),t._v(" "),o("div",{staticClass:"ph-col-12"})])])])}]},51986:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"timeline-status-component"},[o("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[o("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[o("div",{staticClass:"media align-items-center"},[o("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[o("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"font-weight-bold username"},[o("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[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(" "),o("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[o("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),o("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[o("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v(t._s(t.timeago(t.status.created_at)))]),t._v(" "),o("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),o("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[o("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?o("span",[o("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?o("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):o("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?o("span",[o("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),o("span",{staticClass:"location"},[o("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?o("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[o("b-dropdown-item",[o("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),o("b-dropdown-item",[o("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?o("b-dropdown-item",[o("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():o("b-dropdown-divider"),t._v(" "),t.owner?t._e():o("b-dropdown-item",[o("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),o("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?o("b-dropdown-item",[o("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),o("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?o("b-dropdown-item",[o("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),o("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?o("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?o("b-dropdown-item",[o("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t\t\t")])]):t._e()],1):o("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[o("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)]),t._v(" "),t.fixedHeight?o("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?o("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?o("div",{staticClass:"content-label-wrapper"},[o("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),o("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),o("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),o("p",{staticClass:"mb-0"},[o("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(" "),o("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):o("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[o("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),o("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?o("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[o("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?o("div",{staticClass:"content-label-wrapper"},[o("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),o("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),o("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),o("p",{staticClass:"mb-0"},[o("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):o("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[o("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?o("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[o("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{togglecw:function(e){return t.toggleContentWarning()}}})],1):"text"===t.status.pf_type?o("div"):o("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[o("div",[t._m(2),t._v(" "),o("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),o("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):o("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?o("div",{staticClass:"w-100"},[o("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?o("div",{staticClass:"w-100"},[o("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?o("div",{staticClass:"w-100"},[o("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?o("div",{staticClass:"w-100"},[o("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?o("div",{staticClass:"w-100"},[o("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?o("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[o("p",[o("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e(),t._v(" "),t.newReactions?o("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[t.status.favourites_count&&t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url?o("div",{staticClass:"mb-0"},[t.hideCounts?t._e():o("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\t\t\tLiked by "),o("a",{staticClass:"primary font-weight-bold",attrs:{href:"/i/web/username/"+t.status.liked_by.username}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?o("span",[t._v("\n\t\t\t\t\t\tand "),o("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()])]):t._e(),t._v(" "),o("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[o("div",[o("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?o("span",{staticClass:"primary"},[o("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):o("span",[o("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.status.favourites_count&&!t.hideCounts?o("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.favourites_count))+"\n\t\t\t\t\t\t\t"),o("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.favourites_count?t.$t("common.like"):t.$t("common.likes")))])]):o("span",[o("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),o("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[o("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.status.reply_count&&!t.hideCounts?o("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.reply_count))+"\n\t\t\t\t\t\t\t"),o("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.reply_count?t.$t("common.comment"):t.$t("common.comments")))])]):o("span",[o("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),o("div",[o("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?o("span",[o("b-spinner",{attrs:{variant:"warning",small:""}})],1):o("span",[1==t.status.reblogged?o("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):o("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?o("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t\t\t")]):t._e()])]),t._v(" "),o("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?o("span",[o("b-spinner",{attrs:{variant:"warning",small:""}})],1):o("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?o("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):o("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?o("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[o("i",{staticClass:"far fa-user-crown"})]):t._e()])])]):t._e(),t._v(" "),t.newReactions||!t.status.favourites_count&&!t.status.reply_count||t.hideCounts?t._e():o("div",{staticClass:"card-footer d-flex justify-content-between border-bottom py-1",staticStyle:{"z-index":"3"}},[o("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count))+" "+t._s(t.$t("common.likes")))]),t._v(" "),o("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm"},[t._v(t._s(t.count(t.status.reblogs_count))+" "+t._s(t.$t("common.shares")))]),t._v(" "),o("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showComments()}}},[t._v(t._s(t.count(t.status.reply_count))+" "+t._s(t.$t("common.comments")))])]),t._v(" "),t.newReactions?t._e():o("div",{staticClass:"card-footer border-0 d-flex justify-content-between py-1",class:{"rounded-bottom":!t.showCommentDrawer},staticStyle:{background:"#F9FAFB","z-index":"3"}},[o("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?o("span",{staticClass:"primary"},[o("i",{staticClass:"fas fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.liked"))+"\n\t\t\t\t")]):o("span",[o("i",{staticClass:"far fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.like"))+"\n\t\t\t\t")])]),t._v(" "),o("div",[o("b-dropdown",{attrs:{"no-caret":"",dropup:"",variant:"link","toggle-class":"font-weight-bold text-lighter btn-sm py-0"},on:{show:t.toggleMenu,hide:t.closeMenu},scopedSlots:t._u([{key:"button-content",fn:function(){return[t.status.reblogged?o("span",{staticClass:"primary"},[o("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.shared"))+"\n\t\t\t\t\t\t")]):o("span",[o("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.share"))+"\n\t\t\t\t\t\t")])]},proxy:!0}],null,!1,4274722688)},[t._v(" "),t.menuLoading?o("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[o("b-spinner",{attrs:{variant:"muted"}})],1):o("div",[t.status.reblogged?o("b-dropdown-item",{on:{click:function(e){return t.unshareStatus()}}},[t._v(t._s(t.$t("common.unshare")))]):o("b-dropdown-item",{on:{click:function(e){return t.shareStatus()}}},[t._v(t._s(t.$t("post.shareToFollowers")))]),t._v(" "),o("b-dropdown-item",{on:{click:function(e){return t.shareToOther()}}},[t._v(t._s(t.$t("post.shareToOther")))]),t._v(" "),o("b-dropdown-divider"),t._v(" "),o("b-dropdown-item",{on:{click:function(e){return t.copyLink()}}},[t._v(t._s(t.$t("common.copyLink")))])],1)])],1),t._v(" "),o("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return t.showComments()}}},[o("i",{staticClass:"far fa-comment mr-1"}),t._v(" "+t._s(t.$t("common.comment"))+"\n\t\t\t")])]),t._v(" "),t.showCommentDrawer?o("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[o("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},4493:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?o("div",[o("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),o("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?o("div",{staticClass:"card shadow-none rounded-lg border my-4"},[o("div",{staticClass:"card-body"},[o("div",{staticClass:"media"},[o("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"h5 primary font-weight-bold mb-1"},[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(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?o("div",[t.status.content_text.length<=140?o("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):o("p",{staticClass:"mb-0"},[t.showFull?o("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),o("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):o("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),o("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?o("div",[o("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[o("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?o("p",{staticClass:"mt-3 mb-0"},[t.showFull?o("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),o("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):o("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),o("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),o("p",{staticClass:"text-right mb-0 mb-md-n3"},[o("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),o("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?o("div",[o("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),o("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),o("div",{staticClass:"mt-4"},[o("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?o("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),o("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),o("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),o("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),o("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),o("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?o("div",[o("div",{staticClass:"my-4 text-center"},[o("b-spinner"),t._v(" "),o("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?o("div",[o("div",{staticClass:"my-4"},[o("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),o("p",{staticClass:"text-center py-2"},[o("span",{staticClass:"fa-stack fa-4x text-success"},[o("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),o("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),o("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),o("hr"),t._v(" "),o("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),o("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),o("p",{staticClass:"text-center mb-0 mb-md-n3"},[o("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?o("div",[o("div",{staticClass:"my-4"},[o("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),o("p",{staticClass:"text-center py-2"},[o("span",{staticClass:"fa-stack fa-3x text-danger"},[o("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),o("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),o("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),o("hr"),t._v(" "),o("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),o("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),o("p",{staticClass:"text-center mb-0 mb-md-n3"},[o("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},21903:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"post-comment-drawer"},[o("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),o("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?o("div",{staticClass:"mb-2 sort-menu"},[o("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),o("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),o("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[o("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),o("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),o("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[o("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),o("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),o("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[o("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),o("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?o("div",{staticClass:"post-comment-drawer-feed-loader"},[o("b-spinner")],1):o("div",t._l(t.feed,(function(e,s){return o("div",{key:"cd:"+e.id+":"+s,staticClass:"media media-status align-items-top mb-3"},[o("a",{attrs:{href:"#l"}},[o("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),o("div",{staticClass:"media-body"},[o("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?o("div",[o("p",{staticClass:"media-body-comment-username"},[o("a",{attrs:{href:e.account.url},on:{click:function(o){return o.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?o("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[o("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(0,!0)],1):o("div",{staticClass:"bh-comment"},[o("div",{on:{click:function(o){return t.lightbox(e)}}},[o("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?o("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(s)}}},[o("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),o("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):o("div",{staticClass:"media-body-comment"},[o("p",{staticClass:"media-body-comment-username"},[o("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(o){return o.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),o("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[o("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(s)},unfollow:function(e){return t.unfollow(s)}}})],1)],1),t._v(" "),e.sensitive?o("span",[o("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),o("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):o("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?o("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(s)}}},[o("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),o("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),o("p",{staticClass:"media-body-reactions"},[o("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(s)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),t._v(" "),o("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),o("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(s)}}},[t._v("\n\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t")]),t._v(" "),o("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(o("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(o){return o.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+s),t._v(" "),t.profile&&e.account.id===t.profile.id?o("span",[o("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),o("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(s)}}},[t._v("\n\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t")])]):o("span",[o("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),o("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(s)}}},[t._v("\n\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t")])])]),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===s?o("div",{staticClass:"media-body-show-replies"},[o("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(s)}}},[o("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),o("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):o("div",{staticClass:"media-body-show-replies"},[o("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(s)}}},[o("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),o("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?o("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[s].replies}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==s&&t.feed[s].reply_count>3?o("div",[o("div",{staticClass:"media-body-show-replies mt-n3"},[o("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(o){return o.preventDefault(),t.goToPost(e)}}},[o("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),o("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==s?o("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(s,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)]),t._v(" "),!t.feedLoading&&t.canLoadMore?o("div",{staticClass:"post-comment-drawer-loadmore"},[o("p",[o("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?o("div",{staticClass:"post-comment-drawer-loadmore"},[o("p",{staticClass:"text-center mb-4"},[o("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[o("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),o("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[o("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[o("vue-tribute",{attrs:{options:t.tributeSettings}},[o("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important","padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[o("vue-tribute",{attrs:{options:t.tributeSettings}},[o("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),o("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[o("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[o("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),o("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[o("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),o("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[o("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?o("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[o("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?o("div",{staticClass:"text-right mt-2"},[o("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._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"}},[t.lightboxStatus?o("div",{on:{click:t.hideLightbox}},[o("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"sensitive-warning"},[o("p",{staticClass:"mb-0"},[o("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),o("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},72348:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"comment-replies-component"},[t.loading?o("div",{staticClass:"mt-n2"},[t._m(0)]):t._l(t.feed,(function(e,s){return o("div",{key:"cd:"+e.id+":"+s,staticClass:"media media-status align-items-top mb-3"},[o("a",{attrs:{href:"#l"}},[o("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),o("div",{staticClass:"media-body"},[o("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?o("div",[o("p",{staticClass:"media-body-comment-username"},[o("a",{attrs:{href:e.account.url},on:{click:function(o){return o.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?o("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[o("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(1,!0)],1):o("div",{staticClass:"bh-comment"},[o("div",{on:{click:function(o){return t.lightbox(e)}}},[o("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?o("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(s)}}},[o("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),o("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):o("div",{staticClass:"media-body-comment"},[o("p",{staticClass:"media-body-comment-username"},[o("a",{attrs:{href:e.account.url},on:{click:function(o){return o.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?o("span",[o("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),o("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):o("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?o("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(s)}}},[o("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),o("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),o("p",{staticClass:"media-body-reactions"},[o("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(s)}}},[t._v("\n\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t")]),t._v(" "),o("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(o("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(o){return o.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t")]),0,"cd:"+e.id+":"+s),t._v(" "),t.profile&&e.account.id===t.profile.id?o("span",[o("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),o("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(s)}}},[t._v("\n\t\t\t\t\t\tDelete\n\t\t\t\t\t")])]):o("span",[o("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),o("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(s)}}},[t._v("\n\t\t\t\t\t\tReport\n\t\t\t\t\t")])])])])])}))],2)},i=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[o("div",{staticClass:"ph-col-12 mb-0"},[o("div",{staticClass:"ph-row align-items-center mt-0"},[o("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),o("div",{staticClass:"ph-col-6"})])])])},function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"sensitive-warning"},[o("p",{staticClass:"mb-0"},[o("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),o("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},64084:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[o("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},83712:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"modal-stack"},[o("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[o("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?o("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?o("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?o("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?o("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?o("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?o("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?o("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?o("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),o("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"}},[o("div",{staticClass:"list-group text-center"},[o("p",{staticClass:"py-2 px-3 mb-0"}),o("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),o("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),o("p"),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?o("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):o("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),o("br"),t._v(" "),o("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),o("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"}},[o("div",{staticClass:"list-group text-center"},[o("p",{staticClass:"py-2 px-3 mb-0"}),o("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),o("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),o("p"),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),o("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"}},[o("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")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?o("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),o("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[o("div",[o("div",{staticClass:"form-group"},[o("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(" "),o("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[o("div",{staticClass:"form-check mr-3"},[o("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 o=t.ctxEmbedShowCaption,s=e.target,i=!!s.checked;if(Array.isArray(o)){var n=t._i(o,null);s.checked?n<0&&(t.ctxEmbedShowCaption=o.concat([null])):n>-1&&(t.ctxEmbedShowCaption=o.slice(0,n).concat(o.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),o("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),o("div",{staticClass:"form-check mr-3"},[o("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 o=t.ctxEmbedShowLikes,s=e.target,i=!!s.checked;if(Array.isArray(o)){var n=t._i(o,null);s.checked?n<0&&(t.ctxEmbedShowLikes=o.concat([null])):n>-1&&(t.ctxEmbedShowLikes=o.slice(0,n).concat(o.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),o("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),o("div",{staticClass:"form-check"},[o("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 o=t.ctxEmbedCompactMode,s=e.target,i=!!s.checked;if(Array.isArray(o)){var n=t._i(o,null);s.checked?n<0&&(t.ctxEmbedCompactMode=o.concat([null])):n>-1&&(t.ctxEmbedCompactMode=o.slice(0,n).concat(o.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),o("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),o("hr"),t._v(" "),o("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(" "),o("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),o("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),o("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[o("p",{staticClass:"py-2 px-3 mb-0"}),o("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),o("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),o("p"),t._v(" "),o("div",{staticClass:"list-group text-center"},[o("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),o("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"}},[o("p",{staticClass:"py-2 px-3 mb-0"}),o("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),o("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),o("p"),t._v(" "),o("div",{staticClass:"list-group text-center"},[o("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),o("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),o("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[o("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[o("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),o("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[o("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(t._s(t.$t("common.cancel")))]),t._v(" "),o("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)},i=[]},72729:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[o("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[o("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[o("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),o("div",{staticClass:"ph-col-9 mb-0"},[o("div",{staticClass:"ph-row"},[o("div",{staticClass:"ph-col-12"}),t._v(" "),o("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?o("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[o("like-placeholder"),t._v(" "),o("like-placeholder"),t._v(" "),o("like-placeholder"),t._v(" "),o("like-placeholder"),t._v(" "),o("like-placeholder"),t._v(" "),o("like-placeholder"),t._v(" "),o("like-placeholder")],1):o("div",[t.likes.length?o("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,s){return o("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===s?"border-top-0":""]},[o("div",{staticClass:"media align-items-center"},[o("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"mb-0 text-truncate"},[o("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(o){return o.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),o("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),o("div",[e.follows?o("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(s)}}},[t.isUpdatingFollowState&&t.followStateIndex===s?o("span",[o("b-spinner",{attrs:{small:""}})],1):o("span",[t._v("Following")])]):e.follows?t._e():o("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(s)}}},[t.isUpdatingFollowState&&t.followStateIndex===s?o("span",[o("b-spinner",{attrs:{small:""}})],1):o("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?o("div",[o("intersect",{on:{enter:t.enterIntersect}},[o("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),o("like-placeholder"),t._v(" "),o("like-placeholder")],1):t._e()],2):o("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[o("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},20512:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[o("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},67949:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"profile-feed-component"},[o("div",{staticClass:"profile-feed-component-nav d-flex justify-content-center justify-content-md-between align-items-center mb-4"},[o("div",{staticClass:"d-none d-md-block"},[o("div",{staticClass:"btn-group",staticStyle:{height:"45px"}},[o("button",{staticClass:"btn btn-link",class:[1===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(1)}}},[t._v("\n\t\t\t\t\tPosts\n\t\t\t\t")]),t._v(" "),t.isOwner?o("button",{staticClass:"btn btn-link",class:["bookmarks"===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab("bookmarks")}}},[t._v("\n\t\t\t\t\tBookmarks\n\t\t\t\t")]):t._e(),t._v(" "),o("button",{staticClass:"btn btn-link",class:[2===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(2)}}},[t._v("\n\t\t\t\t\tCollections\n\t\t\t\t")]),t._v(" "),t.isOwner?o("button",{staticClass:"btn btn-link",class:[3===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(3)}}},[t._v("\n\t\t\t\t\tLikes\n\t\t\t\t")]):t._e()])]),t._v(" "),1===t.tabIndex?o("div",{staticClass:"btn-group"},[o("button",{staticClass:"btn btn-link",class:[0===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(0)}}},[o("i",{staticClass:"far fa-th fa-lg"})]),t._v(" "),o("button",{staticClass:"btn btn-link",class:[1===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(1)}}},[o("i",{staticClass:"fas fa-stream fa-rotate-90 fa-lg"})]),t._v(" "),o("button",{staticClass:"btn btn-link",class:[2===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(2)}}},[o("i",{staticClass:"far fa-bars fa-lg"})])]):o("div",{staticClass:"d-none d-md-block",staticStyle:{width:"160px"}})]),t._v(" "),0==t.tabIndex?o("div",{staticClass:"d-flex justify-content-center mt-5"},[o("b-spinner")],1):1==t.tabIndex?o("div",{staticClass:"px-0 mx-0"},[0===t.layoutIndex?o("div",{staticClass:"row"},[t._l(t.feed,(function(e,s){return o("div",{key:"tlob:"+s+e.id,staticClass:"col-4 p-1"},[o("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[o("div",{staticClass:"square"},[e.sensitive?o("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),o("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):o("div",{staticClass:"square-content"},[o("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].url}})],1),t._v(" "),o("div",{staticClass:"info-overlay-text"},[o("div",{staticClass:"text-white m-auto"},[o("p",{staticClass:"info-overlay-text-field font-weight-bold"},[o("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),o("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.favourites_count)))])]),t._v(" "),o("p",{staticClass:"info-overlay-text-field font-weight-bold"},[o("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),o("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])]),t._v(" "),o("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[o("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),o("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reblogs_count)))])])])])])])])})),t._v(" "),t.canLoadMore?o("div",{staticClass:"col-4 ph-wrapper"},[o("intersect",{on:{enter:t.enterIntersect}},[o("div",{staticClass:"ph-item"},[o("div",{staticClass:"ph-picture big"})])])],1):t._e()],2):1===t.layoutIndex?o("div",{staticClass:"row"},[o("masonry",{attrs:{cols:{default:3,800:2},gutter:{default:"5px"}}},[t._l(t.feed,(function(e,s){return o("div",{key:"tlog:"+s+e.id,staticClass:"p-1"},[o("a",{class:[e.sensitive?"card info-overlay card-md-border-0":e.media_attachments[0].filter_class+" card info-overlay card-md-border-0"],attrs:{href:t.statusUrl(e)}},[o("img",{staticClass:"img-fluid w-100 rounded-lg",attrs:{src:t.previewUrl(e),onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0'"}}),t._v(" "),o("span",{staticClass:"badge badge-light",staticStyle:{position:"absolute",bottom:"2px",right:"2px",opacity:"0.4"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t")])])])})),t._v(" "),t.canLoadMore?o("div",{staticClass:"p-1 ph-wrapper"},[o("intersect",{on:{enter:t.enterIntersect}},[o("div",{staticClass:"ph-item"},[o("div",{staticClass:"ph-picture big"})])])],1):t._e()],2)],1):2===t.layoutIndex?o("div",{staticClass:"row justify-content-center"},[o("div",{staticClass:"col-12 col-md-10"},t._l(t.feed,(function(e,s){return o("status-card",{key:"prs"+e.id+":"+s,attrs:{profile:t.user,status:e},on:{like:function(e){return t.likeStatus(s)},unlike:function(e){return t.unlikeStatus(s)},share:function(e){return t.shareStatus(s)},unshare:function(e){return t.unshareStatus(s)},menu:function(e){return t.openContextMenu(s)},"counter-change":function(e){return t.counterChange(s,e)},"likes-modal":function(e){return t.openLikesModal(s)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMore?o("div",{staticClass:"col-12 col-md-10"},[o("intersect",{on:{enter:t.enterIntersect}},[o("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]):t._e(),t._v(" "),t.feedLoaded&&!t.feed.length?o("div",[o("div",{staticClass:"row justify-content-center"},[o("div",{staticClass:"col-12 col-md-8 text-center"},[o("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),o("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyPosts")))])])])]):t._e()]):2==t.tabIndex?o("div",{staticClass:"row justify-content-center"},[o("div",{staticClass:"col-12 col-md-8"},[o("div",{staticClass:"list-group"},t._l(t.collections,(function(e,s){return o("a",{staticClass:"list-group-item text-decoration-none text-dark",attrs:{href:e.url}},[o("div",{staticClass:"media"},[o("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:e.thumb,width:"65",height:"65"}}),t._v(" "),o("div",{staticClass:"media-body text-left"},[o("p",{staticClass:"lead mb-0"},[t._v(t._s(e.title))]),t._v(" "),o("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(e.description||"No description available"))]),t._v(" "),o("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[o("span",[t._v(t._s(e.post_count)+" posts")]),t._v(" "),o("span",[t._v("·")]),t._v(" "),"public"===e.visibility?o("span",{staticClass:"text-success"},[t._v("Public")]):"private"===e.visibility?o("span",{staticClass:"text-danger"},[t._v("Private")]):t._e(),t._v(" "),o("span",[t._v("·")]),t._v(" "),e.published_at?o("span",[t._v("Created "+t._s(t.timeago(e.published_at))+" ago")]):o("span",{staticClass:"text-warning"},[t._v("UNPUBLISHED")])])])])])})),0)]),t._v(" "),t.collectionsLoaded&&!t.collections.length?o("div",{staticClass:"col-12 col-md-8 text-center"},[o("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),o("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyCollections")))])]):t._e()]):3==t.tabIndex?o("div",{staticClass:"px-0 mx-0"},[o("div",{staticClass:"row justify-content-center"},[o("div",{staticClass:"col-12 col-md-10"},t._l(t.favourites,(function(e,s){return o("status-card",{key:"prs"+e.id+":"+s,attrs:{profile:t.user,status:e},on:{like:function(e){return t.likeStatus(s)},unlike:function(e){return t.unlikeStatus(s)},share:function(e){return t.shareStatus(s)},unshare:function(e){return t.unshareStatus(s)},"counter-change":function(e){return t.counterChange(s,e)},"likes-modal":function(e){return t.openLikesModal(s)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMoreFavourites?o("div",{staticClass:"col-12 col-md-10"},[o("intersect",{on:{enter:t.enterFavouritesIntersect}},[o("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.favourites&&t.favourites.length?t._e():o("div",{staticClass:"row justify-content-center"},[t._m(1)])]):"bookmarks"==t.tabIndex?o("div",{staticClass:"px-0 mx-0"},[o("div",{staticClass:"row justify-content-center"},[o("div",{staticClass:"col-12 col-md-10"},t._l(t.bookmarks,(function(e,s){return o("status-card",{key:"prs"+e.id+":"+s,attrs:{profile:t.user,"new-reactions":!0,status:e},on:{like:function(e){return t.likeStatus(s)},unlike:function(e){return t.unlikeStatus(s)},share:function(e){return t.shareStatus(s)},unshare:function(e){return t.unshareStatus(s)},menu:function(e){return t.openContextMenu(s)},"counter-change":function(e){return t.counterChange(s,e)},"likes-modal":function(e){return t.openLikesModal(s)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1)]),t._v(" "),t.bookmarks&&t.bookmarks.length?t._e():o("div",{staticClass:"row justify-content-center"},[t._m(2)])]):t._e(),t._v(" "),t.showMenu?o("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.user},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?o("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.user}}):t._e(),t._v(" "),o("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"col-12 col-md-8 text-center"},[o("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),o("p",{staticClass:"lead text-muted font-weight-bold"},[t._v("We can't seem to find any posts you have liked")])])},function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"col-12 col-md-8 text-center"},[o("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),o("p",{staticClass:"lead text-muted font-weight-bold"},[t._v("We can't seem to find any posts you have bookmarked")])])}]},50252:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"profile-followers-component"},[o("div",{staticClass:"row justify-content-center"},[o("div",{staticClass:"col-12 col-md-7"},[o("div",{staticClass:"header h1 font-weight-bold mb-3"},[t._v("\n\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t")]),t._v(" "),t.isLoaded?o("div",{staticClass:"list-group"},[t._l(t.feed,(function(e,s){return o("div",{staticClass:"list-group-item"},[o("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+e.id,href:e.url},on:{click:function(o){return o.preventDefault(),t.goToProfile(e)}}},[o("div",{staticClass:"media"},[o("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"mb-0 text-truncate"},[o("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(e))}})]),t._v(" "),o("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])])])]),t._v(" "),o("b-popover",{attrs:{target:"apop_"+e.id,triggers:"hover",placement:"left","custom-class":"shadow border-0 rounded-px"}},[o("profile-hover-card",{attrs:{profile:e}})],1)],1)})),t._v(" "),t.canLoadMore?o("div",[o("intersect",{on:{enter:t.enterIntersect}},[o("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():o("div",[t._m(0)])],2):o("div",{staticClass:"list-group"},[o("placeholder")],1)])])])},i=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"list-group-item text-center"},[o("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No followers yet!")])])}]},83357:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"profile-following-component"},[o("div",{staticClass:"row justify-content-center"},[o("div",{staticClass:"col-12 col-md-7"},[o("div",{staticClass:"header h1 font-weight-bold mb-3"},[t._v("\n\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t")]),t._v(" "),t.isLoaded?o("div",{staticClass:"list-group"},[t._l(t.feed,(function(e,s){return o("div",{staticClass:"list-group-item"},[o("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+e.id,href:e.url},on:{click:function(o){return o.preventDefault(),t.goToProfile(e)}}},[o("div",{staticClass:"media"},[o("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"mb-0 text-truncate"},[o("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(e))}})]),t._v(" "),o("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])])])]),t._v(" "),o("b-popover",{attrs:{target:"apop_"+e.id,triggers:"hover",placement:"left","custom-class":"shadow border-0 rounded-px"}},[o("profile-hover-card",{attrs:{profile:e}})],1)],1)})),t._v(" "),t.canLoadMore?o("div",[o("intersect",{on:{enter:t.enterIntersect}},[o("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():o("div",[t._m(0)])],2):o("div",{staticClass:"list-group"},[o("placeholder")],1)])])])},i=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"list-group-item text-center"},[o("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Not following anyone yet!")])])}]},785:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"profile-hover-card"},[o("div",{staticClass:"profile-hover-card-inner"},[o("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[o("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[o("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?o("div",[o("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?o("div",[t.relationship.following?o("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?o("span",[o("b-spinner",{attrs:{small:""}})],1):o("span",[t._v("Following")])]):o("div",[t.relationship.requested?o("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):o("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?o("span",[o("b-spinner",{attrs:{small:""}})],1):o("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),o("p",{staticClass:"display-name"},[o("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),o("div",{staticClass:"username"},[o("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?o("p",{staticClass:"username-follows-you"},[o("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns.length?o("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),o("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),o("p",{staticClass:"stats"},[o("span",{staticClass:"stats-following"},[o("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),o("span",{staticClass:"stats-followers"},[o("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},87577:(t,e,o)=>{o.r(e),o.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"profile-sidebar-component"},[o("div",[o("div",{staticClass:"d-block d-md-none"},[o("div",{staticClass:"media user-card user-select-none"},[o("div",{staticStyle:{position:"relative"}},[o("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.profile.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),o("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?o("span",[t._v("@"+t._s(t.profile.acct))]):o("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?o("span",[o("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),o("div",{staticClass:"stats"},[o("div",{staticClass:"stats-posts",on:{click:function(e){return t.toggleTab("index")}}},[o("div",{staticClass:"posts-count"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),o("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.posts"))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),o("div",{staticClass:"stats-followers",on:{click:function(e){return t.toggleTab("followers")}}},[o("div",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),o("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),o("div",{staticClass:"stats-following",on:{click:function(e){return t.toggleTab("following")}}},[o("div",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),o("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),o("div",{staticClass:"d-none d-md-flex justify-content-between align-items-center"},[o("button",{staticClass:"btn btn-link",on:{click:function(e){return t.goBack()}}},[o("i",{staticClass:"far fa-chevron-left fa-lg text-lighter"})]),t._v(" "),o("div",[o("img",{staticClass:"avatar img-fluid shadow border",attrs:{src:t.getAvatar(),onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),t.profile.is_admin?o("p",{staticClass:"text-right",staticStyle:{"margin-top":"-30px"}},[o("span",{staticClass:"admin-label"},[t._v("Admin")])]):t._e()]),t._v(" "),o("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[o("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),o("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]),t._v(" "),o("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?o("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?o("div",[o("b-dropdown-divider"),t._v(" "),o("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[o("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t")])],1):o("div",[t.profile.local?t._e():o("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")])],1),t._v(" "),t.profile.id!==t.user.id?o("div",[o("b-dropdown-divider"),t._v(" "),o("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t")]),t._v(" "),o("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t")]),t._v(" "),o("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1),t._v(" "),o("div",{staticClass:"d-none d-md-block text-center"},[o("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),o("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?o("span",[t._v("@"+t._s(t.profile.acct))]):o("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?o("span",[o("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),t.user.id!=t.profile.id&&(t.relationship.followed_by||t.relationship.muting||t.relationship.blocking)?o("p",{staticClass:"mt-n3 text-center"},[t.relationship.followed_by?o("span",{staticClass:"badge badge-primary p-1"},[t._v("Follows you")]):t._e(),t._v(" "),t.relationship.muting?o("span",{staticClass:"badge badge-dark p-1 ml-1"},[t._v("Muted")]):t._e(),t._v(" "),t.relationship.blocking?o("span",{staticClass:"badge badge-danger p-1 ml-1"},[t._v("Blocked")]):t._e()]):t._e()]),t._v(" "),o("div",{staticClass:"d-none d-md-block stats py-2"},[o("div",{staticClass:"d-flex justify-content-between"},[o("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("index")}}},[o("strong",{attrs:{title:t.profile.statuses_count}},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),o("span",[t._v(t._s(t.$t("profile.posts")))])]),t._v(" "),o("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("followers")}}},[o("strong",{attrs:{title:t.profile.followers_count}},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),o("span",[t._v(t._s(t.$t("profile.followers")))])]),t._v(" "),o("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("following")}}},[o("strong",{attrs:{title:t.profile.following_count}},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),o("span",[t._v(t._s(t.$t("profile.following")))])])])]),t._v(" "),o("div",{staticClass:"d-flex align-items-center mb-3 mb-md-0"},[t.user.id===t.profile.id?o("div",{staticStyle:{"flex-grow":"1"}},[o("a",{staticClass:"btn btn-light font-weight-bold btn-block follow-btn",attrs:{href:"/settings/home"}},[t._v(t._s(t.$t("profile.editProfile")))])]):o("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following||t.relationship.requested?t.relationship.requested?o("div",[o("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.followRequested"))+"\n\t\t\t\t\t")])]):t.relationship.following&&!t.relationship.requested?o("button",{staticClass:"btn btn-primary font-weight-bold btn-block unfollow-btn",on:{click:t.unfollow}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t")]):t._e():o("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",on:{click:t.follow}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t")])]),t._v(" "),o("div",{staticClass:"d-block d-md-none ml-3"},[o("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[o("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),o("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]),t._v(" "),o("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?o("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?o("div",[o("b-dropdown-divider"),t._v(" "),o("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[o("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t\t")])],1):o("div",[t.profile.local?t._e():o("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")])],1),t._v(" "),t.profile.id!==t.user.id?o("div",[o("b-dropdown-divider"),t._v(" "),o("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t\t")]),t._v(" "),o("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t\t")]),t._v(" "),o("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1)]),t._v(" "),t.profile.note?o("div",{staticClass:"bio-wrapper card shadow-none"},[o("div",{staticClass:"card-body"},[o("div",{staticClass:"bio-body"},[o("div",{domProps:{innerHTML:t._s(t.getBio())}})])])]):t._e(),t._v(" "),o("div",{staticClass:"d-none d-md-block card card-body shadow-none py-2"},[t.profile.website?o("p",{staticClass:"small"},[t._m(0),t._v(" "),o("span",[o("a",{staticClass:"font-weight-bold",attrs:{href:t.profile.website}},[t._v(t._s(t.profile.website))])])]):t._e(),t._v(" "),o("p",{staticClass:"mb-0 small"},[t._m(1),t._v(" "),o("span",[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\t\t\t\t")])])]),t._v(" "),o("div",{staticClass:"d-none d-md-flex sidebar-sitelinks"},[o("a",{attrs:{href:"/site/about"}},[t._v(t._s(t.$t("navmenu.about")))]),t._v(" "),o("router-link",{attrs:{to:"/i/web/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),o("router-link",{attrs:{to:"/i/web/language"}},[t._v(t._s(t.$t("navmenu.language")))]),t._v(" "),o("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),o("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))])],1),t._v(" "),t._m(2)]),t._v(" "),o("b-modal",{ref:"fullBio",attrs:{centered:"","hide-footer":"","ok-only":"","ok-title":"Close","ok-variant":"light",scrollable:!0,"body-class":"p-md-5",title:"Bio"}},[o("div",{domProps:{innerHTML:t._s(t.profile.note)}})])],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-lighter mr-2"},[e("i",{staticClass:"far fa-link"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-lighter mr-2"},[e("i",{staticClass:"far fa-clock"})])},function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"d-none d-md-block sidebar-attribution"},[o("a",{staticClass:"font-weight-bold",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])])}]}}]);