diff --git a/public/css/spa.css b/public/css/spa.css index 954390148..8d2e31958 100644 --- a/public/css/spa.css +++ b/public/css/spa.css @@ -1 +1 @@ -@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:400;src:url(/fonts/zYXgKVElMYYaJe8bpLHnCwDKhdzeFaxOedfTDw.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:400;src:url(/fonts/zYXgKVElMYYaJe8bpLHnCwDKhdXeFaxOedfTDw.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:400;src:url(/fonts/zYXgKVElMYYaJe8bpLHnCwDKhdLeFaxOedfTDw.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:400;src:url(/fonts/zYXgKVElMYYaJe8bpLHnCwDKhd7eFaxOedfTDw.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:400;src:url(/fonts/zYXgKVElMYYaJe8bpLHnCwDKhd_eFaxOedfTDw.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:400;src:url(/fonts/zYXgKVElMYYaJe8bpLHnCwDKhdHeFaxOedc.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:600;src:url(/fonts/zYX9KVElMYYaJe8bpLHnCwDKjQ76AIxsdP3pBmtF8A.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:600;src:url(/fonts/zYX9KVElMYYaJe8bpLHnCwDKjQ76AIVsdP3pBmtF8A.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:600;src:url(/fonts/zYX9KVElMYYaJe8bpLHnCwDKjQ76AIJsdP3pBmtF8A.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:600;src:url(/fonts/zYX9KVElMYYaJe8bpLHnCwDKjQ76AI5sdP3pBmtF8A.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:600;src:url(/fonts/zYX9KVElMYYaJe8bpLHnCwDKjQ76AI9sdP3pBmtF8A.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:600;src:url(/fonts/zYX9KVElMYYaJe8bpLHnCwDKjQ76AIFsdP3pBms.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}:root{--light:#fff;--dark:#000;--body-bg:#f3f4f6;--body-color:#212529;--nav-bg:#fff;--bg-light:#f8f9fa;--primary:#3b82f6;--light-gray:#f8f9fa;--text-lighter:#94a3b8;--card-bg:#fff;--light-hover-bg:#f9fafb;--btn-light-border:#fff;--input-border:#e2e8f0;--comment-bg:#eff2f5;--border-color:#dee2e6;--card-header-accent:#f9fafb;--dropdown-item-hover-bg:#e9ecef;--dropdown-item-hover-color:#16181b;--dropdown-item-color:#64748b;--dropdown-item-active-color:#334155}@media (prefers-color-scheme:dark){:root{--light:#000;--dark:#fff;--body-bg:#000;--body-color:#9ca3af;--nav-bg:#000;--bg-light:#212124;--light-gray:#212124;--text-lighter:#818181;--card-bg:#161618;--light-hover-bg:#212124;--btn-light-border:#161618;--input-border:#161618;--comment-bg:#212124;--border-color:#212124;--card-header-accent:#212124;--dropdown-item-hover-bg:#000;--dropdown-item-hover-color:#818181;--dropdown-item-color:#64748b;--dropdown-item-active-color:#fff}}.force-light-mode{--light:#fff;--dark:#000;--body-bg:#f3f4f6;--body-color:#212529;--nav-bg:#fff;--bg-light:#f8f9fa;--primary:#3b82f6;--light-gray:#f8f9fa;--text-lighter:#94a3b8;--card-bg:#fff;--light-hover-bg:#f9fafb;--btn-light-border:#fff;--input-border:#e2e8f0;--comment-bg:#eff2f5;--border-color:#dee2e6;--card-header-accent:#f9fafb;--dropdown-item-hover-bg:#e9ecef;--dropdown-item-hover-color:#16181b;--dropdown-item-color:#64748b;--dropdown-item-active-color:#334155}.force-dark-mode{--light:#000;--dark:#fff;--body-bg:#000;--body-color:#9ca3af;--nav-bg:#000;--bg-light:#212124;--light-gray:#212124;--text-lighter:#818181;--card-bg:#161618;--light-hover-bg:#212124;--btn-light-border:#161618;--input-border:#161618;--comment-bg:#212124;--border-color:#212124;--card-header-accent:#212124;--dropdown-item-hover-bg:#000;--dropdown-item-hover-color:#818181;--dropdown-item-color:#64748b;--dropdown-item-active-color:#b3b3b3}body{background:var(--body-bg);color:var(--body-color);font-family:IBM Plex Sans,sans-serif}.web-wrapper{margin-bottom:10rem}.container-fluid{max-width:1440px!important}.jumbotron,.rounded-px{border-radius:18px}.doc-body p:last-child{margin-bottom:0}.navbar-laravel{background-color:var(--nav-bg)}.sticky-top{z-index:2}.navbar-light .navbar-brand,.navbar-light .navbar-brand:hover{color:var(--dark)}.primary{color:var(--primary)}.text-lighter{color:var(--text-lighter)!important}.text-dark{color:var(--body-color)!important}.text-dark:hover,a.text-dark:hover{color:var(--dark)!important}.badge-primary,.btn-primary{background-color:var(--primary)}.btn-primary{color:#fff!important}.btn-outline-light{border-color:var(--light-gray)}.border{border:1px solid var(--border-color)!important}.bg-light,.bg-white{background-color:var(--bg-light)!important;border-color:var(--bg-light)!important}.btn-light{background-color:var(--light-gray)}.btn-light,.btn-light:hover{border-color:var(--btn-light-border);color:var(--body-color)}.btn-light:hover{background-color:var(--card-bg)}.autocomplete-input{border:1px solid var(--light-gray)!important;color:var(--body-color)}.autocomplete-result-list{background:var(--light)!important}.dropdown-menu,.form-control,span.twitter-typeahead .tt-menu{background-color:var(--card-bg);border:1px solid var(--border-color)!important;color:var(--body-color)}.dropdown-item,.tribute-container li,span.twitter-typeahead .tt-suggestion{color:var(--body-color)}.dropdown-item:focus,.dropdown-item:hover,span.twitter-typeahead .tt-suggestion:focus,span.twitter-typeahead .tt-suggestion:hover{background-color:var(--dropdown-item-hover-bg);color:var(--dropdown-item-hover-color);text-decoration:none}.card,.card-footer,.card-header,.form-control:focus,.list-group-item,.modal-content,.ph-item,.popover,.tribute-container ul{background-color:var(--card-bg)}.badge-light,.breadcrumb,.ph-avatar,.ph-picture,.ph-row div{background-color:var(--light-gray)}.border-bottom,.border-top,.card-header{border-color:var(--border-color)!important}.modal-header{border-color:var(--border-color)}.compose-action:hover{background-color:var(--light-gray)!important}.dropdown-divider{border-color:var(--dropdown-item-hover-bg)}.metro-nav.flex-column{background-color:var(--card-bg)}.metro-nav.flex-column .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.child-reply-form .form-control{border-color:var(--input-border);color:var(--body-color)}.ui-menu .btn-group .btn:first-child{border-bottom-left-radius:50rem;border-top-left-radius:50rem}.ui-menu .btn-group .btn:last-child{border-bottom-right-radius:50rem;border-top-right-radius:50rem}.ui-menu .btn-group .btn-primary{font-weight:700}.ui-menu .b-custom-control-lg{padding-bottom:8px}.content-label-wrapper div:not(.content-label){height:100%}.content-label-text{width:80%}@media (min-width:768px){.content-label-text{width:50%}} +@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:400;src:url(/fonts/zYXgKVElMYYaJe8bpLHnCwDKhdzeFaxOedfTDw.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:400;src:url(/fonts/zYXgKVElMYYaJe8bpLHnCwDKhdXeFaxOedfTDw.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:400;src:url(/fonts/zYXgKVElMYYaJe8bpLHnCwDKhdLeFaxOedfTDw.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:400;src:url(/fonts/zYXgKVElMYYaJe8bpLHnCwDKhd7eFaxOedfTDw.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:400;src:url(/fonts/zYXgKVElMYYaJe8bpLHnCwDKhd_eFaxOedfTDw.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:400;src:url(/fonts/zYXgKVElMYYaJe8bpLHnCwDKhdHeFaxOedc.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:600;src:url(/fonts/zYX9KVElMYYaJe8bpLHnCwDKjQ76AIxsdP3pBmtF8A.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:600;src:url(/fonts/zYX9KVElMYYaJe8bpLHnCwDKjQ76AIVsdP3pBmtF8A.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:600;src:url(/fonts/zYX9KVElMYYaJe8bpLHnCwDKjQ76AIJsdP3pBmtF8A.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:600;src:url(/fonts/zYX9KVElMYYaJe8bpLHnCwDKjQ76AI5sdP3pBmtF8A.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:600;src:url(/fonts/zYX9KVElMYYaJe8bpLHnCwDKjQ76AI9sdP3pBmtF8A.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:IBM Plex Sans;font-style:normal;font-weight:600;src:url(/fonts/zYX9KVElMYYaJe8bpLHnCwDKjQ76AIFsdP3pBms.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}:root{--light:#fff;--dark:#000;--body-bg:#f3f4f6;--body-color:#212529;--nav-bg:#fff;--bg-light:#f8f9fa;--primary:#3b82f6;--light-gray:#f8f9fa;--text-lighter:#94a3b8;--card-bg:#fff;--light-hover-bg:#f9fafb;--btn-light-border:#fff;--input-border:#e2e8f0;--comment-bg:#eff2f5;--border-color:#dee2e6;--card-header-accent:#f9fafb;--dropdown-item-hover-bg:#e9ecef;--dropdown-item-hover-color:#16181b;--dropdown-item-color:#64748b;--dropdown-item-active-color:#334155}@media (prefers-color-scheme:dark){:root{--light:#000;--dark:#fff;--body-bg:#000;--body-color:#9ca3af;--nav-bg:#000;--bg-light:#212124;--light-gray:#212124;--text-lighter:#818181;--card-bg:#161618;--light-hover-bg:#212124;--btn-light-border:#161618;--input-border:#161618;--comment-bg:#212124;--border-color:#212124;--card-header-accent:#212124;--dropdown-item-hover-bg:#000;--dropdown-item-hover-color:#818181;--dropdown-item-color:#64748b;--dropdown-item-active-color:#fff}}.force-light-mode{--light:#fff;--dark:#000;--body-bg:#f3f4f6;--body-color:#212529;--nav-bg:#fff;--bg-light:#f8f9fa;--primary:#3b82f6;--light-gray:#f8f9fa;--text-lighter:#94a3b8;--card-bg:#fff;--light-hover-bg:#f9fafb;--btn-light-border:#fff;--input-border:#e2e8f0;--comment-bg:#eff2f5;--border-color:#dee2e6;--card-header-accent:#f9fafb;--dropdown-item-hover-bg:#e9ecef;--dropdown-item-hover-color:#16181b;--dropdown-item-color:#64748b;--dropdown-item-active-color:#334155}.force-dark-mode{--light:#000;--dark:#fff;--body-bg:#000;--body-color:#9ca3af;--nav-bg:#000;--bg-light:#212124;--light-gray:#212124;--text-lighter:#818181;--card-bg:#161618;--light-hover-bg:#212124;--btn-light-border:#161618;--input-border:#161618;--comment-bg:#212124;--border-color:#212124;--card-header-accent:#212124;--dropdown-item-hover-bg:#000;--dropdown-item-hover-color:#818181;--dropdown-item-color:#64748b;--dropdown-item-active-color:#b3b3b3}body{background:var(--body-bg);color:var(--body-color);font-family:IBM Plex Sans,sans-serif}.web-wrapper{margin-bottom:10rem}.container-fluid{max-width:1440px!important}.jumbotron,.rounded-px{border-radius:18px}.doc-body p:last-child{margin-bottom:0}.navbar-laravel{background-color:var(--nav-bg)}.sticky-top{z-index:2}.navbar-light .navbar-brand,.navbar-light .navbar-brand:hover{color:var(--dark)}.primary{color:var(--primary)}.text-lighter{color:var(--text-lighter)!important}.text-dark{color:var(--body-color)!important}.text-dark:hover,a.text-dark:hover{color:var(--dark)!important}.badge-primary,.btn-primary{background-color:var(--primary)}.btn-primary{color:#fff!important}.btn-outline-light{border-color:var(--light-gray)}.border{border:1px solid var(--border-color)!important}.bg-light,.bg-white{background-color:var(--bg-light)!important;border-color:var(--bg-light)!important}.btn-light{background-color:var(--light-gray)}.btn-light,.btn-light:hover{border-color:var(--btn-light-border);color:var(--body-color)}.btn-light:hover{background-color:var(--card-bg)}.autocomplete-input{border:1px solid var(--light-gray)!important;color:var(--body-color)}.autocomplete-result-list{background:var(--light)!important;z-index:2!important}.dropdown-menu,.form-control,span.twitter-typeahead .tt-menu{background-color:var(--card-bg);border:1px solid var(--border-color)!important;color:var(--body-color)}.dropdown-item,.tribute-container li,span.twitter-typeahead .tt-suggestion{color:var(--body-color)}.dropdown-item:focus,.dropdown-item:hover,span.twitter-typeahead .tt-suggestion:focus,span.twitter-typeahead .tt-suggestion:hover{background-color:var(--dropdown-item-hover-bg);color:var(--dropdown-item-hover-color);text-decoration:none}.card,.card-footer,.card-header,.form-control:focus,.list-group-item,.modal-content,.ph-item,.popover,.tribute-container ul{background-color:var(--card-bg)}.badge-light,.breadcrumb,.ph-avatar,.ph-picture,.ph-row div{background-color:var(--light-gray)}.border-bottom,.border-top,.card-header{border-color:var(--border-color)!important}.modal-header{border-color:var(--border-color)}.compose-action:hover{background-color:var(--light-gray)!important}.dropdown-divider{border-color:var(--dropdown-item-hover-bg)}.metro-nav.flex-column{background-color:var(--card-bg)}.metro-nav.flex-column .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.child-reply-form .form-control{border-color:var(--input-border);color:var(--body-color)}.ui-menu .btn-group .btn:first-child{border-bottom-left-radius:50rem;border-top-left-radius:50rem}.ui-menu .btn-group .btn:last-child{border-bottom-right-radius:50rem;border-top-right-radius:50rem}.ui-menu .btn-group .btn-primary{font-weight:700}.ui-menu .b-custom-control-lg{padding-bottom:8px}.content-label-wrapper div:not(.content-label){height:100%}.content-label-text{width:80%}@media (min-width:768px){.content-label-text{width:50%}} diff --git a/public/js/discover~hashtag.bundle.279c3460159d3af7.js b/public/js/discover~hashtag.bundle.279c3460159d3af7.js new file mode 100644 index 000000000..f5a6ff81e --- /dev/null +++ b/public/js/discover~hashtag.bundle.279c3460159d3af7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7019],{56714:(t,a,e)=>{e.r(a),e.d(a,{default:()=>c});var s=e(42755),n=e(78423),i=e(88231),r=e(78375);function o(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,a){if(!t)return;if("string"==typeof t)return l(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,a)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,s=new Array(a);e{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},29022:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,a=event.target.files;Array.prototype.forEach.call(a,(function(a,e){t.avatarUpdateFile=a,t.avatarUpdatePreview=URL.createObjectURL(a),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var a=this;if(t.dataTransfer.items){for(var e=0;e{e.r(a),e.d(a,{default:()=>s});const s={props:{small:{type:Boolean,default:!1}}}},5540:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={components:{notifications:e(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,a,e)=>{e.r(a),e.d(a,{default:()=>c});var s=e(20629),n=e(68296),i=e(76429);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function l(t,a,e){return(a=function(t){var a=function(t,a){if("object"!==r(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,a||"default");if("object"!==r(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(t)}(t,"string");return"symbol"===r(a)?a:String(a)}(a))in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:n.default,UpdateAvatar:i.default},computed:function(t){for(var a=1;a)?/g,(function(a){var e=a.slice(1,a.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==e}));return s.length?''.concat(s[0].shortcode,''):a}))}return e},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(a,{notation:e,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var a=this.$route.path;switch(t){case"home":"/i/web"==a?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},66925:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(73128),n=e(78423);function i(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,a){if(!t)return;if("string"==typeof t)return r(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(t,a)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,s=new Array(a);e{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"hashtag-component"},[a("div",{staticClass:"container-fluid mt-3"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-3 d-md-block"},[a("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),a("div",{staticClass:"col-md-9"},[a("div",{staticClass:"card border-0 shadow-sm mb-3",staticStyle:{"border-radius":"18px"}},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"media align-items-center py-3"},[a("div",{staticClass:"media-body"},[a("p",{staticClass:"h3 text-break mb-0"},[a("span",{staticClass:"text-lighter"},[t._v("#")]),t._v(t._s(t.hashtag.name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),t.hashtag.count&&t.hashtag.count>100?a("p",{staticClass:"mb-0 text-muted font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.formatCount(t.hashtag.count))+" Posts\n\t\t\t\t\t\t\t\t")]):t._e()]),t._v(" "),t.hashtag&&t.hashtag.hasOwnProperty("following")&&t.feed&&t.feed.length?[t.hashtag.following?a("button",{staticClass:"btn btn-light hashtag-follow border rounded-pill font-weight-bold py-1 px-4",attrs:{disabled:t.followingLoading},on:{click:function(a){return t.unfollowHashtag()}}},[t.followingLoading?a("b-spinner",{attrs:{small:""}}):a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t\t\t\t\t")])],1):a("button",{staticClass:"btn btn-primary hashtag-follow font-weight-bold rounded-pill py-1 px-4",attrs:{disabled:t.followingLoading},on:{click:function(a){return t.followHashtag()}}},[t.followingLoading?a("b-spinner",{attrs:{small:""}}):a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t\t\t\t\t\t")])],1)]:t._e()],2)])]),t._v(" "),t.isLoaded&&t.feedLoaded?[a("div",{staticClass:"row mx-0 hashtag-feed"},[t._l(t.feed,(function(e,s){return a("div",{key:"tlob:"+s,staticClass:"col-6 col-md-4 col-lg-3 p-1"},[a("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)},on:{click:function(a){return a.preventDefault(),t.goToPost(e)}}},[a("div",{staticClass:"square"},[e.sensitive?a("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),a("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):a("div",{staticClass:"square-content"},[a("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].url}})],1),t._v(" "),"photo:album"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),a("div",{staticClass:"info-overlay-text"},[a("h5",{staticClass:"text-white m-auto font-weight-bold"},[a("span",[a("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),a("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])])])])])])])})),t._v(" "),t.canLoadMore?a("div",{staticClass:"col-12"},[a("intersect",{on:{enter:t.enterIntersect}},[a("div",{staticClass:"d-flex justify-content-center py-5"},[a("b-spinner")],1)])],1):t._e()],2),t._v(" "),t.feedLoaded&&!t.feed.length?a("div",{staticClass:"row mx-0 hashtag-feed justify-content-center"},[a("div",{staticClass:"col-12 col-md-8 text-center"},[a("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6","max-width":"400px"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),a("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("hashtags.emptyFeed")))])])]):t._e()]:[a("div",{staticClass:"row justify-content-center align-items-center pt-5 mt-5"},[a("b-spinner")],1)]],2)]),t._v(" "),a("drawer")],1)])},n=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}]},7231:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"app-drawer-component"},[a("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),a("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[a("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[a("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[a("p",[a("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Home")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[a("p",[a("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Local")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[a("p",[a("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("New")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[a("p",[a("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Alerts")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[a("p",[a("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Profile")])])])],1)])])])])},n=[]},73023:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[a("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(a){return t.handleAvatarUpdate()}}}),t._v(" "),a("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?a("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(a){return t.avatarUpdateStep(0)}}},[a("p",{staticClass:"text-center primary"},[a("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),a("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),a("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),a("strong",[t._v("png")]),t._v(" or "),a("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?a("div",{staticClass:"w-100 p-5"},[a("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"d-flex justify-content-between"},[a("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(a){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),a("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(a){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},n=[]},50554:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return t.small?a("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):a("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},n=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},20832:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},n=[]},30964:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"card-body p-2"},[a("div",{staticClass:"media user-card user-select-none"},[a("div",{staticStyle:{position:"relative"}},[a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(a){return t.gotoMyProfile()}}}),t._v(" "),a("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(a){return t.updateAvatar()}}},[a("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),a("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"stats-followers"},[a("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),a("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[a("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[a("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right"},[a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),a("div",{staticClass:"dropdown-divider"}),t._v(" "),a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),a("div",{staticClass:"sidebar-sticky shadow-sm"},[a("ul",{staticClass:"nav flex-column"},[a("li",{staticClass:"nav-item"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(a){return a.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(a){return a.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(a){return a.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),a("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),a("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[a("router-link",{attrs:{to:"/i/web/language"}},[a("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),a("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),a("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},n=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},78061:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?a("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),a("p",{staticClass:"text-center mt-4"},[a("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(a){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?a("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?a("div",{staticClass:"step-segment"},[a("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):a("div",{staticClass:"step-segment"},[a("b-spinner")],1)])},n=[function(){var t=this,a=t._self._c;return a("div",{staticClass:"align-self-start"},[a("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),a("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"w-100"},[a("div",{staticClass:"form-group"},[a("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),a("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},51948:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"notifications-component"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[a("div",{staticClass:"card-body pb-0"},[a("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[a("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?a("div",[a("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[a("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?a("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[a("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?a("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[a("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[a("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),a("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(e,s){return a("div",{staticClass:"mb-2"},[a("div",{staticClass:"media align-items-center"},[a("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:e.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),a("div",{staticClass:"media-body font-weight-light small"},["favourite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),e.status&&e.status.hasOwnProperty("media_attachments")?a("span",[a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status),id:"fvn-"+e.id},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),a("b-popover",{attrs:{target:"fvn-"+e.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[a("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(e),width:"100px",height:"100px"}})])],1):a("span",[a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" reacted to your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" shared your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(t.truncate(e.account.username)))]),t._v(" updated a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" tagged you in a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" sent a "),a("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+e.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" invited you to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url+"/invite/claim",title:e.group.name}},[t._v(t._s(e.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),a("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:e.created_at}},[t._v(t._s(t.timeAgo(e.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?a("div",[a("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):a("div",[t.hasLoaded&&t.canLoadMore?a("intersect",{on:{enter:t.enterIntersect}},[a("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}})],1):a("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):a("div",{staticClass:"notifications-component-feed"},[a("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},n=[]},48415:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".hashtag-component .hashtag-feed .card,.hashtag-component .hashtag-feed .info-overlay-text,.hashtag-component .hashtag-feed .info-overlay-text-label,.hashtag-component .hashtag-feed canvas,.hashtag-component .hashtag-feed img{border-radius:18px!important}.hashtag-component .hashtag-follow{width:200px}.hashtag-component .ph-wrapper{padding:.25rem}.hashtag-component .ph-wrapper .ph-item{background-color:transparent;border:none;margin:0;padding:0}.hashtag-component .ph-wrapper .ph-item .ph-picture{border-radius:18px;height:auto;padding-bottom:100%}.hashtag-component .ph-wrapper .ph-item>*{margin-bottom:0}",""]);const i=n},95433:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const i=n},17738:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const i=n},1644:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const i=n},195:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const i=n},76812:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const i=n},85448:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(48415),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},2869:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(95433),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},92341:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(17738),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},64111:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(1644),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},7051:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(195),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},47781:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(76812),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},48266:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(37558),n=e(87801),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(65927);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},42755:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(87661),n=e(1374),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(72682);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},76429:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(5249),n=e(74778),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},73128:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(22356),n=e(163),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},78375:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(79325),n=e(2678),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(86965);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(7071),n=e(28058),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(11883);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},68296:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(48170),n=e(82834),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(89501);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},73459:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(72362),n=e(67476),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(75574);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},87801:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(56714),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},1374:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(89250),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},74778:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(29022),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},163:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(54076),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},2678:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(5540),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},28058:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(11188),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},82834:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(66925),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},67476:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(43762),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},37558:(t,a,e)=>{e.r(a);var s=e(20034),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},87661:(t,a,e)=>{e.r(a);var s=e(7231),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},5249:(t,a,e)=>{e.r(a);var s=e(73023),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},22356:(t,a,e)=>{e.r(a);var s=e(50554),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},79325:(t,a,e)=>{e.r(a);var s=e(20832),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},7071:(t,a,e)=>{e.r(a);var s=e(30964),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},48170:(t,a,e)=>{e.r(a);var s=e(78061),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},72362:(t,a,e)=>{e.r(a);var s=e(51948),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},65927:(t,a,e)=>{e.r(a);var s=e(85448),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},72682:(t,a,e)=>{e.r(a);var s=e(2869),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},86965:(t,a,e)=>{e.r(a);var s=e(92341),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},11883:(t,a,e)=>{e.r(a);var s=e(64111),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},89501:(t,a,e)=>{e.r(a);var s=e(7051),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},75574:(t,a,e)=>{e.r(a);var s=e(47781),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)}}]); \ No newline at end of file diff --git a/public/js/discover~hashtag.bundle.76807a8ff71bd205.js b/public/js/discover~hashtag.bundle.76807a8ff71bd205.js deleted file mode 100644 index cd23b2045..000000000 --- a/public/js/discover~hashtag.bundle.76807a8ff71bd205.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7019],{56714:(t,a,e)=>{e.r(a),e.d(a,{default:()=>c});var s=e(42755),i=e(78423),r=e(88231),n=e(78375);function o(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,a){if(!t)return;if("string"==typeof t)return l(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,a)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,s=new Array(a);e{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},29022:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,a=event.target.files;Array.prototype.forEach.call(a,(function(a,e){t.avatarUpdateFile=a,t.avatarUpdatePreview=URL.createObjectURL(a),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var a=this;if(t.dataTransfer.items){for(var e=0;e{e.r(a),e.d(a,{default:()=>s});const s={props:{small:{type:Boolean,default:!1}}}},5540:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={components:{notifications:e(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,a,e)=>{e.r(a),e.d(a,{default:()=>c});var s=e(20629),i=e(68296),r=e(76429);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function l(t,a,e){return(a=function(t){var a=function(t,a){if("object"!==n(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,a||"default");if("object"!==n(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(t)}(t,"string");return"symbol"===n(a)?a:String(a)}(a))in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:i.default,UpdateAvatar:r.default},computed:function(t){for(var a=1;a)?/g,(function(a){var e=a.slice(1,a.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==e}));return s.length?''.concat(s[0].shortcode,''):a}))}return e},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(a,{notation:e,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var a=this.$route.path;switch(t){case"home":"/i/web"==a?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},66925:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(73128),i=e(78423);function r(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,a){if(!t)return;if("string"==typeof t)return n(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return n(t,a)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,s=new Array(a);e{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"hashtag-component"},[t.isLoaded&&t.feedLoaded?a("div",{staticClass:"container-fluid mt-3"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-3 d-md-block"},[a("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),a("div",{staticClass:"col-md-9"},[a("div",{staticClass:"card border-0 shadow-sm mb-3",staticStyle:{"border-radius":"18px"}},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"media align-items-center py-3"},[a("div",{staticClass:"media-body"},[a("p",{staticClass:"h3 text-break mb-0"},[a("span",{staticClass:"text-lighter"},[t._v("#")]),t._v(t._s(t.id)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),t.follows?a("button",{staticClass:"btn btn-light hashtag-follow border rounded-pill font-weight-bold py-1 px-4",attrs:{disabled:t.isFollowing},on:{click:function(a){return t.unfollowHashtag()}}},[t.isFollowing?a("b-spinner",{attrs:{small:""}}):a("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t\t\t\t")])],1):a("button",{staticClass:"btn btn-primary hashtag-follow font-weight-bold rounded-pill py-1 px-4",attrs:{disabled:t.isFollowing},on:{click:function(a){return t.followHashtag()}}},[t.isFollowing?a("b-spinner",{attrs:{small:""}}):a("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t\t\t\t\t")])],1)])])]),t._v(" "),a("div",{staticClass:"row mx-0 hashtag-feed"},[t._l(t.feed.tags,(function(e,s){return a("div",{key:"tlob:"+s,staticClass:"col-6 col-md-4 col-lg-3 p-1"},[a("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[a("div",{staticClass:"square"},[e.status.sensitive?a("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),a("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.status.media_attachments[0].blurhash}})],1):a("div",{staticClass:"square-content"},[a("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.status.media_attachments[0].blurhash,src:e.status.media_attachments[0].url}})],1),t._v(" "),"photo:album"==e.status.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.status.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.status.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),a("div",{staticClass:"info-overlay-text"},[a("h5",{staticClass:"text-white m-auto font-weight-bold"},[a("span",[a("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),a("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.status.reply_count)))])])])])])])])})),t._v(" "),t._l(Array(12).keys(),(function(e,s){return t.canLoadMore?a("div",{staticClass:"col-6 col-md-4 col-lg-3 ph-wrapper"},[0===s?a("intersect",{on:{enter:t.enterIntersect}},[a("div",{staticClass:"ph-item"},[a("div",{staticClass:"ph-picture big"})])]):a("div",{staticClass:"ph-item"},[a("div",{staticClass:"ph-picture big"})])],1):t._e()}))],2),t._v(" "),t.feed.hasOwnProperty("tags")&&t.feed.tags.length?t._e():a("div",{staticClass:"row mx-0 hashtag-feed justify-content-center"},[a("div",{staticClass:"col-12 col-md-8 text-center"},[a("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),a("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("hashtags.emptyFeed")))])])])])]),t._v(" "),a("drawer")],1):a("div",{staticClass:"container-fluid mt-3"},[a("b-spinner")],1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}]},7231:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"app-drawer-component"},[a("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),a("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[a("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[a("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[a("p",[a("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Home")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[a("p",[a("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Local")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[a("p",[a("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("New")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[a("p",[a("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Alerts")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[a("p",[a("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Profile")])])])],1)])])])])},i=[]},73023:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[a("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(a){return t.handleAvatarUpdate()}}}),t._v(" "),a("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?a("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(a){return t.avatarUpdateStep(0)}}},[a("p",{staticClass:"text-center primary"},[a("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),a("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),a("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),a("strong",[t._v("png")]),t._v(" or "),a("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?a("div",{staticClass:"w-100 p-5"},[a("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"d-flex justify-content-between"},[a("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(a){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),a("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(a){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},50554:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return t.small?a("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):a("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},20832:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},i=[]},30964:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"card-body p-2"},[a("div",{staticClass:"media user-card user-select-none"},[a("div",{staticStyle:{position:"relative"}},[a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(a){return t.gotoMyProfile()}}}),t._v(" "),a("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(a){return t.updateAvatar()}}},[a("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),a("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"stats-followers"},[a("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),a("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[a("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[a("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right"},[a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),a("div",{staticClass:"dropdown-divider"}),t._v(" "),a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),a("div",{staticClass:"sidebar-sticky shadow-sm"},[a("ul",{staticClass:"nav flex-column"},[a("li",{staticClass:"nav-item"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(a){return a.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(a){return a.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(a){return a.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),a("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),a("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[a("router-link",{attrs:{to:"/i/web/language"}},[a("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),a("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),a("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},78061:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?a("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),a("p",{staticClass:"text-center mt-4"},[a("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(a){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?a("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?a("div",{staticClass:"step-segment"},[a("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):a("div",{staticClass:"step-segment"},[a("b-spinner")],1)])},i=[function(){var t=this,a=t._self._c;return a("div",{staticClass:"align-self-start"},[a("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),a("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"w-100"},[a("div",{staticClass:"form-group"},[a("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),a("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},51948:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"notifications-component"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[a("div",{staticClass:"card-body pb-0"},[a("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[a("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?a("div",[a("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[a("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?a("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[a("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?a("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[a("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[a("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),a("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(e,s){return a("div",{staticClass:"mb-2"},[a("div",{staticClass:"media align-items-center"},[a("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:e.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),a("div",{staticClass:"media-body font-weight-light small"},["favourite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),e.status&&e.status.hasOwnProperty("media_attachments")?a("span",[a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status),id:"fvn-"+e.id},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),a("b-popover",{attrs:{target:"fvn-"+e.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[a("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(e),width:"100px",height:"100px"}})])],1):a("span",[a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" reacted to your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" shared your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(t.truncate(e.account.username)))]),t._v(" updated a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" tagged you in a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" sent a "),a("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+e.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" invited you to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url+"/invite/claim",title:e.group.name}},[t._v(t._s(e.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),a("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:e.created_at}},[t._v(t._s(t.timeAgo(e.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?a("div",[a("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):a("div",[t.hasLoaded&&t.canLoadMore?a("intersect",{on:{enter:t.enterIntersect}},[a("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}})],1):a("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):a("div",{staticClass:"notifications-component-feed"},[a("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},i=[]},42061:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(1519),i=e.n(s)()((function(t){return t[1]}));i.push([t.id,".hashtag-component .hashtag-feed .card,.hashtag-component .hashtag-feed .info-overlay-text,.hashtag-component .hashtag-feed .info-overlay-text-label,.hashtag-component .hashtag-feed canvas,.hashtag-component .hashtag-feed img{border-radius:18px!important}.hashtag-component .hashtag-follow{width:200px}.hashtag-component .ph-wrapper{padding:.25rem}.hashtag-component .ph-wrapper .ph-item{background-color:transparent;border:none;margin:0;padding:0}.hashtag-component .ph-wrapper .ph-item .ph-picture{border-radius:18px;height:auto;padding-bottom:100%}.hashtag-component .ph-wrapper .ph-item>*{margin-bottom:0}",""]);const r=i},95433:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(1519),i=e.n(s)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const r=i},17738:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(1519),i=e.n(s)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const r=i},1644:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(1519),i=e.n(s)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const r=i},195:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(1519),i=e.n(s)()((function(t){return t[1]}));i.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const r=i},76812:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(1519),i=e.n(s)()((function(t){return t[1]}));i.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const r=i},79514:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),i=e.n(s),r=e(42061),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},2869:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),i=e.n(s),r=e(95433),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},92341:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),i=e.n(s),r=e(17738),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},64111:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),i=e.n(s),r=e(1644),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},7051:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),i=e.n(s),r=e(195),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},47781:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),i=e.n(s),r=e(76812),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},48266:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(71479),i=e(87801),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);e(90982);const n=(0,e(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},42755:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(87661),i=e(1374),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);e(72682);const n=(0,e(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},76429:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(5249),i=e(74778),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);const n=(0,e(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},73128:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(22356),i=e(163),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);const n=(0,e(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},78375:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(79325),i=e(2678),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);e(86965);const n=(0,e(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(7071),i=e(28058),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);e(11883);const n=(0,e(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},68296:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(48170),i=e(82834),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);e(89501);const n=(0,e(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},73459:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(72362),i=e(67476),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);e(75574);const n=(0,e(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},87801:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(56714),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},1374:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(89250),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},74778:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(29022),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},163:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(54076),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},2678:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(5540),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},28058:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(11188),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},82834:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(66925),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},67476:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(43762),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},71479:(t,a,e)=>{e.r(a);var s=e(50583),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},87661:(t,a,e)=>{e.r(a);var s=e(7231),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},5249:(t,a,e)=>{e.r(a);var s=e(73023),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},22356:(t,a,e)=>{e.r(a);var s=e(50554),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},79325:(t,a,e)=>{e.r(a);var s=e(20832),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},7071:(t,a,e)=>{e.r(a);var s=e(30964),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},48170:(t,a,e)=>{e.r(a);var s=e(78061),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},72362:(t,a,e)=>{e.r(a);var s=e(51948),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},90982:(t,a,e)=>{e.r(a);var s=e(79514),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},72682:(t,a,e)=>{e.r(a);var s=e(2869),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},86965:(t,a,e)=>{e.r(a);var s=e(92341),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},11883:(t,a,e)=>{e.r(a);var s=e(64111),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},89501:(t,a,e)=>{e.r(a);var s=e(7051),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},75574:(t,a,e)=>{e.r(a);var s=e(47781),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)}}]); \ No newline at end of file diff --git a/public/js/manifest.js b/public/js/manifest.js index a91c64b9d..e8f53e356 100644 --- a/public/js/manifest.js +++ b/public/js/manifest.js @@ -1 +1 @@ -(()=>{"use strict";var e,r,a,t={},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}o.m=t,e=[],o.O=(r,a,t,n)=>{if(!a){var d=1/0;for(l=0;l=n)&&Object.keys(o.O).every((e=>o.O[e](a[i])))?a.splice(i--,1):(c=!1,n0&&e[l-1][2]>n;l--)e[l]=e[l-1];e[l]=[a,t,n]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var a in r)o.o(r,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:r[a]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,a)=>(o.f[a](e,r),r)),[])),o.u=e=>"js/"+{1084:"profile~followers.bundle",1983:"kb.bundle",2470:"home.chunk",2521:"about.bundle",2530:"discover~myhashtags.chunk",2586:"compose.chunk",2732:"dms~message.chunk",3351:"discover~settings.chunk",3365:"dms.chunk",3623:"discover~findfriends.chunk",4028:"error404.bundle",4509:"static~privacy.bundle",4958:"discover.chunk",4965:"discover~memories.chunk",5865:"post.chunk",6053:"notifications.chunk",6869:"profile.chunk",7004:"help.bundle",7019:"discover~hashtag.bundle",8021:"contact.bundle",8250:"i18n.bundle",8517:"daci.chunk",8600:"changelog.bundle",8625:"profile~following.bundle",8900:"discover~serverfeed.chunk",9144:"static~tos.bundle"}[e]+"."+{1084:"fe353e697fb7660b",1983:"f6ebdaac1fd552ca",2470:"25bd77760873ee83",2521:"44a18841089fdde3",2530:"089b7465b2359979",2586:"c413851da244ae3f",2732:"1cfdf19c4525eafa",3351:"5757ad3940569422",3365:"91ab72a8dcd1a8a8",3623:"1aabfedaab1849ba",4028:"5075813f1b00e10d",4509:"24c230550b6938b2",4958:"4f1b3ea93df06670",4965:"70b04c7698c2172b",5865:"881f8b0a9934e053",6053:"1a834e4a7bdbf21a",6869:"0f947cc09af5c8c3",7004:"7c1195b63e04d568",7019:"76807a8ff71bd205",8021:"d6c1d467c11796b1",8250:"9b9bf1b64e2aa1c1",8517:"3f13ec9fc49e9d2b",8600:"7f58a5ccc6659eb2",8625:"c406db7b14d07d36",8900:"ff59ca12d08bb810",9144:"65caad6c0546d8c9"}[e]+".js",o.miniCssF=e=>({138:"css/spa",703:"css/admin",1242:"css/appdark",6170:"css/app",8737:"css/portfolio",9994:"css/landing"}[e]+".css"),o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},a="pixelfed:",o.l=(e,t,n,d)=>{if(r[e])r[e].push(t);else{var c,i;if(void 0!==n)for(var s=document.getElementsByTagName("script"),l=0;l{c.onerror=c.onload=null,clearTimeout(b);var n=r[e];if(delete r[e],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach((e=>e(t))),a)return a(t)},b=setTimeout(f.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=f.bind(null,c.onerror),c.onload=f.bind(null,c.onload),i&&document.head.appendChild(c)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.p="/",(()=>{var e={8929:0,1242:0,6170:0,8737:0,703:0,9994:0,138:0};o.f.j=(r,a)=>{var t=o.o(e,r)?e[r]:void 0;if(0!==t)if(t)a.push(t[2]);else if(/^(1242|138|6170|703|8737|8929|9994)$/.test(r))e[r]=0;else{var n=new Promise(((a,n)=>t=e[r]=[a,n]));a.push(t[2]=n);var d=o.p+o.u(r),c=new Error;o.l(d,(a=>{if(o.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var n=a&&("load"===a.type?"missing":a.type),d=a&&a.target&&a.target.src;c.message="Loading chunk "+r+" failed.\n("+n+": "+d+")",c.name="ChunkLoadError",c.type=n,c.request=d,t[1](c)}}),"chunk-"+r,r)}},o.O.j=r=>0===e[r];var r=(r,a)=>{var t,n,[d,c,i]=a,s=0;if(d.some((r=>0!==e[r]))){for(t in c)o.o(c,t)&&(o.m[t]=c[t]);if(i)var l=i(o)}for(r&&r(a);s{"use strict";var e,r,a,t={},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}o.m=t,e=[],o.O=(r,a,t,n)=>{if(!a){var d=1/0;for(l=0;l=n)&&Object.keys(o.O).every((e=>o.O[e](a[i])))?a.splice(i--,1):(c=!1,n0&&e[l-1][2]>n;l--)e[l]=e[l-1];e[l]=[a,t,n]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var a in r)o.o(r,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:r[a]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,a)=>(o.f[a](e,r),r)),[])),o.u=e=>"js/"+{1084:"profile~followers.bundle",1983:"kb.bundle",2470:"home.chunk",2521:"about.bundle",2530:"discover~myhashtags.chunk",2586:"compose.chunk",2732:"dms~message.chunk",3351:"discover~settings.chunk",3365:"dms.chunk",3623:"discover~findfriends.chunk",4028:"error404.bundle",4509:"static~privacy.bundle",4958:"discover.chunk",4965:"discover~memories.chunk",5865:"post.chunk",6053:"notifications.chunk",6869:"profile.chunk",7004:"help.bundle",7019:"discover~hashtag.bundle",8021:"contact.bundle",8250:"i18n.bundle",8517:"daci.chunk",8600:"changelog.bundle",8625:"profile~following.bundle",8900:"discover~serverfeed.chunk",9144:"static~tos.bundle"}[e]+"."+{1084:"fe353e697fb7660b",1983:"f6ebdaac1fd552ca",2470:"25bd77760873ee83",2521:"44a18841089fdde3",2530:"089b7465b2359979",2586:"c413851da244ae3f",2732:"1cfdf19c4525eafa",3351:"5757ad3940569422",3365:"91ab72a8dcd1a8a8",3623:"1aabfedaab1849ba",4028:"5075813f1b00e10d",4509:"24c230550b6938b2",4958:"4f1b3ea93df06670",4965:"70b04c7698c2172b",5865:"881f8b0a9934e053",6053:"1a834e4a7bdbf21a",6869:"0f947cc09af5c8c3",7004:"7c1195b63e04d568",7019:"279c3460159d3af7",8021:"d6c1d467c11796b1",8250:"9b9bf1b64e2aa1c1",8517:"3f13ec9fc49e9d2b",8600:"7f58a5ccc6659eb2",8625:"c406db7b14d07d36",8900:"ff59ca12d08bb810",9144:"65caad6c0546d8c9"}[e]+".js",o.miniCssF=e=>({138:"css/spa",703:"css/admin",1242:"css/appdark",6170:"css/app",8737:"css/portfolio",9994:"css/landing"}[e]+".css"),o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},a="pixelfed:",o.l=(e,t,n,d)=>{if(r[e])r[e].push(t);else{var c,i;if(void 0!==n)for(var s=document.getElementsByTagName("script"),l=0;l{c.onerror=c.onload=null,clearTimeout(b);var n=r[e];if(delete r[e],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach((e=>e(t))),a)return a(t)},b=setTimeout(f.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=f.bind(null,c.onerror),c.onload=f.bind(null,c.onload),i&&document.head.appendChild(c)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.p="/",(()=>{var e={8929:0,1242:0,6170:0,8737:0,703:0,9994:0,138:0};o.f.j=(r,a)=>{var t=o.o(e,r)?e[r]:void 0;if(0!==t)if(t)a.push(t[2]);else if(/^(1242|138|6170|703|8737|8929|9994)$/.test(r))e[r]=0;else{var n=new Promise(((a,n)=>t=e[r]=[a,n]));a.push(t[2]=n);var d=o.p+o.u(r),c=new Error;o.l(d,(a=>{if(o.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var n=a&&("load"===a.type?"missing":a.type),d=a&&a.target&&a.target.src;c.message="Loading chunk "+r+" failed.\n("+n+": "+d+")",c.name="ChunkLoadError",c.type=n,c.request=d,t[1](c)}}),"chunk-"+r,r)}},o.O.j=r=>0===e[r];var r=(r,a)=>{var t,n,[d,c,i]=a,s=0;if(d.some((r=>0!==e[r]))){for(t in c)o.o(c,t)&&(o.m[t]=c[t]);if(i)var l=i(o)}for(r&&r(a);s{"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)+"..."},timeAgo:function(e){return window.App.util.format.timeAgo(e)},formatCount:function(e){return e?new Intl.NumberFormat("en-CA",{notation:"compact",compactDisplay:"short"}).format(e):0},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}}}},986:(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 sr"},"li",n,!1),["account"===a.s_type?t("div",{staticClass:"media align-items-center my-0"},[t("img",{staticClass:"sr-avatar",staticStyle:{"border-radius":"40px"},attrs:{src:a.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.png?v=0';this.onerror=null;"}}),e._v(" "),t("div",{staticClass:"media-body sr-account"},[t("div",{staticClass:"sr-account-acct",class:{compact:a.acct&&a.acct.length>24}},[e._v("\n\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"),a.locked?t("b-button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.html",modifiers:{html:!0}}],staticClass:"p-0",attrs:{title:"Private Account",variant:"link",size:"sm"}},[t("i",{staticClass:"far fa-lock fa-sm text-lighter ml-1"})]):e._e()],1),e._v(" "),a.is_admin?[t("div",{staticClass:"sr-account-stats"},[t("div",{staticClass:"sr-account-stats-followers text-danger font-weight-bold"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\tAdmin\n\t\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("div",[e._v("·")]),e._v(" "),t("div",{staticClass:"sr-account-stats-followers font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(a.followers_count)))]),e._v(" "),t("span",[e._v("Followers")])])])]:[a.local?[t("div",{staticClass:"sr-account-stats"},[a.followers_count?t("div",{staticClass:"sr-account-stats-followers font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(a.followers_count)))]),e._v(" "),t("span",[e._v("Followers")])]):e._e(),e._v(" "),a.followers_count&&a.statuses_count?t("div",[e._v("·")]):e._e(),e._v(" "),a.statuses_count?t("div",{staticClass:"sr-account-stats-statuses font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(a.statuses_count)))]),e._v(" "),t("span",[e._v("Posts")])]):e._e(),e._v(" "),!a.followers_count&&a.statuses_count?t("div",[e._v("·")]):e._e(),e._v(" "),t("div",{staticClass:"sr-account-stats-statuses font-weight-bold"},[t("i",{staticClass:"far fa-clock fa-sm"}),e._v(" "),t("span",[e._v(e._s(e.timeAgo(a.created_at)))])])])]:[t("div",{staticClass:"sr-account-stats"},[a.followers_count?t("div",{staticClass:"sr-account-stats-followers font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(a.followers_count)))]),e._v(" "),t("span",[e._v("Followers")])]):e._e(),e._v(" "),a.followers_count&&a.statuses_count?t("div",[e._v("·")]):e._e(),e._v(" "),a.statuses_count?t("div",{staticClass:"sr-account-stats-statuses font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(a.statuses_count)))]),e._v(" "),t("span",[e._v("Posts")])]):e._e(),e._v(" "),!a.followers_count&&a.statuses_count?t("div",[e._v("·")]):e._e(),e._v(" "),a.followers_count||a.statuses_count?e._e():t("div",{staticClass:"sr-account-stats-statuses font-weight-bold"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemote Account\n\t\t\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),a.followers_count||a.statuses_count?e._e():t("div",[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t·\n\t\t\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("b-button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.html",modifiers:{html:!0}}],staticClass:"sr-account-stats-statuses p-0",attrs:{title:"Joined "+e.timeAgo(a.created_at)+" ago",variant:"link",size:"sm"}},[t("i",{staticClass:"far fa-clock fa-sm"}),e._v(" "),t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.timeAgo(a.created_at)))])])],1)]]],2)]):"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 sr-tag"},[t("div",{staticClass:"sr-tag-name",class:{compact:a.name&&a.name.length>26}},[e._v("\n\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")]),e._v(" "),a.count&&a.count>100?t("div",{staticClass:"sr-tag-count"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.formatCount(a.count))+" "+e._s(1==a.count?"Post":"Posts")+"\n\t\t\t\t\t\t\t\t\t\t")]):e._e()])]):"status"===a.s_type?t("div",{staticClass:"media align-items-center my-0"},[t("img",{staticClass:"sr-avatar",staticStyle:{"border-radius":"40px"},attrs:{src:a.account.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.png?v=0';this.onerror=null;"}}),e._v(" "),t("div",{staticClass:"media-body sr-post"},[t("div",{staticClass:"sr-post-acct",class:{compact:a.acct&&a.acct.length>26}},[e._v("\n\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"),a.locked?t("b-button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.html",modifiers:{html:!0}}],staticClass:"p-0",attrs:{title:"Private Account",variant:"link",size:"sm"}},[t("i",{staticClass:"far fa-lock fa-sm text-lighter ml-1"})]):e._e()],1),e._v(" "),t("div",{staticClass:"sr-post-action"},[t("div",{staticClass:"sr-post-action-timestamp"},[t("i",{staticClass:"far fa-clock fa-sm"}),e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.timeAgo(a.created_at))+"\n\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("div",[e._v("·")]),e._v(" "),t("div",{staticClass:"sr-post-action-label"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\tTap to view post\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,u=!!t.ArrayBuffer,d=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 u=new Uint8Array(r);u.set(s),s=u}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+u<=t)switch(u){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,u=1):c>65535&&(c-=65536,o.push(c>>>10&1023|55296),c=56320|1023&c),o.push(c),a+=u}var d=o.length,m="";for(a=0;a>2,u=(3&n)<<4|r>>4,d=(15&r)<<2|l>>6,m=63&l;s||(m=64,i||(d=64)),o.push(t[c],t[u],t[d],t[m])}return o.join("")}var a=Object.create||function(e){function t(){}return t.prototype=e,new t};if(u)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],u=0,d=0;i--;)n=e.charCodeAt(s++),255!==(a=t[n-43])&&undefined!==a&&(c[1]=c[0],c[0]=n,d=d<<6|a,4===++u&&(r[l++]=d>>>16,61!==c[1]&&(r[l++]=d>>>8),61!==c[0]&&(r[l++]=d),u=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(","),u=l.substring(c+1),d=i.test(l.substring(0,c));Blob.fake?((a=new Blob).encoding=d?"base64":"URI",a.data=u,a.size=u.length):o&&(a=d?new Blob([s(u)],{type:t}):new Blob([decodeURIComponent(u)],{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),u=o(16654),d=o.n(u),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 u(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d={};function m(){}function p(){}function f(){}var h={};l(h,i,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(z([])));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=u(e[a],e,i);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==S(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,r,s)}),(function(e){n("throw",e,r,s)})):t.resolve(d).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 M()}for(o.method=n,o.arg=i;;){var r=o.delegate;if(r){var s=x(r,o);if(s){if(s===d)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=u(e,t,o);if("normal"===l.type){if(a=o.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:o.done}}"throw"===l.type&&(a="completed",o.method="throw",o.arg=l.arg)}}}function x(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,x(e,t),"throw"===t.method)||"return"!==o&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+o+"' method")),d;var n=u(a,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,d;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,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}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 z(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),d}},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:z(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=void 0),d}},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&",'