From 6e1636c090d8f6021ff9ab4f0d8b090a3f27ce81 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 3 Mar 2019 22:12:49 -0700 Subject: [PATCH] Update compiled assets --- public/js/discover.js | 2 +- public/js/profile.js | 2 +- public/mix-manifest.json | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/public/js/discover.js b/public/js/discover.js index ce8c99d7e..42e7b4e9c 100644 --- a/public/js/discover.js +++ b/public/js/discover.js @@ -1 +1 @@ -!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/",r(r.s=3)}({"+nCD":function(t,e,r){Vue.component("discover-component",r("RlRG").default)},3:function(t,e,r){t.exports=r("+nCD")},"9tPo":function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var r=e.protocol+"//"+e.host,n=r+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var o,i=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?t:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?r+i:n+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},F8SD:function(t,e,r){"use strict";var n=r("X4rO");r.n(n).a},I1BE:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var r=function(t,e){var r=t[1]||"",n=t[3];if(!n)return r;if(e&&"function"==typeof btoa){var o=(s=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),i=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[r].concat(i).concat([o]).join("\n")}var s;return[r].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},o=0;o1&&($(".section-explore .loader").hide(),$(".section-explore .row.d-none").removeClass("d-none"))})},fetchCategories:function(){var t=this;axios.get("/api/v2/discover/categories").then(function(e){t.allCategories=e.data,t.categories=_.slice(e.data,0,5)})},categoryNext:function(){if(!(this.categoryCursor>this.allCategories.length-1)){this.categoryCursor++;var t=this.categoryCursor,e=t-5,r=t;this.categories=_.slice(this.allCategories,e,r)}},categoryPrev:function(){if(5!=this.categoryCursor){this.categoryCursor--;var t=this.categoryCursor,e=t-5,r=t;this.categories=_.slice(this.allCategories,e,r)}}}},o=(r("F8SD"),r("KHd+")),i=Object(o.a)(n,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"container"},[t.categories.length>0?r("section",{staticClass:"mb-5 pb-3 px-2 d-xs-none d-md-block",staticStyle:{"overflow-x":"hidden"}},[t._m(0),t._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:t.categoryCursor>5,expression:"categoryCursor > 5"}],staticClass:"text-dark d-inline-flex align-items-center pr-3",on:{click:function(e){return t.categoryPrev()}}},[r("i",{staticClass:"fas fa-chevron-circle-left fa-lg text-muted"})]),t._v(" "),t._l(t.categories,function(e,n){return r("a",{key:n+"_cat_",staticClass:"bg-dark rounded d-inline-flex align-items-end justify-content-center mr-3 box-shadow card-disc",style:"width:160px;height:100px;background: linear-gradient(rgba(0, 0, 0, 0.3),rgba(0, 0, 0, 0.3)),url("+e.thumb+");",attrs:{href:e.url}},[r("p",{staticClass:"text-white font-weight-bold",staticStyle:{"text-shadow":"3px 3px 16px #272634"}},[t._v(t._s(e.name))])])}),t._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:t.allCategories.length!=t.categoryCursor,expression:"allCategories.length != categoryCursor"}],staticClass:"text-dark d-flex align-items-center",on:{click:function(e){return t.categoryNext()}}},[r("i",{staticClass:"fas fa-chevron-circle-right fa-lg text-muted"})])],2):t._e(),t._v(" "),r("section",{staticClass:"mb-5 section-explore"},[r("div",{staticClass:"profile-timeline"},[t._m(1),t._v(" "),r("div",{staticClass:"row d-none"},t._l(t.posts,function(t){return r("div",{staticClass:"col-4 p-0 p-sm-2 p-md-3"},[r("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.url}},[r("div",{staticClass:"square filter_class"},[r("div",{staticClass:"square-content",style:{"background-image":"url("+t.thumb+")"}})])])])}),0)])]),t._v(" "),t._m(2)])},[function(){var t=this.$createElement,e=this._self._c||t;return e("a",{staticClass:"bg-dark rounded d-inline-flex align-items-end justify-content-center mr-3 box-shadow",staticStyle:{width:"160px",height:"100px"},attrs:{href:"/discover/personal"}},[e("p",{staticClass:"text-white font-weight-bold",staticStyle:{"text-shadow":"3px 3px 16px #272634","border-bottom":"2px solid #fff"}},[this._v("For You")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"loader text-center"},[e("div",{staticClass:"lds-ring"},[e("div"),e("div"),e("div"),e("div")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"mb-5"},[e("p",{staticClass:"lead text-center"},[this._v("To view more posts, check the "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/"}},[this._v("home")]),this._v(" or "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/timeline/public"}},[this._v("local")]),this._v(" timelines.")])])}],!1,null,"64e345ee",null);e.default=i.exports},W5a4:function(t,e,r){(t.exports=r("I1BE")(!1)).push([t.i,"\n.card-disc[data-v-64e345ee] {\n background-size: cover !important;\n}\n",""])},X4rO:function(t,e,r){var n=r("W5a4");"string"==typeof n&&(n=[[t.i,n,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};r("aET+")(n,o);n.locals&&(t.exports=n.locals)},"aET+":function(t,e,r){var n,o,i={},s=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=n.apply(this,arguments)),o}),a=function(t){var e={};return function(t,r){if("function"==typeof t)return t();if(void 0===e[t]){var n=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,r);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),c=null,l=0,u=[],f=r("9tPo");function d(t,e){for(var r=0;r=0&&u.splice(e,1)}function g(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var n=function(){0;return r.nc}();n&&(t.attrs.nonce=n)}return m(e,t.attrs),h(t,e),e}function m(t,e){Object.keys(e).forEach(function(r){t.setAttribute(r,e[r])})}function b(t,e){var r,n,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var s=l++;r=c||(c=g(e)),n=C.bind(null,r,s,!1),o=C.bind(null,r,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",m(e,t.attrs),h(t,e),e}(e),n=function(t,e,r){var n=r.css,o=r.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(n=f(n));o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var s=new Blob([n],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,r,e),o=function(){v(r),r.href&&URL.revokeObjectURL(r.href)}):(r=g(e),n=function(t,e){var r=e.css,n=e.media;n&&t.setAttribute("media",n);if(t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}.bind(null,r),o=function(){v(r)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=s()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var r=p(t,e);return d(r,e),function(t){for(var n=[],o=0;o1&&($(".section-explore .loader").hide(),$(".section-explore .row.d-none").removeClass("d-none"))})},fetchCategories:function(){var t=this;axios.get("/api/v2/discover/categories").then(function(e){t.allCategories=e.data,t.categories=_.slice(e.data,0,5)})},categoryNext:function(){if(!(this.categoryCursor>this.allCategories.length-1)){this.categoryCursor++;var t=this.categoryCursor,e=t-5,r=t;this.categories=_.slice(this.allCategories,e,r)}},categoryPrev:function(){if(5!=this.categoryCursor){this.categoryCursor--;var t=this.categoryCursor,e=t-5,r=t;this.categories=_.slice(this.allCategories,e,r)}}}},o=(r("qMHj"),r("KHd+")),i=Object(o.a)(n,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"container"},[t.categories.length>0?r("section",{staticClass:"mb-5 pb-3 px-2 d-flex",staticStyle:{"overflow-x":"hidden"}},[t._m(0),t._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:t.categoryCursor>5,expression:"categoryCursor > 5"}],staticClass:"text-dark d-inline-flex align-items-center pr-3",on:{click:function(e){return t.categoryPrev()}}},[r("i",{staticClass:"fas fa-chevron-circle-left fa-lg text-muted"})]),t._v(" "),t._l(t.categories,function(e,n){return r("a",{key:n+"_cat_",staticClass:"bg-dark rounded d-inline-flex align-items-end justify-content-center mr-3 box-shadow card-disc",style:"width:160px;height:100px;background: linear-gradient(rgba(0, 0, 0, 0.3),rgba(0, 0, 0, 0.3)),url("+e.thumb+");",attrs:{href:e.url}},[r("p",{staticClass:"text-white font-weight-bold",staticStyle:{"text-shadow":"3px 3px 16px #272634"}},[t._v(t._s(e.name))])])}),t._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:t.allCategories.length!=t.categoryCursor,expression:"allCategories.length != categoryCursor"}],staticClass:"text-dark d-flex align-items-center",on:{click:function(e){return t.categoryNext()}}},[r("i",{staticClass:"fas fa-chevron-circle-right fa-lg text-muted"})])],2):t._e(),t._v(" "),r("section",{staticClass:"mb-5 section-explore"},[r("div",{staticClass:"profile-timeline"},[t._m(1),t._v(" "),r("div",{staticClass:"row d-none"},t._l(t.posts,function(t){return r("div",{staticClass:"col-4 p-0 p-sm-2 p-md-3"},[r("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.url}},[r("div",{staticClass:"square filter_class"},[r("div",{staticClass:"square-content",style:{"background-image":"url("+t.thumb+")"}})])])])}),0)])]),t._v(" "),t._m(2)])},[function(){var t=this.$createElement,e=this._self._c||t;return e("a",{staticClass:"bg-dark rounded d-inline-flex align-items-end justify-content-center mr-3 box-shadow",staticStyle:{width:"160px",height:"100px"},attrs:{href:"/discover/personal"}},[e("p",{staticClass:"text-white font-weight-bold",staticStyle:{"text-shadow":"3px 3px 16px #272634","border-bottom":"2px solid #fff"}},[this._v("For You")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"loader text-center"},[e("div",{staticClass:"lds-ring"},[e("div"),e("div"),e("div"),e("div")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"mb-5"},[e("p",{staticClass:"lead text-center"},[this._v("To view more posts, check the "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/"}},[this._v("home")]),this._v(" or "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/timeline/public"}},[this._v("local")]),this._v(" timelines.")])])}],!1,null,"7ae9b0cc",null);e.default=i.exports},"aET+":function(t,e,r){var n,o,i={},s=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=n.apply(this,arguments)),o}),a=function(t){var e={};return function(t,r){if("function"==typeof t)return t();if(void 0===e[t]){var n=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,r);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),c=null,l=0,u=[],f=r("9tPo");function d(t,e){for(var r=0;r=0&&u.splice(e,1)}function g(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var n=function(){0;return r.nc}();n&&(t.attrs.nonce=n)}return m(e,t.attrs),h(t,e),e}function m(t,e){Object.keys(e).forEach(function(r){t.setAttribute(r,e[r])})}function b(t,e){var r,n,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var s=l++;r=c||(c=g(e)),n=C.bind(null,r,s,!1),o=C.bind(null,r,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",m(e,t.attrs),h(t,e),e}(e),n=function(t,e,r){var n=r.css,o=r.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(n=f(n));o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var s=new Blob([n],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,r,e),o=function(){v(r),r.href&&URL.revokeObjectURL(r.href)}):(r=g(e),n=function(t,e){var r=e.css,n=e.media;n&&t.setAttribute("media",n);if(t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}.bind(null,r),o=function(){v(r)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=s()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var r=p(t,e);return d(r,e),function(t){for(var n=[],o=0;o0?this.$refs.followingModal.show():(axios.get("/api/v1/accounts/"+this.profile.id+"/following",{params:{page:this.followingCursor}}).then(function(e){t.following=e.data,t.followingCursor++,e.data.length<10&&(t.followingMore=!1)}),this.$refs.followingModal.show())},followersModal:function(){var t=this;this.followers.length>0?this.$refs.followerModal.show():(axios.get("/api/v1/accounts/"+this.profile.id+"/followers",{params:{page:this.followerCursor}}).then(function(e){t.followers=e.data,t.followerCursor++,e.data.length<10&&(t.followerMore=!1)}),this.$refs.followerModal.show())},followingLoadMore:function(){var t=this;axios.get("/api/v1/accounts/"+this.profile.id+"/following",{params:{page:this.followingCursor}}).then(function(e){var n;e.data.length>0&&((n=t.following).push.apply(n,o(e.data)),t.followingCursor++);e.data.length<10&&(t.followingMore=!1)})},followersLoadMore:function(){var t=this;axios.get("/api/v1/accounts/"+this.profile.id+"/followers",{params:{page:this.followerCursor}}).then(function(e){var n;e.data.length>0&&((n=t.followers).push.apply(n,o(e.data)),t.followerCursor++);e.data.length<10&&(t.followerMore=!1)})}}},a=(n("RL9K"),n("KHd+")),i=Object(a.a)(s,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.loading?n("div",{staticClass:"d-flex justify-content-center py-5 my-5"},[n("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]):t._e(),t._v(" "),t.loading?t._e():n("div",[n("div",{staticClass:"bg-white py-5 border-bottom"},[n("div",{staticClass:"container"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-md-4 d-flex"},[n("div",{staticClass:"profile-avatar mx-auto"},[n("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.profile.avatar,width:"172px",height:"172px"}})])]),t._v(" "),n("div",{staticClass:"col-12 col-md-8 d-flex align-items-center"},[n("div",{staticClass:"profile-details"},[n("div",{staticClass:"username-bar pb-2 d-flex align-items-center"},[n("span",{staticClass:"font-weight-ultralight h1"},[t._v(t._s(t.profile.username))]),t._v(" "),t.profile.is_admin?n("span",{staticClass:"pl-4"},[n("span",{staticClass:"btn btn-outline-danger font-weight-bold py-0"},[t._v("ADMIN")])]):t._e(),t._v(" "),t.owner?n("span",{staticClass:"pl-4"},[n("a",{staticClass:"fas fa-cog fa-lg text-muted",attrs:{href:"/settings/home"}})]):t._e(),t._v(" "),!t.owner&&t.user.hasOwnProperty("id")?n("span",[1==t.relationship.following?n("span",{staticClass:"pl-4"},[n("button",{staticClass:"btn btn-outline-secondary font-weight-bold px-4 py-0",attrs:{type:"button"},on:{click:function(e){return t.followProfile()}}},[t._v("Unfollow")])]):t._e(),t._v(" "),t.relationship.following?t._e():n("span",{staticClass:"pl-4"},[n("button",{staticClass:"btn btn-primary font-weight-bold px-4 py-0",attrs:{type:"button"},on:{click:function(e){return t.followProfile()}}},[t._v("Follow")])])]):t._e()]),t._v(" "),n("div",{staticClass:"profile-stats pb-3 d-inline-flex lead"},[n("div",{staticClass:"font-weight-light pr-5"},[n("a",{staticClass:"text-dark",attrs:{href:t.profile.url}},[n("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.profile.statuses_count))]),t._v("\n\t\t\t\t\t\t\t\t\t\tPosts\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),n("div",{staticClass:"font-weight-light pr-5"},[n("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followersModal()}}},[n("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.profile.followers_count))]),t._v("\n\t\t\t\t\t\t\t\t\t\tFollowers\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),n("div",{staticClass:"font-weight-light pr-5"},[n("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followingModal()}}},[n("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.profile.following_count))]),t._v("\n\t\t\t\t\t\t\t\t\t\tFollowing\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),n("p",{staticClass:"lead mb-0 d-flex align-items-center"},[n("span",{staticClass:"font-weight-bold pr-3"},[t._v(t._s(t.profile.display_name))])]),t._v(" "),t.profile.note?n("div",{staticClass:"mb-0 lead",domProps:{innerHTML:t._s(t.profile.note)}}):t._e(),t._v(" "),t.profile.website?n("p",{staticClass:"mb-0"},[n("a",{staticClass:"font-weight-bold",attrs:{href:t.profile.website,rel:"me external nofollow noopener",target:"_blank"}},[t._v(t._s(t.profile.website))])]):t._e()])])])])]),t._v(" "),n("div",[n("ul",{staticClass:"nav nav-topbar d-flex justify-content-center border-0"},[n("li",{staticClass:"nav-item"},[n("a",{class:"grid"==this.mode?"nav-link font-weight-bold text-uppercase active":"nav-link font-weight-bold text-uppercase",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("grid")}}},[n("i",{staticClass:"fas fa-th"})])]),t._v(" "),n("li",{staticClass:"nav-item"},[n("a",{class:"list"==this.mode?"nav-link font-weight-bold text-uppercase active":"nav-link font-weight-bold text-uppercase",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("list")}}},[n("i",{staticClass:"fas fa-th-list"})])]),t._v(" "),t.owner?n("li",{staticClass:"nav-item"},[n("a",{staticClass:"nav-link font-weight-bold text-uppercase",attrs:{href:t.profile.url+"/saved"}},[t._v("Saved")])]):t._e()])]),t._v(" "),n("div",{staticClass:"container"},[n("div",{staticClass:"profile-timeline mt-2 mt-md-4"},["grid"==t.mode?n("div",{staticClass:"row"},t._l(t.timeline,function(e,o){return n("div",{staticClass:"col-4 p-0 p-sm-2 p-md-3"},[n("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:e.url}},[n("div",{staticClass:"square"},["photo:album"==e.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),n("div",{staticClass:"square-content",style:t.previewBackground(e)}),t._v(" "),n("div",{staticClass:"info-overlay-text"},[n("h5",{staticClass:"text-white m-auto font-weight-bold"},[n("span",[n("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),n("span",{staticClass:"d-flex-inline"},[t._v(t._s(e.favourites_count))])]),t._v(" "),n("span",[n("span",{staticClass:"fas fa-retweet fa-lg p-2 d-flex-inline"}),t._v(" "),n("span",{staticClass:"d-flex-inline"},[t._v(t._s(e.reblogs_count))])])])])])])])}),0):t._e(),t._v(" "),"list"==t.mode?n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-8 col-lg-8 offset-md-2 pt-2 px-0 my-3 timeline"},t._l(t.timeline,function(e,o){return n("div",{key:e.id,staticClass:"card mb-4 status-card card-md-rounded-0",attrs:{"data-status-id":e.id}},[n("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[n("img",{staticStyle:{"border-radius":"32px"},attrs:{src:e.account.avatar,width:"32px",height:"32px"}}),t._v(" "),n("a",{staticClass:"username font-weight-bold pl-2 text-dark",attrs:{href:e.account.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.username)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[n("div",{staticClass:"dropdown"},[t._m(0,!0),t._v(" "),n("div",{staticClass:"dropdown-menu dropdown-menu-right",attrs:{"aria-labelledby":"dropdownMenuButton"}},[n("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:e.url}},[t._v("Go to post")]),t._v(" "),n("span",{class:[t.statusOwner(e)?"d-none":""]},[n("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.reportUrl(e)}},[t._v("Report")]),t._v(" "),n("a",{staticClass:"dropdown-item font-weight-bold",on:{click:function(n){return t.muteProfile(e)}}},[t._v("Mute Profile")]),t._v(" "),n("a",{staticClass:"dropdown-item font-weight-bold",on:{click:function(n){return t.blockProfile(e)}}},[t._v("Block Profile")])]),t._v(" "),n("span",{class:[t.statusOwner(e)?"":"d-none"]},[n("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.editUrl(e)}},[t._v("Edit")]),t._v(" "),n("a",{staticClass:"dropdown-item font-weight-bold text-danger",on:{click:function(n){return t.deletePost(e)}}},[t._v("Delete")])])])])])]),t._v(" "),n("div",{staticClass:"postPresenterContainer"},["photo"===e.pf_type?n("div",{staticClass:"w-100"},[n("photo-presenter",{attrs:{status:e}})],1):"video"===e.pf_type?n("div",{staticClass:"w-100"},[n("video-presenter",{attrs:{status:e}})],1):"photo:album"===e.pf_type?n("div",{staticClass:"w-100"},[n("photo-album-presenter",{attrs:{status:e}})],1):"video:album"===e.pf_type?n("div",{staticClass:"w-100"},[n("video-album-presenter",{attrs:{status:e}})],1):"photo:video:album"===e.pf_type?n("div",{staticClass:"w-100"},[n("mixed-album-presenter",{attrs:{status:e}})],1):n("div",{staticClass:"w-100"},[n("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),n("div",{staticClass:"card-body"},[n("div",{staticClass:"reactions my-1"},[n("h3",{class:[e.favourited?"fas fa-heart text-danger pr-3 m-0 cursor-pointer":"far fa-heart pr-3 m-0 like-btn cursor-pointer"],attrs:{title:"Like"},on:{click:function(n){return t.likeStatus(e,n)}}}),t._v(" "),n("h3",{staticClass:"far fa-comment pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(n){return t.commentFocus(e,n)}}}),t._v(" "),n("h3",{class:[e.reblogged?"far fa-share-square pr-3 m-0 text-primary cursor-pointer":"far fa-share-square pr-3 m-0 share-btn cursor-pointer"],attrs:{title:"Share"},on:{click:function(n){return t.shareStatus(e,n)}}})]),t._v(" "),n("div",{staticClass:"likes font-weight-bold"},[n("span",{staticClass:"like-count"},[t._v(t._s(e.favourites_count))]),t._v(" "+t._s(1==e.favourites_count?"like":"likes")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("div",{staticClass:"caption"},[n("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[n("span",{staticClass:"username font-weight-bold"},[n("bdi",[n("a",{staticClass:"text-dark",attrs:{href:e.account.url}},[t._v(t._s(e.account.username))])])]),t._v(" "),n("span",{domProps:{innerHTML:t._s(e.content)}})])]),t._v(" "),n("div",{staticClass:"comments"}),t._v(" "),n("div",{staticClass:"timestamp pt-1"},[n("p",{staticClass:"small text-uppercase mb-0"},[n("a",{staticClass:"text-muted",attrs:{href:e.url}},[n("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:e.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(e.created_at)}})],1)])])]),t._v(" "),n("div",{staticClass:"card-footer bg-white d-none"},[n("form",{on:{submit:function(n){return n.preventDefault(),t.commentSubmit(e,n)}}},[n("input",{attrs:{type:"hidden",name:"item",value:""}}),t._v(" "),n("input",{staticClass:"form-control status-reply-input",attrs:{name:"comment",placeholder:"Add a comment…",autocomplete:"off"}})])])])}),0)]):t._e(),t._v(" "),"masonry"==t.mode?n("div",{staticClass:"masonry-grid"},t._l(t.timeline,function(e,o){return n("div",{staticClass:"d-inline p-0 p-sm-2 p-md-3 masonry-item"},[n("a",{attrs:{href:e.url},on:{click:function(n){return n.preventDefault(),t.statusModal(e)}}},[n("img",{class:"o-"+t.masonryOrientation(e),attrs:{src:t.previewUrl(e)}})])])}),0):t._e(),t._v(" "),n("infinite-loading",{on:{infinite:t.infiniteTimeline}},[n("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),n("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1)])]),t._v(" "),n("b-modal",{ref:"followingModal",attrs:{id:"following-modal","hide-footer":"",centered:"",title:"Following","body-class":"list-group-flush p-0"}},[n("div",{staticClass:"list-group"},[t._l(t.following,function(e,o){return n("div",{key:"following_"+o,staticClass:"list-group-item border-0"},[n("div",{staticClass:"media"},[n("a",{attrs:{href:e.url}},[n("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px"}})]),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[n("a",{staticClass:"font-weight-bold text-dark",attrs:{href:e.url}},[t._v("\n "+t._s(e.username)+"\n ")])]),t._v(" "),n("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"14px"}},[t._v("\n "+t._s(e.display_name)+"\n ")])])])])}),t._v(" "),t.followingMore?n("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followingLoadMore()}}},[n("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2)]),t._v(" "),n("b-modal",{ref:"followerModal",attrs:{id:"follower-modal","hide-footer":"",centered:"",title:"Followers","body-class":"list-group-flush p-0"}},[n("div",{staticClass:"list-group"},[t._l(t.followers,function(e,o){return n("div",{key:"follower_"+o,staticClass:"list-group-item border-0"},[n("div",{staticClass:"media"},[n("a",{attrs:{href:e.url}},[n("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px"}})]),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[n("a",{staticClass:"font-weight-bold text-dark",attrs:{href:e.url}},[t._v("\n "+t._s(e.username)+"\n ")])]),t._v(" "),n("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"14px"}},[t._v("\n "+t._s(e.display_name)+"\n ")])])])])}),t._v(" "),t.followerMore?n("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followersLoadMore()}}},[n("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2)])],1)},[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn btn-link text-dark no-caret dropdown-toggle",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"Post options"}},[e("span",{staticClass:"fas fa-ellipsis-v fa-lg text-muted"})])}],!1,null,"1db70efa",null);e.default=i.exports},I1BE:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"==typeof btoa){var s=(i=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),a=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[n].concat(a).concat([s]).join("\n")}var i;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},s=0;s=0&&d.splice(e,1)}function v(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var o=function(){0;return n.nc}();o&&(t.attrs.nonce=o)}return g(e,t.attrs),m(t,e),e}function g(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function w(t,e){var n,o,s,a;if(e.transform&&t.css){if(!(a="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=a}if(e.singleton){var i=c++;n=l||(l=v(e)),o=C.bind(null,n,i,!1),s=C.bind(null,n,i,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),m(t,e),e}(e),o=function(t,e,n){var o=n.css,s=n.sourceMap,a=void 0===e.convertToAbsoluteUrls&&s;(e.convertToAbsoluteUrls||a)&&(o=f(o));s&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */");var i=new Blob([o],{type:"text/css"}),r=t.href;t.href=URL.createObjectURL(i),r&&URL.revokeObjectURL(r)}.bind(null,n,e),s=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(e),o=function(t,e){var n=e.css,o=e.media;o&&t.setAttribute("media",o);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),s=function(){h(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else s()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=i()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=p(t,e);return u(n,e),function(t){for(var o=[],s=0;s0?this.$refs.followingModal.show():(axios.get("/api/v1/accounts/"+this.profile.id+"/following",{params:{page:this.followingCursor}}).then(function(e){t.following=e.data,t.followingCursor++,e.data.length<10&&(t.followingMore=!1)}),this.$refs.followingModal.show())},followersModal:function(){var t=this;this.followers.length>0?this.$refs.followerModal.show():(axios.get("/api/v1/accounts/"+this.profile.id+"/followers",{params:{page:this.followerCursor}}).then(function(e){t.followers=e.data,t.followerCursor++,e.data.length<10&&(t.followerMore=!1)}),this.$refs.followerModal.show())},followingLoadMore:function(){var t=this;axios.get("/api/v1/accounts/"+this.profile.id+"/following",{params:{page:this.followingCursor}}).then(function(e){var n;e.data.length>0&&((n=t.following).push.apply(n,o(e.data)),t.followingCursor++);e.data.length<10&&(t.followingMore=!1)})},followersLoadMore:function(){var t=this;axios.get("/api/v1/accounts/"+this.profile.id+"/followers",{params:{page:this.followerCursor}}).then(function(e){var n;e.data.length>0&&((n=t.followers).push.apply(n,o(e.data)),t.followerCursor++);e.data.length<10&&(t.followerMore=!1)})}}},s=(n("l3Mw"),n("KHd+")),i=Object(s.a)(a,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.loading?n("div",{staticClass:"d-flex justify-content-center py-5 my-5"},[n("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]):t._e(),t._v(" "),t.loading?t._e():n("div",[n("div",{staticClass:"bg-white py-5 border-bottom"},[n("div",{staticClass:"container"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-md-4 d-flex"},[n("div",{staticClass:"profile-avatar mx-auto"},[n("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.profile.avatar,width:"172px",height:"172px"}})])]),t._v(" "),n("div",{staticClass:"col-12 col-md-8 d-flex align-items-center"},[n("div",{staticClass:"profile-details"},[n("div",{staticClass:"username-bar pb-2 d-flex align-items-center"},[n("span",{staticClass:"font-weight-ultralight h1"},[t._v(t._s(t.profile.username))]),t._v(" "),t.profile.is_admin?n("span",{staticClass:"pl-4"},[n("span",{staticClass:"btn btn-outline-danger font-weight-bold py-0"},[t._v("ADMIN")])]):t._e(),t._v(" "),t.owner?n("span",{staticClass:"pl-4"},[n("a",{staticClass:"fas fa-cog fa-lg text-muted",attrs:{href:"/settings/home"}})]):t._e(),t._v(" "),t.profile.id!=t.user.id&&t.user.hasOwnProperty("id")?n("span",[1==t.relationship.following?n("span",{staticClass:"pl-4"},[n("button",{staticClass:"btn btn-outline-secondary font-weight-bold px-4 py-0",attrs:{type:"button"},on:{click:function(e){return t.followProfile()}}},[t._v("Unfollow")])]):t._e(),t._v(" "),t.relationship.following?t._e():n("span",{staticClass:"pl-4"},[n("button",{staticClass:"btn btn-primary font-weight-bold px-4 py-0",attrs:{type:"button"},on:{click:function(e){return t.followProfile()}}},[t._v("Follow")])])]):t._e()]),t._v(" "),n("div",{staticClass:"profile-stats pb-3 d-inline-flex lead"},[n("div",{staticClass:"font-weight-light pr-5"},[n("a",{staticClass:"text-dark",attrs:{href:t.profile.url}},[n("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.profile.statuses_count))]),t._v("\n\t\t\t\t\t\t\t\t\t\tPosts\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),n("div",{staticClass:"font-weight-light pr-5"},[n("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followersModal()}}},[n("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.profile.followers_count))]),t._v("\n\t\t\t\t\t\t\t\t\t\tFollowers\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),n("div",{staticClass:"font-weight-light pr-5"},[n("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followingModal()}}},[n("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.profile.following_count))]),t._v("\n\t\t\t\t\t\t\t\t\t\tFollowing\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),n("p",{staticClass:"lead mb-0 d-flex align-items-center"},[n("span",{staticClass:"font-weight-bold pr-3"},[t._v(t._s(t.profile.display_name))])]),t._v(" "),t.profile.note?n("div",{staticClass:"mb-0 lead",domProps:{innerHTML:t._s(t.profile.note)}}):t._e(),t._v(" "),t.profile.website?n("p",{staticClass:"mb-0"},[n("a",{staticClass:"font-weight-bold",attrs:{href:t.profile.website,rel:"me external nofollow noopener",target:"_blank"}},[t._v(t._s(t.profile.website))])]):t._e()])])])])]),t._v(" "),n("div",[n("ul",{staticClass:"nav nav-topbar d-flex justify-content-center border-0"},[n("li",{staticClass:"nav-item"},[n("a",{class:"grid"==this.mode?"nav-link font-weight-bold text-uppercase active":"nav-link font-weight-bold text-uppercase",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("grid")}}},[n("i",{staticClass:"fas fa-th"})])]),t._v(" "),n("li",{staticClass:"nav-item"},[n("a",{class:"list"==this.mode?"nav-link font-weight-bold text-uppercase active":"nav-link font-weight-bold text-uppercase",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("list")}}},[n("i",{staticClass:"fas fa-th-list"})])]),t._v(" "),t.owner?n("li",{staticClass:"nav-item"},[n("a",{staticClass:"nav-link font-weight-bold text-uppercase",attrs:{href:t.profile.url+"/saved"}},[t._v("Saved")])]):t._e()])]),t._v(" "),n("div",{staticClass:"container"},[n("div",{staticClass:"profile-timeline mt-2 mt-md-4"},["grid"==t.mode?n("div",{staticClass:"row"},t._l(t.timeline,function(e,o){return n("div",{staticClass:"col-4 p-0 p-sm-2 p-md-3"},[n("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:e.url}},[n("div",{staticClass:"square"},["photo:album"==e.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),n("div",{staticClass:"square-content",style:t.previewBackground(e)}),t._v(" "),n("div",{staticClass:"info-overlay-text"},[n("h5",{staticClass:"text-white m-auto font-weight-bold"},[n("span",[n("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),n("span",{staticClass:"d-flex-inline"},[t._v(t._s(e.favourites_count))])]),t._v(" "),n("span",[n("span",{staticClass:"fas fa-retweet fa-lg p-2 d-flex-inline"}),t._v(" "),n("span",{staticClass:"d-flex-inline"},[t._v(t._s(e.reblogs_count))])])])])])])])}),0):t._e(),t._v(" "),"list"==t.mode?n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-8 col-lg-8 offset-md-2 pt-2 px-0 my-3 timeline"},t._l(t.timeline,function(e,o){return n("div",{key:e.id,staticClass:"card mb-4 status-card card-md-rounded-0",attrs:{"data-status-id":e.id}},[n("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[n("img",{staticStyle:{"border-radius":"32px"},attrs:{src:e.account.avatar,width:"32px",height:"32px"}}),t._v(" "),n("a",{staticClass:"username font-weight-bold pl-2 text-dark",attrs:{href:e.account.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.username)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[n("div",{staticClass:"dropdown"},[t._m(0,!0),t._v(" "),n("div",{staticClass:"dropdown-menu dropdown-menu-right",attrs:{"aria-labelledby":"dropdownMenuButton"}},[n("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:e.url}},[t._v("Go to post")]),t._v(" "),n("span",{class:[t.statusOwner(e)?"d-none":""]},[n("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.reportUrl(e)}},[t._v("Report")]),t._v(" "),n("a",{staticClass:"dropdown-item font-weight-bold",on:{click:function(n){return t.muteProfile(e)}}},[t._v("Mute Profile")]),t._v(" "),n("a",{staticClass:"dropdown-item font-weight-bold",on:{click:function(n){return t.blockProfile(e)}}},[t._v("Block Profile")])]),t._v(" "),n("span",{class:[t.statusOwner(e)?"":"d-none"]},[n("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.editUrl(e)}},[t._v("Edit")]),t._v(" "),n("a",{staticClass:"dropdown-item font-weight-bold text-danger",on:{click:function(n){return t.deletePost(e)}}},[t._v("Delete")])])])])])]),t._v(" "),n("div",{staticClass:"postPresenterContainer"},["photo"===e.pf_type?n("div",{staticClass:"w-100"},[n("photo-presenter",{attrs:{status:e}})],1):"video"===e.pf_type?n("div",{staticClass:"w-100"},[n("video-presenter",{attrs:{status:e}})],1):"photo:album"===e.pf_type?n("div",{staticClass:"w-100"},[n("photo-album-presenter",{attrs:{status:e}})],1):"video:album"===e.pf_type?n("div",{staticClass:"w-100"},[n("video-album-presenter",{attrs:{status:e}})],1):"photo:video:album"===e.pf_type?n("div",{staticClass:"w-100"},[n("mixed-album-presenter",{attrs:{status:e}})],1):n("div",{staticClass:"w-100"},[n("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),n("div",{staticClass:"card-body"},[n("div",{staticClass:"reactions my-1"},[n("h3",{class:[e.favourited?"fas fa-heart text-danger pr-3 m-0 cursor-pointer":"far fa-heart pr-3 m-0 like-btn cursor-pointer"],attrs:{title:"Like"},on:{click:function(n){return t.likeStatus(e,n)}}}),t._v(" "),n("h3",{staticClass:"far fa-comment pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(n){return t.commentFocus(e,n)}}}),t._v(" "),n("h3",{class:[e.reblogged?"far fa-share-square pr-3 m-0 text-primary cursor-pointer":"far fa-share-square pr-3 m-0 share-btn cursor-pointer"],attrs:{title:"Share"},on:{click:function(n){return t.shareStatus(e,n)}}})]),t._v(" "),n("div",{staticClass:"likes font-weight-bold"},[n("span",{staticClass:"like-count"},[t._v(t._s(e.favourites_count))]),t._v(" "+t._s(1==e.favourites_count?"like":"likes")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("div",{staticClass:"caption"},[n("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[n("span",{staticClass:"username font-weight-bold"},[n("bdi",[n("a",{staticClass:"text-dark",attrs:{href:e.account.url}},[t._v(t._s(e.account.username))])])]),t._v(" "),n("span",{domProps:{innerHTML:t._s(e.content)}})])]),t._v(" "),n("div",{staticClass:"comments"}),t._v(" "),n("div",{staticClass:"timestamp pt-1"},[n("p",{staticClass:"small text-uppercase mb-0"},[n("a",{staticClass:"text-muted",attrs:{href:e.url}},[n("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:e.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(e.created_at)}})],1)])])]),t._v(" "),n("div",{staticClass:"card-footer bg-white d-none"},[n("form",{on:{submit:function(n){return n.preventDefault(),t.commentSubmit(e,n)}}},[n("input",{attrs:{type:"hidden",name:"item",value:""}}),t._v(" "),n("input",{staticClass:"form-control status-reply-input",attrs:{name:"comment",placeholder:"Add a comment…",autocomplete:"off"}})])])])}),0)]):t._e(),t._v(" "),"masonry"==t.mode?n("div",{staticClass:"masonry-grid"},t._l(t.timeline,function(e,o){return n("div",{staticClass:"d-inline p-0 p-sm-2 p-md-3 masonry-item"},[n("a",{attrs:{href:e.url},on:{click:function(n){return n.preventDefault(),t.statusModal(e)}}},[n("img",{class:"o-"+t.masonryOrientation(e),attrs:{src:t.previewUrl(e)}})])])}),0):t._e(),t._v(" "),t.timeline.length?n("div",[n("infinite-loading",{on:{infinite:t.infiniteTimeline}},[n("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),n("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()])])]),t._v(" "),n("b-modal",{ref:"followingModal",attrs:{id:"following-modal","hide-footer":"",centered:"",title:"Following","body-class":"list-group-flush p-0"}},[n("div",{staticClass:"list-group"},[t._l(t.following,function(e,o){return n("div",{key:"following_"+o,staticClass:"list-group-item border-0"},[n("div",{staticClass:"media"},[n("a",{attrs:{href:e.url}},[n("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px"}})]),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[n("a",{staticClass:"font-weight-bold text-dark",attrs:{href:e.url}},[t._v("\n "+t._s(e.username)+"\n ")])]),t._v(" "),n("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"14px"}},[t._v("\n "+t._s(e.display_name)+"\n ")])])])])}),t._v(" "),t.followingMore?n("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followingLoadMore()}}},[n("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2)]),t._v(" "),n("b-modal",{ref:"followerModal",attrs:{id:"follower-modal","hide-footer":"",centered:"",title:"Followers","body-class":"list-group-flush p-0"}},[n("div",{staticClass:"list-group"},[t._l(t.followers,function(e,o){return n("div",{key:"follower_"+o,staticClass:"list-group-item border-0"},[n("div",{staticClass:"media"},[n("a",{attrs:{href:e.url}},[n("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px"}})]),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[n("a",{staticClass:"font-weight-bold text-dark",attrs:{href:e.url}},[t._v("\n "+t._s(e.username)+"\n ")])]),t._v(" "),n("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"14px"}},[t._v("\n "+t._s(e.display_name)+"\n ")])])])])}),t._v(" "),t.followerMore?n("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followersLoadMore()}}},[n("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2)])],1)},[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn btn-link text-dark no-caret dropdown-toggle",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"Post options"}},[e("span",{staticClass:"fas fa-ellipsis-v fa-lg text-muted"})])}],!1,null,"72daca94",null);e.default=i.exports},FFfz:function(t,e,n){var o=n("pM9P");"string"==typeof o&&(o=[[t.i,o,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(o,a);o.locals&&(t.exports=o.locals)},I1BE:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"==typeof btoa){var a=(i=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),s=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[n].concat(s).concat([a]).join("\n")}var i;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},a=0;a=0&&d.splice(e,1)}function v(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var o=function(){0;return n.nc}();o&&(t.attrs.nonce=o)}return g(e,t.attrs),m(t,e),e}function g(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function w(t,e){var n,o,a,s;if(e.transform&&t.css){if(!(s="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=s}if(e.singleton){var i=c++;n=l||(l=v(e)),o=C.bind(null,n,i,!1),a=C.bind(null,n,i,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),m(t,e),e}(e),o=function(t,e,n){var o=n.css,a=n.sourceMap,s=void 0===e.convertToAbsoluteUrls&&a;(e.convertToAbsoluteUrls||s)&&(o=f(o));a&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var i=new Blob([o],{type:"text/css"}),r=t.href;t.href=URL.createObjectURL(i),r&&URL.revokeObjectURL(r)}.bind(null,n,e),a=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(e),o=function(t,e){var n=e.css,o=e.media;o&&t.setAttribute("media",o);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),a=function(){h(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else a()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=i()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=p(t,e);return u(n,e),function(t){for(var o=[],a=0;a