pixelfed/public/js/home.chunk.0e9fc41724d23244.js

2 lines
224 KiB
JavaScript

/*! For license information please see home.chunk.0e9fc41724d23244.js.LICENSE.txt */
"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2470],{41015:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(42755),i=s(88231),o=s(78375),n=s(55197),r=(s(73459),s(66915));const l={props:{scope:{type:String,default:"home"}},components:{drawer:a.default,sidebar:i.default,timeline:n.default,rightbar:o.default,"story-carousel":r.default},data:function(){return{isLoaded:!1,profile:void 0,recommended:[],trending:[],storiesEnabled:!1,shouldRefresh:!1}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){var t,e,s;this.profile=window._sharedData.user,this.isLoaded=!0,this.storiesEnabled=!(null===(t=window.App)||void 0===t||null===(e=t.config)||void 0===e||null===(s=e.features)||void 0===s||!s.hasOwnProperty("stories"))&&window.App.config.features.stories},updateProfile:function(t){this.profile=Object.assign(this.profile,t)}}}},95217:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(26535),i=s(74338),o=s(37846),n=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":o.default,"post-header":i.default,"post-reactions":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&&!1===this.status.comments_disabled&&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:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){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)},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")}}}},89250:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},8671:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={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}))}}}},29022:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s<t.dataTransfer.items.length;s++)if("file"===t.dataTransfer.items[s].kind){var a=t.dataTransfer.items[s].getAsFile();if(!a)return;e.avatarUpdateFile=a,e.avatarUpdatePreview=URL.createObjectURL(a),e.avatarUpdateIndex=1}}else for(s=0;s<t.dataTransfer.files.length;s++){if(!t.dataTransfer.files[s].hasOwnProperty("name"))return;e.avatarUpdateFile=t.dataTransfer.files[s],e.avatarUpdatePreview=URL.createObjectURL(t.dataTransfer.files[s]),e.avatarUpdateIndex=1}},confirmUpload:function(){var t=this;if(window.confirm("Are you sure you want to change your avatar photo?")){var e=new FormData;e.append("_method","PATCH"),e.append("avatar",this.avatarUpdateFile),axios.post("/api/v1/accounts/update_credentials",e).then((function(e){window._sharedData.user.avatar=e.data.avatar,t.avatarUpdateClose()})).catch((function(t){t.response.data&&t.response.data.errors&&t.response.data.errors.avatar&&t.response.data.errors.avatar.length&&swal("Oops!",t.response.data.errors.avatar[0],"error")}))}}}}},54076:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{small:{type:Boolean,default:!1}}}},40744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(22583);const i={props:{profile:{type:Object}},components:{"profile-card":a.default},data:function(){return{popularAccounts:[],newlyFollowed:0}},mounted:function(){this.fetchPopularAccounts()},methods:{fetchPopularAccounts:function(){var t=this;axios.get("/api/pixelfed/discover/accounts/popular").then((function(e){t.popularAccounts=e.data}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/follow").then((function(t){e.newlyFollowed++,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count+1})}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/unfollow").then((function(t){e.newlyFollowed--,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count-1})}))}}}},19444:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(15235),i=s(80979),o=s(22583),n=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.default,ProfileHoverCard:o.default,CommentReplyForm:r.default,CommentReplies:n.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,deletingIndex: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,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},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){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),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"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},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],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"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",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],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=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.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(s){e.feed[t].replies=s.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(s){e.$store.commit("updateRelationship",[s.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(s){e.$store.commit("updateRelationship",[s.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=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},13143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.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("new-comment",e.data)}))},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(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).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],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"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}}}},3861:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,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)}))}}}},60658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["status","profile"],data:function(){return{config:window.App.config,ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},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()},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,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).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,s){var a=this,i=(t.account.username,t.id,""),o=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modCWSuccess"),"success"),a.$emit("moderate","addcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$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(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modRemoveCWSuccess"),"success"),a.$emit("moderate","remcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$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(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","unlist"),swal(a.$t("common.success"),a.$t("menu.modUnlistSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$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(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","spammer"),swal(a.$t("common.success"),a.$t("menu.modMarkAsSpammerSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=a("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(s.$t("common.error"),s.$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;this.isDeleting=!0,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(),e.isDeleting=!1})).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(s){e.$emit("status-delete",t.id),e.$emit("archived",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(s){e.$emit("unarchived",t.id),e.closeModals()}))},editPost:function(t){this.closeModals(),this.$emit("edit",t)}}}},42562:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},36935:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),i=s(48510),o=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&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,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;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 s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){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 s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},92606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22890:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var a=s(29655),i=s(99347);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t){return function(t){if(Array.isArray(t))return r(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 r(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(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 r(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s<e;s++)a[s]=t[s];return a}function l(){l=function(){return t};var t={},e=Object.prototype,s=e.hasOwnProperty,a=Object.defineProperty||function(t,e,s){t[e]=s.value},i="function"==typeof Symbol?Symbol:{},n=i.iterator||"@@iterator",r=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function d(t,e,s){return Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,s){return t[e]=s}}function u(t,e,s,i){var o=e&&e.prototype instanceof h?e:h,n=Object.create(o.prototype),r=new $(i||[]);return a(n,"_invoke",{value:C(t,s,r)}),n}function f(t,e,s){try{return{type:"normal",arg:t.call(e,s)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var p={};function h(){}function m(){}function v(){}var g={};d(g,n,(function(){return this}));var b=Object.getPrototypeOf,_=b&&b(b(L([])));_&&_!==e&&s.call(_,n)&&(g=_);var w=v.prototype=h.prototype=Object.create(g);function x(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function y(t,e){function i(a,n,r,l){var c=f(t[a],t,n);if("throw"!==c.type){var d=c.arg,u=d.value;return u&&"object"==o(u)&&s.call(u,"__await")?e.resolve(u.__await).then((function(t){i("next",t,r,l)}),(function(t){i("throw",t,r,l)})):e.resolve(u).then((function(t){d.value=t,r(d)}),(function(t){return i("throw",t,r,l)}))}l(c.arg)}var n;a(this,"_invoke",{value:function(t,s){function a(){return new e((function(e,a){i(t,s,e,a)}))}return n=n?n.then(a,a):a()}})}function C(t,e,s){var a="suspendedStart";return function(i,o){if("executing"===a)throw new Error("Generator is already running");if("completed"===a){if("throw"===i)throw o;return P()}for(s.method=i,s.arg=o;;){var n=s.delegate;if(n){var r=k(n,s);if(r){if(r===p)continue;return r}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===a)throw a="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);a="executing";var l=f(t,e,s);if("normal"===l.type){if(a=s.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:s.done}}"throw"===l.type&&(a="completed",s.method="throw",s.arg=l.arg)}}}function k(t,e){var s=e.method,a=t.iterator[s];if(void 0===a)return e.delegate=null,"throw"===s&&t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method)||"return"!==s&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+s+"' method")),p;var i=f(a,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,p;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function $(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function L(t){if(t){var e=t[n];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function e(){for(;++a<t.length;)if(s.call(t,a))return e.value=t[a],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return m.prototype=v,a(w,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:m,configurable:!0}),m.displayName=d(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,d(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},x(y.prototype),d(y.prototype,r,(function(){return this})),t.AsyncIterator=y,t.async=function(e,s,a,i,o){void 0===o&&(o=Promise);var n=new y(u(e,s,a,i),o);return t.isGeneratorFunction(s)?n:n.next().then((function(t){return t.done?t.value:n.next()}))},x(w),d(w,c,"Generator"),d(w,n,(function(){return this})),d(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),s=[];for(var a in e)s.push(a);return s.reverse(),function t(){for(;s.length;){var a=s.pop();if(a in e)return t.value=a,t.done=!1,t}return t.done=!0,t}},t.values=L,$.prototype={constructor:$,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(M),!t)for(var e in this)"t"===e.charAt(0)&&s.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function a(s,a){return n.type="throw",n.arg=t,e.next=s,a&&(e.method="next",e.arg=void 0),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],n=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var r=s.call(o,"catchLoc"),l=s.call(o,"finallyLoc");if(r&&l){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(r){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(t,e){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&s.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var n=o?o.completion:{};return n.type=t,n.arg=e,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(n)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.finallyLoc===t)return this.complete(s.completion,s.afterLoc),M(s),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.tryLoc===t){var a=s.completion;if("throw"===a.type){var i=a.arg;M(s)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,s){return this.delegate={iterator:L(t),resultName:e,nextLoc:s},"next"===this.method&&(this.arg=void 0),p}},t}function c(t,e,s,a,i,o,n){try{var r=t[o](n),l=r.value}catch(t){return void s(t)}r.done?e(l):Promise.resolve(l).then(a,i)}function d(t){return function(){var e=this,s=arguments;return new Promise((function(a,i){var o=t.apply(e,s);function n(t){c(o,a,i,n,r,"next",t)}function r(t){c(o,a,i,n,r,"throw",t)}n(void 0)}))}}const u={components:{Autocomplete:a.default},data:function(){return{config:window.App.config,status:void 0,isLoading:!0,isOpen:!1,isSubmitting:!1,tabIndex:0,canEdit:!1,composeTextLength:0,canSave:!1,originalFields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},fields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},medias:void 0,altTextEditIndex:void 0,tributeSettings:{noMatchTemplate:function(){return 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){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){console.log(t)}))}}]}}},watch:{fields:{deep:!0,immediate:!0,handler:function(t,e){this.canEdit&&(this.canSave=this.originalFields!==JSON.stringify(this.fields))}}},methods:{reset:function(){this.status=void 0,this.tabIndex=0,this.isOpen=!1,this.canEdit=!1,this.composeTextLength=0,this.canSave=!1,this.originalFields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.fields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.medias=void 0,this.altTextEditIndex=void 0,this.isSubmitting=!1},show:function(t){var e=this;return d(l().mark((function s(){return l().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,axios.get("/api/v1/statuses/"+t.id,{params:{_pe:1}}).then((function(t){e.reset(),e.init(t.data)})).finally((function(){setTimeout((function(){e.isLoading=!1}),500)}));case 2:case"end":return s.stop()}}),s)})))()},init:function(t){var e=this;this.reset(),this.originalFields=JSON.stringify({caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments}),this.fields={caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments},this.status=t,this.medias=t.media_attachments,this.composeTextLength=t.content_text?t.content_text.length:0,this.isOpen=!0,setTimeout((function(){e.canEdit=!0}),1e3)},toggleTab:function(t){this.tabIndex=t,this.altTextEditIndex=void 0},toggleVisibility:function(t){this.fields.visibility=t},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){this.fields.location=t,this.tabIndex=0},clearLocation:function(){event.currentTarget.blur(),this.fields.location=null,this.tabIndex=0},handleAltTextUpdate:function(t){0==this.fields.media[t].description.length&&(this.fields.media[t].description=null)},moveMedia:function(t,e,s){var a=n(s),i=a.splice(t,1)[0];return a.splice(e,0,i),a},toggleMediaOrder:function(t,e){"prev"===t&&(this.fields.media=this.moveMedia(e,e-1,this.fields.media)),"next"===t&&(this.fields.media=this.moveMedia(e,e+1,this.fields.media))},toggleLightbox:function(t){(0,i.default)({el:t.target})},handleAddAltText:function(t){event.currentTarget.blur(),this.altTextEditIndex=t},removeMedia:function(t){var e=this;swal({title:"Confirm",text:"Are you sure you want to remove this media from your post?",buttons:{cancel:"Cancel",confirm:{text:"Confirm Removal",value:"remove",className:"swal-button--danger"}}}).then((function(s){"remove"===s&&e.fields.media.splice(t,1)}))},handleSave:function(){var t=this;return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return event.currentTarget.blur(),t.canSave=!1,t.isSubmitting=!0,e.next=5,t.checkMediaUpdates();case 5:axios.put("/api/v1/statuses/"+t.status.id,{status:t.fields.caption,spoiler_text:t.fields.spoiler_text,sensitive:t.fields.sensitive,media_ids:t.fields.media.map((function(t){return t.id})),location:t.fields.location}).then((function(e){t.isOpen=!1,t.$emit("update",e.data),swal({title:"Post Updated",text:"You have successfully updated this post!",icon:"success",buttons:{close:{text:"Close",value:"close",close:!0,className:"swal-button--cancel"},view:{text:"View Post",value:"view",className:"btn-primary"}}}).then((function(e){"view"===e&&("post"===t.$router.currentRoute.name?window.location.reload():t.$router.push("/i/web/post/"+t.status.id))}))})).catch((function(e){t.isSubmitting=!1,e.response.data.hasOwnProperty("error")?swal("Error",e.response.data.error,"error"):swal("Error","An error occured, please try again later","error"),console.log(e)}));case 6:case"end":return e.stop()}}),e)})))()},checkMediaUpdates:function(){var t=this;return d(l().mark((function e(){var s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=JSON.parse(t.originalFields),JSON.stringify(s.media)===JSON.stringify(t.fields.media)){e.next=5;break}return e.next=5,axios.all(t.fields.media.map((function(e){return t.updateAltText(e)})));case 5:case"end":return e.stop()}}),e)})))()},updateAltText:function(t){return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.put("/api/v1/media/"+t.id,{description:t.description});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()}}}},51815:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(22583),i=s(248);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{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))},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.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.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")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-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)},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")},openEditModal:function(){this.$refs.editModal.open()}}}},17810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(26535),i=s(22583);const o={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},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)},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}),2e3)},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")}}}},2011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={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,s=document.createElement("div");s.innerHTML=e,s.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)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s='<img draggable="false" class="emojione custom-emoji" alt="'.concat(e.shortcode,'" title="').concat(e.shortcode,'" src="').concat(e.url,'" data-original="').concat(e.url,'" data-static="').concat(e.static_url,'" width="18" height="18" onerror="this.onerror=null;this.src=\'/storage/emoji/missing.png\';" />');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},24489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),i=s(48510),o=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;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 s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){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 s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},54965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(80979),i=s(20629);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.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<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?n(Object(s),!0).forEach((function(e){r(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):n(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}({},(0,i.mapGetters)(["getCustomEmoji"])),methods:{getDisplayName:function(){var t=this,e=this.profile,s=e.display_name;if(!s)return e.username;if(s.includes(":")){return s.replaceAll(/(<a?)?:\w+:(\d{18}>)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?'<img draggable="false" class="emojione custom-emoji" alt="'.concat(a[0].shortcode,'" title="').concat(a[0].shortcode,'" src="').concat(a[0].url,'" data-original="').concat(a[0].url,'" data-static="').concat(a[0].static_url,'" width="16" height="16" onerror="this.onerror=null;this.src=\'/storage/emoji/missing.png\';" />'):e}))}return s},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,s=document.createElement("div");s.innerHTML=e,s.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)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.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)}}}},5540:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={components:{notifications:s(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var a=s(20629),i=s(68296),o=s(76429);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function l(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:i.default,UpdateAvatar:o.default},computed:function(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?r(Object(s),!0).forEach((function(e){l(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):r(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}({},(0,a.mapGetters)(["getCustomEmoji"])),data:function(){return{loaded:!1,hasLocalTimeline:!0,hasNetworkTimeline:!1,hasLiveStreams:!1,hasStories:!1}},mounted:function(){window.App.config.features.hasOwnProperty("timelines")&&(this.hasLocalTimeline=App.config.features.timelines.local,this.hasNetworkTimeline=App.config.features.timelines.network),window.App.config.features.hasOwnProperty("stories")&&(this.hasStories=App.config.features.stories)},methods:{getDisplayName:function(){var t=this,e=this.user,s=e.display_name;if(!s)return e.username;if(s.includes(":")){return s.replaceAll(/(<a?)?:\w+:(\d{18}>)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?'<img draggable="false" class="emojione custom-emoji" alt="'.concat(a[0].shortcode,'" title="').concat(a[0].shortcode,'" src="').concat(a[0].url,'" data-original="').concat(a[0].url,'" data-static="').concat(a[0].static_url,'" width="16" height="16" onerror="this.onerror=null;this.src=\'/storage/emoji/missing.png\';" />'):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},71753:(t,e,s)=>{function a(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return i(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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s<e;s++)a[s]=t[s];return a}s.r(e),s.d(e,{default:()=>o});const o={props:{profile:{type:Object}},data:function(){return{canShow:!1,stories:[],selfStory:void 0}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){if(e.data&&e.data.length){t.selfStory=e.data.filter((function(e){return e.pid==t.profile.id}));var s,i=e.data.filter((function(e){return e.pid!==t.profile.id}));if(t.stories=i,t.canShow=!0,!i||!i.length||i.length<5)(s=t.stories).push.apply(s,a(Array(5-i.length).keys()))}}))}}}},66925:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(73128),i=s(78423);function o(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(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 n(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s<e;s++)a[s]=t[s];return a}const r={props:{profile:{type:Object}},components:{intersect:i.default,placeholder:a.default},data:function(){return{feed:{},maxId:void 0,isIntersecting:!1,canLoadMore:!1,isRefreshing:!1,hasLoaded:!1,isEmpty:!1,retryTimeout:void 0,retryAttempts:0}},mounted:function(){this.init()},destroyed:function(){clearTimeout(this.retryTimeout)},methods:{init:function(){var t=this;if(3==this.retryAttempts)return this.hasLoaded=!0,this.isEmpty=!0,void clearTimeout(this.retryTimeout);axios.get("/api/pixelfed/v1/notifications",{params:{limit:9}}).then((function(e){if(!e||!e.data||!e.data.length)return t.retryAttempts=t.retryAttempts+1,void(t.retryTimeout=setTimeout((function(){return t.init()}),1500*t.retryAttempts));var s=e.data.filter((function(t){return!!("share"!=t.type||t.status&&t.account)&&(!!("comment"!=t.type||t.status&&t.account)&&(!!("mention"!=t.type||t.status&&t.account)&&(!!("favourite"!=t.type||t.status&&t.account)&&(!("follow"==t.type&&!t.account)&&!("modlog"==t.type&&!t.modlog)))))}));e.data.length?t.canLoadMore=!0:t.canLoadMore=!1,(t.retryTimeout||t.retryAttempts)&&(t.retryAttempts=0,clearTimeout(t.retryTimeout)),t.maxId=e.data[e.data.length-1].id,t.feed=s,t.hasLoaded=!0,setTimeout((function(){t.isRefreshing=!1}),15e3)}))},refreshNotifications:function(){event.currentTarget.blur(),this.isRefreshing=!0,this.init()},enterIntersect:function(){var t=this;!this.isIntersecting&&this.canLoadMore&&(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/notifications",{params:{limit:9,max_id:this.maxId}}).then((function(e){var s;if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isIntersecting=!1);var a=e.data.filter((function(t){return!("share"==t.type&&!t.status)&&(!("comment"==t.type&&!t.status)&&(!("mention"==t.type&&!t.status)&&(!("favourite"==t.type&&!t.status)&&(!("follow"==t.type&&!t.account)&&!("modlog"==t.type&&!t.modlog)))))}));e.data.length?(t.maxId=e.data[e.data.length-1].id,(s=t.feed).push.apply(s,o(a)),t.$nextTick((function(){t.isIntersecting=!1}))):t.canLoadMore=!1})))},truncate:function(t){return t.length<=15?t:t.slice(0,15)+"..."},timeAgo:function(t){return window.App.util.format.timeAgo(t)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},redirect:function(t){window.location.href=t},notificationPreview:function(t){return t.status&&t.status.hasOwnProperty("media_attachments")&&t.status.media_attachments.length?t.status.media_attachments[0].preview_url:"/storage/no-preview.png"},getProfileUrl:function(t){return"/i/web/profile/"+t.id},getPostUrl:function(t){if(t)return"/i/web/post/"+t.id},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}})},showAutospamInfo:function(t){var e=document.createElement("p");e.classList.add("text-left"),e.classList.add("mb-0"),e.innerHTML='<p class="">We use automated systems to help detect potential abuse and spam. Your recent <a href="/i/web/post/'+t.id+'" class="font-weight-bold">post</a> was flagged for review. <br /> <p class=""><span class="font-weight-bold">Don\'t worry! Your post will be reviewed by a human</span>, and they will restore your post if they determine it appropriate.</p><p style="font-size:12px">Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var s=document.createElement("div");s.appendChild(e),swal({title:"Why was my post unlisted?",content:s,icon:"warning"})}}}},8127:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var a=s(45836),i=s(99247),o=s(78423),n=s(8829),r=s(5327),l=s(31823),c=s(21917),d=s(57166),u=s(44898),f=s(43136);function p(t){return function(t){if(Array.isArray(t))return h(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 h(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return h(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 h(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s<e;s++)a[s]=t[s];return a}const m={props:{scope:{type:String,default:"home"},profile:{type:Object},refresh:{type:Boolean,default:!1}},components:{intersect:o.default,"status-placeholder":a.default,status:i.default,"context-menu":n.default,"likes-modal":r.default,"shares-modal":l.default,"report-modal":c.default,"empty-timeline":d.default,"timeline-onboarding":u.default,"post-edit-modal":f.default},data:function(){return{isLoaded:!1,feed:[],ids:[],max_id:0,canLoadMore:!0,showLoadMore:!1,loadMoreTimeout:void 0,loadMoreAttempts:0,isFetchingMore:!1,endFeedReached:!1,postIndex:0,showMenu:!1,showLikesModal:!1,likesModalPost:{},showReportModal:!1,reportedStatus:{},reportedStatusId:0,showSharesModal:!1,sharesModalPost:{},forceUpdateIdx:0}},mounted:function(){if(window.App.config.features.hasOwnProperty("timelines")){if("local"==this.scope&&!window.App.config.features.timelines.local)return void swal("Error","Cannot load this timeline","error");if("network"==this.scope&&!window.App.config.features.timelines.network)return void swal("Error","Cannot load this timeline","error")}this.fetchTimeline()},methods:{getScope:function(){switch(this.scope){case"local":return"public";case"global":return"network";default:return"home"}},fetchTimeline:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s="/api/pixelfed/v1/timelines/".concat(this.getScope());axios.get(s,{params:{max_id:this.max_id,limit:6}}).then((function(e){var s=e.data.map((function(e){return e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]),e.id}));t.isLoaded=!0,0!=e.data.length&&(t.ids=s,t.max_id=Math.min.apply(Math,p(s)),t.feed=e.data,6!==e.data.length&&(t.canLoadMore=!1,t.showLoadMore=!0))})).then((function(){e&&t.$nextTick((function(){window.scrollTo({top:0,left:0,behavior:"smooth"}),t.$emit("refreshed")}))}))},enterIntersect:function(){var t=this;if(!this.isFetchingMore){this.isFetchingMore=!0;var e="/api/pixelfed/v1/timelines/".concat(this.getScope());axios.get(e,{params:{max_id:this.max_id,limit:6}}).then((function(e){e.data.length||(t.endFeedReached=!0,t.canLoadMore=!1,t.isFetchingMore=!1),setTimeout((function(){e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.max_id>e.id&&(t.max_id=e.id),t.ids.push(e.id),t.feed.push(e),e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]))})),t.isFetchingMore=!1}),100)}))}},tryToLoadMore:function(){var t=this;this.loadMoreAttempts++,this.loadMoreAttempts>=3&&(this.showLoadMore=!1),this.showLoadMore=!1,this.canLoadMore=!0,this.loadMoreTimeout=setTimeout((function(){t.canLoadMore=!1,t.showLoadMore=!0}),5e3)},likeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1;var i=document.createElement("p");i.classList.add("text-left"),i.classList.add("mb-0"),i.innerHTML='<span class="lead">We limit certain interactions to keep our community healthy and it appears that you have reached that limit. <span class="font-weight-bold">Please try again later.</span></span>';var o=document.createElement("div");o.appendChild(i),429===s.response.status&&swal({title:"Too many requests",content:o,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},handleModTools:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.openModMenu()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},handleBookmark:function(t){var e=this,s=this.feed[t];axios.post("/i/bookmark",{item:s.id}).then((function(a){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count+1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1})).catch((function(s){swal("Oops!","An error occured when attempting to follow this account.","error"),e.feed[t].relationship.following=!1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1})).catch((function(s){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].relationship.following=!0}))},updateProfile:function(t){this.$emit("update-profile",t)},handleRefresh:function(){var t=this;this.isLoaded=!1,this.feed=[],this.ids=[],this.max_id=0,this.canLoadMore=!0,this.showLoadMore=!1,this.loadMoreTimeout=void 0,this.loadMoreAttempts=0,this.isFetchingMore=!1,this.endFeedReached=!1,this.postIndex=0,this.showMenu=!1,this.showLikesModal=!1,this.likesModalPost={},this.showReportModal=!1,this.reportedStatus={},this.reportedStatusId=0,this.showSharesModal=!1,this.sharesModalPost={},this.$nextTick((function(){t.fetchTimeline(!0)}))},handleEdit:function(t){this.$refs.editModal.show(t)},mergeUpdatedPost:function(t){var e=this;this.feed=this.feed.map((function(e){return e.id==t.id&&(e=t),e})),this.$nextTick((function(){e.forceUpdateIdx++}))}},watch:{refresh:"handleRefresh"},beforeDestroy:function(){clearTimeout(this.loadMoreTimeout)}}},35842:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile},on:{refresh:function(e){t.shouldRefresh=!0}}})],1),t._v(" "),e("div",{staticClass:"col-md-8 col-lg-6 px-0"},[t.storiesEnabled?e("story-carousel",{attrs:{profile:t.profile}}):t._e(),t._v(" "),e("timeline",{key:t.scope,attrs:{profile:t.profile,scope:t.scope,refresh:t.shouldRefresh},on:{"update-profile":t.updateProfile,refreshed:function(e){t.shouldRefresh=!1}}})],1),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar",{staticClass:"sticky-top sidebar"})],1)]),t._v(" "),e("drawer")],1):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[e("b-spinner")],1)])},i=[]},41262:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[e("div",{staticClass:"ph-col-12"},[e("div",{staticClass:"ph-row align-items-center"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),e("div",{staticClass:"ph-col-6 big"})]),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"ph-picture"}),t._v(" "),e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12 big"}),t._v(" "),e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])}]},72474:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("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()],1)])},i=[]},7231:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},97584:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("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(" "),e("div",{staticClass:"media-body"},[e("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?e("div",[t.status.content_text.length<=140?e("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")]):e("p",{staticClass:"mb-0"},[t.showFull?e("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"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("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"),e("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?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("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?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("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"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("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"),e("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(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("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(" "),e("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?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("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?e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("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?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("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?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("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=[]},73023:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","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:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},32770:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("img",{staticClass:"img-fluid",staticStyle:{"max-height":"300px",opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("This feed is empty")])])}]},50554:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},78580:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-onboarding"},[e("div",{staticClass:"card card-body shadow-sm mb-3 p-5",staticStyle:{"border-radius":"15px"}},[e("h1",{staticClass:"text-center mb-4"},[t._v("✨ "+t._s(t.$t("timeline.onboarding.welcome")))]),t._v(" "),e("p",{staticClass:"text-center mb-3",staticStyle:{"font-size":"22px"}},[t._v("\n\t\t\t"+t._s(t.$t("timeline.onboarding.thisIsYourHomeFeed"))+"\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v(t._s(t.$t("timeline.onboarding.letUsHelpYouFind")))]),t._v(" "),t.newlyFollowed?e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-primary btn-lg primary font-weight-bold rounded-pill px-4",attrs:{href:"/i/web",onclick:"location.reload()"}},[t._v("\n\t\t\t\t"+t._s(t.$t("timeline.onboarding.refreshFeed"))+"\n\t\t\t")])]):t._e()]),t._v(" "),e("div",{staticClass:"row"},t._l(t.popularAccounts,(function(s,a){return e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card shadow-sm border-0 rounded-px"},[e("div",{staticClass:"card-body p-2"},[e("profile-card",{key:"pfc"+a,staticClass:"w-100",attrs:{profile:s},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)])])})),0)])},i=[]},83692:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("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\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\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\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("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?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{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(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("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"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("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(" "),e("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 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54822:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\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")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},7059:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},36563:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.config.ab.pue&&t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.editPost(t.status)}}},[t._v("\n\t\t\t\t\tEdit\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n\t\t\t\t\t "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter font-weight-bold",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t\t")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t\t")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t\t")]):e("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"+t._s(t.$t("menu.addCW"))+"\n\t\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("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"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),e("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?e("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(" "),e("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(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("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(" "),e("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(" "),e("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(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},93410:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{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"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},73954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92994:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("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?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("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(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("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(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},3103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("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)}}},[e("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(" "),e("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,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("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}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),e("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(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[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(" "),e("p",{staticClass:"mb-0"},[e("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")])])])]):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("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:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div"):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("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(" "),e("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):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("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?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("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?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},78190:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{centered:"","body-class":"p-0","footer-class":"d-flex justify-content-between align-items-center"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Edit Post")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]}},{key:"modal-footer",fn:function(s){s.ok;var a=s.cancel;s.hide;return[e("b-button",{staticClass:"rounded-pill px-3 font-weight-bold",attrs:{variant:"outline-muted"},on:{click:function(t){return a()}}},[t._v("\n\t\t\tCancel\n\t\t")]),t._v(" "),e("b-button",{staticClass:"rounded-pill font-weight-bold",staticStyle:{"min-width":"195px"},attrs:{variant:"primary",disabled:!t.canSave},on:{click:t.handleSave}},[t.isSubmitting?[e("b-spinner",{attrs:{small:""}})]:[t._v("\n\t\t\t\tSave Updates\n\t\t\t")]],2)]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-body",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"300px"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center flex-column",staticStyle:{gap:"0.4rem"}},[e("b-spinner",{attrs:{variant:"primary"}}),t._v(" "),e("p",{staticClass:"small mb-0 font-weight-lighter"},[t._v("Loading Post...")])],1)])],1):!t.isLoading&&t.isOpen&&t.status&&t.status.id?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-header",{attrs:{"header-tag":"nav"}},[e("b-nav",{attrs:{tabs:"",fill:"","card-header":""}},[e("b-nav-item",{attrs:{active:0===t.tabIndex},on:{click:function(e){return t.toggleTab(0)}}},[t._v("Caption")]),t._v(" "),e("b-nav-item",{attrs:{active:1===t.tabIndex},on:{click:function(e){return t.toggleTab(1)}}},[t._v("Media")]),t._v(" "),e("b-nav-item",{attrs:{active:4===t.tabIndex},on:{click:function(e){return t.toggleTab(3)}}},[t._v("Other")])],1)],1),t._v(" "),e("b-card-body",{staticStyle:{"min-height":"300px"}},[0===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Caption")]),t._v(" "),e("div",{staticClass:"media mb-0"},[e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.caption,expression:"fields.caption"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"4",placeholder:"Write a caption...",maxlength:t.config.uploader.max_caption_length},domProps:{value:t.fields.caption},on:{keyup:function(e){t.composeTextLength=t.fields.caption.length},input:function(e){e.target.composing||t.$set(t.fields,"caption",e.target.value)}}})]),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"font-weight-bold small"},[t._v("Sensitive/NSFW")]),t._v(" "),e("div",{staticClass:"border py-2 px-3 bg-light rounded"},[e("b-form-checkbox",{staticStyle:{"font-weight":"300"},attrs:{name:"check-button",switch:""},model:{value:t.fields.sensitive,callback:function(e){t.$set(t.fields,"sensitive",e)},expression:"fields.sensitive"}},[e("span",{staticClass:"ml-1 small"},[t._v("Contains spoilers, sensitive or nsfw content")])])],1),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.fields.sensitive?e("div",{staticClass:"form-group mt-3"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Content Warning")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.spoiler_text,expression:"fields.spoiler_text"}],staticClass:"form-control",attrs:{rows:"2",placeholder:"Add an optional spoiler/content warning...",maxlength:140},domProps:{value:t.fields.spoiler_text},on:{input:function(e){e.target.composing||t.$set(t.fields,"spoiler_text",e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.fields.spoiler_text?t.fields.spoiler_text.length:0)+"/140")])]):t._e()])]:1===t.tabIndex?[e("div",{staticClass:"list-group"},t._l(t.fields.media,(function(s,a){return e("div",{key:"edm:"+s.id+":"+a,staticClass:"list-group-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},["image"===s.type?[e("img",{staticClass:"bg-light rounded cursor-pointer",staticStyle:{"object-fit":"cover"},attrs:{src:s.url,width:"40",height:"40"},on:{click:t.toggleLightbox}})]:t._e(),t._v(" "),e("p",{staticClass:"d-none d-lg-block mb-0"},[e("span",{staticClass:"small font-weight-light"},[t._v(t._s(s.mime))])]),t._v(" "),e("button",{staticClass:"btn btn-sm font-weight-bold rounded-pill px-4",class:[s.description&&s.description.length?"btn-success":"btn-outline-muted"],staticStyle:{"font-size":"13px"},on:{click:function(e){return e.preventDefault(),t.handleAddAltText(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.description&&s.description.length?"Edit Alt Text":"Add Alt Text")+"\n\t\t\t\t\t\t\t")]),t._v(" "),t.fields.media&&t.fields.media.length>1?e("div",{staticClass:"btn-group"},[e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:0===a},attrs:{href:"#",disabled:0===a},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("prev",a)}}},[e("i",{staticClass:"fas fa-arrow-alt-up"})]),t._v(" "),e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:a===t.fields.media.length-1},attrs:{href:"#",disabled:a===t.fields.media.length-1},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("next",a)}}},[e("i",{staticClass:"fas fa-arrow-alt-down"})])]):t._e(),t._v(" "),t.fields.media&&t.fields.media.length&&t.fields.media.length>1?e("button",{staticClass:"btn btn-outline-danger btn-sm",on:{click:function(e){return e.preventDefault(),t.removeMedia(a)}}},[e("i",{staticClass:"far fa-trash-alt"})]):t._e()],2),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.altTextEditIndex===a?[e("div",{staticClass:"form-group mt-1"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Alt Text")]),t._v(" "),e("b-form-textarea",{attrs:{placeholder:"Describe your image for the visually impaired...",rows:"3","max-rows":"6"},on:{input:function(e){return t.handleAltTextUpdate(a)}},model:{value:s.description,callback:function(e){t.$set(s,"description",e)},expression:"media.description"}}),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("a",{staticClass:"font-weight-bold small text-muted",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.altTextEditIndex=void 0}}},[t._v("Close")]),t._v(" "),e("p",{staticClass:"help-text small mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.fields.media[a].description?t.fields.media[a].description.length:0)+"/"+t._s(t.config.uploader.max_altext_length)+"\n\t\t\t\t\t\t\t\t\t\t")])])],1)]:t._e()],2)],1)})),0)]:3===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Location")]),t._v(" "),e("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}}),t._v(" "),t.fields.location&&t.fields.location.hasOwnProperty("id")?e("div",{staticClass:"mt-3 border rounded p-3 d-flex justify-content-between"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.fields.location.name)+", "+t._s(t.fields.location.country)+"\n\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link text-danger m-0 p-0",on:{click:function(e){return e.preventDefault(),t.clearLocation.apply(null,arguments)}}},[e("i",{staticClass:"far fa-trash"})])]):t._e()]:t._e()],2)],1):t._e()],1)},i=[]},26208:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{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("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("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?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:"<i class='far fa-ellipsis-v fa-lg px-3'></i>"}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("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")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)},i=[]},84027:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("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()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("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?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("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()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},93853:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},10454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",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:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("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(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("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(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},48087:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("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?e("div",[e("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?e("div",[t.relationship.following?e("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?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("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?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("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(" "),e("div",{staticClass:"username"},[e("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?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},20832:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},i=[]},30964:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},97069:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-carousel-component"},[t.canShow?e("div",{staticClass:"d-flex story-carousel-component-wrapper",staticStyle:{"overflow-y":"auto","z-index":"3"}},[e("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 text-dark text-decoration-none",staticStyle:{"max-width":"120px"},attrs:{href:"/i/stories/new"}},[t.selfStory&&t.selfStory.length?[e("div",{staticClass:"story-wrapper text-white shadow-sm mb-3",staticStyle:{width:"100%",height:"200px","border-radius":"15px"},style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url(".concat(t.selfStory[0].latest.preview_url,")"),backgroundSize:"cover",backgroundPosition:"center"}},[t._m(0)])]:[e("div",{staticClass:"story-wrapper text-white shadow-sm d-flex flex-column align-items-center justify-content-between",staticStyle:{width:"100%",height:"200px","border-radius":"15px"}},[e("p",{staticClass:"mb-4"}),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("story.add")))])])]],2),t._v(" "),t._l(t.stories,(function(s,a){return e("div",{staticClass:"col-4 col-lg-3 col-xl-2 px-1",staticStyle:{"max-width":"120px"}},[s.hasOwnProperty("url")?[e("a",{staticClass:"story",attrs:{href:s.url}},[s.latest&&"photo"==s.latest.type?e("div",{staticClass:"shadow-sm story-wrapper",class:{seen:s.seen},style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url(".concat(s.latest.preview_url,")"),backgroundSize:"cover",backgroundPosition:"center"}},[e("div",{staticClass:"story-wrapper-blur",staticStyle:{display:"block",width:"100%",height:"100%",position:"relative"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])])])]):e("div",{staticClass:"shadow-sm story-wrapper"},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t")])])])])]:[e("div",{staticClass:"story shadow-sm story-wrapper seen",style:{background:"linear-gradient(rgba(0,0,0,0.01),rgba(0,0,0,0.04))"}},[t._m(2,!0)])]],2)})),t._v(" "),t.selfStory&&t.selfStory.length&&t.stories.length<2?t._l(5,(function(s){return e("div",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 story",staticStyle:{"max-width":"120px"}},[e("div",{staticClass:"shadow-sm story-wrapper seen",style:{background:"linear-gradient(rgba(0,0,0,0.01),rgba(0,0,0,0.04))"}},[t._m(3,!0)])])})):t._e()],2):t._e()])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-wrapper-blur d-flex flex-column align-items-center justify-content-between",staticStyle:{display:"block",width:"100%",height:"100%"}},[e("p",{staticClass:"mb-4"}),t._v(" "),e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fal fa-plus-circle fa-2x"})]),t._v(" "),e("p",{staticClass:"font-weight-bold"},[t._v("My Story")])])},function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fal fa-plus-circle fa-2x"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-wrapper-blur",staticStyle:{display:"block",width:"100%",height:"100%",position:"relative"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"}),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"})])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-wrapper-blur",staticStyle:{display:"block",width:"100%",height:"100%",position:"relative"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"}),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"})])])}]},78061:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"align-self-start"},[e("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),e("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),e("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},69205:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(s,a){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},["autospam.warning"===s.type?e("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:s.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mt-n1 mb-0"},[e("span",{staticClass:"small text-muted"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showAutospamInfo(s.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},i=[]},98721:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-section-component"},[t.isLoaded?e("div",[t._l(t.feed,(function(s,a){return e("status",{key:"pf_feed:"+s.id+":idx:"+a+":fui:"+t.forceUpdateIdx,attrs:{status:s,profile:t.profile},on:{like:function(e){return t.likeStatus(a)},unlike:function(e){return t.unlikeStatus(a)},share:function(e){return t.shareStatus(a)},unshare:function(e){return t.unshareStatus(a)},menu:function(e){return t.openContextMenu(a)},"counter-change":function(e){return t.counterChange(a,e)},"likes-modal":function(e){return t.openLikesModal(a)},"shares-modal":function(e){return t.openSharesModal(a)},follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport,bookmark:function(e){return t.handleBookmark(a)},"mod-tools":function(e){return t.handleModTools(a)}}})})),t._v(" "),t.showLoadMore?e("div",{staticClass:"text-center"},[e("button",{staticClass:"btn btn-primary rounded-pill font-weight-bold",on:{click:t.tryToLoadMore}},[t._v("\n\t\t\t\tLoad more\n\t\t\t")])]):t._e(),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e(),t._v(" "),!t.isLoaded&&t.feed.length&&t.endFeedReached?e("div",{staticStyle:{"margin-bottom":"50vh"}},[t._m(0)]):t._e(),t._v(" "),"home"!=t.scope||t.feed.length?t._e():e("timeline-onboarding",{attrs:{profile:t.profile},on:{"update-profile":t.updateProfile}}),t._v(" "),t.isLoaded&&"home"!==t.scope&&!t.feed.length?e("empty-timeline"):t._e()],2):e("div",[e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder")],1),t._v(" "),t.showMenu?e("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport,edit:t.handleEdit}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}}),t._v(" "),e("post-edit-modal",{ref:"editModal",on:{update:t.mergeUpdatedPost}})],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("p",{staticClass:"display-4 text-center"},[t._v("✨")]),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("You have reached the end of this feed")])])}]},12959:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-65d7313c]{border-radius:15px}.username[data-v-65d7313c]{margin-bottom:-6px}.btn-white[data-v-65d7313c]{background-color:#fff;border:1px solid #f3f4f6}.sidebar[data-v-65d7313c]{top:90px}",""]);const o=i},48605:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((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 .avatar{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:0;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:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;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:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);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{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.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-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const o=i},95433:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const o=i},21523:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".timeline-onboarding .profile-hover-card-inner{width:100%}.timeline-onboarding .profile-hover-card-inner .d-flex{max-width:100%!important}",""]);const o=i},41866:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((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:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.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:var(--body-bg);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;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{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;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.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}.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.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.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;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const o=i},52420:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const o=i},28943:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,"div[data-v-1be4e9aa],p[data-v-1be4e9aa]{font-family:var(--font-family-sans-serif)}.nav-link[data-v-1be4e9aa]{color:var(--text-lighter);font-size:13px;font-weight:600}.nav-link.active[data-v-1be4e9aa]{color:var(--primary);font-weight:800}.slide-fade-enter-active[data-v-1be4e9aa]{transition:all .5s ease}.slide-fade-leave-active[data-v-1be4e9aa]{transition:all .2s cubic-bezier(.5,1,.6,1)}.slide-fade-enter[data-v-1be4e9aa],.slide-fade-leave-to[data-v-1be4e9aa]{opacity:0;transform:translateY(20px)}",""]);const o=i},93986:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;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:var(--body-color);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:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);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{color:var(--body-color);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{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-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 o=i},17738:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const o=i},1644:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.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}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const o=i},80402:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".story-carousel-component-wrapper{-ms-overflow-style:none;scrollbar-width:none}.story-carousel-component-wrapper::-webkit-scrollbar{width:0!important}.story-carousel-component .story-wrapper{background:#b24592;background:linear-gradient(90deg,#b24592,#f15f79);border:1px solid var(--border-color);border-radius:15px;display:block;height:200px;margin-bottom:1rem;overflow:hidden;position:relative;width:100%}.story-carousel-component .story-wrapper .username{color:#fff}.story-carousel-component .story-wrapper .avatar{border-radius:6px;margin-bottom:5px}.story-carousel-component .story-wrapper.seen{opacity:30%}.story-carousel-component .story-wrapper-blur{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:rgba(0,0,0,.2);border-radius:15px;overflow:hidden}.force-dark-mode .story-wrapper.seen{background:linear-gradient(hsla(0,0%,100%,.12),hsla(0,0%,100%,.14))!important;opacity:50%}",""]);const o=i},195:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const o=i},62985:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const o=i},13319:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(12959),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},1582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(48605),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},2869:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(95433),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},17378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(21523),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},94207:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(41866),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},2245:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(52420),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},40658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(28943),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},51010:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(93986),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},92341:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(17738),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},64111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(1644),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},93822:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(80402),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},7051:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(195),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},81459:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(62985),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},98489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(4398),i=s(67828),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(24010);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"65d7313c",null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(8056);const i=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(80568),i=s(60378),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(84074);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},42755:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(87661),i=s(1374),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(72682);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(18709),i=s(72214),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},76429:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(5249),i=s(74778),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57166:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(63254);const i=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},73128:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(22356),i=s(163),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},44898:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(80229),i=s(77733),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(53042);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(35613),i=s(3646),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(40636);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78559),i=s(43354),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(88760),i=s(23983),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(37444),i=s(59111),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},248:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(49886),i=s(56897),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(51698);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(28476);const i=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(50282),i=s(6921),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(56253),i=s(40102),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},43136:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(30906),i=s(76067),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(81062);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"1be4e9aa",null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(76961),i=s(33012),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(73433),i=s(94747),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(23666),i=s(19651),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(70946),i=s(84021),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(30535),i=s(84185),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(62544);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},78375:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(79325),i=s(2678),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(86965);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(7071),i=s(28058),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(11883);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},66915:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(17303),i=s(98626),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(40687);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},68296:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(48170),i=s(82834),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(89501);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},73459:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(6831),i=s(67476),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(35817);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},55197:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(93409),i=s(2118),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},67828:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(41015),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},60378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(95217),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},1374:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(89250),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},72214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(8671),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},74778:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(29022),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},163:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(54076),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},77733:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(40744),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},3646:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(19444),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},43354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(13143),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},23983:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(3861),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},59111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(60658),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},56897:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(42562),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},6921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(36935),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},40102:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(92606),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},76067:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(22890),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},33012:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(51815),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},94747:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(17810),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},19651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(2011),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(24489),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84185:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(54965),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},2678:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(5540),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},28058:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(11188),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},98626:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(71753),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},82834:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(66925),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},67476:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(43762),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},2118:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(8127),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},4398:(t,e,s)=>{s.r(e);var a=s(35842),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},8056:(t,e,s)=>{s.r(e);var a=s(41262),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},80568:(t,e,s)=>{s.r(e);var a=s(72474),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},87661:(t,e,s)=>{s.r(e);var a=s(7231),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},18709:(t,e,s)=>{s.r(e);var a=s(97584),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5249:(t,e,s)=>{s.r(e);var a=s(73023),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},63254:(t,e,s)=>{s.r(e);var a=s(32770),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},22356:(t,e,s)=>{s.r(e);var a=s(50554),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},80229:(t,e,s)=>{s.r(e);var a=s(78580),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},35613:(t,e,s)=>{s.r(e);var a=s(83692),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},78559:(t,e,s)=>{s.r(e);var a=s(54822),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88760:(t,e,s)=>{s.r(e);var a=s(7059),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},37444:(t,e,s)=>{s.r(e);var a=s(36563),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},49886:(t,e,s)=>{s.r(e);var a=s(93410),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},28476:(t,e,s)=>{s.r(e);var a=s(73954),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},50282:(t,e,s)=>{s.r(e);var a=s(92994),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},56253:(t,e,s)=>{s.r(e);var a=s(3103),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},30906:(t,e,s)=>{s.r(e);var a=s(78190),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},76961:(t,e,s)=>{s.r(e);var a=s(26208),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},73433:(t,e,s)=>{s.r(e);var a=s(84027),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},23666:(t,e,s)=>{s.r(e);var a=s(93853),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},70946:(t,e,s)=>{s.r(e);var a=s(10454),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},30535:(t,e,s)=>{s.r(e);var a=s(48087),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},79325:(t,e,s)=>{s.r(e);var a=s(20832),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},7071:(t,e,s)=>{s.r(e);var a=s(30964),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},17303:(t,e,s)=>{s.r(e);var a=s(97069),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48170:(t,e,s)=>{s.r(e);var a=s(78061),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},6831:(t,e,s)=>{s.r(e);var a=s(69205),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},93409:(t,e,s)=>{s.r(e);var a=s(98721),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},24010:(t,e,s)=>{s.r(e);var a=s(13319),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},84074:(t,e,s)=>{s.r(e);var a=s(1582),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},72682:(t,e,s)=>{s.r(e);var a=s(2869),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},53042:(t,e,s)=>{s.r(e);var a=s(17378),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},40636:(t,e,s)=>{s.r(e);var a=s(94207),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},51698:(t,e,s)=>{s.r(e);var a=s(2245),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},81062:(t,e,s)=>{s.r(e);var a=s(40658),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},62544:(t,e,s)=>{s.r(e);var a=s(51010),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86965:(t,e,s)=>{s.r(e);var a=s(92341),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11883:(t,e,s)=>{s.r(e);var a=s(64111),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},40687:(t,e,s)=>{s.r(e);var a=s(93822),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},89501:(t,e,s)=>{s.r(e);var a=s(7051),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},35817:(t,e,s)=>{s.r(e);var a=s(81459),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)}}]);