From 666e5732a5c15a77a3a4a71abf6849e2c9671d0a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 5 May 2023 02:10:07 -0600 Subject: [PATCH 1/4] Update SearchApiV2Service, improve postgres support --- app/Services/SearchApiV2Service.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/Services/SearchApiV2Service.php b/app/Services/SearchApiV2Service.php index 93a29cae9..f89fe58b1 100644 --- a/app/Services/SearchApiV2Service.php +++ b/app/Services/SearchApiV2Service.php @@ -96,9 +96,10 @@ class SearchApiV2Service $webfingerQuery = '@' . $webfingerQuery; } $banned = InstanceService::getBannedDomains(); + $operator = config('database.default') === 'pgsql' ? 'ilike' : 'like'; $results = Profile::select('username', 'id', 'followers_count', 'domain') - ->where('username', 'like', $query) - ->orWhere('webfinger', 'like', $webfingerQuery) + ->where('username', $operator, $query) + ->orWhere('webfinger', $operator, $webfingerQuery) ->orderByDesc('profiles.followers_count') ->offset($offset) ->limit($limit) @@ -161,11 +162,11 @@ class SearchApiV2Service protected function statusesById() { $mastodonMode = self::$mastodonMode; - $accountId = $this->query->input('account_id'); $limit = $this->query->input('limit', 20); $query = '%' . $this->query->input('q') . '%'; - $results = Status::where('caption', 'like', $query) - ->whereProfileId($accountId) + $operator = config('database.default') === 'pgsql' ? 'ilike' : 'like'; + $results = Status::where('caption', $operator, $query) + ->whereProfileId(request()->user()->profile_id) ->limit($limit) ->get() ->map(function($status) use($mastodonMode) { From d15bd60d8717c34b46559e98c77733e2d877c246 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 5 May 2023 03:04:04 -0600 Subject: [PATCH 2/4] Update default avatar, optimize png --- storage/app/public/avatars/default.png | Bin 14774 -> 6969 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/storage/app/public/avatars/default.png b/storage/app/public/avatars/default.png index 80f467309a375109a8435226543db300460c5322..021958364a744348ebe0f9cb028cac3812329df8 100644 GIT binary patch literal 6969 zcmV-98^+{`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XskPc%EzfQibwmsetIPC+^dR7%UTx9aGBq*g zqz;}6{Lt*Ay&6&T=o6soskUlm?0O~G=Nt!+(z^pOxs z(b<~8@Tbg)7)l3g+zw^4RI~unZRRa5X$48TodJhtKXN5RMTs>_Kr){%l3}W7@WEfD zWEGE0WPc`lhjz&?VNYBV%DbtaxnWQ}zqz@1eSBentc)V@pzK0-^UKd%0e|l~kA`{6 zNJDFU38z+{SyYpDuoj}@CGn8s)vUL^&!N?4LcnTH)W03MW8l@>5)HG0&^JYwpd>>~ zVwz0Tg$PbifRW}B0+?k=YB`gM@AyH{{R`jq9k=?f>VfF>(d!SVH#bNB3zr7opN0-e Q-v9sr07*qoM6N<$f?{}l761SM From 11552d12739f172de317eb25580e136a4e9a9196 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 5 May 2023 03:04:56 -0600 Subject: [PATCH 3/4] Update SearchApiV2Service --- app/Services/SearchApiV2Service.php | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/app/Services/SearchApiV2Service.php b/app/Services/SearchApiV2Service.php index f89fe58b1..465bd98a4 100644 --- a/app/Services/SearchApiV2Service.php +++ b/app/Services/SearchApiV2Service.php @@ -161,23 +161,8 @@ class SearchApiV2Service protected function statusesById() { - $mastodonMode = self::$mastodonMode; - $limit = $this->query->input('limit', 20); - $query = '%' . $this->query->input('q') . '%'; - $operator = config('database.default') === 'pgsql' ? 'ilike' : 'like'; - $results = Status::where('caption', $operator, $query) - ->whereProfileId(request()->user()->profile_id) - ->limit($limit) - ->get() - ->map(function($status) use($mastodonMode) { - return $mastodonMode ? - StatusService::getMastodon($status->id) : - StatusService::get($status->id); - }) - ->filter(function($status) { - return $status && isset($status['account']); - }); - return $results; + // Removed until we provide more relevent sorting/results + return []; } protected function resolveQuery() From e6250db0dee81494f6de0b0c110ca04eb65601a6 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 5 May 2023 03:05:25 -0600 Subject: [PATCH 4/4] Update compiled assets --- public/js/spa.js | 2 +- public/mix-manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/spa.js b/public/js/spa.js index e5284288a..8c9b5e1b6 100644 --- a/public/js/spa.js +++ b/public/js/spa.js @@ -1,2 +1,2 @@ /*! For license information please see spa.js.LICENSE.txt */ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[269],{89577:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>r});var a=o(29655);o(67964);function n(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return i(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,a=new Array(t);o1&&void 0!==arguments[1]?arguments[1]:30;return e.length<=t?e:e.slice(0,t)+"..."},logout:function(){axios.post("/logout").then((function(e){location.href="/"})).catch((function(e){location.href="/"}))},openUserInterfaceSettings:function(){event.currentTarget.blur(),this.$refs.uis.show()},toggleUi:function(e){event.currentTarget.blur(),this.uiColorScheme=e},toggleProfileLayout:function(e){event.currentTarget.blur(),this.profileLayout=e}}}},35045:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>r});var a=o(19755);function n(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return i(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,a=new Array(t);o5?e.complete():axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.notificationMaxId}}).then((function(o){if(o.data.length){var a,i=o.data.filter((function(e){return!("share"==e.type&&!e.status)&&(!("comment"==e.type&&!e.status)&&(!("mention"==e.type&&!e.status)&&(!("favourite"==e.type&&!e.status)&&(!("follow"==e.type&&!e.account)&&!_.find(t.notifications,{id:e.id})))))})),r=i.map((function(e){return e.id}));t.notificationMaxId=Math.min.apply(Math,n(r)),(a=t.notifications).push.apply(a,n(i)),t.notificationCursor++,e.loaded()}else e.complete()}))},truncate:function(e){return e.length<=15?e:e.slice(0,15)+"..."},timeAgo:function(e){return window.App.util.format.timeAgo(e)},mentionUrl:function(e){return"/p/"+e.account.username+"/"+e.id},notificationPoll:function(){var e=this.notifications.length>5?15e3:12e4,t=this;setInterval((function(){axios.get("/api/pixelfed/v1/notifications").then((function(e){var o=e.data.filter((function(e){return!("share"==e.type||t.notificationMaxId>=e.id)}));if(o.length){var i,r=o.map((function(e){return e.id}));t.notificationMaxId=Math.max.apply(Math,n(r)),(i=t.notifications).unshift.apply(i,n(o));var s=new Audio("/static/beep.mp3");s.volume=.7,s.play(),a(".notification-card .far.fa-bell").addClass("fas text-danger").removeClass("far text-muted")}}))}),e)},fetchFollowRequests:function(){var e=this;1==window._sharedData.curUser.locked&&axios.get("/account/follow-requests.json").then((function(t){e.followRequests=t.data}))},redirect:function(e){window.location.href=e},notificationPreview:function(e){return e.status&&e.status.hasOwnProperty("media_attachments")&&e.status.media_attachments.length?e.status.media_attachments[0].preview_url:"/storage/no-preview.png"},getProfileUrl:function(e){return 1==e.local?e.url:"/i/web/profile/_/"+e.id},getPostUrl:function(e){if(e)return e.hasOwnProperty("local")&&1!=e.local?"/i/web/post/_/"+e.account.id+"/"+e.id:e.url},refreshNotifications:function(){this.loading=!0,this.attemptedRefresh=!0,this.fetchNotifications()}}}},49720:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(19755);const n={props:["feed","status","profile","size","modal"],data:function(){return{activeSession:!1}},mounted:function(){var e=document.querySelector("body");this.activeSession=!!e.classList.contains("loggedIn")},methods:{reportUrl:function(e){return"/i/report?type="+(e.in_reply_to?"comment":"post")+"&id="+e.id},timestampFormat:function(e){var t=new Date(e);return t.toDateString()+" "+t.toLocaleTimeString()},editUrl:function(e){return e.url+"/edit"},redirect:function(e){window.location.href=e},replyUrl:function(e){return"/p/"+this.profile.username+"/"+(e.account.id==this.profile.id?e.id:e.in_reply_to_id)},mentionUrl:function(e){return"/p/"+e.account.username+"/"+e.id},statusOwner:function(e){return parseInt(e.account.id)==parseInt(this.profile.id)},deletePost:function(){this.$emit("deletePost"),a("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(e){e.sensitive=!0,a("#mt_pid_"+e.id).modal("hide")},moderatePost:function(e,t,o){var a=e.account.username;switch(t){case"autocw":var n="Are you sure you want to enforce CW for "+a+" ?";swal({title:"Confirm",text:n,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":n="Are you sure you want to suspend the account of "+a+" ?",swal({title:"Confirm",text:n,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(e){0!=a("body").hasClass("loggedIn")&&axios.post("/i/mute",{type:"user",item:e.account.id}).then((function(t){swal("Success","You have successfully muted "+e.account.acct,"success")})).catch((function(e){swal("Error","Something went wrong. Please try again later.","error")}))},blockProfile:function(e){0!=a("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:e.account.id}).then((function(t){swal("Success","You have successfully blocked "+e.account.acct,"success")})).catch((function(e){swal("Error","Something went wrong. Please try again later.","error")}))},statusUrl:function(e){return 1==e.local?e.url:"/i/web/post/_/"+e.account.id+"/"+e.id},profileUrl:function(e){return 1==e.local?e.account.url:"/i/web/profile/_/"+e.account.id},closeModal:function(){a("#mt_pid_"+this.status.id).modal("hide")}}}},91569:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["list","scope"],data:function(){return{loading:!0,show:!0,stories:{}}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var e=this;axios.get("/api/web/stories/v1/recent").then((function(t){t.data;t.data.length?(e.stories=t.data,e.loading=!1):e.show=!1})).catch((function(t){e.loading=!1,e.$bvToast.toast("Cannot load stories. Please try again later.",{title:"Error",variant:"danger",autoHideDelay:5e3}),e.show=!1}))},showStory:function(e){var t;switch(this.scope){case"home":t="/?t=1";break;case"local":t="/?t=2";break;case"network":t="/?t=3"}window.location.href=this.stories[e].url+t},systemStory:function(){window.location.href="/i/_platform/stories/whats-new"}}}},274:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["status"]}},45354:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(99347);const n={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(e){this.$emit("togglecw")},toggleLightbox:function(e){(0,a.default)({el:e.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(e){var t=e.description;return t||"Photo was not tagged with any alt text."},keypressNavigation:function(e){var t=this.$refs.carousel;if("37"==e.keyCode){e.preventDefault();var o="backward";t.advancePage(o),t.$emit("navigation-click",o)}if("39"==e.keyCode){e.preventDefault();var a="forward";t.advancePage(a),t.$emit("navigation-click",a)}}}}},28314:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(99347);const n={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(e){var t=e.media_attachments[0].description;return t||"Photo was not tagged with any alt text."},toggleContentWarning:function(e){this.$emit("togglecw")},toggleLightbox:function(e){(0,a.default)({el:e.target})},width:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.width)return this.status.media_attachments[0].meta.original.width},height:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.height)return this.status.media_attachments[0].meta.original.height}}}},45524:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["status"]}},57602:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["status"],methods:{altText:function(e){var t=e.media_attachments[0].description;return t||"Video was not tagged with any alt text."},playOrPause:function(e){var t=e.target;1==t.getAttribute("playing")?(t.removeAttribute("playing"),t.pause()):(t.setAttribute("playing",1),t.play())},toggleContentWarning:function(e){this.$emit("togglecw")},poster:function(){var e=this.status.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},24195:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>n});var a=function(){var e=this,t=e._self._c;return t("nav",{staticClass:"metro-nav navbar navbar-expand navbar-light navbar-laravel sticky-top shadow-none py-1"},[t("div",{staticClass:"container-fluid"},[t("a",{staticClass:"navbar-brand d-flex align-items-center",staticStyle:{width:"50px"},attrs:{href:"/i/web",title:"Logo"}},[t("img",{staticClass:"px-2",attrs:{src:"/img/pixelfed-icon-color.svg",height:"30px",loading:"eager",alt:"Pixelfed logo"}}),e._v(" "),t("span",{staticClass:"font-weight-bold mb-0 d-none d-sm-block",staticStyle:{"font-size":"20px"}},[e._v("\n\t\t\t\t\t"+e._s(e.brandName)+"\n\t\t\t\t")])]),e._v(" "),t("div",{staticClass:"collapse navbar-collapse"},[t("div",{staticClass:"navbar-nav ml-auto"},[t("autocomplete",{ref:"autocomplete",staticClass:"searchbox",attrs:{search:e.autocompleteSearch,placeholder:e.$t("navmenu.search"),"aria-label":"Search","get-result-value":e.getSearchResultValue,debounceTime:700},on:{submit:e.onSearchSubmit},scopedSlots:e._u([{key:"result",fn:function(o){var a=o.result,n=o.props;return[t("li",e._b({staticClass:"autocomplete-result"},"li",n,!1),["account"===a.s_type?t("div",{staticClass:"media align-items-center my-0"},[t("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:a.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),e._v(" "),t("div",{staticClass:"media-body"},[a.display_name&&a.display_name.length?t("div",[t("p",{staticClass:"result-name mb-0 font-weight-bold",staticStyle:{"line-height":"14px"}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.truncate(a.display_name,28))+"\n\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("p",{staticClass:"result-name mb-0 text-muted small font-weight-bold text-break"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+e._s(a.acct)+"\n\t\t\t\t\t\t\t\t\t\t\t")])]):t("div",[t("p",{staticClass:"result-name mb-0 font-weight-bold",staticStyle:{"line-height":"14px"}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+e._s(a.acct)+"\n\t\t\t\t\t\t\t\t\t\t\t")])])])]):"hashtag"===a.s_type?t("div",{staticClass:"media align-items-center my-0"},[t("div",{staticClass:"media-icon"},[t("i",{staticClass:"far fa-hashtag fa-large"})]),e._v(" "),t("div",{staticClass:"media-body"},[t("div",[t("p",{staticClass:"result-name mb-0 font-weight-bold text-break",staticStyle:{"line-height":"14px"}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(a.name)+"\n\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("p",{staticClass:"result-name mb-0 text-muted small text-break"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(a.count)+" Posts\n\t\t\t\t\t\t\t\t\t\t\t")])])])]):"status"===a.s_type?t("div",{staticClass:"media align-items-center my-0"},[t("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:a.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),e._v(" "),t("div",{staticClass:"media-body"},[t("div",[t("p",{staticClass:"result-name mb-0 font-weight-bold",staticStyle:{"line-height":"14px"}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+e._s(e.truncate(a.account.acct,20))+"\n\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("p",{staticClass:"result-name mb-0 text-muted small font-weight-bold text-break"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\tView status\n\t\t\t\t\t\t\t\t\t\t\t")])])])]):e._e()])]}}])})],1),e._v(" "),t("div",{staticClass:"ml-auto"},[t("ul",{staticClass:"navbar-nav align-items-center"},[t("li",{staticClass:"nav-item dropdown ml-2"},[t("a",{staticClass:"nav-link dropdown-toggle",attrs:{id:"navbarDropdown",href:"#",role:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"User Menu"}},[t("i",{staticClass:"d-none far fa-user fa-lg text-dark"}),e._v(" "),t("span",{staticClass:"sr-only"},[e._v("User Menu")]),e._v(" "),t("img",{staticClass:"nav-avatar rounded-circle border shadow",attrs:{src:e.user.avatar,width:"30",height:"30",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),e._v(" "),t("div",{staticClass:"dropdown-menu dropdown-menu-right shadow",attrs:{"aria-labelledby":"navbarDropdown"}},[t("ul",{staticClass:"nav flex-column"},[t("li",{staticClass:"nav-item nav-icons"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web"}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.homeFeed")))])]),e._v(" "),e.hasLocalTimeline?t("router-link",{staticClass:"nav-link text-center",attrs:{to:{name:"timeline",params:{scope:"local"}}}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.localFeed")))])]):e._e(),e._v(" "),e.hasNetworkTimeline?t("router-link",{staticClass:"nav-link text-center",attrs:{to:{name:"timeline",params:{scope:"global"}}}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.globalFeed")))])]):e._e()],1)]),e._v(" "),t("li",{staticClass:"nav-item nav-icons"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web/discover"}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-compass"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.discover")))])]),e._v(" "),t("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web/notifications"}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-bell"})]),e._v(" "),t("div",{staticClass:"small"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),t("router-link",{staticClass:"nav-link text-center px-3",attrs:{to:"/i/web/profile/"+e.user.id}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-user"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.profile")))])])],1),e._v(" "),t("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),e._v(" "),t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/compose"}},[t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-plus-square"})]),e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.compose"))+"\n\t\t\t\t\t\t\t\t\t\t")])],1),e._v(" "),t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[t("span",[t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-envelope"})]),e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])],1),e._v(" "),t("li",{staticClass:"nav-item"},[t("a",{staticClass:"nav-link",attrs:{href:"/i/web"},on:{click:function(t){return t.preventDefault(),e.openUserInterfaceSettings.apply(null,arguments)}}},[e._m(0),e._v("\n\t\t\t\t\t\t\t\t\t\t\tUI Settings\n\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),e.user.is_admin?t("li",{staticClass:"nav-item"},[t("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),e._v(" "),t("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[e._m(1),e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.admin"))+"\n\t\t\t\t\t\t\t\t\t\t")])]):e._e(),e._v(" "),t("li",{staticClass:"nav-item"},[t("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),e._v(" "),t("a",{staticClass:"nav-link",attrs:{href:"/"}},[e._m(2),e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),t("li",{staticClass:"nav-item"},[t("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),e._v(" "),t("a",{staticClass:"nav-link",attrs:{href:"/"},on:{click:function(t){return t.preventDefault(),e.logout()}}},[e._m(3),e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.logout"))+"\n\t\t\t\t\t\t\t\t\t\t")])])])])])])])])]),e._v(" "),t("b-modal",{ref:"uis",attrs:{"hide-footer":"",centered:"","body-class":"p-0 ui-menu",title:"UI Settings"}},[t("div",{staticClass:"list-group list-group-flush"},[t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-1"},[e._v("Theme")]),e._v(" "),t("p",{staticClass:"small text-muted mb-0"})]),e._v(" "),t("div",{staticClass:"btn-group btn-group-sm"},[t("button",{staticClass:"btn",class:["system"==e.uiColorScheme?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleUi("system")}}},[e._v("\n\t\t\t\t\t\t\tAuto\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn",class:["light"==e.uiColorScheme?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleUi("light")}}},[e._v("\n\t\t\t\t\t\t\tLight mode\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn",class:["dark"==e.uiColorScheme?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleUi("dark")}}},[e._v("\n\t\t\t\t\t\t\tDark mode\n\t\t\t\t\t\t")])])])]),e._v(" "),t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-1"},[e._v("Profile Layout")]),e._v(" "),t("p",{staticClass:"small text-muted mb-0"})]),e._v(" "),t("div",{staticClass:"btn-group btn-group-sm"},[t("button",{staticClass:"btn",class:["grid"==e.profileLayout?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleProfileLayout("grid")}}},[e._v("\n\t\t\t\t\t\t\tGrid\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn",class:["masonry"==e.profileLayout?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleProfileLayout("masonry")}}},[e._v("\n\t\t\t\t\t\t\tMasonry\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn",class:["feed"==e.profileLayout?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleProfileLayout("feed")}}},[e._v("\n\t\t\t\t\t\t\tFeed\n\t\t\t\t\t\t")])])])]),e._v(" "),t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-0"},[e._v("Compact Media Previews")])]),e._v(" "),t("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:e.fixedHeight,callback:function(t){e.fixedHeight=t},expression:"fixedHeight"}})],1)]),e._v(" "),t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-0"},[e._v("Load Comments")])]),e._v(" "),t("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:e.autoloadComments,callback:function(t){e.autoloadComments=t},expression:"autoloadComments"}})],1)]),e._v(" "),t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-0"},[e._v("Hide Counts & Stats")])]),e._v(" "),t("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:e.hideCounts,callback:function(t){e.hideCounts=t},expression:"hideCounts"}})],1)])])])],1)},n=[function(){var e=this._self._c;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-brush"})])},function(){var e=this._self._c;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-tools"})])},function(){var e=this._self._c;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"fas fa-chevron-left"})])},function(){var e=this._self._c;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-sign-out"})])}]},18433:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>n});var a=function(){var e=this,t=e._self._c;return t("div",[t("transition",{attrs:{name:"fade"}},[t("div",{staticClass:"card notification-card shadow-none border"},[e.loading?t("div",{staticClass:"card-body loader text-center",staticStyle:{height:"240px"}},[t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[e._v("Loading...")])])]):e._e(),e._v(" "),!e.loading&&e.notifications.length>0?t("div",{staticClass:"card-body px-0 py-0 contents",staticStyle:{height:"240px","overflow-y":"scroll"}},[e.profile.locked?t("div",{staticClass:"media align-items-center mt-n2 px-3 py-2 border-bottom border-lighter bg-light cursor-pointer",on:{click:function(t){return e.redirect("/account/follow-requests")}}},[t("div",{staticClass:"media-body font-weight-light pt-2 small d-flex align-items-center justify-content-between"},[t("p",{staticClass:"mb-0 text-lighter"},[t("i",{staticClass:"fas fa-cog text-light"})]),e._v(" "),t("p",{staticClass:"text-center pt-1 mb-1 text-dark font-weight-bold"},[t("strong",[e._v(e._s(e.followRequests&&e.followRequests.hasOwnProperty("count")?e.followRequests.count:0))]),e._v(" Follow Requests")]),e._v(" "),t("p",{staticClass:"mb-0 text-lighter"},[t("i",{staticClass:"fas fa-chevron-right"})])])]):e._e(),e._v(" "),e._l(e.notifications,(function(o,a){return e.notifications.length>0?t("div",{staticClass:"media align-items-center px-3 py-2 border-bottom border-light"},[t("img",{staticClass:"mr-2 rounded-circle",staticStyle:{border:"1px solid #ccc"},attrs:{src:o.account.avatar,alt:"",width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),e._v(" "),t("div",{staticClass:"media-body font-weight-light small"},["favourite"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" liked your\n\t\t\t\t\t\t\t\t"),o.status&&o.status.hasOwnProperty("media_attachments")?t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(o.status),id:"fvn-"+o.id}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t\t"),t("b-popover",{attrs:{target:"fvn-"+o.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[t("img",{staticStyle:{"object-fit":"cover"},attrs:{src:e.notificationPreview(o),width:"100px",height:"100px"}})])],1):t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(o.status)}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t")])])]):"comment"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" commented on your "),t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(o.status)}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t")])]):"group:comment"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" commented on your "),t("a",{staticClass:"font-weight-bold",attrs:{href:o.group_post_url}},[e._v("group post")]),e._v(".\n\t\t\t\t\t\t\t")])]):"story:react"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" reacted to your "),t("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+o.account.id}},[e._v("story")]),e._v(".\n\t\t\t\t\t\t\t")])]):"story:comment"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" commented on your "),t("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+o.account.id}},[e._v("story")]),e._v(".\n\t\t\t\t\t\t\t")])]):"mention"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" "),t("a",{staticClass:"font-weight-bold",attrs:{href:e.mentionUrl(o.status)}},[e._v("mentioned")]),e._v(" you.\n\t\t\t\t\t\t\t")])]):"follow"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" followed you.\n\t\t\t\t\t\t\t")])]):"share"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" shared your "),t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(o.status)}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t")])]):"modlog"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(e.truncate(o.account.username)))]),e._v(" updated a "),t("a",{staticClass:"font-weight-bold",attrs:{href:o.modlog.url}},[e._v("modlog")]),e._v(".\n\t\t\t\t\t\t\t")])]):"tagged"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" tagged you in a "),t("a",{staticClass:"font-weight-bold",attrs:{href:o.tagged.post_url}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t")])]):"direct"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" sent a "),t("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+o.account.id}},[e._v("dm")]),e._v(".\n\t\t\t\t\t\t\t")])]):"group.join.approved"==o.type?t("div",[t("p",{staticClass:"my-0"},[e._v("\n\t\t\t\t\t\t\t\tYour application to join the "),t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:o.group.url,title:o.group.name}},[e._v(e._s(e.truncate(o.group.name)))]),e._v(" group was approved!\n\t\t\t\t\t\t\t")])]):"group.join.rejected"==o.type?t("div",[t("p",{staticClass:"my-0"},[e._v("\n\t\t\t\t\t\t\t\tYour application to join "),t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:o.group.url,title:o.group.name}},[e._v(e._s(e.truncate(o.group.name)))]),e._v(" was rejected.\n\t\t\t\t\t\t\t")])]):"group:invite"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" invited you to join "),t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:o.group.url+"/invite/claim",title:o.group.name}},[e._v(e._s(o.group.name))]),e._v(".\n\t\t\t\t\t\t\t")])]):t("div",[t("p",{staticClass:"my-0"},[e._v("\n\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t")])])]),e._v(" "),t("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:o.created_at}},[e._v(e._s(e.timeAgo(o.created_at)))])]):e._e()})),e._v(" "),e.notifications.length?t("div",[t("infinite-loading",{on:{infinite:e.infiniteNotifications}},[t("div",{staticClass:"font-weight-bold",attrs:{slot:"no-results"},slot:"no-results"}),e._v(" "),t("div",{staticClass:"font-weight-bold",attrs:{slot:"no-more"},slot:"no-more"})])],1):e._e(),e._v(" "),0==e.notifications.length?t("div",{staticClass:"text-lighter text-center py-3"},[t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fas fa-inbox fa-3x"})]),e._v(" "),t("p",{staticClass:"mb-0 small font-weight-bold"},[e._v("0 Notifications!")])]):e._e()],2):e._e(),e._v(" "),e.loading||e.notifications.length?e._e():t("div",{staticClass:"card-body px-0 py-0",staticStyle:{height:"240px"}},[t("div",{staticClass:"text-lighter text-center py-3"},[t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fas fa-inbox fa-3x"})]),e._v(" "),t("p",{staticClass:"mb-0 small font-weight-bold"},[e._v("No notifications yet")]),e._v(" "),e.showRefresh&&!e.attemptedRefresh?t("p",{staticClass:"mt-2 small font-weight-bold text-primary cursor-pointer",on:{click:e.refreshNotifications}},[t("i",{staticClass:"fas fa-redo"}),e._v(" Refresh")]):e._e()])])])])],1)},n=[]},79953:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>n});var a=function(){var e=this,t=e._self._c;return t("div",["true"!=e.modal?t("div",{staticClass:"dropdown"},[t("button",{staticClass:"btn btn-link text-dark no-caret dropdown-toggle py-0",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"Post options"}},[t("span",{class:["lg"==e.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),e._v(" "),t("div",{staticClass:"dropdown-menu dropdown-menu-right"},[t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",attrs:{href:e.status.url}},[e._v("Go to post")]),e._v(" "),1==e.activeSession&&0==e.statusOwner(e.status)?t("span",[t("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:e.reportUrl(e.status)}},[e._v("Report")])]):e._e(),e._v(" "),1==e.activeSession&&1==e.statusOwner(e.status)?t("span",[t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return t.preventDefault(),e.muteProfile(e.status)}}},[e._v("Mute Profile")]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return t.preventDefault(),e.blockProfile(e.status)}}},[e._v("Block Profile")])]):e._e(),e._v(" "),1==e.activeSession&&1==e.profile.is_admin?t("span",[t("div",{staticClass:"dropdown-divider"}),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-danger text-decoration-none",on:{click:function(t){return e.deletePost(e.status)}}},[e._v("Delete")]),e._v(" "),t("div",{staticClass:"dropdown-divider"}),e._v(" "),t("h6",{staticClass:"dropdown-header"},[e._v("Mod Tools")]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"autocw")}}},[t("p",{staticClass:"mb-0"},[e._v("Enforce CW")]),e._v(" "),e._m(0)]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"noautolink")}}},[t("p",{staticClass:"mb-0"},[e._v("No Autolinking")]),e._v(" "),e._m(1)]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"unlisted")}}},[t("p",{staticClass:"mb-0"},[e._v("Unlisted Posts")]),e._v(" "),e._m(2)]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"disable")}}},[t("p",{staticClass:"mb-0"},[e._v("Disable Account")]),e._v(" "),e._m(3)]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"suspend")}}},[t("p",{staticClass:"mb-0"},[e._v("Suspend Account")]),e._v(" "),e._m(4)])]):e._e()])]):e._e(),e._v(" "),"true"==e.modal?t("div",[t("span",{attrs:{"data-toggle":"modal","data-target":"#mt_pid_"+e.status.id}},[t("span",{class:["lg"==e.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),e._v(" "),t("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog",id:"mt_pid_"+e.status.id}},[t("div",{staticClass:"modal-dialog modal-sm modal-dialog-centered",attrs:{role:"document"}},[t("div",{staticClass:"modal-content"},[t("div",{staticClass:"modal-body text-center"},[t("div",{staticClass:"list-group"},[t("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:e.statusUrl(e.status)}},[e._v("Go to post")]),e._v(" "),t("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.hidePost(e.status)}}},[e._v("Hide")]),e._v(" "),1!=e.activeSession||e.statusOwner(e.status)?e._e():t("a",{staticClass:"list-group-item text-danger font-weight-bold text-decoration-none",attrs:{href:e.reportUrl(e.status)}},[e._v("Report")]),e._v(" "),1==e.activeSession&&1==e.statusOwner(e.status)||1==e.profile.is_admin?t("div",{staticClass:"list-group-item text-danger font-weight-bold cursor-pointer",on:{click:function(t){return t.preventDefault(),e.deletePost.apply(null,arguments)}}},[e._v("Delete")]):e._e(),e._v(" "),t("a",{staticClass:"list-group-item text-lighter text-decoration-none",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.closeModal()}}},[e._v("Close")])])])])])])]):e._e()])},n=[function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("Adds a CW to every post "),t("br"),e._v(" made by this account.")])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("Do not transform mentions, "),t("br"),e._v(" hashtags or urls into HTML.")])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("Removes account from "),t("br"),e._v(" public/network timelines.")])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("Temporarily disable account "),t("br"),e._v(" until next time user log in.")])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("This prevents any new interactions, "),t("br"),e._v(" without deleting existing data.")])}]},46973:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>n});var a=function(){var e=this,t=e._self._c;return t("div",[e.show?t("div",{staticClass:"card card-body p-0 border mt-md-4 mb-md-3 shadow-none"},[e.loading?t("div",{staticClass:"w-100 h-100 d-flex align-items-center justify-content-center"},[e._m(0)]):t("div",{staticClass:"d-flex align-items-center justify-content-start scrolly"},e._l(e.stories,(function(o,a){return t("div",{staticClass:"px-3 pt-3 text-center cursor-pointer",class:{seen:o.seen},on:{click:function(t){return e.showStory(a)}}},[t("span",{staticClass:"mb-1 ring",class:[o.seen?"not-seen":"",o.local?"":"remote"]},[t("img",{staticClass:"rounded-circle border",attrs:{src:o.avatar,width:"60",height:"60",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),t("p",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"small font-weight-bold text-truncate",class:{"text-lighter":o.seen},staticStyle:{"max-width":"69px"},attrs:{placement:"bottom",title:o.username}},[e._v("\n\t\t\t\t\t"+e._s(o.username)+"\n\t\t\t\t")])])})),0)]):e._e()])},n=[function(){var e=this._self._c;return e("div",{staticClass:"spinner-border spinner-border-sm text-lighter",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},35594:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>n});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",[t("details",{staticClass:"details-animated"},[t("summary",[t("p",{staticClass:"mb-0 lead font-weight-bold"},[e._v(e._s(e.status.spoiler_text?e.status.spoiler_text:"CW / NSFW / Hidden Media"))]),e._v(" "),t("p",{staticClass:"font-weight-light"},[e._v("(click to show)")])]),e._v(" "),t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(o,a){return t("b-carousel-slide",{key:o.id+"-media"},["video"==o.type?t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:o.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:o.url,type:o.mime}})]):"image"==o.type?t("div",{attrs:{slot:"img",title:o.description},slot:"img"},[t("img",{class:o.filter_class+" d-block img-fluid w-100",attrs:{src:o.url,alt:o.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):t("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[e._v("Error: Problem rendering preview.")])])})),1)],1)]):t("div",{staticClass:"w-100 h-100 p-0"},[t("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},e._l(e.status.media_attachments,(function(o,a){return t("slide",{key:"px-carousel-"+o.id+"-"+a,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==o.type?t("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:o.description,width:"100%",height:"100%"}},[t("source",{attrs:{src:o.url,type:o.mime}})]):"image"==o.type?t("div",{attrs:{title:o.description}},[t("img",{class:o.filter_class+" img-fluid w-100",attrs:{src:o.url,alt:o.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):t("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[e._v("Error: Problem rendering preview.")])])})),1)],1)},n=[]},86072:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>n});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\t\tSensitive Content\n\t\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status),title:e.altText(e.status)}})],1):t("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[t("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb",id:"carousel-"+e.status.id}},e._l(e.status.media_attachments,(function(o,a){return t("slide",{key:"px-carousel-"+o.id+"-"+a,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:o.description}},[t("img",{class:o.filter_class+" img-fluid w-100 p-0",attrs:{src:o.url,alt:e.altText(o),title:e.altText(o),loading:"lazy","data-bp":o.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),e._v(" "),t("div",{staticClass:"album-overlay"},[!e.status.sensitive&&e.sensitive?t("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(t){e.status.sensitive=!0}}},[t("i",{staticClass:"fas fa-eye-slash fa-lg"})]):e._e(),e._v(" "),t("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",left:"0",top:"0","border-bottom-right-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(t){return t.preventDefault(),e.toggleLightbox.apply(null,arguments)}}},[t("i",{staticClass:"fas fa-expand fa-lg"})]),e._v(" "),e.status.media_attachments[0].license?t("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.url}},[e._v("Photo")]),e._v(" by "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.account.url}},[e._v("@"+e._s(e.status.account.username))]),e._v(" licensed under "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.media_attachments[0].license.url}},[e._v(e._s(e.status.media_attachments[0].license.title))])]):e._e()])],1)},n=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},65161:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>n});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",[t("div",{staticStyle:{position:"relative"},attrs:{title:e.status.media_attachments[0].description}},[t("img",{staticClass:"card-img-top",attrs:{src:e.status.media_attachments[0].url,loading:"lazy",alt:e.altText(e.status),width:e.width(),height:e.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(t){return t.preventDefault(),e.toggleLightbox.apply(null,arguments)}}}),e._v(" "),!e.status.sensitive&&e.sensitive?t("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(t){e.status.sensitive=!0}}},[t("i",{staticClass:"fas fa-eye-slash fa-lg"})]):e._e(),e._v(" "),e.status.media_attachments[0].license?t("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.url}},[e._v("Photo")]),e._v(" by "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.account.url}},[e._v("@"+e._s(e.status.account.username))]),e._v(" licensed under "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.media_attachments[0].license.url}},[e._v(e._s(e.status.media_attachments[0].license.title))])]):e._e()])])},n=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},40711:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>n});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",[t("details",{staticClass:"details-animated"},[t("summary",[t("p",{staticClass:"mb-0 lead font-weight-bold"},[e._v(e._s(e.status.spoiler_text?e.status.spoiler_text:"CW / NSFW / Hidden Media"))]),e._v(" "),t("p",{staticClass:"font-weight-light"},[e._v("(click to show)")])]),e._v(" "),t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(e,o){return t("b-carousel-slide",{key:e.id+"-media"},[t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:e.url,type:e.mime}})])])})),1)],1)]):t("div",[t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(e,o){return t("b-carousel-slide",{key:e.id+"-media"},[t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:e.url,type:e.mime}})])])})),1)],1)},n=[]},88699:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>n});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",{staticClass:"embed-responsive embed-responsive-16by9"},[t("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:"","data-id":e.status.id,poster:e.poster()}},[t("source",{attrs:{src:e.status.media_attachments[0].url,type:e.status.media_attachments[0].mime}})])])},n=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},99751:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(){var t="object"===("undefined"==typeof window?"undefined":e(window))?window:"object"===("undefined"==typeof self?"undefined":e(self))?self:this,o=t.BlobBuilder||t.WebKitBlobBuilder||t.MSBlobBuilder||t.MozBlobBuilder;t.URL=t.URL||t.webkitURL||function(e,t){return(t=document.createElement("a")).href=e,t};var a=t.Blob,n=URL.createObjectURL,i=URL.revokeObjectURL,r=t.Symbol&&t.Symbol.toStringTag,s=!1,c=!1,d=!!t.ArrayBuffer,u=o&&o.prototype.append&&o.prototype.getBlob;try{s=2===new Blob(["ä"]).size,c=2===new Blob([new Uint8Array([1,2])]).size}catch(e){}function m(e){return e.map((function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var o=new Uint8Array(e.byteLength);o.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=o.buffer}return t}return e}))}function p(e,t){t=t||{};var a=new o;return m(e).forEach((function(e){a.append(e)})),t.type?a.getBlob(t.type):a.getBlob()}function f(e,t){return new a(m(e),t||{})}t.Blob&&(p.prototype=Blob.prototype,f.prototype=Blob.prototype);var h="function"==typeof TextEncoder?TextEncoder.prototype.encode.bind(new TextEncoder):function(e){for(var o=0,a=e.length,n=t.Uint8Array||Array,i=0,r=Math.max(32,a+(a>>1)+7),s=new n(r>>3<<3);o=55296&&l<=56319){if(o=55296&&l<=56319)continue}if(i+4>s.length){r+=8,r=(r*=1+o/e.length*2)>>3<<3;var d=new Uint8Array(r);d.set(s),s=d}if(0!=(4294967168&l)){if(0==(4294965248&l))s[i++]=l>>6&31|192;else if(0==(4294901760&l))s[i++]=l>>12&15|224,s[i++]=l>>6&63|128;else{if(0!=(4292870144&l))continue;s[i++]=l>>18&7|240,s[i++]=l>>12&63|128,s[i++]=l>>6&63|128}s[i++]=63&l|128}else s[i++]=l}return s.slice(0,i)},g="function"==typeof TextDecoder?TextDecoder.prototype.decode.bind(new TextDecoder):function(e){for(var t=e.length,o=[],a=0;a239?4:l>223?3:l>191?2:1;if(a+d<=t)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(n=e[a+1]))&&(s=(31&l)<<6|63&n)>127&&(c=s);break;case 3:n=e[a+1],i=e[a+2],128==(192&n)&&128==(192&i)&&(s=(15&l)<<12|(63&n)<<6|63&i)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:n=e[a+1],i=e[a+2],r=e[a+3],128==(192&n)&&128==(192&i)&&128==(192&r)&&(s=(15&l)<<18|(63&n)<<12|(63&i)<<6|63&r)>65535&&s<1114112&&(c=s)}null===c?(c=65533,d=1):c>65535&&(c-=65536,o.push(c>>>10&1023|55296),c=56320|1023&c),o.push(c),a+=d}var u=o.length,m="";for(a=0;a>2,d=(3&n)<<4|r>>4,u=(15&r)<<2|l>>6,m=63&l;s||(m=64,i||(u=64)),o.push(t[c],t[d],t[u],t[m])}return o.join("")}var a=Object.create||function(e){function t(){}return t.prototype=e,new t};if(d)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(e){return e&&r.indexOf(Object.prototype.toString.call(e))>-1};function c(o,a){a=null==a?{}:a;for(var n=0,i=(o=o||[]).length;n=t.size&&o.close()}))}})}}catch(e){try{new ReadableStream({}),b=function(e){var t=0;e=this;return new ReadableStream({pull:function(o){return e.slice(t,t+524288).arrayBuffer().then((function(a){t+=a.byteLength;var n=new Uint8Array(a);o.enqueue(n),t==e.size&&o.close()}))}})}}catch(e){try{new Response("").body.getReader().read(),b=function(){return new Response(this).body}}catch(e){b=function(){throw new Error("Include https://github.com/MattiasBuelens/web-streams-polyfill")}}}}y.arrayBuffer||(y.arrayBuffer=function(){var e=new FileReader;return e.readAsArrayBuffer(this),w(e)}),y.text||(y.text=function(){var e=new FileReader;return e.readAsText(this),w(e)}),y.stream||(y.stream=b)}(),function(e){"use strict";var t,o=e.Uint8Array,a=e.HTMLCanvasElement,n=a&&a.prototype,i=/\s*;\s*base64\s*(?:;|$)/i,r="toDataURL",s=function(e){for(var a,n,i=e.length,r=new o(i/4*3|0),s=0,l=0,c=[0,0],d=0,u=0;i--;)n=e.charCodeAt(s++),255!==(a=t[n-43])&&undefined!==a&&(c[1]=c[0],c[0]=n,u=u<<6|a,4===++d&&(r[l++]=u>>>16,61!==c[1]&&(r[l++]=u>>>8),61!==c[0]&&(r[l++]=u),d=0));return r};o&&(t=new o([62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51])),!a||n.toBlob&&n.toBlobHD||(n.toBlob||(n.toBlob=function(e,t){if(t||(t="image/png"),this.mozGetAsFile)e(this.mozGetAsFile("canvas",t));else if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(t))e(this.msToBlob());else{var a,n=Array.prototype.slice.call(arguments,1),l=this[r].apply(this,n),c=l.indexOf(","),d=l.substring(c+1),u=i.test(l.substring(0,c));Blob.fake?((a=new Blob).encoding=u?"base64":"URI",a.data=d,a.size=d.length):o&&(a=u?new Blob([s(d)],{type:t}):new Blob([decodeURIComponent(d)],{type:t})),e(a)}}),!n.toBlobHD&&n.toDataURLHD?n.toBlobHD=function(){r="toDataURLHD";var e=this.toBlob();return r="toDataURL",e}:n.toBlobHD=n.toBlob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this)},81139:(e,t,o)=>{"use strict";o.r(t);var a=o(70538),n=o(78345),i=o(20629),r=o(83678),s=o(25518),l=o(30306),c=o.n(l),d=o(16654),u=o.n(d),m=o(92987),p=o(37409),f=o.n(p),h=o(74870),g=o.n(h),v=o(82364),b=o(17152),y=(o(86368),o(46737),o(19755),o(19755));function w(){w=function(){return e};var e={},t=Object.prototype,o=t.hasOwnProperty,a=Object.defineProperty||function(e,t,o){e[t]=o.value},n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",r=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function l(e,t,o){return Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,o){return e[t]=o}}function c(e,t,o,n){var i=t&&t.prototype instanceof m?t:m,r=Object.create(i.prototype),s=new P(n||[]);return a(r,"_invoke",{value:k(e,o,s)}),r}function d(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var u={};function m(){}function p(){}function f(){}var h={};l(h,i,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(M([])));v&&v!==t&&o.call(v,i)&&(h=v);var b=f.prototype=m.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(a,i,r,s){var l=d(e[a],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==x(u)&&o.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,r,s)}),(function(e){n("throw",e,r,s)})):t.resolve(u).then((function(e){c.value=e,r(c)}),(function(e){return n("throw",e,r,s)}))}s(l.arg)}var i;a(this,"_invoke",{value:function(e,o){function a(){return new t((function(t,a){n(e,o,t,a)}))}return i=i?i.then(a,a):a()}})}function k(e,t,o){var a="suspendedStart";return function(n,i){if("executing"===a)throw new Error("Generator is already running");if("completed"===a){if("throw"===n)throw i;return z()}for(o.method=n,o.arg=i;;){var r=o.delegate;if(r){var s=S(r,o);if(s){if(s===u)continue;return s}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===a)throw a="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);a="executing";var l=d(e,t,o);if("normal"===l.type){if(a=o.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:o.done}}"throw"===l.type&&(a="completed",o.method="throw",o.arg=l.arg)}}}function S(e,t){var o=t.method,a=e.iterator[o];if(void 0===a)return t.delegate=null,"throw"===o&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==o&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+o+"' method")),u;var n=d(a,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var i=n.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function M(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,n=function t(){for(;++a=0;--n){var i=this.tryEntries[n],r=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(s&&l){if(this.prev=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),A(o),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var a=o.completion;if("throw"===a.type){var n=a.arg;A(o)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:M(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=void 0),u}},e}function C(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return k(e,t)}(e)||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 k(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,a=new Array(t);oShow more',lessLink:'Show less'})}))};try{document.createEvent("TouchEvent"),y("body").addClass("touch")}catch(e){}window.App=window.App||{},window.App.util={compose:{post:function(){var e=window.location.pathname;["/","/timeline/public"].includes(e)?y("#composeModal").modal("show"):window.location.href="/?a=co"},circle:function(){console.log("Unsupported method.")},collection:function(){console.log("Unsupported method.")},loop:function(){console.log("Unsupported method.")},story:function(){console.log("Unsupported method.")}},time:function(){return new Date},version:1,format:{count:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return e<1?0:new Intl.NumberFormat(t,{notation:o,compactDisplay:"short"}).format(e)},timeAgo:function(e){var t=Date.parse(e),o=Math.floor((new Date-t)/1e3),a=Math.floor(o/63072e3);return a<0?"0s":a>=1?a+"y":(a=Math.floor(o/604800))>=1?a+"w":(a=Math.floor(o/86400))>=1?a+"d":(a=Math.floor(o/3600))>=1?a+"h":(a=Math.floor(o/60))>=1?a+"m":Math.floor(o)+"s"},timeAhead:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=Date.parse(e)-Date.parse(new Date),a=Math.floor(o/1e3),n=Math.floor(a/63072e3);return n>=1?n+(t?"y":" years"):(n=Math.floor(a/604800))>=1?n+(t?"w":" weeks"):(n=Math.floor(a/86400))>=1?n+(t?"d":" days"):(n=Math.floor(a/3600))>=1?n+(t?"h":" hours"):(n=Math.floor(a/60))>=1?n+(t?"m":" minutes"):Math.floor(a)+(t?"s":" seconds")},rewriteLinks:function(e){var t=e.innerText;return e.href.startsWith(window.location.origin)?e.href:t=1==t.startsWith("#")?"/discover/tags/"+t.substr(1)+"?src=rph":1==t.startsWith("@")?"/"+e.innerText+"?src=rpp":"/i/redirect?url="+encodeURIComponent(t)}},filters:[["1984","filter-1977"],["Azen","filter-aden"],["Astairo","filter-amaro"],["Grassbee","filter-ashby"],["Bookrun","filter-brannan"],["Borough","filter-brooklyn"],["Farms","filter-charmes"],["Hairsadone","filter-clarendon"],["Cleana ","filter-crema"],["Catpatch","filter-dogpatch"],["Earlyworm","filter-earlybird"],["Plaid","filter-gingham"],["Kyo","filter-ginza"],["Yefe","filter-hefe"],["Goddess","filter-helena"],["Yards","filter-hudson"],["Quill","filter-inkwell"],["Rankine","filter-kelvin"],["Juno","filter-juno"],["Mark","filter-lark"],["Chill","filter-lofi"],["Van","filter-ludwig"],["Apache","filter-maven"],["May","filter-mayfair"],["Ceres","filter-moon"],["Knoxville","filter-nashville"],["Felicity","filter-perpetua"],["Sandblast","filter-poprocket"],["Daisy","filter-reyes"],["Elevate","filter-rise"],["Nevada","filter-sierra"],["Futura","filter-skyline"],["Sleepy","filter-slumber"],["Steward","filter-stinson"],["Savoy","filter-sutro"],["Blaze","filter-toaster"],["Apricot","filter-valencia"],["Gloming","filter-vesper"],["Walter","filter-walden"],["Poplar","filter-willow"],["Xenon","filter-xpro-ii"]],filterCss:{"filter-1977":"sepia(.5) hue-rotate(-30deg) saturate(1.4)","filter-aden":"sepia(.2) brightness(1.15) saturate(1.4)","filter-amaro":"sepia(.35) contrast(1.1) brightness(1.2) saturate(1.3)","filter-ashby":"sepia(.5) contrast(1.2) saturate(1.8)","filter-brannan":"sepia(.4) contrast(1.25) brightness(1.1) saturate(.9) hue-rotate(-2deg)","filter-brooklyn":"sepia(.25) contrast(1.25) brightness(1.25) hue-rotate(5deg)","filter-charmes":"sepia(.25) contrast(1.25) brightness(1.25) saturate(1.35) hue-rotate(-5deg)","filter-clarendon":"sepia(.15) contrast(1.25) brightness(1.25) hue-rotate(5deg)","filter-crema":"sepia(.5) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-2deg)","filter-dogpatch":"sepia(.35) saturate(1.1) contrast(1.5)","filter-earlybird":"sepia(.25) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-5deg)","filter-gingham":"contrast(1.1) brightness(1.1)","filter-ginza":"sepia(.25) contrast(1.15) brightness(1.2) saturate(1.35) hue-rotate(-5deg)","filter-hefe":"sepia(.4) contrast(1.5) brightness(1.2) saturate(1.4) hue-rotate(-10deg)","filter-helena":"sepia(.5) contrast(1.05) brightness(1.05) saturate(1.35)","filter-hudson":"sepia(.25) contrast(1.2) brightness(1.2) saturate(1.05) hue-rotate(-15deg)","filter-inkwell":"brightness(1.25) contrast(.85) grayscale(1)","filter-kelvin":"sepia(.15) contrast(1.5) brightness(1.1) hue-rotate(-10deg)","filter-juno":"sepia(.35) contrast(1.15) brightness(1.15) saturate(1.8)","filter-lark":"sepia(.25) contrast(1.2) brightness(1.3) saturate(1.25)","filter-lofi":"saturate(1.1) contrast(1.5)","filter-ludwig":"sepia(.25) contrast(1.05) brightness(1.05) saturate(2)","filter-maven":"sepia(.35) contrast(1.05) brightness(1.05) saturate(1.75)","filter-mayfair":"contrast(1.1) brightness(1.15) saturate(1.1)","filter-moon":"brightness(1.4) contrast(.95) saturate(0) sepia(.35)","filter-nashville":"sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)","filter-perpetua":"contrast(1.1) brightness(1.25) saturate(1.1)","filter-poprocket":"sepia(.15) brightness(1.2)","filter-reyes":"sepia(.75) contrast(.75) brightness(1.25) saturate(1.4)","filter-rise":"sepia(.25) contrast(1.25) brightness(1.2) saturate(.9)","filter-sierra":"sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)","filter-skyline":"sepia(.15) contrast(1.25) brightness(1.25) saturate(1.2)","filter-slumber":"sepia(.35) contrast(1.25) saturate(1.25)","filter-stinson":"sepia(.35) contrast(1.25) brightness(1.1) saturate(1.25)","filter-sutro":"sepia(.4) contrast(1.2) brightness(.9) saturate(1.4) hue-rotate(-10deg)","filter-toaster":"sepia(.25) contrast(1.5) brightness(.95) hue-rotate(-15deg)","filter-valencia":"sepia(.25) contrast(1.1) brightness(1.1)","filter-vesper":"sepia(.35) contrast(1.15) brightness(1.2) saturate(1.3)","filter-walden":"sepia(.35) contrast(.8) brightness(1.25) saturate(1.4)","filter-willow":"brightness(1.2) contrast(.85) saturate(.05) sepia(.2)","filter-xpro-ii":"sepia(.45) contrast(1.25) brightness(1.75) saturate(1.3) hue-rotate(-5deg)"},emoji:["😂","💯","❤️","🙌","👏","👌","😍","😯","😢","😅","😁","🙂","😎","😀","🤣","😃","😄","😆","😉","😊","😋","😘","😗","😙","😚","🤗","🤩","🤔","🤨","😐","😑","😶","🙄","😏","😣","😥","😮","🤐","😪","😫","😴","😌","😛","😜","😝","🤤","😒","😓","😔","😕","🙃","🤑","😲","🙁","😖","😞","😟","😤","😭","😦","😧","😨","😩","🤯","😬","😰","😱","😳","🤪","😵","😡","😠","🤬","😷","🤒","🤕","🤢","🤮","🤧","😇","🤠","🤡","🤥","🤫","🤭","🧐","🤓","😈","👿","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🤲","👐","🤝","👍","👎","👊","✊","🤛","🤜","🤞","✌️","🤟","🤘","👈","👉","👆","👇","☝️","✋","🤚","🖐","🖖","👋","🤙","💪","🖕","✍️","🙏","💍","💄","💋","👄","👅","👂","👃","👣","👁","👀","🧠","🗣","👤","👥"],embed:{post:function(e){var t=e+"/embed?";return t+=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?"caption=true&":"caption=false&",t+=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"likes=true&":"likes=false&",'