diff --git a/CHANGELOG.md b/CHANGELOG.md index a31f84624..890aa4908 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## [Unreleased](https://github.com/pixelfed/pixelfed/compare/v0.11.3...dev) +### New Features +- Custom content warnings/spoiler text ([d4864213](https://github.com/pixelfed/pixelfed/commit/d4864213)) + ### Breaking - Replaced `predis` with `phpredis` as default redis driver due to predis being deprecated, install [phpredis](https://github.com/phpredis/phpredis/blob/develop/INSTALL.markdown) if you're still using predis. @@ -18,6 +21,7 @@ - Update exp config, enforce mastoapi compatibility by default ([a160b233](https://github.com/pixelfed/pixelfed/commit/a160b233)) - Update home timeline, redirect to /i/web unless force_old_ui is present ([5ff4730f](https://github.com/pixelfed/pixelfed/commit/5ff4730f)) - Update adminReportController, fix mail verification request 500 bug by changing filter precedence to catch deleted users that may still be cached in AccountService ([3f322e29](https://github.com/pixelfed/pixelfed/commit/3f322e29)) +- Update AP Helpers, fix getSensitive and getScope missing parameters ([657c66c1](https://github.com/pixelfed/pixelfed/commit/657c66c1)) ## [v0.11.3 (2022-05-09)](https://github.com/pixelfed/pixelfed/compare/v0.11.2...v0.11.3) diff --git a/app/Http/Controllers/Api/ApiV1Controller.php b/app/Http/Controllers/Api/ApiV1Controller.php index b7929f34c..84dadfbb3 100644 --- a/app/Http/Controllers/Api/ApiV1Controller.php +++ b/app/Http/Controllers/Api/ApiV1Controller.php @@ -2289,6 +2289,7 @@ class ApiV1Controller extends Controller 'media_ids' => 'sometimes|array|max:' . config_cache('pixelfed.max_album_length'), 'sensitive' => 'nullable', 'visibility' => 'string|in:private,unlisted,public', + 'spoiler_text' => 'sometimes|string|max:140', ]); if(config('costar.enabled') == true) { @@ -2338,6 +2339,8 @@ class ApiV1Controller extends Controller $content = strip_tags($request->input('status')); $rendered = Autolink::create()->autolink($content); + $cw = $user->profile->cw == true ? true : $request->input('sensitive', false); + $spoilerText = $cw && $request->filled('spoiler_text') ? $request->input('spoiler_text') : null; if($in_reply_to_id) { $parent = Status::findOrFail($in_reply_to_id); @@ -2348,7 +2351,8 @@ class ApiV1Controller extends Controller $status->scope = $visibility; $status->visibility = $visibility; $status->profile_id = $user->profile_id; - $status->is_nsfw = $user->profile->cw == true ? true : $request->input('sensitive', false); + $status->is_nsfw = $cw; + $status->cw_summary = $spoilerText; $status->in_reply_to_id = $parent->id; $status->in_reply_to_profile_id = $parent->profile_id; $status->save(); @@ -2371,7 +2375,8 @@ class ApiV1Controller extends Controller $status->rendered = $rendered; $status->profile_id = $user->profile_id; $status->scope = 'draft'; - $status->is_nsfw = $user->profile->cw == true ? true : $request->input('sensitive', false); + $status->is_nsfw = $cw; + $status->cw_summary = $spoilerText; $status->save(); } diff --git a/app/Http/Controllers/ComposeController.php b/app/Http/Controllers/ComposeController.php index d420c79a1..b6b40bc6e 100644 --- a/app/Http/Controllers/ComposeController.php +++ b/app/Http/Controllers/ComposeController.php @@ -453,6 +453,7 @@ class ComposeController extends Controller 'tagged' => 'nullable', 'license' => 'nullable|integer|min:1|max:16', 'collections' => 'sometimes|array|min:1|max:5', + 'spoiler_text' => 'nullable|string|max:140', // 'optimize_media' => 'nullable' ]); @@ -540,6 +541,10 @@ class ComposeController extends Controller $status->comments_disabled = (bool) $request->input('comments_disabled'); } + if($request->filled('spoiler_text') && $cw) { + $status->cw_summary = $request->input('spoiler_text'); + } + $status->caption = strip_tags($request->caption); $status->rendered = Autolink::create()->autolink($status->caption); $status->scope = 'draft'; diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php index 318b75919..1e1a1e996 100644 --- a/app/Http/Controllers/SettingsController.php +++ b/app/Http/Controllers/SettingsController.php @@ -208,7 +208,7 @@ class SettingsController extends Controller $opencollective = Str::startsWith($opencollective, 'opencollective.com/') ? e($opencollective) : null; if(empty($patreon) && empty($liberapay) && empty($opencollective)) { - return redirect(route('settings'))->with('error', 'An error occured. Please try again later.');; + return redirect(route('settings'))->with('error', 'An error occured. Please try again later.'); } $res = [ @@ -251,7 +251,7 @@ class SettingsController extends Controller } else { Redis::zrem('pf:tl:replies', $pid); } - return redirect(route('settings'))->with('status', 'Timeline settings successfully updated!');; + return redirect(route('settings'))->with('status', 'Timeline settings successfully updated!'); } public function mediaSettings(Request $request) diff --git a/app/Services/HashidService.php b/app/Services/HashidService.php index 81c15c24a..aa1211af2 100644 --- a/app/Services/HashidService.php +++ b/app/Services/HashidService.php @@ -22,7 +22,7 @@ class HashidService { while($id) { $id = ($id - ($r = $id % $base)) / $base; $shortcode = $cmap[$r] . $shortcode; - }; + } return $shortcode; }); } diff --git a/app/Transformer/ActivityPub/Verb/CreateNote.php b/app/Transformer/ActivityPub/Verb/CreateNote.php index 99cdcad34..1265cc258 100644 --- a/app/Transformer/ActivityPub/Verb/CreateNote.php +++ b/app/Transformer/ActivityPub/Verb/CreateNote.php @@ -93,7 +93,7 @@ class CreateNote extends Fractal\TransformerAbstract 'object' => [ 'id' => $status->url(), 'type' => 'Note', - 'summary' => null, + 'summary' => $status->is_nsfw ? $status->cw_summary : null, 'content' => $status->rendered ?? $status->caption, 'inReplyTo' => $status->in_reply_to_id ? $status->parent()->url() : null, 'published' => $status->created_at->toAtomString(), diff --git a/app/Transformer/ActivityPub/Verb/Note.php b/app/Transformer/ActivityPub/Verb/Note.php index 629a7c00b..939699890 100644 --- a/app/Transformer/ActivityPub/Verb/Note.php +++ b/app/Transformer/ActivityPub/Verb/Note.php @@ -87,7 +87,7 @@ class Note extends Fractal\TransformerAbstract ], 'id' => $status->url(), 'type' => 'Note', - 'summary' => null, + 'summary' => $status->is_nsfw ? $status->cw_summary : null, 'content' => $status->rendered ?? $status->caption, 'inReplyTo' => $status->in_reply_to_id ? $status->parent()->url() : null, 'published' => $status->created_at->toAtomString(), diff --git a/app/Util/ActivityPub/Helpers.php b/app/Util/ActivityPub/Helpers.php index b29d25aa2..e24613e22 100644 --- a/app/Util/ActivityPub/Helpers.php +++ b/app/Util/ActivityPub/Helpers.php @@ -455,8 +455,8 @@ class Helpers { return DB::transaction(function() use($url, $profile, $activity, $reply_to, $id) { $ts = self::pluckval($activity['published']); - $scope = self::getScope($activity); - $cw = self::getSensitive($activity); + $scope = self::getScope($activity, $url); + $cw = self::getSensitive($activity, $url); $pid = is_object($profile) ? $profile->id : (is_array($profile) ? $profile['id'] : null); if(!$pid) { @@ -493,7 +493,7 @@ class Helpers { }); } - public static function getSensitive($activity) + public static function getSensitive($activity, $url) { $id = isset($activity['id']) ? self::pluckval($activity['id']) : self::pluckval($url); $url = isset($activity['url']) ? self::pluckval($activity['url']) : $id; @@ -527,7 +527,7 @@ class Helpers { return $reply_to; } - public static function getScope($activity) + public static function getScope($activity, $url) { $id = isset($activity['id']) ? self::pluckval($activity['id']) : self::pluckval($url); $url = isset($activity['url']) ? self::pluckval($activity['url']) : $id; diff --git a/public/css/app.css b/public/css/app.css index 59cc6229d..f543207e7 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -14,4 +14,4 @@ * Copyright 2011-2021 The Bootstrap Authors * Copyright 2011-2021 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#2c78bf;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#212529;--muted:#697179;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:sans-serif;line-height:1.15}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{background-color:rgba(247,251,253,.471);color:#212529;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.9rem;font-weight:400;line-height:1.6;margin:0;text-align:left}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;margin-top:0}p{margin-bottom:1rem;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{background-color:transparent;color:#2c78bf;text-decoration:none}a:hover{color:#1e5181;text-decoration:underline}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{-ms-overflow-style:scrollbar;margin-bottom:1rem;margin-top:0;overflow:auto}figure{margin:0 0 1rem}img{border-style:none}img,svg{vertical-align:middle}svg{overflow:hidden}table{border-collapse:collapse}caption{caption-side:bottom;color:#6c757d;padding-bottom:.75rem;padding-top:.75rem;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5rem;line-height:inherit;margin-bottom:.5rem;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{cursor:pointer;display:list-item}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-weight:500;line-height:1.2;margin-bottom:.5rem}.h1,h1{font-size:2.25rem}.h2,h2{font-size:1.8rem}.h3,h3{font-size:1.575rem}.h4,h4{font-size:1.35rem}.h5,h5{font-size:1.125rem}.h6,h6{font-size:.9rem}.lead{font-size:1.125rem;font-weight:300}.display-1{font-size:6rem}.display-1,.display-2{font-weight:300;line-height:1.2}.display-2{font-size:5.5rem}.display-3{font-size:4.5rem}.display-3,.display-4{font-weight:300;line-height:1.2}.display-4{font-size:3.5rem}hr{border:0;border-top:1px solid rgba(0,0,0,.1);margin-bottom:1rem;margin-top:1rem}.small,small{font-size:80%;font-weight:400}.mark,mark{background-color:#fcf8e3;padding:.2em}.list-inline,.list-unstyled{list-style:none;padding-left:0}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{font-size:1.125rem;margin-bottom:1rem}.blockquote-footer{color:#6c757d;display:block;font-size:80%}.blockquote-footer:before{content:"— "}.img-fluid,.img-thumbnail{height:auto;max-width:100%}.img-thumbnail{background-color:rgba(247,251,253,.471);border:1px solid #dee2e6;border-radius:.25rem;padding:.25rem}.figure{display:inline-block}.figure-img{line-height:1;margin-bottom:.5rem}.figure-caption{color:#6c757d;font-size:90%}code{word-wrap:break-word;color:#e83e8c;font-size:87.5%}a>code{color:inherit}kbd{background-color:#212529;border-radius:.2rem;color:#fff;font-size:87.5%;padding:.2rem .4rem}kbd kbd{font-size:100%;font-weight:700;padding:0}pre{color:#212529;display:block;font-size:87.5%}pre code{color:inherit;font-size:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;width:100%}@media(min-width:576px){.container,.container-sm{max-width:540px}}@media(min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media(min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media(min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:flex;flex-wrap:wrap;margin-left:-15px;margin-right:-15px}.no-gutters{margin-left:0;margin-right:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-left:0;padding-right:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{padding-left:15px;padding-right:15px;position:relative;width:100%}.col{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-1>*{flex:0 0 100%;max-width:100%}.row-cols-2>*{flex:0 0 50%;max-width:50%}.row-cols-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-4>*{flex:0 0 25%;max-width:25%}.row-cols-5>*{flex:0 0 20%;max-width:20%}.row-cols-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-auto{flex:0 0 auto;max-width:100%;width:auto}.col-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-3{flex:0 0 25%;max-width:25%}.col-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-6{flex:0 0 50%;max-width:50%}.col-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-9{flex:0 0 75%;max-width:75%}.col-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-12{flex:0 0 100%;max-width:100%}.order-first{order:-1}.order-last{order:13}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}@media(min-width:576px){.col-sm{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-sm-1>*{flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-sm-auto{flex:0 0 auto;max-width:100%;width:auto}.col-sm-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-sm-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-sm-3{flex:0 0 25%;max-width:25%}.col-sm-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-sm-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-sm-6{flex:0 0 50%;max-width:50%}.col-sm-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-sm-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-sm-9{flex:0 0 75%;max-width:75%}.col-sm-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-sm-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-sm-12{flex:0 0 100%;max-width:100%}.order-sm-first{order:-1}.order-sm-last{order:13}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}}@media(min-width:768px){.col-md{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-md-1>*{flex:0 0 100%;max-width:100%}.row-cols-md-2>*{flex:0 0 50%;max-width:50%}.row-cols-md-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-md-4>*{flex:0 0 25%;max-width:25%}.row-cols-md-5>*{flex:0 0 20%;max-width:20%}.row-cols-md-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-md-auto{flex:0 0 auto;max-width:100%;width:auto}.col-md-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-md-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-md-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-md-6{flex:0 0 50%;max-width:50%}.col-md-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-md-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-md-9{flex:0 0 75%;max-width:75%}.col-md-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-md-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-md-12{flex:0 0 100%;max-width:100%}.order-md-first{order:-1}.order-md-last{order:13}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}}@media(min-width:992px){.col-lg{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-lg-1>*{flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-lg-auto{flex:0 0 auto;max-width:100%;width:auto}.col-lg-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-lg-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-lg-3{flex:0 0 25%;max-width:25%}.col-lg-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-lg-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-lg-6{flex:0 0 50%;max-width:50%}.col-lg-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-lg-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-lg-9{flex:0 0 75%;max-width:75%}.col-lg-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-lg-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-lg-12{flex:0 0 100%;max-width:100%}.order-lg-first{order:-1}.order-lg-last{order:13}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}}@media(min-width:1200px){.col-xl{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-xl-1>*{flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-xl-auto{flex:0 0 auto;max-width:100%;width:auto}.col-xl-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-xl-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-xl-3{flex:0 0 25%;max-width:25%}.col-xl-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-xl-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-xl-6{flex:0 0 50%;max-width:50%}.col-xl-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-xl-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-xl-9{flex:0 0 75%;max-width:75%}.col-xl-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-xl-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-xl-12{flex:0 0 100%;max-width:100%}.order-xl-first{order:-1}.order-xl-last{order:13}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}}.table{color:#212529;margin-bottom:1rem;width:100%}.table td,.table th{border-top:1px solid #dee2e6;padding:.75rem;vertical-align:top}.table thead th{border-bottom:2px solid #dee2e6;vertical-align:bottom}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered,.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{background-color:rgba(0,0,0,.075);color:#212529}.table-primary,.table-primary>td,.table-primary>th{background-color:#c4d9ed}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#91b9de}.table-hover .table-primary:hover,.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#b0cce7}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover,.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover,.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover,.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover,.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover,.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover,.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c1c2c3}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#8c8e90}.table-hover .table-dark:hover,.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b4b5b6}.table-muted,.table-muted>td,.table-muted>th{background-color:#d5d7d9}.table-muted tbody+tbody,.table-muted td,.table-muted th,.table-muted thead th{border-color:#b1b5b9}.table-hover .table-muted:hover,.table-hover .table-muted:hover>td,.table-hover .table-muted:hover>th{background-color:#c8cacd}.table-active,.table-active>td,.table-active>th,.table-hover .table-active:hover,.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{background-color:#343a40;border-color:#454d55;color:#fff}.table .thead-light th{background-color:#e9ecef;border-color:#dee2e6;color:#495057}.table-dark{background-color:#343a40;color:#fff}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:hsla(0,0%,100%,.05)}.table-dark.table-hover tbody tr:hover{background-color:hsla(0,0%,100%,.075);color:#fff}@media(max-width:575.98px){.table-responsive-sm{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-sm>.table-bordered{border:0}}@media(max-width:767.98px){.table-responsive-md{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-md>.table-bordered{border:0}}@media(max-width:991.98px){.table-responsive-lg{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-lg>.table-bordered{border:0}}@media(max-width:1199.98px){.table-responsive-xl{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive>.table-bordered{border:0}.form-control{background-clip:padding-box;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem;color:#495057;display:block;font-size:.9rem;font-weight:400;height:2.375rem;line-height:1.6;padding:.375rem .75rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:focus{background-color:#fff;border-color:#87b7e3;box-shadow:0 0 0 .2rem rgba(44,120,191,.25);color:#495057;outline:0}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control:-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{-webkit-appearance:none;-moz-appearance:none;appearance:none}select.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}select.form-control:focus::-ms-value{background-color:#fff;color:#495057}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{font-size:inherit;line-height:1.6;margin-bottom:0;padding-bottom:calc(.375rem + 1px);padding-top:calc(.375rem + 1px)}.col-form-label-lg{font-size:1.125rem;line-height:1.5;padding-bottom:calc(.5rem + 1px);padding-top:calc(.5rem + 1px)}.col-form-label-sm{font-size:.7875rem;line-height:1.5;padding-bottom:calc(.25rem + 1px);padding-top:calc(.25rem + 1px)}.form-control-plaintext{background-color:transparent;border:solid transparent;border-width:1px 0;color:#212529;display:block;font-size:.9rem;line-height:1.6;margin-bottom:0;padding:.375rem 0;width:100%}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-left:0;padding-right:0}.form-control-sm{border-radius:.2rem;font-size:.7875rem;height:1.9375rem;line-height:1.5;padding:.25rem .5rem}.form-control-lg{border-radius:.3rem;font-size:1.125rem;height:3rem;line-height:1.5;padding:.5rem 1rem}select.form-control[multiple],select.form-control[size],textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:flex;flex-wrap:wrap;margin-left:-5px;margin-right:-5px}.form-row>.col,.form-row>[class*=col-]{padding-left:5px;padding-right:5px}.form-check{display:block;padding-left:1.25rem;position:relative}.form-check-input{margin-left:-1.25rem;margin-top:.3rem;position:absolute}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{align-items:center;display:inline-flex;margin-right:.75rem;padding-left:0}.form-check-inline .form-check-input{margin-left:0;margin-right:.3125rem;margin-top:0;position:static}.valid-feedback{color:#28a745;display:none;font-size:80%;margin-top:.25rem;width:100%}.valid-tooltip{background-color:rgba(40,167,69,.9);border-radius:.25rem;color:#fff;display:none;font-size:.7875rem;left:0;line-height:1.6;margin-top:.1rem;max-width:100%;padding:.25rem .5rem;position:absolute;top:100%;z-index:5}.form-row>.col>.valid-tooltip,.form-row>[class*=col-]>.valid-tooltip{left:5px}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%2328a745' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");background-position:right calc(.4em + .1875rem) center;background-repeat:no-repeat;background-size:calc(.8em + .375rem) calc(.8em + .375rem);border-color:#28a745;padding-right:calc(1.6em + .75rem)!important}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.was-validated select.form-control:valid,select.form-control.is-valid{background-position:right 1.5rem center;padding-right:3rem!important}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{background-position:top calc(.4em + .1875rem) right calc(.4em + .1875rem);padding-right:calc(1.6em + .75rem)}.custom-select.is-valid,.was-validated .custom-select:valid{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%2328a745' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E") center right 1.75rem/calc(.8em + .375rem) calc(.8em + .375rem) no-repeat;border-color:#28a745;padding-right:calc(.75em + 2.3125rem)!important}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label:before,.was-validated .custom-control-input:valid~.custom-control-label:before{border-color:#28a745}.custom-control-input.is-valid:checked~.custom-control-label:before,.was-validated .custom-control-input:valid:checked~.custom-control-label:before{background-color:#34ce57;border-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label:before,.was-validated .custom-control-input:valid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label:before{border-color:#28a745}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.invalid-feedback{color:#dc3545;display:none;font-size:80%;margin-top:.25rem;width:100%}.invalid-tooltip{background-color:rgba(220,53,69,.9);border-radius:.25rem;color:#fff;display:none;font-size:.7875rem;left:0;line-height:1.6;margin-top:.1rem;max-width:100%;padding:.25rem .5rem;position:absolute;top:100%;z-index:5}.form-row>.col>.invalid-tooltip,.form-row>[class*=col-]>.invalid-tooltip{left:5px}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E");background-position:right calc(.4em + .1875rem) center;background-repeat:no-repeat;background-size:calc(.8em + .375rem) calc(.8em + .375rem);border-color:#dc3545;padding-right:calc(1.6em + .75rem)!important}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.was-validated select.form-control:invalid,select.form-control.is-invalid{background-position:right 1.5rem center;padding-right:3rem!important}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{background-position:top calc(.4em + .1875rem) right calc(.4em + .1875rem);padding-right:calc(1.6em + .75rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E") center right 1.75rem/calc(.8em + .375rem) calc(.8em + .375rem) no-repeat;border-color:#dc3545;padding-right:calc(.75em + 2.3125rem)!important}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label:before,.was-validated .custom-control-input:invalid~.custom-control-label:before{border-color:#dc3545}.custom-control-input.is-invalid:checked~.custom-control-label:before,.was-validated .custom-control-input:invalid:checked~.custom-control-label:before{background-color:#e4606d;border-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label:before{border-color:#dc3545}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-inline{align-items:center;display:flex;flex-flow:row wrap}.form-inline .form-check{width:100%}@media(min-width:576px){.form-inline label{justify-content:center}.form-inline .form-group,.form-inline label{align-items:center;display:flex;margin-bottom:0}.form-inline .form-group{flex:0 0 auto;flex-flow:row wrap}.form-inline .form-control{display:inline-block;vertical-align:middle;width:auto}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{align-items:center;display:flex;justify-content:center;padding-left:0;width:auto}.form-inline .form-check-input{flex-shrink:0;margin-left:0;margin-right:.25rem;margin-top:0;position:relative}.form-inline .custom-control{align-items:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{background-color:transparent;border:1px solid transparent;border-radius:.25rem;color:#212529;display:inline-block;font-size:.9rem;font-weight:400;line-height:1.6;padding:.375rem .75rem;text-align:center;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}@media(prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:0}.btn.disabled,.btn:disabled{opacity:.65}.btn:not(:disabled):not(.disabled){cursor:pointer}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-primary.focus,.btn-primary:focus,.btn-primary:hover{background-color:#2564a0;border-color:#225e96;color:#fff}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem rgba(76,140,201,.5)}.btn-primary.disabled,.btn-primary:disabled{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{background-color:#225e96;border-color:#20578b;color:#fff}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(76,140,201,.5)}.btn-secondary{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-secondary.focus,.btn-secondary:focus,.btn-secondary:hover{background-color:#5a6268;border-color:#545b62;color:#fff}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 0 0 .2rem hsla(208,6%,54%,.5)}.btn-secondary.disabled,.btn-secondary:disabled{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{background-color:#545b62;border-color:#4e555b;color:#fff}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(208,6%,54%,.5)}.btn-success{background-color:#28a745;border-color:#28a745;color:#fff}.btn-success.focus,.btn-success:focus,.btn-success:hover{background-color:#218838;border-color:#1e7e34;color:#fff}.btn-success.focus,.btn-success:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-success.disabled,.btn-success:disabled{background-color:#28a745;border-color:#28a745;color:#fff}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{background-color:#1e7e34;border-color:#1c7430;color:#fff}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-info{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-info.focus,.btn-info:focus,.btn-info:hover{background-color:#138496;border-color:#117a8b;color:#fff}.btn-info.focus,.btn-info:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-info.disabled,.btn-info:disabled{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{background-color:#117a8b;border-color:#10707f;color:#fff}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-warning{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-warning.focus,.btn-warning:focus,.btn-warning:hover{background-color:#e0a800;border-color:#d39e00;color:#212529}.btn-warning.focus,.btn-warning:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-warning.disabled,.btn-warning:disabled{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{background-color:#d39e00;border-color:#c69500;color:#212529}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-danger{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-danger.focus,.btn-danger:focus,.btn-danger:hover{background-color:#c82333;border-color:#bd2130;color:#fff}.btn-danger.focus,.btn-danger:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{background-color:#bd2130;border-color:#b21f2d;color:#fff}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-light{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-light.focus,.btn-light:focus,.btn-light:hover{background-color:#e2e6ea;border-color:#dae0e5;color:#212529}.btn-light.focus,.btn-light:focus{box-shadow:0 0 0 .2rem hsla(220,4%,85%,.5)}.btn-light.disabled,.btn-light:disabled{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{background-color:#dae0e5;border-color:#d3d9df;color:#212529}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(220,4%,85%,.5)}.btn-dark{background-color:#212529;border-color:#212529;color:#fff}.btn-dark.focus,.btn-dark:focus,.btn-dark:hover{background-color:#101214;border-color:#0a0c0d;color:#fff}.btn-dark.focus,.btn-dark:focus{box-shadow:0 0 0 .2rem rgba(66,70,73,.5)}.btn-dark.disabled,.btn-dark:disabled{background-color:#212529;border-color:#212529;color:#fff}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{background-color:#0a0c0d;border-color:#050506;color:#fff}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(66,70,73,.5)}.btn-muted{background-color:#697179;border-color:#697179;color:#fff}.btn-muted.focus,.btn-muted:focus,.btn-muted:hover{background-color:#575e65;border-color:#51585e;color:#fff}.btn-muted.focus,.btn-muted:focus{box-shadow:0 0 0 .2rem hsla(212,5%,53%,.5)}.btn-muted.disabled,.btn-muted:disabled{background-color:#697179;border-color:#697179;color:#fff}.btn-muted:not(:disabled):not(.disabled).active,.btn-muted:not(:disabled):not(.disabled):active,.show>.btn-muted.dropdown-toggle{background-color:#51585e;border-color:#4b5157;color:#fff}.btn-muted:not(:disabled):not(.disabled).active:focus,.btn-muted:not(:disabled):not(.disabled):active:focus,.show>.btn-muted.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(212,5%,53%,.5)}.btn-outline-primary{border-color:#2c78bf;color:#2c78bf}.btn-outline-primary:hover{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{background-color:transparent;color:#2c78bf}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.5)}.btn-outline-secondary{border-color:#6c757d;color:#6c757d}.btn-outline-secondary:hover{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem hsla(208,7%,46%,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{background-color:transparent;color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(208,7%,46%,.5)}.btn-outline-success{border-color:#28a745;color:#28a745}.btn-outline-success:hover{background-color:#28a745;border-color:#28a745;color:#fff}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{background-color:transparent;color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{background-color:#28a745;border-color:#28a745;color:#fff}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-info{border-color:#17a2b8;color:#17a2b8}.btn-outline-info:hover{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{background-color:transparent;color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-warning{border-color:#ffc107;color:#ffc107}.btn-outline-warning:hover{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{background-color:transparent;color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-danger{border-color:#dc3545;color:#dc3545}.btn-outline-danger:hover{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{background-color:transparent;color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-light{border-color:#f8f9fa;color:#f8f9fa}.btn-outline-light:hover{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{background-color:transparent;color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-dark{border-color:#212529;color:#212529}.btn-outline-dark:hover{background-color:#212529;border-color:#212529;color:#fff}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem rgba(33,37,41,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{background-color:transparent;color:#212529}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{background-color:#212529;border-color:#212529;color:#fff}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(33,37,41,.5)}.btn-outline-muted{border-color:#697179;color:#697179}.btn-outline-muted:hover{background-color:#697179;border-color:#697179;color:#fff}.btn-outline-muted.focus,.btn-outline-muted:focus{box-shadow:0 0 0 .2rem hsla(210,7%,44%,.5)}.btn-outline-muted.disabled,.btn-outline-muted:disabled{background-color:transparent;color:#697179}.btn-outline-muted:not(:disabled):not(.disabled).active,.btn-outline-muted:not(:disabled):not(.disabled):active,.show>.btn-outline-muted.dropdown-toggle{background-color:#697179;border-color:#697179;color:#fff}.btn-outline-muted:not(:disabled):not(.disabled).active:focus,.btn-outline-muted:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-muted.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(210,7%,44%,.5)}.btn-link{color:#2c78bf;font-weight:400;text-decoration:none}.btn-link:hover{color:#1e5181}.btn-link.focus,.btn-link:focus,.btn-link:hover{text-decoration:underline}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{border-radius:.3rem;font-size:1.125rem;line-height:1.5;padding:.5rem 1rem}.btn-group-sm>.btn,.btn-sm{border-radius:.2rem;font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media(prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;position:relative;transition:height .35s ease}@media(prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{border-bottom:0;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:.3em solid;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu,span.twitter-typeahead .tt-menu{background-clip:padding-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;color:#212529;display:none;float:left;font-size:.9rem;left:0;list-style:none;margin:.125rem 0 0;min-width:10rem;padding:.5rem 0;position:absolute;text-align:left;top:100%;z-index:1000}.dropdown-menu-left{left:0;right:auto}.dropdown-menu-right{left:auto;right:0}@media(min-width:576px){.dropdown-menu-sm-left{left:0;right:auto}.dropdown-menu-sm-right{left:auto;right:0}}@media(min-width:768px){.dropdown-menu-md-left{left:0;right:auto}.dropdown-menu-md-right{left:auto;right:0}}@media(min-width:992px){.dropdown-menu-lg-left{left:0;right:auto}.dropdown-menu-lg-right{left:auto;right:0}}@media(min-width:1200px){.dropdown-menu-xl-left{left:0;right:auto}.dropdown-menu-xl-right{left:auto;right:0}}.dropup .dropdown-menu,.dropup span.twitter-typeahead .tt-menu,span.twitter-typeahead .dropup .tt-menu{bottom:100%;margin-bottom:.125rem;margin-top:0;top:auto}.dropup .dropdown-toggle:after{border-bottom:.3em solid;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:0;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-menu,.dropright span.twitter-typeahead .tt-menu,span.twitter-typeahead .dropright .tt-menu{left:100%;margin-left:.125rem;margin-top:0;right:auto;top:0}.dropright .dropdown-toggle:after{border-bottom:.3em solid transparent;border-left:.3em solid;border-right:0;border-top:.3em solid transparent;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropright .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-toggle:after{vertical-align:0}.dropleft .dropdown-menu,.dropleft span.twitter-typeahead .tt-menu,span.twitter-typeahead .dropleft .tt-menu{left:auto;margin-right:.125rem;margin-top:0;right:100%;top:0}.dropleft .dropdown-toggle:after{content:"";display:inline-block;display:none;margin-left:.255em;vertical-align:.255em}.dropleft .dropdown-toggle:before{border-bottom:.3em solid transparent;border-right:.3em solid;border-top:.3em solid transparent;content:"";display:inline-block;margin-right:.255em;vertical-align:.255em}.dropleft .dropdown-toggle:empty:after{margin-left:0}.dropleft .dropdown-toggle:before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top],span.twitter-typeahead [x-placement^=bottom].tt-menu,span.twitter-typeahead [x-placement^=left].tt-menu,span.twitter-typeahead [x-placement^=right].tt-menu,span.twitter-typeahead [x-placement^=top].tt-menu{bottom:auto;right:auto}.dropdown-divider{border-top:1px solid #e9ecef;height:0;margin:.5rem 0;overflow:hidden}.dropdown-item,span.twitter-typeahead .tt-suggestion{background-color:transparent;border:0;clear:both;color:#212529;display:block;font-weight:400;padding:.25rem 1.5rem;text-align:inherit;white-space:nowrap;width:100%}.dropdown-item:focus,.dropdown-item:hover,span.twitter-typeahead .tt-suggestion:focus,span.twitter-typeahead .tt-suggestion:hover{background-color:#e9ecef;color:#16181b;text-decoration:none}.dropdown-item.active,.dropdown-item:active,span.twitter-typeahead .active.tt-suggestion,span.twitter-typeahead .tt-suggestion:active{background-color:#2c78bf;color:#fff;text-decoration:none}.dropdown-item.disabled,.dropdown-item:disabled,span.twitter-typeahead .disabled.tt-suggestion,span.twitter-typeahead .tt-suggestion:disabled{background-color:transparent;color:#adb5bd;pointer-events:none}.dropdown-menu.show,span.twitter-typeahead .show.tt-menu{display:block}.dropdown-header{color:#6c757d;display:block;font-size:.7875rem;margin-bottom:0;padding:.5rem 1.5rem;white-space:nowrap}.dropdown-item-text{color:#212529;display:block;padding:.25rem 1.5rem}.btn-group,.btn-group-vertical{display:inline-flex;position:relative;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{flex:1 1 auto;position:relative}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.dropdown-toggle-split{padding-left:.5625rem;padding-right:.5625rem}.dropdown-toggle-split:after,.dropright .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropleft .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-left:.375rem;padding-right:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-left:.75rem;padding-right:.75rem}.btn-group-vertical{align-items:flex-start;flex-direction:column;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-left-radius:0;border-bottom-right-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{clip:rect(0,0,0,0);pointer-events:none;position:absolute}.input-group{align-items:stretch;display:flex;flex-wrap:wrap;position:relative;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{flex:1 1 auto;margin-bottom:0;min-width:0;position:relative;width:1%}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group>.custom-file{align-items:center;display:flex}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label:after{border-bottom-right-radius:0;border-top-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-bottom-left-radius:0;border-top-left-radius:0}.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label,.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label:after,.input-group.has-validation>.custom-select:nth-last-child(n+3),.input-group.has-validation>.form-control:nth-last-child(n+3),.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label,.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label:after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.input-group-append,.input-group-prepend{display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{align-items:center;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem;color:#495057;display:flex;font-size:.9rem;font-weight:400;line-height:1.6;margin-bottom:0;padding:.375rem .75rem;text-align:center;white-space:nowrap}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:3rem}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{border-radius:.3rem;font-size:1.125rem;line-height:1.5;padding:.5rem 1rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:1.9375rem}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{border-radius:.2rem;font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.btn,.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.input-group-text,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.btn,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-bottom-right-radius:0;border-top-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-bottom-left-radius:0;border-top-left-radius:0}.custom-control{color-adjust:exact;display:block;min-height:1.44rem;padding-left:1.5rem;position:relative;-webkit-print-color-adjust:exact;z-index:1}.custom-control-inline{display:inline-flex;margin-right:1rem}.custom-control-input{height:1.22rem;left:0;opacity:0;position:absolute;width:1rem;z-index:-1}.custom-control-input:checked~.custom-control-label:before{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.custom-control-input:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(44,120,191,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label:before{border-color:#87b7e3}.custom-control-input:not(:disabled):active~.custom-control-label:before{background-color:#b1d0ed;border-color:#b1d0ed;color:#fff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label:before,.custom-control-input[disabled]~.custom-control-label:before{background-color:#e9ecef}.custom-control-label{margin-bottom:0;position:relative;vertical-align:top}.custom-control-label:before{background-color:#dee2e6;border:1px solid #adb5bd;pointer-events:none}.custom-control-label:after,.custom-control-label:before{content:"";display:block;height:1rem;left:-1.5rem;position:absolute;top:.22rem;width:1rem}.custom-control-label:after{background:50%/50% 50% no-repeat}.custom-checkbox .custom-control-label:before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%23fff' d='m6.564.75-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:before{background-color:#2c78bf;border-color:#2c78bf}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-radio .custom-control-label:before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label:before{border-radius:.5rem;left:-2.25rem;pointer-events:all;width:1.75rem}.custom-switch .custom-control-label:after{background-color:#adb5bd;border-radius:.5rem;height:calc(1rem - 4px);left:calc(-2.25rem + 2px);top:calc(.22rem + 2px);transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:calc(1rem - 4px)}@media(prefers-reduced-motion:reduce){.custom-switch .custom-control-label:after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label:after{background-color:#dee2e6;transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right .75rem center/8px 10px no-repeat;border:1px solid #ced4da;border-radius:.25rem;color:#495057;display:inline-block;font-size:.9rem;font-weight:400;height:2.375rem;line-height:1.6;padding:.375rem 1.75rem .375rem .75rem;vertical-align:middle;width:100%}.custom-select:focus{border-color:#87b7e3;box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:0}.custom-select:focus::-ms-value{background-color:#fff;color:#495057}.custom-select[multiple],.custom-select[size]:not([size="1"]){background-image:none;height:auto;padding-right:.75rem}.custom-select:disabled{background-color:#e9ecef;color:#6c757d}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.custom-select-sm{font-size:.7875rem;height:1.9375rem;padding-bottom:.25rem;padding-left:.5rem;padding-top:.25rem}.custom-select-lg{font-size:1.125rem;height:3rem;padding-bottom:.5rem;padding-left:1rem;padding-top:.5rem}.custom-file{display:inline-block;margin-bottom:0}.custom-file,.custom-file-input{height:2.375rem;position:relative;width:100%}.custom-file-input{margin:0;opacity:0;overflow:hidden;z-index:2}.custom-file-input:focus~.custom-file-label{border-color:#87b7e3;box-shadow:0 0 0 .2rem rgba(44,120,191,.25)}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label:after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]:after{content:attr(data-browse)}.custom-file-label{background-color:#fff;border:1px solid #ced4da;border-radius:.25rem;font-weight:400;height:2.375rem;left:0;overflow:hidden;z-index:1}.custom-file-label,.custom-file-label:after{color:#495057;line-height:1.6;padding:.375rem .75rem;position:absolute;right:0;top:0}.custom-file-label:after{background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0;bottom:0;content:"Browse";display:block;height:calc(1.6em + .75rem);z-index:3}.custom-range{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;height:1.4rem;padding:0;width:100%}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px rgba(247,251,253,.471),0 0 0 .2rem rgba(44,120,191,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px rgba(247,251,253,.471),0 0 0 .2rem rgba(44,120,191,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px rgba(247,251,253,.471),0 0 0 .2rem rgba(44,120,191,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:#2c78bf;border:0;border-radius:1rem;height:1rem;margin-top:-.25rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b1d0ed}.custom-range::-webkit-slider-runnable-track{background-color:#dee2e6;border-color:transparent;border-radius:1rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:#2c78bf;border:0;border-radius:1rem;height:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b1d0ed}.custom-range::-moz-range-track{background-color:#dee2e6;border-color:transparent;border-radius:1rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-ms-thumb{appearance:none;background-color:#2c78bf;border:0;border-radius:1rem;height:1rem;margin-left:.2rem;margin-right:.2rem;margin-top:0;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#b1d0ed}.custom-range::-ms-track{background-color:transparent;border-color:transparent;border-width:.5rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-ms-fill-lower,.custom-range::-ms-fill-upper{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label:before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.custom-control-label:before,.custom-file-label,.custom-select{transition:none}}.nav{display:flex;flex-wrap:wrap;list-style:none;margin-bottom:0;padding-left:0}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;cursor:default;pointer-events:none}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem;margin-bottom:-1px}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{background-color:transparent;border-color:transparent;color:#6c757d}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{background-color:rgba(247,251,253,.471);border-color:#dee2e6 #dee2e6 rgba(247,251,253,.471);color:#495057}.nav-tabs .dropdown-menu,.nav-tabs span.twitter-typeahead .tt-menu,span.twitter-typeahead .nav-tabs .tt-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{background-color:#2c78bf;color:#fff}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{padding:.5rem 1rem;position:relative}.navbar,.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.navbar-brand{display:inline-block;font-size:1.125rem;line-height:inherit;margin-right:1rem;padding-bottom:.32rem;padding-top:.32rem;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:flex;flex-direction:column;list-style:none;margin-bottom:0;padding-left:0}.navbar-nav .nav-link{padding-left:0;padding-right:0}.navbar-nav .dropdown-menu,.navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-nav .tt-menu{float:none;position:static}.navbar-text{display:inline-block;padding-bottom:.5rem;padding-top:.5rem}.navbar-collapse{align-items:center;flex-basis:100%;flex-grow:1}.navbar-toggler{background-color:transparent;border:1px solid transparent;border-radius:.25rem;font-size:1.125rem;line-height:1;padding:.25rem .75rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{background:50%/100% 100% no-repeat;content:"";display:inline-block;height:1.5em;vertical-align:middle;width:1.5em}.navbar-nav-scroll{max-height:75vh;overflow-y:auto}@media(max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-left:0;padding-right:0}}@media(min-width:576px){.navbar-expand-sm{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu,.navbar-expand-sm .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-sm .navbar-nav .tt-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{flex-wrap:nowrap}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media(max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-left:0;padding-right:0}}@media(min-width:768px){.navbar-expand-md{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu,.navbar-expand-md .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-md .navbar-nav .tt-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{flex-wrap:nowrap}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media(max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-left:0;padding-right:0}}@media(min-width:992px){.navbar-expand-lg{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu,.navbar-expand-lg .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-lg .navbar-nav .tt-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{flex-wrap:nowrap}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media(max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-left:0;padding-right:0}}@media(min-width:1200px){.navbar-expand-xl{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu,.navbar-expand-xl .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-xl .navbar-nav .tt-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{flex-wrap:nowrap}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-left:0;padding-right:0}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu,.navbar-expand .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand .navbar-nav .tt-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{flex-wrap:nowrap}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.5)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand,.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:hsla(0,0%,100%,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:hsla(0,0%,100%,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{border-color:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")}.navbar-dark .navbar-text{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{word-wrap:break-word;background-clip:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.125);border-radius:.25rem;display:flex;flex-direction:column;min-width:0;position:relative}.card>hr{margin-left:0;margin-right:0}.card>.list-group{border-bottom:inherit;border-top:inherit}.card>.list-group:first-child{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px);border-top-width:0}.card>.list-group:last-child{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px);border-bottom-width:0}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{background-color:#fff;border-bottom:1px solid rgba(0,0,0,.125);margin-bottom:0;padding:.75rem 1.25rem}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{background-color:#fff;border-top:1px solid rgba(0,0,0,.125);padding:.75rem 1.25rem}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{border-bottom:0;margin-bottom:-.75rem}.card-header-pills,.card-header-tabs{margin-left:-.625rem;margin-right:-.625rem}.card-img-overlay{border-radius:calc(.25rem - 1px);bottom:0;left:0;padding:1.25rem;position:absolute;right:0;top:0}.card-img,.card-img-bottom,.card-img-top{flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media(min-width:576px){.card-deck{display:flex;flex-flow:row wrap;margin-left:-15px;margin-right:-15px}.card-deck .card{flex:1 0 0%;margin-bottom:0;margin-left:15px;margin-right:15px}}.card-group>.card{margin-bottom:15px}@media(min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{border-left:0;margin-left:0}.card-group>.card:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media(min-width:576px){.card-columns{-moz-column-count:3;column-count:3;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion{overflow-anchor:none}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{background-color:#e9ecef;border-radius:.25rem;display:flex;flex-wrap:wrap;list-style:none;margin-bottom:1rem;padding:.75rem 1rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item:before{color:#6c757d;content:"/";float:left;padding-right:.5rem}.breadcrumb-item+.breadcrumb-item:hover:before{text-decoration:underline;text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{border-radius:.25rem;display:flex;list-style:none;padding-left:0}.page-link{background-color:#fff;border:1px solid #dee2e6;color:#2c78bf;display:block;line-height:1.25;margin-left:-1px;padding:.5rem .75rem;position:relative}.page-link:hover{background-color:#e9ecef;border-color:#dee2e6;color:#1e5181;text-decoration:none;z-index:2}.page-link:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:0;z-index:3}.page-item:first-child .page-link{border-bottom-left-radius:.25rem;border-top-left-radius:.25rem;margin-left:0}.page-item:last-child .page-link{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.page-item.active .page-link{background-color:#2c78bf;border-color:#2c78bf;color:#fff;z-index:3}.page-item.disabled .page-link{background-color:#fff;border-color:#dee2e6;color:#6c757d;cursor:auto;pointer-events:none}.pagination-lg .page-link{font-size:1.125rem;line-height:1.5;padding:.75rem 1.5rem}.pagination-lg .page-item:first-child .page-link{border-bottom-left-radius:.3rem;border-top-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-bottom-right-radius:.3rem;border-top-right-radius:.3rem}.pagination-sm .page-link{font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.pagination-sm .page-item:first-child .page-link{border-bottom-left-radius:.2rem;border-top-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-bottom-right-radius:.2rem;border-top-right-radius:.2rem}.badge{border-radius:.25rem;display:inline-block;font-size:75%;font-weight:700;line-height:1;padding:.25em .4em;text-align:center;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;vertical-align:baseline;white-space:nowrap}@media(prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{border-radius:10rem;padding-left:.6em;padding-right:.6em}.badge-primary{background-color:#2c78bf;color:#fff}a.badge-primary:focus,a.badge-primary:hover{background-color:#225e96;color:#fff}a.badge-primary.focus,a.badge-primary:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.5);outline:0}.badge-secondary{background-color:#6c757d;color:#fff}a.badge-secondary:focus,a.badge-secondary:hover{background-color:#545b62;color:#fff}a.badge-secondary.focus,a.badge-secondary:focus{box-shadow:0 0 0 .2rem hsla(208,7%,46%,.5);outline:0}.badge-success{background-color:#28a745;color:#fff}a.badge-success:focus,a.badge-success:hover{background-color:#1e7e34;color:#fff}a.badge-success.focus,a.badge-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5);outline:0}.badge-info{background-color:#17a2b8;color:#fff}a.badge-info:focus,a.badge-info:hover{background-color:#117a8b;color:#fff}a.badge-info.focus,a.badge-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5);outline:0}.badge-warning{background-color:#ffc107;color:#212529}a.badge-warning:focus,a.badge-warning:hover{background-color:#d39e00;color:#212529}a.badge-warning.focus,a.badge-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5);outline:0}.badge-danger{background-color:#dc3545;color:#fff}a.badge-danger:focus,a.badge-danger:hover{background-color:#bd2130;color:#fff}a.badge-danger.focus,a.badge-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5);outline:0}.badge-light{background-color:#f8f9fa;color:#212529}a.badge-light:focus,a.badge-light:hover{background-color:#dae0e5;color:#212529}a.badge-light.focus,a.badge-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5);outline:0}.badge-dark{background-color:#212529;color:#fff}a.badge-dark:focus,a.badge-dark:hover{background-color:#0a0c0d;color:#fff}a.badge-dark.focus,a.badge-dark:focus{box-shadow:0 0 0 .2rem rgba(33,37,41,.5);outline:0}.badge-muted{background-color:#697179;color:#fff}a.badge-muted:focus,a.badge-muted:hover{background-color:#51585e;color:#fff}a.badge-muted.focus,a.badge-muted:focus{box-shadow:0 0 0 .2rem hsla(210,7%,44%,.5);outline:0}.jumbotron{background-color:#e9ecef;border-radius:.3rem;margin-bottom:2rem;padding:2rem 1rem}@media(min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{border-radius:0;padding-left:0;padding-right:0}.alert{border:1px solid transparent;border-radius:.25rem;margin-bottom:1rem;padding:.75rem 1.25rem;position:relative}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3.85rem}.alert-dismissible .close{color:inherit;padding:.75rem 1.25rem;position:absolute;right:0;top:0;z-index:2}.alert-primary{background-color:#d5e4f2;border-color:#c4d9ed;color:#173e63}.alert-primary hr{border-top-color:#b0cce7}.alert-primary .alert-link{color:#0d243a}.alert-secondary{background-color:#e2e3e5;border-color:#d6d8db;color:#383d41}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{background-color:#d4edda;border-color:#c3e6cb;color:#155724}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{background-color:#d1ecf1;border-color:#bee5eb;color:#0c5460}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{background-color:#fff3cd;border-color:#ffeeba;color:#856404}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{background-color:#f8d7da;border-color:#f5c6cb;color:#721c24}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{background-color:#fefefe;border-color:#fdfdfe;color:#818182}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{background-color:#d3d3d4;border-color:#c1c2c3;color:#111315}.alert-dark hr{border-top-color:#b4b5b6}.alert-dark .alert-link{color:#000}.alert-muted{background-color:#e1e3e4;border-color:#d5d7d9;color:#373b3f}.alert-muted hr{border-top-color:#c8cacd}.alert-muted .alert-link{color:#1f2224}@-webkit-keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}.progress{background-color:#e9ecef;border-radius:.25rem;font-size:.675rem;height:1rem;line-height:0}.progress,.progress-bar{display:flex;overflow:hidden}.progress-bar{background-color:#2c78bf;color:#fff;flex-direction:column;justify-content:center;text-align:center;transition:width .6s ease;white-space:nowrap}@media(prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media(prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{align-items:flex-start;display:flex}.media-body{flex:1}.list-group{border-radius:.25rem;display:flex;flex-direction:column;margin-bottom:0;padding-left:0}.list-group-item-action{color:#495057;text-align:inherit;width:100%}.list-group-item-action:focus,.list-group-item-action:hover{background-color:#f8f9fa;color:#495057;text-decoration:none;z-index:1}.list-group-item-action:active{background-color:#e9ecef;color:#212529}.list-group-item{background-color:#fff;border:1px solid rgba(0,0,0,.125);display:block;padding:.75rem 1.25rem;position:relative}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{background-color:#fff;color:#6c757d;pointer-events:none}.list-group-item.active{background-color:#2c78bf;border-color:#2c78bf;color:#fff;z-index:2}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{border-top-width:1px;margin-top:-1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}@media(min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-md>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{background-color:#c4d9ed;color:#173e63}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{background-color:#b0cce7;color:#173e63}.list-group-item-primary.list-group-item-action.active{background-color:#173e63;border-color:#173e63;color:#fff}.list-group-item-secondary{background-color:#d6d8db;color:#383d41}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{background-color:#c8cbcf;color:#383d41}.list-group-item-secondary.list-group-item-action.active{background-color:#383d41;border-color:#383d41;color:#fff}.list-group-item-success{background-color:#c3e6cb;color:#155724}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{background-color:#b1dfbb;color:#155724}.list-group-item-success.list-group-item-action.active{background-color:#155724;border-color:#155724;color:#fff}.list-group-item-info{background-color:#bee5eb;color:#0c5460}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{background-color:#abdde5;color:#0c5460}.list-group-item-info.list-group-item-action.active{background-color:#0c5460;border-color:#0c5460;color:#fff}.list-group-item-warning{background-color:#ffeeba;color:#856404}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{background-color:#ffe8a1;color:#856404}.list-group-item-warning.list-group-item-action.active{background-color:#856404;border-color:#856404;color:#fff}.list-group-item-danger{background-color:#f5c6cb;color:#721c24}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{background-color:#f1b0b7;color:#721c24}.list-group-item-danger.list-group-item-action.active{background-color:#721c24;border-color:#721c24;color:#fff}.list-group-item-light{background-color:#fdfdfe;color:#818182}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{background-color:#ececf6;color:#818182}.list-group-item-light.list-group-item-action.active{background-color:#818182;border-color:#818182;color:#fff}.list-group-item-dark{background-color:#c1c2c3;color:#111315}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{background-color:#b4b5b6;color:#111315}.list-group-item-dark.list-group-item-action.active{background-color:#111315;border-color:#111315;color:#fff}.list-group-item-muted{background-color:#d5d7d9;color:#373b3f}.list-group-item-muted.list-group-item-action:focus,.list-group-item-muted.list-group-item-action:hover{background-color:#c8cacd;color:#373b3f}.list-group-item-muted.list-group-item-action.active{background-color:#373b3f;border-color:#373b3f;color:#fff}.close{color:#000;float:right;font-size:1.35rem;font-weight:700;line-height:1;opacity:.5;text-shadow:0 1px 0 #fff}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{background-color:transparent;border:0;padding:0}a.close.disabled{pointer-events:none}.toast{background-clip:padding-box;background-color:hsla(0,0%,100%,.85);border:1px solid rgba(0,0,0,.1);border-radius:.25rem;box-shadow:0 .25rem .75rem rgba(0,0,0,.1);flex-basis:350px;font-size:.875rem;max-width:350px;opacity:0}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{align-items:center;background-clip:padding-box;background-color:hsla(0,0%,100%,.85);border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px);color:#6c757d;display:flex;padding:.25rem .75rem}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{display:none;height:100%;left:0;outline:0;overflow:hidden;position:fixed;top:0;width:100%;z-index:1050}.modal-dialog{margin:.5rem;pointer-events:none;position:relative;width:auto}.modal.fade .modal-dialog{transform:translateY(-50px);transition:transform .3s ease-out}@media(prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{align-items:center;display:flex;min-height:calc(100% - 1rem)}.modal-dialog-centered:before{content:"";display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-dialog-centered.modal-dialog-scrollable{flex-direction:column;height:100%;justify-content:center}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable:before{content:none}.modal-content{background-clip:padding-box;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;display:flex;flex-direction:column;outline:0;pointer-events:auto;position:relative;width:100%}.modal-backdrop{background-color:#000;height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:1040}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{align-items:flex-start;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px);display:flex;justify-content:space-between;padding:1rem}.modal-header .close{margin:-1rem -1rem -1rem auto;padding:1rem}.modal-title{line-height:1.6;margin-bottom:0}.modal-body{flex:1 1 auto;padding:1rem;position:relative}.modal-footer{align-items:center;border-bottom-left-radius:calc(.3rem - 1px);border-bottom-right-radius:calc(.3rem - 1px);border-top:1px solid #dee2e6;display:flex;flex-wrap:wrap;justify-content:flex-end;padding:.75rem}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{height:50px;overflow:scroll;position:absolute;top:-9999px;width:50px}@media(min-width:576px){.modal-dialog{margin:1.75rem auto;max-width:500px}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered:before{height:calc(100vh - 3.5rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-sm{max-width:300px}}@media(min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media(min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{word-wrap:break-word;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.7875rem;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.6;margin:0;opacity:0;position:absolute;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;z-index:1070}.tooltip.show{opacity:.9}.tooltip .arrow{display:block;height:.4rem;position:absolute;width:.8rem}.tooltip .arrow:before{border-color:transparent;border-style:solid;content:"";position:absolute}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow:before,.bs-tooltip-top .arrow:before{border-top-color:#000;border-width:.4rem .4rem 0;top:0}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{height:.8rem;left:0;width:.4rem}.bs-tooltip-auto[x-placement^=right] .arrow:before,.bs-tooltip-right .arrow:before{border-right-color:#000;border-width:.4rem .4rem .4rem 0;right:0}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.bs-tooltip-bottom .arrow:before{border-bottom-color:#000;border-width:0 .4rem .4rem;bottom:0}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{height:.8rem;right:0;width:.4rem}.bs-tooltip-auto[x-placement^=left] .arrow:before,.bs-tooltip-left .arrow:before{border-left-color:#000;border-width:.4rem 0 .4rem .4rem;left:0}.tooltip-inner{background-color:#000;border-radius:.25rem;color:#fff;max-width:200px;padding:.25rem .5rem;text-align:center}.popover{word-wrap:break-word;background-clip:padding-box;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.7875rem;font-style:normal;font-weight:400;left:0;letter-spacing:normal;line-break:auto;line-height:1.6;max-width:276px;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;top:0;white-space:normal;word-break:normal;word-spacing:normal;z-index:1060}.popover,.popover .arrow{display:block;position:absolute}.popover .arrow{height:.5rem;margin:0 .3rem;width:1rem}.popover .arrow:after,.popover .arrow:before{border-color:transparent;border-style:solid;content:"";display:block;position:absolute}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow:before,.bs-popover-top>.arrow:before{border-top-color:rgba(0,0,0,.25);border-width:.5rem .5rem 0;bottom:0}.bs-popover-auto[x-placement^=top]>.arrow:after,.bs-popover-top>.arrow:after{border-top-color:#fff;border-width:.5rem .5rem 0;bottom:1px}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{height:1rem;left:calc(-.5rem - 1px);margin:.3rem 0;width:.5rem}.bs-popover-auto[x-placement^=right]>.arrow:before,.bs-popover-right>.arrow:before{border-right-color:rgba(0,0,0,.25);border-width:.5rem .5rem .5rem 0;left:0}.bs-popover-auto[x-placement^=right]>.arrow:after,.bs-popover-right>.arrow:after{border-right-color:#fff;border-width:.5rem .5rem .5rem 0;left:1px}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow:before,.bs-popover-bottom>.arrow:before{border-bottom-color:rgba(0,0,0,.25);border-width:0 .5rem .5rem;top:0}.bs-popover-auto[x-placement^=bottom]>.arrow:after,.bs-popover-bottom>.arrow:after{border-bottom-color:#fff;border-width:0 .5rem .5rem;top:1px}.bs-popover-auto[x-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{border-bottom:1px solid #f7f7f7;content:"";display:block;left:50%;margin-left:-.5rem;position:absolute;top:0;width:1rem}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{height:1rem;margin:.3rem 0;right:calc(-.5rem - 1px);width:.5rem}.bs-popover-auto[x-placement^=left]>.arrow:before,.bs-popover-left>.arrow:before{border-left-color:rgba(0,0,0,.25);border-width:.5rem 0 .5rem .5rem;right:0}.bs-popover-auto[x-placement^=left]>.arrow:after,.bs-popover-left>.arrow:after{border-left-color:#fff;border-width:.5rem 0 .5rem .5rem;right:1px}.popover-header{background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px);font-size:.9rem;margin-bottom:0;padding:.5rem .75rem}.popover-header:empty{display:none}.popover-body{color:#212529;padding:.5rem .75rem}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{overflow:hidden;position:relative;width:100%}.carousel-inner:after{clear:both;content:"";display:block}.carousel-item{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:none;float:left;margin-right:-100%;position:relative;transition:transform .6s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transform:none;transition-property:opacity}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{opacity:1;z-index:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{opacity:0;transition:opacity 0s .6s;z-index:0}@media(prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{align-items:center;background:none;border:0;bottom:0;color:#fff;display:flex;justify-content:center;opacity:.5;padding:0;position:absolute;text-align:center;top:0;transition:opacity .15s ease;width:15%;z-index:1}@media(prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;opacity:.9;outline:0;text-decoration:none}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{background:50%/100% 100% no-repeat;display:inline-block;height:20px;width:20px}.carousel-control-prev-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8'%3E%3Cpath d='m5.25 0-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3E%3C/svg%3E")}.carousel-control-next-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8'%3E%3Cpath d='m2.75 0-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3E%3C/svg%3E")}.carousel-indicators{bottom:0;display:flex;justify-content:center;left:0;list-style:none;margin-left:15%;margin-right:15%;padding-left:0;position:absolute;right:0;z-index:15}.carousel-indicators li{background-clip:padding-box;background-color:#fff;border-bottom:10px solid transparent;border-top:10px solid transparent;box-sizing:content-box;cursor:pointer;flex:0 1 auto;height:3px;margin-left:3px;margin-right:3px;opacity:.5;text-indent:-999px;transition:opacity .6s ease;width:30px}@media(prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{bottom:20px;color:#fff;left:15%;padding-bottom:20px;padding-top:20px;position:absolute;right:15%;text-align:center;z-index:10}@-webkit-keyframes spinner-border{to{transform:rotate(1turn)}}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite;border:.25em solid;border-radius:50%;border-right:.25em solid transparent;display:inline-block;height:2rem;vertical-align:-.125em;width:2rem}.spinner-border-sm{border-width:.2em;height:1rem;width:1rem}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite;background-color:currentColor;border-radius:50%;display:inline-block;height:2rem;opacity:0;vertical-align:-.125em;width:2rem}.spinner-grow-sm{height:1rem;width:1rem}@media(prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{-webkit-animation-duration:1.5s;animation-duration:1.5s}}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#2c78bf!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#225e96!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#212529!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#0a0c0d!important}.bg-muted{background-color:#697179!important}a.bg-muted:focus,a.bg-muted:hover,button.bg-muted:focus,button.bg-muted:hover{background-color:#51585e!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#2c78bf!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#212529!important}.border-muted{border-color:#697179!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important}.rounded-right,.rounded-top{border-top-right-radius:.25rem!important}.rounded-bottom,.rounded-right{border-bottom-right-radius:.25rem!important}.rounded-bottom,.rounded-left{border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix:after{clear:both;content:"";display:block}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}@media(min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}}@media(min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}}@media(min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}}@media(min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}}.embed-responsive{display:block;overflow:hidden;padding:0;position:relative;width:100%}.embed-responsive:before{content:"";display:block}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{border:0;bottom:0;height:100%;left:0;position:absolute;top:0;width:100%}.embed-responsive-21by9:before{padding-top:42.85714286%}.embed-responsive-16by9:before{padding-top:56.25%}.embed-responsive-4by3:before{padding-top:75%}.embed-responsive-1by1:before{padding-top:100%}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}@media(min-width:576px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}}@media(min-width:768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}}@media(min-width:992px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}}@media(min-width:1200px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media(min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media(min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media(min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media(min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{top:0}.fixed-bottom,.fixed-top{left:0;position:fixed;right:0;z-index:1030}.fixed-bottom{bottom:0}@supports((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;overflow:visible;position:static;white-space:normal;width:auto}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media(min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media(min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media(min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media(min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.stretched-link:after{background-color:transparent;bottom:0;content:"";left:0;pointer-events:auto;position:absolute;right:0;top:0;z-index:1}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media(min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media(min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media(min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media(min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#2c78bf!important}a.text-primary:focus,a.text-primary:hover{color:#1e5181!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}a.text-dark:focus,a.text-dark:hover{color:#000!important}.text-muted{color:#697179!important}a.text-muted:focus,a.text-muted:hover{color:#454b50!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:hsla(0,0%,100%,.5)!important}.text-hide{background-color:transparent;border:0;color:transparent;font:0/0 a;text-shadow:none}.text-decoration-none{text-decoration:none!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,:after,:before{box-shadow:none!important;text-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]:after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd}blockquote,img,pre,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}.container,body{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{border-color:#dee2e6;color:inherit}}body,html{min-height:100vh}body{display:flex;flex-flow:column}#content{margin-bottom:auto!important}body,button,input,textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.navbar-laravel{background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.04)}.bg-pixelfed{background:#10c5f8;background:linear-gradient(to bottom right,#6736dd,#10c5f8)}@media(min-width:1200px){.container{max-width:935px}}.text-dark{color:#212529!important}.settings-nav .active .nav-link{font-weight:700}.card-disabled{background-color:#f5f5f5;opacity:.4}.card-img-top{height:auto}.card.status-container .status-photo{margin:auto!important}@media(min-width:768px){.card.status-container .status-comments{border-bottom:1px solid rgba(0,0,0,.1);height:200px;overflow-y:scroll}}.no-caret.dropdown-toggle{text-decoration:none!important}.no-caret.dropdown-toggle:after{display:none}.notification-page .profile-link{color:#212529;font-weight:700}.notification-page .list-group-item:first-child{border-top:none}.nav-topbar{border-top:1px solid #dee2e6}.nav-topbar .nav-item{margin:-1px 1.5rem 0}.nav-topbar .nav-link{border:1px solid transparent;color:#dee2e6;padding:.75rem 0}.nav-topbar .nav-link:focus,.nav-topbar .nav-link:hover{border-top-color:#dee2e6}.nav-topbar .nav-link.disabled{background-color:transparent;border-color:transparent;color:#dee2e6}.nav-topbar .nav-item.show .nav-link,.nav-topbar .nav-link.active{border-top-color:#6c757d;color:#6c757d}.nav-topbar .dropdown-menu,.nav-topbar span.twitter-typeahead .tt-menu,span.twitter-typeahead .nav-topbar .tt-menu{margin-top:-1px}.info-overlay{position:relative}.info-overlay .info-overlay-text{display:none;position:absolute}.info-overlay:hover .info-overlay-text{display:flex}@media(max-width:576px){.info-overlay:hover .info-overlay-text h5{font-size:12px}}.info-overlay-text,.info-overlay-text-label{background-color:rgba(0,0,0,.5);height:100%;width:100%}.info-overlay-text-label{display:flex;position:absolute}.info-overlay-text-label h5{z-index:2}.info-overlay:hover .info-overlay-text-label{display:none}.font-weight-lighter{font-weight:300!important}.font-weight-ultralight{font-weight:200!important}.square{position:relative;width:100%}.square:after{content:"";display:block;padding-bottom:100%}.square-content{background-position:50%;background-repeat:no-repeat;background-size:cover;height:100%;position:absolute;width:100%}@media(max-width:768px){.border-md-left-0{border-left:0!important}.card.status-container .status-comments{border-top:1px solid rgba(0,0,0,.1)}.sticky-md-bottom{bottom:0;position:-webkit-sticky;position:sticky;z-index:1020}}@media(max-width:576px){.card-md-border-0{border-radius:0!important;border-width:0!important}.card-md-rounded-0{border-radius:0!important;border-width:1px 0}}@-webkit-keyframes loading-bar{0%{background-position:0 0}to{background-position:100vw 0}}@keyframes loading-bar{0%{background-position:0 0}to{background-position:100vw 0}}.loading-page{-webkit-animation:loading-bar 3s linear infinite;animation:loading-bar 3s linear infinite;background-image:linear-gradient(90deg,#6736dd,#10c5f8,#10c5f8,#6736dd);height:.25rem;width:100vw}.liked{position:relative;z-index:1}.liked:after{-webkit-animation:liking 1.5s;animation:liking 1.5s;color:transparent;content:"";left:50%;position:absolute;top:0;z-index:-1}@-webkit-keyframes liking{0%{color:#ebf70e;font-size:0;top:.25rem;transform:rotate(0deg)}75%{font-size:2.8rem;left:-.55rem;opacity:1;top:-.55rem;transform:rotate(1turn)}to{font-size:0;left:.9rem;top:2.5rem;transform:rotate(1turn)}}@keyframes liking{0%{color:#ebf70e;font-size:0;top:.25rem;transform:rotate(0deg)}75%{font-size:2.8rem;left:-.55rem;opacity:1;top:-.55rem;transform:rotate(1turn)}to{font-size:0;left:.9rem;top:2.5rem;transform:rotate(1turn)}}.max-hide-overflow{max-height:500px;overflow-y:hidden}@media(min-width:0){.max-hide-overflow{max-height:600px!important}}@media(min-width:768px){.max-hide-overflow{max-height:800px!important}}@media(min-width:1200px){.max-hide-overflow{max-height:1000px!important}}.notification-image{background-position:50%;background-size:cover;height:32px;width:32px}.status-photo img{max-height:calc(100vh - 6rem);-o-object-fit:contain;object-fit:contain;width:100%}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}@-webkit-keyframes fadeInDown{0%{opacity:0;transform:translateY(-1.25em)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-1.25em)}to{opacity:1;transform:translateY(0)}}.details-animated[open]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:fadeInDown;animation-name:fadeInDown}.card{border:none;box-shadow:0 2px 6px 0 rgba(0,0,0,.2)}.card .comment-submit{border-radius:0 3px 3px 0;bottom:12px;display:none;position:absolute;right:20px;text-align:center;width:60px}.touch .card input[name=comment]{padding-right:70px}.touch .card .comment-submit{display:block}.box-shadow{box-shadow:0 2px 6px 0 rgba(0,0,0,.2)}.border-left-primary{border-left:3px solid #007bff}.settings-nav .nav-item.active .nav-link{font-weight:700!important}details summary::-webkit-details-marker{display:none!important}.details-animated>summary{background-color:#ecf0f1;display:flex;flex-flow:column;justify-content:center;padding-bottom:50px;padding-top:50px;text-align:center}@media(min-width:720px){.details-animated>summary{min-height:600px}}.details-animated[open]>summary{display:none!important}.profile-avatar img{-o-object-fit:cover;object-fit:cover}.tt-menu{border-radius:0 0 .25rem .25rem!important;padding:0!important}.tt-dataset .alert{border:0!important;border-radius:0!important}.input-elevated{background:#fff;border:none;border-radius:5px;box-shadow:0 2px 4px 0 rgba(0,0,0,.08);font-size:16px;line-height:1.5;padding:.5em 1em .5em .5em}.input-elevated::-moz-placeholder{color:#838d99}.input-elevated:-ms-input-placeholder{color:#838d99}.input-elevated::placeholder{color:#838d99}.input-elevated:focus{box-shadow:0 4px 10px 0 rgba(0,0,0,.16);outline:none}.icon-wrapper{background:#10c5f8;background:linear-gradient(to bottom right,#6736dd,#10c5f8);border-radius:50%;display:inline-flex;padding:14px}.border-left-blue{border-left:3px solid #10c5f8}.b-dropdown,.b-dropdown>button{padding:0!important}.lds-ring{display:inline-block;height:64px;position:relative;width:64px}.lds-ring div{-webkit-animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border:6px solid transparent;border-radius:50%;border-top-color:#6c757d;box-sizing:border-box;display:block;height:51px;margin:6px;position:absolute;width:51px}.lds-ring div:first-child{-webkit-animation-delay:-.45s;animation-delay:-.45s}.lds-ring div:nth-child(2){-webkit-animation-delay:-.3s;animation-delay:-.3s}.lds-ring div:nth-child(3){-webkit-animation-delay:-.15s;animation-delay:-.15s}@-webkit-keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.navbar .nav-notification.dropdown-toggle:after{display:none}.navbar .dropdown .nav-notification-dropdown{max-height:300px;overflow-y:scroll;padding-bottom:0;padding-top:0;width:500px}.nav-notification-dropdown .loader{padding-bottom:5rem;padding-top:5rem}.timeline-sidenav.nav-pills .nav-link{color:#6c757d}.timeline-sidenav.nav-pills .nav-link:hover{background:rgba(0,0,0,.04)}.timeline-sidenav.nav-pills .nav-link.active,.timeline-sidenav.nav-pills .show>.nav-link{background:transparent;border:1px solid #08d;color:#08d}.messages-page .bg-primary.text-white a{color:#fff}.notification-tooltip .tooltip-inner{font-weight:700}#previewAvatar img{height:auto;max-width:100%}.img-thumbnail{box-sizing:content-box}.media-drawer-filters img{-o-object-fit:contain;object-fit:contain}.reply-container .post-thumbnail{-o-object-fit:cover;object-fit:cover}#l-modal .modal-body,#s-modal .modal-body{height:60vh;overflow-y:scroll}#l-modal .modal-content,#s-modal .modal-content{border-radius:0}.btn-outline-lighter,.text-lighter{color:#b8c2cc!important}.btn-outline-lighter{border-color:#b8c2cc!important}.cursor-pointer{cursor:pointer}.tooltip-notification .tooltip-inner{border-radius:.25rem;color:#fff;max-width:200px;padding:3px 8px;text-align:center}.carousel-control-next-icon,.carousel-control-prev-icon{filter:drop-shadow(0 0 1px black)}.VueCarousel-dot--active:focus,.VueCarousel-dot:focus,.VueCarousel-navigation-button:focus,.VueCarousel:focus{outline:0!important}.status-content>p:first-child{display:inline}.follow-modal{max-width:400px!important}.square-content img{-o-object-fit:cover!important;object-fit:cover!important}.square .square-content canvas{height:100%;width:100%}.tribute-container{border:1px solid #ccc;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.13);display:block;height:auto;left:0;max-height:300px;max-width:500px;min-width:120px;overflow:auto;position:absolute;top:0;z-index:999999}.tribute-container ul{background:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.13);border-radius:4px;list-style:none;margin:2px 0 0;overflow:hidden;padding:0}.tribute-container li{color:#000;cursor:pointer;font-size:14px;overflow-x:hidden!important;padding:5px 15px}.tribute-container li.highlight,.tribute-container li:hover{background:#2c78bf;color:#fff}.tribute-container li.no-match{cursor:default}.tribute-container .menu-highlighted{font-weight:700}/*! Instagram.css v0.1.3 | MIT License | github.com/picturepan2/instagram.css */[class*=filter-]{position:relative}[class*=filter-]:before{display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.filter-1977{filter:sepia(.5) hue-rotate(-30deg) saturate(1.4)}.filter-aden{filter:sepia(.2) brightness(1.15) saturate(1.4)}.filter-aden:before{background:rgba(125,105,24,.1);content:"";mix-blend-mode:multiply}.filter-amaro{filter:sepia(.35) contrast(1.1) brightness(1.2) saturate(1.3)}.filter-amaro:before{background:rgba(125,105,24,.2);content:"";mix-blend-mode:overlay}.filter-ashby{filter:sepia(.5) contrast(1.2) saturate(1.8)}.filter-ashby:before{background:rgba(125,105,24,.35);content:"";mix-blend-mode:lighten}.filter-brannan{filter:sepia(.4) contrast(1.25) brightness(1.1) saturate(.9) hue-rotate(-2deg)}.filter-brooklyn{filter:sepia(.25) contrast(1.25) brightness(1.25) hue-rotate(5deg)}.filter-brooklyn:before{background:rgba(127,187,227,.2);content:"";mix-blend-mode:overlay}.filter-charmes{filter:sepia(.25) contrast(1.25) brightness(1.25) saturate(1.35) hue-rotate(-5deg)}.filter-charmes:before{background:rgba(125,105,24,.25);content:"";mix-blend-mode:darken}.filter-clarendon{filter:sepia(.15) contrast(1.25) brightness(1.25) hue-rotate(5deg)}.filter-clarendon:before{background:rgba(127,187,227,.4);content:"";mix-blend-mode:overlay}.filter-crema{filter:sepia(.5) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-2deg)}.filter-crema:before{background:rgba(125,105,24,.2);content:"";mix-blend-mode:multiply}.filter-dogpatch{filter:sepia(.35) saturate(1.1) contrast(1.5)}.filter-earlybird{filter:sepia(.25) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-5deg)}.filter-earlybird:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(125,105,24,.2) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(125,105,24,.2) 100%);content:"";mix-blend-mode:multiply}.filter-gingham{filter:contrast(1.1) brightness(1.1)}.filter-gingham:before{background:#e6e6e6;content:"";mix-blend-mode:soft-light}.filter-ginza{filter:sepia(.25) contrast(1.15) brightness(1.2) saturate(1.35) hue-rotate(-5deg)}.filter-ginza:before{background:rgba(125,105,24,.15);content:"";mix-blend-mode:darken}.filter-hefe{filter:sepia(.4) contrast(1.5) brightness(1.2) saturate(1.4) hue-rotate(-10deg)}.filter-hefe:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(0,0,0,.25) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(0,0,0,.25) 100%);content:"";mix-blend-mode:multiply}.filter-helena{filter:sepia(.5) contrast(1.05) brightness(1.05) saturate(1.35)}.filter-helena:before{background:rgba(158,175,30,.25);content:"";mix-blend-mode:overlay}.filter-hudson{filter:sepia(.25) contrast(1.2) brightness(1.2) saturate(1.05) hue-rotate(-15deg)}.filter-hudson:before{background:radial-gradient(circle closest-corner,transparent 25%,rgba(25,62,167,.25) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 25%,rgba(25,62,167,.25) 100%);content:"";mix-blend-mode:multiply}.filter-inkwell{filter:brightness(1.25) contrast(.85) grayscale(1)}.filter-juno{filter:sepia(.35) contrast(1.15) brightness(1.15) saturate(1.8)}.filter-juno:before{background:rgba(127,187,227,.2);content:"";mix-blend-mode:overlay}.filter-kelvin{filter:sepia(.15) contrast(1.5) brightness(1.1) hue-rotate(-10deg)}.filter-kelvin:before{background:radial-gradient(circle closest-corner,rgba(128,78,15,.25) 0,rgba(128,78,15,.5) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(128,78,15,.25) 0,rgba(128,78,15,.5) 100%);content:"";mix-blend-mode:overlay}.filter-lark{filter:sepia(.25) contrast(1.2) brightness(1.3) saturate(1.25)}.filter-lofi{filter:saturate(1.1) contrast(1.5)}.filter-ludwig{filter:sepia(.25) contrast(1.05) brightness(1.05) saturate(2)}.filter-ludwig:before{background:rgba(125,105,24,.1);content:"";mix-blend-mode:overlay}.filter-maven{filter:sepia(.35) contrast(1.05) brightness(1.05) saturate(1.75)}.filter-maven:before{background:rgba(158,175,30,.25);content:"";mix-blend-mode:darken}.filter-mayfair{filter:contrast(1.1) brightness(1.15) saturate(1.1)}.filter-mayfair:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(175,105,24,.4) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(175,105,24,.4) 100%);content:"";mix-blend-mode:multiply}.filter-moon{filter:brightness(1.4) contrast(.95) saturate(0) sepia(.35)}.filter-nashville{filter:sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)}.filter-nashville:before{background:radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(128,78,15,.65) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(128,78,15,.65) 100%);content:"";mix-blend-mode:screen}.filter-perpetua{filter:contrast(1.1) brightness(1.25) saturate(1.1)}.filter-perpetua:before{background:linear-gradient(180deg,rgba(0,91,154,.25),rgba(230,193,61,.25));background:-webkit-linear-gradient(top,rgba(0,91,154,.25),rgba(230,193,61,.25));background:-webkit-gradient(linear,left top,left bottom,from(rgba(0,91,154,.25)),to(rgba(230,193,61,.25)));content:"";mix-blend-mode:multiply}.filter-poprocket{filter:sepia(.15) brightness(1.2)}.filter-poprocket:before{background:radial-gradient(circle closest-corner,rgba(206,39,70,.75) 40%,#000 80%);background:-webkit-radial-gradient(circle closest-corner,rgba(206,39,70,.75) 40%,#000 80%);content:"";mix-blend-mode:screen}.filter-reyes{filter:sepia(.75) contrast(.75) brightness(1.25) saturate(1.4)}.filter-rise{filter:sepia(.25) contrast(1.25) brightness(1.2) saturate(.9)}.filter-rise:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(230,193,61,.25) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(230,193,61,.25) 100%);content:"";mix-blend-mode:lighten}.filter-sierra{filter:sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)}.filter-sierra:before{background:radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(0,0,0,.65) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(0,0,0,.65) 100%);content:"";mix-blend-mode:screen}.filter-skyline{filter:sepia(.15) contrast(1.25) brightness(1.25) saturate(1.2)}.filter-slumber{filter:sepia(.35) contrast(1.25) saturate(1.25)}.filter-slumber:before{background:rgba(125,105,24,.2);content:"";mix-blend-mode:darken}.filter-stinson{filter:sepia(.35) contrast(1.25) brightness(1.1) saturate(1.25)}.filter-stinson:before{background:rgba(125,105,24,.45);content:"";mix-blend-mode:lighten}.filter-sutro{filter:sepia(.4) contrast(1.2) brightness(.9) saturate(1.4) hue-rotate(-10deg)}.filter-sutro:before{background:radial-gradient(circle closest-corner,transparent 50%,rgba(0,0,0,.5) 90%);background:-webkit-radial-gradient(circle closest-corner,transparent 50%,rgba(0,0,0,.5) 90%);content:"";mix-blend-mode:darken}.filter-toaster{filter:sepia(.25) contrast(1.5) brightness(.95) hue-rotate(-15deg)}.filter-toaster:before{background:radial-gradient(circle,#804e0f,rgba(0,0,0,.25));background:-webkit-radial-gradient(circle,#804e0f,rgba(0,0,0,.25));content:"";mix-blend-mode:screen}.filter-valencia{filter:sepia(.25) contrast(1.1) brightness(1.1)}.filter-valencia:before{background:rgba(230,193,61,.1);content:"";mix-blend-mode:lighten}.filter-vesper{filter:sepia(.35) contrast(1.15) brightness(1.2) saturate(1.3)}.filter-vesper:before{background:rgba(125,105,24,.25);content:"";mix-blend-mode:overlay}.filter-walden{filter:sepia(.35) contrast(.8) brightness(1.25) saturate(1.4)}.filter-walden:before{background:hsla(66,79%,72%,.5);content:"";mix-blend-mode:darken}.filter-willow{filter:brightness(1.2) contrast(.85) saturate(.05) sepia(.2)}.filter-xpro-ii{filter:sepia(.45) contrast(1.25) brightness(1.75) saturate(1.3) hue-rotate(-5deg)}.filter-xpro-ii:before{background:radial-gradient(circle closest-corner,rgba(0,91,154,.35) 0,rgba(0,0,0,.65) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(0,91,154,.35) 0,rgba(0,0,0,.65) 100%);content:"";mix-blend-mode:multiply}span.twitter-typeahead{width:100%}span.twitter-typeahead .tt-menu{max-height:365px;overflow-y:auto;width:100%}span.twitter-typeahead .tt-suggestion.tt-cursor,span.twitter-typeahead .tt-suggestion:active{background:#fafafa;color:#212529}.input-group span.twitter-typeahead{align-items:center;display:flex!important;flex:1 1 auto;position:relative;width:1%}.input-group span.twitter-typeahead .tt-hint,.input-group span.twitter-typeahead .tt-input,.input-group span.twitter-typeahead .tt-menu{width:100%}.notification-page .list-group-item{background:transparent;border-bottom:0!important;border-left:0!important;border-right:0!important;padding-bottom:1rem;padding-top:1rem}.switch{font-size:.9rem;position:relative}.switch input{clip:rect(0 0 0 0);background:none;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.switch input+label{border-radius:1.9rem;cursor:pointer;display:inline-block;height:1.9rem;line-height:1.9rem;min-width:3.8rem;outline:none;position:relative;text-indent:4.3rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.switch input+label:after,.switch input+label:before{bottom:0;content:"";display:block;left:0;position:absolute;top:0;width:3.8rem}.switch input+label:before{background-color:#dee2e6;border-radius:1.9rem;right:0;transition:all .2s}.switch input+label:after{background-color:#fff;border-radius:50%;height:calc(1.9rem - 4px);left:2px;top:2px;transition:all .2s;width:calc(1.9rem - 4px)}.switch input:checked+label:before{background-color:#dc3545}.switch input:checked+label:after{margin-left:1.9rem}.switch input:focus+label:before{box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:none}.switch input:disabled+label{color:#868e96;cursor:not-allowed}.switch input:disabled+label:before{background-color:#e9ecef}.switch.switch-sm{font-size:.7875rem}.switch.switch-sm input+label{height:1.55rem;line-height:1.55rem;min-width:3.1rem;text-indent:3.6rem}.switch.switch-sm input+label:before{width:3.1rem}.switch.switch-sm input+label:after{height:calc(1.55rem - 4px);width:calc(1.55rem - 4px)}.switch.switch-sm input:checked+label:after{margin-left:1.55rem}.switch.switch-lg{font-size:1.125rem}.switch.switch-lg input+label{height:2.4rem;line-height:2.4rem;min-width:4.8rem;text-indent:5.3rem}.switch.switch-lg input+label:before{width:4.8rem}.switch.switch-lg input+label:after{height:calc(2.4rem - 4px);width:calc(2.4rem - 4px)}.switch.switch-lg input:checked+label:after{margin-left:2.4rem}.switch+.switch{margin-left:1rem}.bg-moment-passion{background:#e53935;background:linear-gradient(270deg,#e35d5b,#e53935)}.bg-moment-azure{background:#7f7fd5;background:linear-gradient(270deg,#91eae4,#86a8e7,#7f7fd5)}.bg-moment-reef{background:#00d2ff;background:linear-gradient(90deg,#3a7bd5,#00d2ff)}.bg-moment-lush{background:#56ab2f;background:linear-gradient(270deg,#a8e063,#56ab2f)}.bg-moment-neon{background:#b3ffab;background:linear-gradient(90deg,#12fff7,#b3ffab)}.bg-moment-flare{background:#f12711;background:linear-gradient(270deg,#f5af19,#f12711)}.bg-moment-morning{background:#ff5f6d;background:linear-gradient(270deg,#ffc371,#ff5f6d)}.bg-moment-tranquil{background:#eecda3;background:linear-gradient(90deg,#ef629f,#eecda3)}.bg-moment-mauve{background:#42275a;background:linear-gradient(270deg,#734b6d,#42275a)}.bg-moment-argon{background:#03001e;background:linear-gradient(270deg,#fdeff9,#ec38bc,#7303c0,#03001e)}.bg-moment-royal{background:#141e30;background:linear-gradient(270deg,#243b55,#141e30)}.ph-item{background-color:#fff;border:1px solid #e6e6e6;border-radius:2px;direction:ltr;display:flex;flex-wrap:wrap;margin-bottom:30px;overflow:hidden;padding:30px 15px 15px;position:relative}.ph-item,.ph-item *,.ph-item :after,.ph-item :before{box-sizing:border-box}.ph-item:before{-webkit-animation:phAnimation .8s linear infinite;animation:phAnimation .8s linear infinite;background:linear-gradient(90deg,hsla(0,0%,100%,0) 46%,hsla(0,0%,100%,.35) 50%,hsla(0,0%,100%,0) 54%) 50% 50%;bottom:0;content:" ";left:50%;margin-left:-250%;pointer-events:none;position:absolute;right:0;top:0;width:500%;z-index:1}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-left:15px;padding-right:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{background-color:#ced4da;height:10px;margin-top:7.5px}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:hsla(0,0%,100%,0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{background-color:#ced4da;border-radius:50%;min-width:60px;overflow:hidden;position:relative;width:100%}.ph-avatar:before{content:" ";display:block;padding-top:100%}.ph-picture{background-color:#ced4da;height:120px;width:100%}@-webkit-keyframes phAnimation{0%{transform:translate3d(-30%,0,0)}to{transform:translate3d(30%,0,0)}}@keyframes phAnimation{0%{transform:translate3d(-30%,0,0)}to{transform:translate3d(30%,0,0)}} + */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#2c78bf;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#212529;--muted:#697179;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:sans-serif;line-height:1.15}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{background-color:rgba(247,251,253,.471);color:#212529;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.9rem;font-weight:400;line-height:1.6;margin:0;text-align:left}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;margin-top:0}p{margin-bottom:1rem;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{background-color:transparent;color:#2c78bf;text-decoration:none}a:hover{color:#1e5181;text-decoration:underline}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{-ms-overflow-style:scrollbar;margin-bottom:1rem;margin-top:0;overflow:auto}figure{margin:0 0 1rem}img{border-style:none}img,svg{vertical-align:middle}svg{overflow:hidden}table{border-collapse:collapse}caption{caption-side:bottom;color:#6c757d;padding-bottom:.75rem;padding-top:.75rem;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5rem;line-height:inherit;margin-bottom:.5rem;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{cursor:pointer;display:list-item}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-weight:500;line-height:1.2;margin-bottom:.5rem}.h1,h1{font-size:2.25rem}.h2,h2{font-size:1.8rem}.h3,h3{font-size:1.575rem}.h4,h4{font-size:1.35rem}.h5,h5{font-size:1.125rem}.h6,h6{font-size:.9rem}.lead{font-size:1.125rem;font-weight:300}.display-1{font-size:6rem}.display-1,.display-2{font-weight:300;line-height:1.2}.display-2{font-size:5.5rem}.display-3{font-size:4.5rem}.display-3,.display-4{font-weight:300;line-height:1.2}.display-4{font-size:3.5rem}hr{border:0;border-top:1px solid rgba(0,0,0,.1);margin-bottom:1rem;margin-top:1rem}.small,small{font-size:80%;font-weight:400}.mark,mark{background-color:#fcf8e3;padding:.2em}.list-inline,.list-unstyled{list-style:none;padding-left:0}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{font-size:1.125rem;margin-bottom:1rem}.blockquote-footer{color:#6c757d;display:block;font-size:80%}.blockquote-footer:before{content:"— "}.img-fluid,.img-thumbnail{height:auto;max-width:100%}.img-thumbnail{background-color:rgba(247,251,253,.471);border:1px solid #dee2e6;border-radius:.25rem;padding:.25rem}.figure{display:inline-block}.figure-img{line-height:1;margin-bottom:.5rem}.figure-caption{color:#6c757d;font-size:90%}code{word-wrap:break-word;color:#e83e8c;font-size:87.5%}a>code{color:inherit}kbd{background-color:#212529;border-radius:.2rem;color:#fff;font-size:87.5%;padding:.2rem .4rem}kbd kbd{font-size:100%;font-weight:700;padding:0}pre{color:#212529;display:block;font-size:87.5%}pre code{color:inherit;font-size:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;width:100%}@media(min-width:576px){.container,.container-sm{max-width:540px}}@media(min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media(min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media(min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:flex;flex-wrap:wrap;margin-left:-15px;margin-right:-15px}.no-gutters{margin-left:0;margin-right:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-left:0;padding-right:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{padding-left:15px;padding-right:15px;position:relative;width:100%}.col{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-1>*{flex:0 0 100%;max-width:100%}.row-cols-2>*{flex:0 0 50%;max-width:50%}.row-cols-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-4>*{flex:0 0 25%;max-width:25%}.row-cols-5>*{flex:0 0 20%;max-width:20%}.row-cols-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-auto{flex:0 0 auto;max-width:100%;width:auto}.col-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-3{flex:0 0 25%;max-width:25%}.col-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-6{flex:0 0 50%;max-width:50%}.col-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-9{flex:0 0 75%;max-width:75%}.col-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-12{flex:0 0 100%;max-width:100%}.order-first{order:-1}.order-last{order:13}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}@media(min-width:576px){.col-sm{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-sm-1>*{flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-sm-auto{flex:0 0 auto;max-width:100%;width:auto}.col-sm-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-sm-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-sm-3{flex:0 0 25%;max-width:25%}.col-sm-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-sm-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-sm-6{flex:0 0 50%;max-width:50%}.col-sm-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-sm-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-sm-9{flex:0 0 75%;max-width:75%}.col-sm-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-sm-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-sm-12{flex:0 0 100%;max-width:100%}.order-sm-first{order:-1}.order-sm-last{order:13}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}}@media(min-width:768px){.col-md{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-md-1>*{flex:0 0 100%;max-width:100%}.row-cols-md-2>*{flex:0 0 50%;max-width:50%}.row-cols-md-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-md-4>*{flex:0 0 25%;max-width:25%}.row-cols-md-5>*{flex:0 0 20%;max-width:20%}.row-cols-md-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-md-auto{flex:0 0 auto;max-width:100%;width:auto}.col-md-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-md-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-md-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-md-6{flex:0 0 50%;max-width:50%}.col-md-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-md-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-md-9{flex:0 0 75%;max-width:75%}.col-md-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-md-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-md-12{flex:0 0 100%;max-width:100%}.order-md-first{order:-1}.order-md-last{order:13}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}}@media(min-width:992px){.col-lg{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-lg-1>*{flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-lg-auto{flex:0 0 auto;max-width:100%;width:auto}.col-lg-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-lg-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-lg-3{flex:0 0 25%;max-width:25%}.col-lg-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-lg-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-lg-6{flex:0 0 50%;max-width:50%}.col-lg-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-lg-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-lg-9{flex:0 0 75%;max-width:75%}.col-lg-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-lg-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-lg-12{flex:0 0 100%;max-width:100%}.order-lg-first{order:-1}.order-lg-last{order:13}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}}@media(min-width:1200px){.col-xl{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-xl-1>*{flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-xl-auto{flex:0 0 auto;max-width:100%;width:auto}.col-xl-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-xl-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-xl-3{flex:0 0 25%;max-width:25%}.col-xl-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-xl-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-xl-6{flex:0 0 50%;max-width:50%}.col-xl-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-xl-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-xl-9{flex:0 0 75%;max-width:75%}.col-xl-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-xl-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-xl-12{flex:0 0 100%;max-width:100%}.order-xl-first{order:-1}.order-xl-last{order:13}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}}.table{color:#212529;margin-bottom:1rem;width:100%}.table td,.table th{border-top:1px solid #dee2e6;padding:.75rem;vertical-align:top}.table thead th{border-bottom:2px solid #dee2e6;vertical-align:bottom}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered,.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{background-color:rgba(0,0,0,.075);color:#212529}.table-primary,.table-primary>td,.table-primary>th{background-color:#c4d9ed}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#91b9de}.table-hover .table-primary:hover,.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#b0cce7}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover,.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover,.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover,.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover,.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover,.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover,.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c1c2c3}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#8c8e90}.table-hover .table-dark:hover,.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b4b5b6}.table-muted,.table-muted>td,.table-muted>th{background-color:#d5d7d9}.table-muted tbody+tbody,.table-muted td,.table-muted th,.table-muted thead th{border-color:#b1b5b9}.table-hover .table-muted:hover,.table-hover .table-muted:hover>td,.table-hover .table-muted:hover>th{background-color:#c8cacd}.table-active,.table-active>td,.table-active>th,.table-hover .table-active:hover,.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{background-color:#343a40;border-color:#454d55;color:#fff}.table .thead-light th{background-color:#e9ecef;border-color:#dee2e6;color:#495057}.table-dark{background-color:#343a40;color:#fff}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:hsla(0,0%,100%,.05)}.table-dark.table-hover tbody tr:hover{background-color:hsla(0,0%,100%,.075);color:#fff}@media(max-width:575.98px){.table-responsive-sm{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-sm>.table-bordered{border:0}}@media(max-width:767.98px){.table-responsive-md{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-md>.table-bordered{border:0}}@media(max-width:991.98px){.table-responsive-lg{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-lg>.table-bordered{border:0}}@media(max-width:1199.98px){.table-responsive-xl{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive>.table-bordered{border:0}.form-control{background-clip:padding-box;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem;color:#495057;display:block;font-size:.9rem;font-weight:400;height:2.375rem;line-height:1.6;padding:.375rem .75rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:focus{background-color:#fff;border-color:#87b7e3;box-shadow:0 0 0 .2rem rgba(44,120,191,.25);color:#495057;outline:0}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control:-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{-webkit-appearance:none;-moz-appearance:none;appearance:none}select.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}select.form-control:focus::-ms-value{background-color:#fff;color:#495057}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{font-size:inherit;line-height:1.6;margin-bottom:0;padding-bottom:calc(.375rem + 1px);padding-top:calc(.375rem + 1px)}.col-form-label-lg{font-size:1.125rem;line-height:1.5;padding-bottom:calc(.5rem + 1px);padding-top:calc(.5rem + 1px)}.col-form-label-sm{font-size:.7875rem;line-height:1.5;padding-bottom:calc(.25rem + 1px);padding-top:calc(.25rem + 1px)}.form-control-plaintext{background-color:transparent;border:solid transparent;border-width:1px 0;color:#212529;display:block;font-size:.9rem;line-height:1.6;margin-bottom:0;padding:.375rem 0;width:100%}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-left:0;padding-right:0}.form-control-sm{border-radius:.2rem;font-size:.7875rem;height:1.9375rem;line-height:1.5;padding:.25rem .5rem}.form-control-lg{border-radius:.3rem;font-size:1.125rem;height:3rem;line-height:1.5;padding:.5rem 1rem}select.form-control[multiple],select.form-control[size],textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:flex;flex-wrap:wrap;margin-left:-5px;margin-right:-5px}.form-row>.col,.form-row>[class*=col-]{padding-left:5px;padding-right:5px}.form-check{display:block;padding-left:1.25rem;position:relative}.form-check-input{margin-left:-1.25rem;margin-top:.3rem;position:absolute}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{align-items:center;display:inline-flex;margin-right:.75rem;padding-left:0}.form-check-inline .form-check-input{margin-left:0;margin-right:.3125rem;margin-top:0;position:static}.valid-feedback{color:#28a745;display:none;font-size:80%;margin-top:.25rem;width:100%}.valid-tooltip{background-color:rgba(40,167,69,.9);border-radius:.25rem;color:#fff;display:none;font-size:.7875rem;left:0;line-height:1.6;margin-top:.1rem;max-width:100%;padding:.25rem .5rem;position:absolute;top:100%;z-index:5}.form-row>.col>.valid-tooltip,.form-row>[class*=col-]>.valid-tooltip{left:5px}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%2328a745' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");background-position:right calc(.4em + .1875rem) center;background-repeat:no-repeat;background-size:calc(.8em + .375rem) calc(.8em + .375rem);border-color:#28a745;padding-right:calc(1.6em + .75rem)!important}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.was-validated select.form-control:valid,select.form-control.is-valid{background-position:right 1.5rem center;padding-right:3rem!important}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{background-position:top calc(.4em + .1875rem) right calc(.4em + .1875rem);padding-right:calc(1.6em + .75rem)}.custom-select.is-valid,.was-validated .custom-select:valid{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%2328a745' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E") center right 1.75rem/calc(.8em + .375rem) calc(.8em + .375rem) no-repeat;border-color:#28a745;padding-right:calc(.75em + 2.3125rem)!important}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label:before,.was-validated .custom-control-input:valid~.custom-control-label:before{border-color:#28a745}.custom-control-input.is-valid:checked~.custom-control-label:before,.was-validated .custom-control-input:valid:checked~.custom-control-label:before{background-color:#34ce57;border-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label:before,.was-validated .custom-control-input:valid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label:before{border-color:#28a745}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.invalid-feedback{color:#dc3545;display:none;font-size:80%;margin-top:.25rem;width:100%}.invalid-tooltip{background-color:rgba(220,53,69,.9);border-radius:.25rem;color:#fff;display:none;font-size:.7875rem;left:0;line-height:1.6;margin-top:.1rem;max-width:100%;padding:.25rem .5rem;position:absolute;top:100%;z-index:5}.form-row>.col>.invalid-tooltip,.form-row>[class*=col-]>.invalid-tooltip{left:5px}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E");background-position:right calc(.4em + .1875rem) center;background-repeat:no-repeat;background-size:calc(.8em + .375rem) calc(.8em + .375rem);border-color:#dc3545;padding-right:calc(1.6em + .75rem)!important}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.was-validated select.form-control:invalid,select.form-control.is-invalid{background-position:right 1.5rem center;padding-right:3rem!important}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{background-position:top calc(.4em + .1875rem) right calc(.4em + .1875rem);padding-right:calc(1.6em + .75rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E") center right 1.75rem/calc(.8em + .375rem) calc(.8em + .375rem) no-repeat;border-color:#dc3545;padding-right:calc(.75em + 2.3125rem)!important}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label:before,.was-validated .custom-control-input:invalid~.custom-control-label:before{border-color:#dc3545}.custom-control-input.is-invalid:checked~.custom-control-label:before,.was-validated .custom-control-input:invalid:checked~.custom-control-label:before{background-color:#e4606d;border-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label:before{border-color:#dc3545}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-inline{align-items:center;display:flex;flex-flow:row wrap}.form-inline .form-check{width:100%}@media(min-width:576px){.form-inline label{justify-content:center}.form-inline .form-group,.form-inline label{align-items:center;display:flex;margin-bottom:0}.form-inline .form-group{flex:0 0 auto;flex-flow:row wrap}.form-inline .form-control{display:inline-block;vertical-align:middle;width:auto}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{align-items:center;display:flex;justify-content:center;padding-left:0;width:auto}.form-inline .form-check-input{flex-shrink:0;margin-left:0;margin-right:.25rem;margin-top:0;position:relative}.form-inline .custom-control{align-items:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{background-color:transparent;border:1px solid transparent;border-radius:.25rem;color:#212529;display:inline-block;font-size:.9rem;font-weight:400;line-height:1.6;padding:.375rem .75rem;text-align:center;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}@media(prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:0}.btn.disabled,.btn:disabled{opacity:.65}.btn:not(:disabled):not(.disabled){cursor:pointer}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-primary.focus,.btn-primary:focus,.btn-primary:hover{background-color:#2564a0;border-color:#225e96;color:#fff}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem rgba(76,140,201,.5)}.btn-primary.disabled,.btn-primary:disabled{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{background-color:#225e96;border-color:#20578b;color:#fff}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(76,140,201,.5)}.btn-secondary{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-secondary.focus,.btn-secondary:focus,.btn-secondary:hover{background-color:#5a6268;border-color:#545b62;color:#fff}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 0 0 .2rem hsla(208,6%,54%,.5)}.btn-secondary.disabled,.btn-secondary:disabled{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{background-color:#545b62;border-color:#4e555b;color:#fff}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(208,6%,54%,.5)}.btn-success{background-color:#28a745;border-color:#28a745;color:#fff}.btn-success.focus,.btn-success:focus,.btn-success:hover{background-color:#218838;border-color:#1e7e34;color:#fff}.btn-success.focus,.btn-success:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-success.disabled,.btn-success:disabled{background-color:#28a745;border-color:#28a745;color:#fff}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{background-color:#1e7e34;border-color:#1c7430;color:#fff}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-info{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-info.focus,.btn-info:focus,.btn-info:hover{background-color:#138496;border-color:#117a8b;color:#fff}.btn-info.focus,.btn-info:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-info.disabled,.btn-info:disabled{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{background-color:#117a8b;border-color:#10707f;color:#fff}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-warning{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-warning.focus,.btn-warning:focus,.btn-warning:hover{background-color:#e0a800;border-color:#d39e00;color:#212529}.btn-warning.focus,.btn-warning:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-warning.disabled,.btn-warning:disabled{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{background-color:#d39e00;border-color:#c69500;color:#212529}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-danger{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-danger.focus,.btn-danger:focus,.btn-danger:hover{background-color:#c82333;border-color:#bd2130;color:#fff}.btn-danger.focus,.btn-danger:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{background-color:#bd2130;border-color:#b21f2d;color:#fff}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-light{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-light.focus,.btn-light:focus,.btn-light:hover{background-color:#e2e6ea;border-color:#dae0e5;color:#212529}.btn-light.focus,.btn-light:focus{box-shadow:0 0 0 .2rem hsla(220,4%,85%,.5)}.btn-light.disabled,.btn-light:disabled{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{background-color:#dae0e5;border-color:#d3d9df;color:#212529}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(220,4%,85%,.5)}.btn-dark{background-color:#212529;border-color:#212529;color:#fff}.btn-dark.focus,.btn-dark:focus,.btn-dark:hover{background-color:#101214;border-color:#0a0c0d;color:#fff}.btn-dark.focus,.btn-dark:focus{box-shadow:0 0 0 .2rem rgba(66,70,73,.5)}.btn-dark.disabled,.btn-dark:disabled{background-color:#212529;border-color:#212529;color:#fff}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{background-color:#0a0c0d;border-color:#050506;color:#fff}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(66,70,73,.5)}.btn-muted{background-color:#697179;border-color:#697179;color:#fff}.btn-muted.focus,.btn-muted:focus,.btn-muted:hover{background-color:#575e65;border-color:#51585e;color:#fff}.btn-muted.focus,.btn-muted:focus{box-shadow:0 0 0 .2rem hsla(212,5%,53%,.5)}.btn-muted.disabled,.btn-muted:disabled{background-color:#697179;border-color:#697179;color:#fff}.btn-muted:not(:disabled):not(.disabled).active,.btn-muted:not(:disabled):not(.disabled):active,.show>.btn-muted.dropdown-toggle{background-color:#51585e;border-color:#4b5157;color:#fff}.btn-muted:not(:disabled):not(.disabled).active:focus,.btn-muted:not(:disabled):not(.disabled):active:focus,.show>.btn-muted.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(212,5%,53%,.5)}.btn-outline-primary{border-color:#2c78bf;color:#2c78bf}.btn-outline-primary:hover{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{background-color:transparent;color:#2c78bf}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.5)}.btn-outline-secondary{border-color:#6c757d;color:#6c757d}.btn-outline-secondary:hover{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem hsla(208,7%,46%,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{background-color:transparent;color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(208,7%,46%,.5)}.btn-outline-success{border-color:#28a745;color:#28a745}.btn-outline-success:hover{background-color:#28a745;border-color:#28a745;color:#fff}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{background-color:transparent;color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{background-color:#28a745;border-color:#28a745;color:#fff}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-info{border-color:#17a2b8;color:#17a2b8}.btn-outline-info:hover{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{background-color:transparent;color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-warning{border-color:#ffc107;color:#ffc107}.btn-outline-warning:hover{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{background-color:transparent;color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-danger{border-color:#dc3545;color:#dc3545}.btn-outline-danger:hover{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{background-color:transparent;color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-light{border-color:#f8f9fa;color:#f8f9fa}.btn-outline-light:hover{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{background-color:transparent;color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-dark{border-color:#212529;color:#212529}.btn-outline-dark:hover{background-color:#212529;border-color:#212529;color:#fff}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem rgba(33,37,41,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{background-color:transparent;color:#212529}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{background-color:#212529;border-color:#212529;color:#fff}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(33,37,41,.5)}.btn-outline-muted{border-color:#697179;color:#697179}.btn-outline-muted:hover{background-color:#697179;border-color:#697179;color:#fff}.btn-outline-muted.focus,.btn-outline-muted:focus{box-shadow:0 0 0 .2rem hsla(210,7%,44%,.5)}.btn-outline-muted.disabled,.btn-outline-muted:disabled{background-color:transparent;color:#697179}.btn-outline-muted:not(:disabled):not(.disabled).active,.btn-outline-muted:not(:disabled):not(.disabled):active,.show>.btn-outline-muted.dropdown-toggle{background-color:#697179;border-color:#697179;color:#fff}.btn-outline-muted:not(:disabled):not(.disabled).active:focus,.btn-outline-muted:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-muted.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(210,7%,44%,.5)}.btn-link{color:#2c78bf;font-weight:400;text-decoration:none}.btn-link:hover{color:#1e5181}.btn-link.focus,.btn-link:focus,.btn-link:hover{text-decoration:underline}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{border-radius:.3rem;font-size:1.125rem;line-height:1.5;padding:.5rem 1rem}.btn-group-sm>.btn,.btn-sm{border-radius:.2rem;font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media(prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;position:relative;transition:height .35s ease}@media(prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{border-bottom:0;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:.3em solid;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu,span.twitter-typeahead .tt-menu{background-clip:padding-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;color:#212529;display:none;float:left;font-size:.9rem;left:0;list-style:none;margin:.125rem 0 0;min-width:10rem;padding:.5rem 0;position:absolute;text-align:left;top:100%;z-index:1000}.dropdown-menu-left{left:0;right:auto}.dropdown-menu-right{left:auto;right:0}@media(min-width:576px){.dropdown-menu-sm-left{left:0;right:auto}.dropdown-menu-sm-right{left:auto;right:0}}@media(min-width:768px){.dropdown-menu-md-left{left:0;right:auto}.dropdown-menu-md-right{left:auto;right:0}}@media(min-width:992px){.dropdown-menu-lg-left{left:0;right:auto}.dropdown-menu-lg-right{left:auto;right:0}}@media(min-width:1200px){.dropdown-menu-xl-left{left:0;right:auto}.dropdown-menu-xl-right{left:auto;right:0}}.dropup .dropdown-menu,.dropup span.twitter-typeahead .tt-menu,span.twitter-typeahead .dropup .tt-menu{bottom:100%;margin-bottom:.125rem;margin-top:0;top:auto}.dropup .dropdown-toggle:after{border-bottom:.3em solid;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:0;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-menu,.dropright span.twitter-typeahead .tt-menu,span.twitter-typeahead .dropright .tt-menu{left:100%;margin-left:.125rem;margin-top:0;right:auto;top:0}.dropright .dropdown-toggle:after{border-bottom:.3em solid transparent;border-left:.3em solid;border-right:0;border-top:.3em solid transparent;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropright .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-toggle:after{vertical-align:0}.dropleft .dropdown-menu,.dropleft span.twitter-typeahead .tt-menu,span.twitter-typeahead .dropleft .tt-menu{left:auto;margin-right:.125rem;margin-top:0;right:100%;top:0}.dropleft .dropdown-toggle:after{content:"";display:inline-block;display:none;margin-left:.255em;vertical-align:.255em}.dropleft .dropdown-toggle:before{border-bottom:.3em solid transparent;border-right:.3em solid;border-top:.3em solid transparent;content:"";display:inline-block;margin-right:.255em;vertical-align:.255em}.dropleft .dropdown-toggle:empty:after{margin-left:0}.dropleft .dropdown-toggle:before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top],span.twitter-typeahead [x-placement^=bottom].tt-menu,span.twitter-typeahead [x-placement^=left].tt-menu,span.twitter-typeahead [x-placement^=right].tt-menu,span.twitter-typeahead [x-placement^=top].tt-menu{bottom:auto;right:auto}.dropdown-divider{border-top:1px solid #e9ecef;height:0;margin:.5rem 0;overflow:hidden}.dropdown-item,span.twitter-typeahead .tt-suggestion{background-color:transparent;border:0;clear:both;color:#212529;display:block;font-weight:400;padding:.25rem 1.5rem;text-align:inherit;white-space:nowrap;width:100%}.dropdown-item:focus,.dropdown-item:hover,span.twitter-typeahead .tt-suggestion:focus,span.twitter-typeahead .tt-suggestion:hover{background-color:#e9ecef;color:#16181b;text-decoration:none}.dropdown-item.active,.dropdown-item:active,span.twitter-typeahead .active.tt-suggestion,span.twitter-typeahead .tt-suggestion:active{background-color:#2c78bf;color:#fff;text-decoration:none}.dropdown-item.disabled,.dropdown-item:disabled,span.twitter-typeahead .disabled.tt-suggestion,span.twitter-typeahead .tt-suggestion:disabled{background-color:transparent;color:#adb5bd;pointer-events:none}.dropdown-menu.show,span.twitter-typeahead .show.tt-menu{display:block}.dropdown-header{color:#6c757d;display:block;font-size:.7875rem;margin-bottom:0;padding:.5rem 1.5rem;white-space:nowrap}.dropdown-item-text{color:#212529;display:block;padding:.25rem 1.5rem}.btn-group,.btn-group-vertical{display:inline-flex;position:relative;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{flex:1 1 auto;position:relative}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.dropdown-toggle-split{padding-left:.5625rem;padding-right:.5625rem}.dropdown-toggle-split:after,.dropright .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropleft .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-left:.375rem;padding-right:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-left:.75rem;padding-right:.75rem}.btn-group-vertical{align-items:flex-start;flex-direction:column;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-left-radius:0;border-bottom-right-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{clip:rect(0,0,0,0);pointer-events:none;position:absolute}.input-group{align-items:stretch;display:flex;flex-wrap:wrap;position:relative;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{flex:1 1 auto;margin-bottom:0;min-width:0;position:relative;width:1%}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group>.custom-file{align-items:center;display:flex}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label:after{border-bottom-right-radius:0;border-top-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-bottom-left-radius:0;border-top-left-radius:0}.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label,.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label:after,.input-group.has-validation>.custom-select:nth-last-child(n+3),.input-group.has-validation>.form-control:nth-last-child(n+3),.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label,.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label:after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.input-group-append,.input-group-prepend{display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{align-items:center;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem;color:#495057;display:flex;font-size:.9rem;font-weight:400;line-height:1.6;margin-bottom:0;padding:.375rem .75rem;text-align:center;white-space:nowrap}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:3rem}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{border-radius:.3rem;font-size:1.125rem;line-height:1.5;padding:.5rem 1rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:1.9375rem}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{border-radius:.2rem;font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.btn,.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.input-group-text,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.btn,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-bottom-right-radius:0;border-top-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-bottom-left-radius:0;border-top-left-radius:0}.custom-control{color-adjust:exact;display:block;min-height:1.44rem;padding-left:1.5rem;position:relative;-webkit-print-color-adjust:exact;z-index:1}.custom-control-inline{display:inline-flex;margin-right:1rem}.custom-control-input{height:1.22rem;left:0;opacity:0;position:absolute;width:1rem;z-index:-1}.custom-control-input:checked~.custom-control-label:before{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.custom-control-input:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(44,120,191,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label:before{border-color:#87b7e3}.custom-control-input:not(:disabled):active~.custom-control-label:before{background-color:#b1d0ed;border-color:#b1d0ed;color:#fff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label:before,.custom-control-input[disabled]~.custom-control-label:before{background-color:#e9ecef}.custom-control-label{margin-bottom:0;position:relative;vertical-align:top}.custom-control-label:before{background-color:#dee2e6;border:1px solid #adb5bd;pointer-events:none}.custom-control-label:after,.custom-control-label:before{content:"";display:block;height:1rem;left:-1.5rem;position:absolute;top:.22rem;width:1rem}.custom-control-label:after{background:50%/50% 50% no-repeat}.custom-checkbox .custom-control-label:before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%23fff' d='m6.564.75-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:before{background-color:#2c78bf;border-color:#2c78bf}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-radio .custom-control-label:before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label:before{border-radius:.5rem;left:-2.25rem;pointer-events:all;width:1.75rem}.custom-switch .custom-control-label:after{background-color:#adb5bd;border-radius:.5rem;height:calc(1rem - 4px);left:calc(-2.25rem + 2px);top:calc(.22rem + 2px);transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:calc(1rem - 4px)}@media(prefers-reduced-motion:reduce){.custom-switch .custom-control-label:after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label:after{background-color:#dee2e6;transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right .75rem center/8px 10px no-repeat;border:1px solid #ced4da;border-radius:.25rem;color:#495057;display:inline-block;font-size:.9rem;font-weight:400;height:2.375rem;line-height:1.6;padding:.375rem 1.75rem .375rem .75rem;vertical-align:middle;width:100%}.custom-select:focus{border-color:#87b7e3;box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:0}.custom-select:focus::-ms-value{background-color:#fff;color:#495057}.custom-select[multiple],.custom-select[size]:not([size="1"]){background-image:none;height:auto;padding-right:.75rem}.custom-select:disabled{background-color:#e9ecef;color:#6c757d}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.custom-select-sm{font-size:.7875rem;height:1.9375rem;padding-bottom:.25rem;padding-left:.5rem;padding-top:.25rem}.custom-select-lg{font-size:1.125rem;height:3rem;padding-bottom:.5rem;padding-left:1rem;padding-top:.5rem}.custom-file{display:inline-block;margin-bottom:0}.custom-file,.custom-file-input{height:2.375rem;position:relative;width:100%}.custom-file-input{margin:0;opacity:0;overflow:hidden;z-index:2}.custom-file-input:focus~.custom-file-label{border-color:#87b7e3;box-shadow:0 0 0 .2rem rgba(44,120,191,.25)}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label:after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]:after{content:attr(data-browse)}.custom-file-label{background-color:#fff;border:1px solid #ced4da;border-radius:.25rem;font-weight:400;height:2.375rem;left:0;overflow:hidden;z-index:1}.custom-file-label,.custom-file-label:after{color:#495057;line-height:1.6;padding:.375rem .75rem;position:absolute;right:0;top:0}.custom-file-label:after{background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0;bottom:0;content:"Browse";display:block;height:calc(1.6em + .75rem);z-index:3}.custom-range{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;height:1.4rem;padding:0;width:100%}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px rgba(247,251,253,.471),0 0 0 .2rem rgba(44,120,191,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px rgba(247,251,253,.471),0 0 0 .2rem rgba(44,120,191,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px rgba(247,251,253,.471),0 0 0 .2rem rgba(44,120,191,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:#2c78bf;border:0;border-radius:1rem;height:1rem;margin-top:-.25rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b1d0ed}.custom-range::-webkit-slider-runnable-track{background-color:#dee2e6;border-color:transparent;border-radius:1rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:#2c78bf;border:0;border-radius:1rem;height:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b1d0ed}.custom-range::-moz-range-track{background-color:#dee2e6;border-color:transparent;border-radius:1rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-ms-thumb{appearance:none;background-color:#2c78bf;border:0;border-radius:1rem;height:1rem;margin-left:.2rem;margin-right:.2rem;margin-top:0;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#b1d0ed}.custom-range::-ms-track{background-color:transparent;border-color:transparent;border-width:.5rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-ms-fill-lower,.custom-range::-ms-fill-upper{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label:before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.custom-control-label:before,.custom-file-label,.custom-select{transition:none}}.nav{display:flex;flex-wrap:wrap;list-style:none;margin-bottom:0;padding-left:0}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;cursor:default;pointer-events:none}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem;margin-bottom:-1px}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{background-color:transparent;border-color:transparent;color:#6c757d}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{background-color:rgba(247,251,253,.471);border-color:#dee2e6 #dee2e6 rgba(247,251,253,.471);color:#495057}.nav-tabs .dropdown-menu,.nav-tabs span.twitter-typeahead .tt-menu,span.twitter-typeahead .nav-tabs .tt-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{background-color:#2c78bf;color:#fff}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{padding:.5rem 1rem;position:relative}.navbar,.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.navbar-brand{display:inline-block;font-size:1.125rem;line-height:inherit;margin-right:1rem;padding-bottom:.32rem;padding-top:.32rem;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:flex;flex-direction:column;list-style:none;margin-bottom:0;padding-left:0}.navbar-nav .nav-link{padding-left:0;padding-right:0}.navbar-nav .dropdown-menu,.navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-nav .tt-menu{float:none;position:static}.navbar-text{display:inline-block;padding-bottom:.5rem;padding-top:.5rem}.navbar-collapse{align-items:center;flex-basis:100%;flex-grow:1}.navbar-toggler{background-color:transparent;border:1px solid transparent;border-radius:.25rem;font-size:1.125rem;line-height:1;padding:.25rem .75rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{background:50%/100% 100% no-repeat;content:"";display:inline-block;height:1.5em;vertical-align:middle;width:1.5em}.navbar-nav-scroll{max-height:75vh;overflow-y:auto}@media(max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-left:0;padding-right:0}}@media(min-width:576px){.navbar-expand-sm{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu,.navbar-expand-sm .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-sm .navbar-nav .tt-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{flex-wrap:nowrap}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media(max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-left:0;padding-right:0}}@media(min-width:768px){.navbar-expand-md{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu,.navbar-expand-md .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-md .navbar-nav .tt-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{flex-wrap:nowrap}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media(max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-left:0;padding-right:0}}@media(min-width:992px){.navbar-expand-lg{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu,.navbar-expand-lg .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-lg .navbar-nav .tt-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{flex-wrap:nowrap}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media(max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-left:0;padding-right:0}}@media(min-width:1200px){.navbar-expand-xl{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu,.navbar-expand-xl .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-xl .navbar-nav .tt-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{flex-wrap:nowrap}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-left:0;padding-right:0}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu,.navbar-expand .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand .navbar-nav .tt-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{flex-wrap:nowrap}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.5)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand,.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:hsla(0,0%,100%,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:hsla(0,0%,100%,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{border-color:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")}.navbar-dark .navbar-text{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{word-wrap:break-word;background-clip:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.125);border-radius:.25rem;display:flex;flex-direction:column;min-width:0;position:relative}.card>hr{margin-left:0;margin-right:0}.card>.list-group{border-bottom:inherit;border-top:inherit}.card>.list-group:first-child{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px);border-top-width:0}.card>.list-group:last-child{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px);border-bottom-width:0}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{background-color:#fff;border-bottom:1px solid rgba(0,0,0,.125);margin-bottom:0;padding:.75rem 1.25rem}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{background-color:#fff;border-top:1px solid rgba(0,0,0,.125);padding:.75rem 1.25rem}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{border-bottom:0;margin-bottom:-.75rem}.card-header-pills,.card-header-tabs{margin-left:-.625rem;margin-right:-.625rem}.card-img-overlay{border-radius:calc(.25rem - 1px);bottom:0;left:0;padding:1.25rem;position:absolute;right:0;top:0}.card-img,.card-img-bottom,.card-img-top{flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media(min-width:576px){.card-deck{display:flex;flex-flow:row wrap;margin-left:-15px;margin-right:-15px}.card-deck .card{flex:1 0 0%;margin-bottom:0;margin-left:15px;margin-right:15px}}.card-group>.card{margin-bottom:15px}@media(min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{border-left:0;margin-left:0}.card-group>.card:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media(min-width:576px){.card-columns{-moz-column-count:3;column-count:3;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion{overflow-anchor:none}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{background-color:#e9ecef;border-radius:.25rem;display:flex;flex-wrap:wrap;list-style:none;margin-bottom:1rem;padding:.75rem 1rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item:before{color:#6c757d;content:"/";float:left;padding-right:.5rem}.breadcrumb-item+.breadcrumb-item:hover:before{text-decoration:underline;text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{border-radius:.25rem;display:flex;list-style:none;padding-left:0}.page-link{background-color:#fff;border:1px solid #dee2e6;color:#2c78bf;display:block;line-height:1.25;margin-left:-1px;padding:.5rem .75rem;position:relative}.page-link:hover{background-color:#e9ecef;border-color:#dee2e6;color:#1e5181;text-decoration:none;z-index:2}.page-link:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:0;z-index:3}.page-item:first-child .page-link{border-bottom-left-radius:.25rem;border-top-left-radius:.25rem;margin-left:0}.page-item:last-child .page-link{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.page-item.active .page-link{background-color:#2c78bf;border-color:#2c78bf;color:#fff;z-index:3}.page-item.disabled .page-link{background-color:#fff;border-color:#dee2e6;color:#6c757d;cursor:auto;pointer-events:none}.pagination-lg .page-link{font-size:1.125rem;line-height:1.5;padding:.75rem 1.5rem}.pagination-lg .page-item:first-child .page-link{border-bottom-left-radius:.3rem;border-top-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-bottom-right-radius:.3rem;border-top-right-radius:.3rem}.pagination-sm .page-link{font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.pagination-sm .page-item:first-child .page-link{border-bottom-left-radius:.2rem;border-top-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-bottom-right-radius:.2rem;border-top-right-radius:.2rem}.badge{border-radius:.25rem;display:inline-block;font-size:75%;font-weight:700;line-height:1;padding:.25em .4em;text-align:center;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;vertical-align:baseline;white-space:nowrap}@media(prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{border-radius:10rem;padding-left:.6em;padding-right:.6em}.badge-primary{background-color:#2c78bf;color:#fff}a.badge-primary:focus,a.badge-primary:hover{background-color:#225e96;color:#fff}a.badge-primary.focus,a.badge-primary:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.5);outline:0}.badge-secondary{background-color:#6c757d;color:#fff}a.badge-secondary:focus,a.badge-secondary:hover{background-color:#545b62;color:#fff}a.badge-secondary.focus,a.badge-secondary:focus{box-shadow:0 0 0 .2rem hsla(208,7%,46%,.5);outline:0}.badge-success{background-color:#28a745;color:#fff}a.badge-success:focus,a.badge-success:hover{background-color:#1e7e34;color:#fff}a.badge-success.focus,a.badge-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5);outline:0}.badge-info{background-color:#17a2b8;color:#fff}a.badge-info:focus,a.badge-info:hover{background-color:#117a8b;color:#fff}a.badge-info.focus,a.badge-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5);outline:0}.badge-warning{background-color:#ffc107;color:#212529}a.badge-warning:focus,a.badge-warning:hover{background-color:#d39e00;color:#212529}a.badge-warning.focus,a.badge-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5);outline:0}.badge-danger{background-color:#dc3545;color:#fff}a.badge-danger:focus,a.badge-danger:hover{background-color:#bd2130;color:#fff}a.badge-danger.focus,a.badge-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5);outline:0}.badge-light{background-color:#f8f9fa;color:#212529}a.badge-light:focus,a.badge-light:hover{background-color:#dae0e5;color:#212529}a.badge-light.focus,a.badge-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5);outline:0}.badge-dark{background-color:#212529;color:#fff}a.badge-dark:focus,a.badge-dark:hover{background-color:#0a0c0d;color:#fff}a.badge-dark.focus,a.badge-dark:focus{box-shadow:0 0 0 .2rem rgba(33,37,41,.5);outline:0}.badge-muted{background-color:#697179;color:#fff}a.badge-muted:focus,a.badge-muted:hover{background-color:#51585e;color:#fff}a.badge-muted.focus,a.badge-muted:focus{box-shadow:0 0 0 .2rem hsla(210,7%,44%,.5);outline:0}.jumbotron{background-color:#e9ecef;border-radius:.3rem;margin-bottom:2rem;padding:2rem 1rem}@media(min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{border-radius:0;padding-left:0;padding-right:0}.alert{border:1px solid transparent;border-radius:.25rem;margin-bottom:1rem;padding:.75rem 1.25rem;position:relative}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3.85rem}.alert-dismissible .close{color:inherit;padding:.75rem 1.25rem;position:absolute;right:0;top:0;z-index:2}.alert-primary{background-color:#d5e4f2;border-color:#c4d9ed;color:#173e63}.alert-primary hr{border-top-color:#b0cce7}.alert-primary .alert-link{color:#0d243a}.alert-secondary{background-color:#e2e3e5;border-color:#d6d8db;color:#383d41}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{background-color:#d4edda;border-color:#c3e6cb;color:#155724}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{background-color:#d1ecf1;border-color:#bee5eb;color:#0c5460}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{background-color:#fff3cd;border-color:#ffeeba;color:#856404}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{background-color:#f8d7da;border-color:#f5c6cb;color:#721c24}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{background-color:#fefefe;border-color:#fdfdfe;color:#818182}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{background-color:#d3d3d4;border-color:#c1c2c3;color:#111315}.alert-dark hr{border-top-color:#b4b5b6}.alert-dark .alert-link{color:#000}.alert-muted{background-color:#e1e3e4;border-color:#d5d7d9;color:#373b3f}.alert-muted hr{border-top-color:#c8cacd}.alert-muted .alert-link{color:#1f2224}@-webkit-keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}.progress{background-color:#e9ecef;border-radius:.25rem;font-size:.675rem;height:1rem;line-height:0}.progress,.progress-bar{display:flex;overflow:hidden}.progress-bar{background-color:#2c78bf;color:#fff;flex-direction:column;justify-content:center;text-align:center;transition:width .6s ease;white-space:nowrap}@media(prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media(prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{align-items:flex-start;display:flex}.media-body{flex:1}.list-group{border-radius:.25rem;display:flex;flex-direction:column;margin-bottom:0;padding-left:0}.list-group-item-action{color:#495057;text-align:inherit;width:100%}.list-group-item-action:focus,.list-group-item-action:hover{background-color:#f8f9fa;color:#495057;text-decoration:none;z-index:1}.list-group-item-action:active{background-color:#e9ecef;color:#212529}.list-group-item{background-color:#fff;border:1px solid rgba(0,0,0,.125);display:block;padding:.75rem 1.25rem;position:relative}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{background-color:#fff;color:#6c757d;pointer-events:none}.list-group-item.active{background-color:#2c78bf;border-color:#2c78bf;color:#fff;z-index:2}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{border-top-width:1px;margin-top:-1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}@media(min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-md>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{background-color:#c4d9ed;color:#173e63}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{background-color:#b0cce7;color:#173e63}.list-group-item-primary.list-group-item-action.active{background-color:#173e63;border-color:#173e63;color:#fff}.list-group-item-secondary{background-color:#d6d8db;color:#383d41}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{background-color:#c8cbcf;color:#383d41}.list-group-item-secondary.list-group-item-action.active{background-color:#383d41;border-color:#383d41;color:#fff}.list-group-item-success{background-color:#c3e6cb;color:#155724}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{background-color:#b1dfbb;color:#155724}.list-group-item-success.list-group-item-action.active{background-color:#155724;border-color:#155724;color:#fff}.list-group-item-info{background-color:#bee5eb;color:#0c5460}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{background-color:#abdde5;color:#0c5460}.list-group-item-info.list-group-item-action.active{background-color:#0c5460;border-color:#0c5460;color:#fff}.list-group-item-warning{background-color:#ffeeba;color:#856404}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{background-color:#ffe8a1;color:#856404}.list-group-item-warning.list-group-item-action.active{background-color:#856404;border-color:#856404;color:#fff}.list-group-item-danger{background-color:#f5c6cb;color:#721c24}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{background-color:#f1b0b7;color:#721c24}.list-group-item-danger.list-group-item-action.active{background-color:#721c24;border-color:#721c24;color:#fff}.list-group-item-light{background-color:#fdfdfe;color:#818182}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{background-color:#ececf6;color:#818182}.list-group-item-light.list-group-item-action.active{background-color:#818182;border-color:#818182;color:#fff}.list-group-item-dark{background-color:#c1c2c3;color:#111315}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{background-color:#b4b5b6;color:#111315}.list-group-item-dark.list-group-item-action.active{background-color:#111315;border-color:#111315;color:#fff}.list-group-item-muted{background-color:#d5d7d9;color:#373b3f}.list-group-item-muted.list-group-item-action:focus,.list-group-item-muted.list-group-item-action:hover{background-color:#c8cacd;color:#373b3f}.list-group-item-muted.list-group-item-action.active{background-color:#373b3f;border-color:#373b3f;color:#fff}.close{color:#000;float:right;font-size:1.35rem;font-weight:700;line-height:1;opacity:.5;text-shadow:0 1px 0 #fff}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{background-color:transparent;border:0;padding:0}a.close.disabled{pointer-events:none}.toast{background-clip:padding-box;background-color:hsla(0,0%,100%,.85);border:1px solid rgba(0,0,0,.1);border-radius:.25rem;box-shadow:0 .25rem .75rem rgba(0,0,0,.1);flex-basis:350px;font-size:.875rem;max-width:350px;opacity:0}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{align-items:center;background-clip:padding-box;background-color:hsla(0,0%,100%,.85);border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px);color:#6c757d;display:flex;padding:.25rem .75rem}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{display:none;height:100%;left:0;outline:0;overflow:hidden;position:fixed;top:0;width:100%;z-index:1050}.modal-dialog{margin:.5rem;pointer-events:none;position:relative;width:auto}.modal.fade .modal-dialog{transform:translateY(-50px);transition:transform .3s ease-out}@media(prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{align-items:center;display:flex;min-height:calc(100% - 1rem)}.modal-dialog-centered:before{content:"";display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-dialog-centered.modal-dialog-scrollable{flex-direction:column;height:100%;justify-content:center}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable:before{content:none}.modal-content{background-clip:padding-box;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;display:flex;flex-direction:column;outline:0;pointer-events:auto;position:relative;width:100%}.modal-backdrop{background-color:#000;height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:1040}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{align-items:flex-start;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px);display:flex;justify-content:space-between;padding:1rem}.modal-header .close{margin:-1rem -1rem -1rem auto;padding:1rem}.modal-title{line-height:1.6;margin-bottom:0}.modal-body{flex:1 1 auto;padding:1rem;position:relative}.modal-footer{align-items:center;border-bottom-left-radius:calc(.3rem - 1px);border-bottom-right-radius:calc(.3rem - 1px);border-top:1px solid #dee2e6;display:flex;flex-wrap:wrap;justify-content:flex-end;padding:.75rem}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{height:50px;overflow:scroll;position:absolute;top:-9999px;width:50px}@media(min-width:576px){.modal-dialog{margin:1.75rem auto;max-width:500px}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered:before{height:calc(100vh - 3.5rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-sm{max-width:300px}}@media(min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media(min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{word-wrap:break-word;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.7875rem;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.6;margin:0;opacity:0;position:absolute;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;z-index:1070}.tooltip.show{opacity:.9}.tooltip .arrow{display:block;height:.4rem;position:absolute;width:.8rem}.tooltip .arrow:before{border-color:transparent;border-style:solid;content:"";position:absolute}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow:before,.bs-tooltip-top .arrow:before{border-top-color:#000;border-width:.4rem .4rem 0;top:0}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{height:.8rem;left:0;width:.4rem}.bs-tooltip-auto[x-placement^=right] .arrow:before,.bs-tooltip-right .arrow:before{border-right-color:#000;border-width:.4rem .4rem .4rem 0;right:0}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.bs-tooltip-bottom .arrow:before{border-bottom-color:#000;border-width:0 .4rem .4rem;bottom:0}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{height:.8rem;right:0;width:.4rem}.bs-tooltip-auto[x-placement^=left] .arrow:before,.bs-tooltip-left .arrow:before{border-left-color:#000;border-width:.4rem 0 .4rem .4rem;left:0}.tooltip-inner{background-color:#000;border-radius:.25rem;color:#fff;max-width:200px;padding:.25rem .5rem;text-align:center}.popover{word-wrap:break-word;background-clip:padding-box;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.7875rem;font-style:normal;font-weight:400;left:0;letter-spacing:normal;line-break:auto;line-height:1.6;max-width:276px;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;top:0;white-space:normal;word-break:normal;word-spacing:normal;z-index:1060}.popover,.popover .arrow{display:block;position:absolute}.popover .arrow{height:.5rem;margin:0 .3rem;width:1rem}.popover .arrow:after,.popover .arrow:before{border-color:transparent;border-style:solid;content:"";display:block;position:absolute}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow:before,.bs-popover-top>.arrow:before{border-top-color:rgba(0,0,0,.25);border-width:.5rem .5rem 0;bottom:0}.bs-popover-auto[x-placement^=top]>.arrow:after,.bs-popover-top>.arrow:after{border-top-color:#fff;border-width:.5rem .5rem 0;bottom:1px}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{height:1rem;left:calc(-.5rem - 1px);margin:.3rem 0;width:.5rem}.bs-popover-auto[x-placement^=right]>.arrow:before,.bs-popover-right>.arrow:before{border-right-color:rgba(0,0,0,.25);border-width:.5rem .5rem .5rem 0;left:0}.bs-popover-auto[x-placement^=right]>.arrow:after,.bs-popover-right>.arrow:after{border-right-color:#fff;border-width:.5rem .5rem .5rem 0;left:1px}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow:before,.bs-popover-bottom>.arrow:before{border-bottom-color:rgba(0,0,0,.25);border-width:0 .5rem .5rem;top:0}.bs-popover-auto[x-placement^=bottom]>.arrow:after,.bs-popover-bottom>.arrow:after{border-bottom-color:#fff;border-width:0 .5rem .5rem;top:1px}.bs-popover-auto[x-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{border-bottom:1px solid #f7f7f7;content:"";display:block;left:50%;margin-left:-.5rem;position:absolute;top:0;width:1rem}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{height:1rem;margin:.3rem 0;right:calc(-.5rem - 1px);width:.5rem}.bs-popover-auto[x-placement^=left]>.arrow:before,.bs-popover-left>.arrow:before{border-left-color:rgba(0,0,0,.25);border-width:.5rem 0 .5rem .5rem;right:0}.bs-popover-auto[x-placement^=left]>.arrow:after,.bs-popover-left>.arrow:after{border-left-color:#fff;border-width:.5rem 0 .5rem .5rem;right:1px}.popover-header{background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px);font-size:.9rem;margin-bottom:0;padding:.5rem .75rem}.popover-header:empty{display:none}.popover-body{color:#212529;padding:.5rem .75rem}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{overflow:hidden;position:relative;width:100%}.carousel-inner:after{clear:both;content:"";display:block}.carousel-item{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:none;float:left;margin-right:-100%;position:relative;transition:transform .6s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transform:none;transition-property:opacity}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{opacity:1;z-index:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{opacity:0;transition:opacity 0s .6s;z-index:0}@media(prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{align-items:center;background:none;border:0;bottom:0;color:#fff;display:flex;justify-content:center;opacity:.5;padding:0;position:absolute;text-align:center;top:0;transition:opacity .15s ease;width:15%;z-index:1}@media(prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;opacity:.9;outline:0;text-decoration:none}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{background:50%/100% 100% no-repeat;display:inline-block;height:20px;width:20px}.carousel-control-prev-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8'%3E%3Cpath d='m5.25 0-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3E%3C/svg%3E")}.carousel-control-next-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8'%3E%3Cpath d='m2.75 0-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3E%3C/svg%3E")}.carousel-indicators{bottom:0;display:flex;justify-content:center;left:0;list-style:none;margin-left:15%;margin-right:15%;padding-left:0;position:absolute;right:0;z-index:15}.carousel-indicators li{background-clip:padding-box;background-color:#fff;border-bottom:10px solid transparent;border-top:10px solid transparent;box-sizing:content-box;cursor:pointer;flex:0 1 auto;height:3px;margin-left:3px;margin-right:3px;opacity:.5;text-indent:-999px;transition:opacity .6s ease;width:30px}@media(prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{bottom:20px;color:#fff;left:15%;padding-bottom:20px;padding-top:20px;position:absolute;right:15%;text-align:center;z-index:10}@-webkit-keyframes spinner-border{to{transform:rotate(1turn)}}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite;border:.25em solid;border-radius:50%;border-right:.25em solid transparent;display:inline-block;height:2rem;vertical-align:-.125em;width:2rem}.spinner-border-sm{border-width:.2em;height:1rem;width:1rem}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite;background-color:currentColor;border-radius:50%;display:inline-block;height:2rem;opacity:0;vertical-align:-.125em;width:2rem}.spinner-grow-sm{height:1rem;width:1rem}@media(prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{-webkit-animation-duration:1.5s;animation-duration:1.5s}}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#2c78bf!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#225e96!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#212529!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#0a0c0d!important}.bg-muted{background-color:#697179!important}a.bg-muted:focus,a.bg-muted:hover,button.bg-muted:focus,button.bg-muted:hover{background-color:#51585e!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#2c78bf!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#212529!important}.border-muted{border-color:#697179!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important}.rounded-right,.rounded-top{border-top-right-radius:.25rem!important}.rounded-bottom,.rounded-right{border-bottom-right-radius:.25rem!important}.rounded-bottom,.rounded-left{border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix:after{clear:both;content:"";display:block}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}@media(min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}}@media(min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}}@media(min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}}@media(min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}}.embed-responsive{display:block;overflow:hidden;padding:0;position:relative;width:100%}.embed-responsive:before{content:"";display:block}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{border:0;bottom:0;height:100%;left:0;position:absolute;top:0;width:100%}.embed-responsive-21by9:before{padding-top:42.85714286%}.embed-responsive-16by9:before{padding-top:56.25%}.embed-responsive-4by3:before{padding-top:75%}.embed-responsive-1by1:before{padding-top:100%}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}@media(min-width:576px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}}@media(min-width:768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}}@media(min-width:992px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}}@media(min-width:1200px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media(min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media(min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media(min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media(min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{top:0}.fixed-bottom,.fixed-top{left:0;position:fixed;right:0;z-index:1030}.fixed-bottom{bottom:0}@supports((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;overflow:visible;position:static;white-space:normal;width:auto}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media(min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media(min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media(min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media(min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.stretched-link:after{background-color:transparent;bottom:0;content:"";left:0;pointer-events:auto;position:absolute;right:0;top:0;z-index:1}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media(min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media(min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media(min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media(min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#2c78bf!important}a.text-primary:focus,a.text-primary:hover{color:#1e5181!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}a.text-dark:focus,a.text-dark:hover{color:#000!important}.text-muted{color:#697179!important}a.text-muted:focus,a.text-muted:hover{color:#454b50!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:hsla(0,0%,100%,.5)!important}.text-hide{background-color:transparent;border:0;color:transparent;font:0/0 a;text-shadow:none}.text-decoration-none{text-decoration:none!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,:after,:before{box-shadow:none!important;text-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]:after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd}blockquote,img,pre,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}.container,body{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{border-color:#dee2e6;color:inherit}}body,html{min-height:100vh}body{display:flex;flex-flow:column}#content{margin-bottom:auto!important}body,button,input,textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.navbar-laravel{background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.04)}.bg-pixelfed{background:#10c5f8;background:linear-gradient(to bottom right,#6736dd,#10c5f8)}@media(min-width:1200px){.container{max-width:935px}}.text-dark{color:#212529!important}.settings-nav .active .nav-link{font-weight:700}.card-disabled{background-color:#f5f5f5;opacity:.4}.card-img-top{height:auto}.card.status-container .status-photo{margin:auto!important}@media(min-width:768px){.card.status-container .status-comments{border-bottom:1px solid rgba(0,0,0,.1);height:200px;overflow-y:scroll}}.no-caret.dropdown-toggle{text-decoration:none!important}.no-caret.dropdown-toggle:after{display:none}.notification-page .profile-link{color:#212529;font-weight:700}.notification-page .list-group-item:first-child{border-top:none}.nav-topbar{border-top:1px solid #dee2e6}.nav-topbar .nav-item{margin:-1px 1.5rem 0}.nav-topbar .nav-link{border:1px solid transparent;color:#dee2e6;padding:.75rem 0}.nav-topbar .nav-link:focus,.nav-topbar .nav-link:hover{border-top-color:#dee2e6}.nav-topbar .nav-link.disabled{background-color:transparent;border-color:transparent;color:#dee2e6}.nav-topbar .nav-item.show .nav-link,.nav-topbar .nav-link.active{border-top-color:#6c757d;color:#6c757d}.nav-topbar .dropdown-menu,.nav-topbar span.twitter-typeahead .tt-menu,span.twitter-typeahead .nav-topbar .tt-menu{margin-top:-1px}.info-overlay{position:relative}.info-overlay .info-overlay-text{display:none;position:absolute}.info-overlay:hover .info-overlay-text{display:flex}@media(max-width:576px){.info-overlay:hover .info-overlay-text h5{font-size:12px}}.info-overlay-text,.info-overlay-text-label{background-color:rgba(0,0,0,.5);height:100%;width:100%}.info-overlay-text-label{display:flex;position:absolute}.info-overlay-text-label h5{z-index:2}.info-overlay:hover .info-overlay-text-label{display:none}.font-weight-lighter{font-weight:300!important}.font-weight-ultralight{font-weight:200!important}.square{position:relative;width:100%}.square:after{content:"";display:block;padding-bottom:100%}.square-content{background-position:50%;background-repeat:no-repeat;background-size:cover;height:100%;position:absolute;width:100%}@media(max-width:768px){.border-md-left-0{border-left:0!important}.card.status-container .status-comments{border-top:1px solid rgba(0,0,0,.1)}.sticky-md-bottom{bottom:0;position:-webkit-sticky;position:sticky;z-index:1020}}@media(max-width:576px){.card-md-border-0{border-radius:0!important;border-width:0!important}.card-md-rounded-0{border-radius:0!important;border-width:1px 0}}@-webkit-keyframes loading-bar{0%{background-position:0 0}to{background-position:100vw 0}}@keyframes loading-bar{0%{background-position:0 0}to{background-position:100vw 0}}.loading-page{-webkit-animation:loading-bar 3s linear infinite;animation:loading-bar 3s linear infinite;background-image:linear-gradient(90deg,#6736dd,#10c5f8,#10c5f8,#6736dd);height:.25rem;width:100vw}.liked{position:relative;z-index:1}.liked:after{-webkit-animation:liking 1.5s;animation:liking 1.5s;color:transparent;content:"";left:50%;position:absolute;top:0;z-index:-1}@-webkit-keyframes liking{0%{color:#ebf70e;font-size:0;top:.25rem;transform:rotate(0deg)}75%{font-size:2.8rem;left:-.55rem;opacity:1;top:-.55rem;transform:rotate(1turn)}to{font-size:0;left:.9rem;top:2.5rem;transform:rotate(1turn)}}@keyframes liking{0%{color:#ebf70e;font-size:0;top:.25rem;transform:rotate(0deg)}75%{font-size:2.8rem;left:-.55rem;opacity:1;top:-.55rem;transform:rotate(1turn)}to{font-size:0;left:.9rem;top:2.5rem;transform:rotate(1turn)}}.max-hide-overflow{max-height:500px;overflow-y:hidden}@media(min-width:0){.max-hide-overflow{max-height:600px!important}}@media(min-width:768px){.max-hide-overflow{max-height:800px!important}}@media(min-width:1200px){.max-hide-overflow{max-height:1000px!important}}.notification-image{background-position:50%;background-size:cover;height:32px;width:32px}.status-photo img{max-height:calc(100vh - 6rem);-o-object-fit:contain;object-fit:contain;width:100%}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}@-webkit-keyframes fadeInDown{0%{opacity:0;transform:translateY(-1.25em)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-1.25em)}to{opacity:1;transform:translateY(0)}}.details-animated[open]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:fadeInDown;animation-name:fadeInDown}.card{border:none;box-shadow:0 2px 6px 0 rgba(0,0,0,.2)}.card .comment-submit{border-radius:0 3px 3px 0;bottom:12px;display:none;position:absolute;right:20px;text-align:center;width:60px}.touch .card input[name=comment]{padding-right:70px}.touch .card .comment-submit{display:block}.box-shadow{box-shadow:0 2px 6px 0 rgba(0,0,0,.2)}.border-left-primary{border-left:3px solid #007bff}.settings-nav .nav-item.active .nav-link{font-weight:700!important}details summary::-webkit-details-marker{display:none!important}.details-animated>summary{background-color:#ecf0f1;display:flex;flex-flow:column;justify-content:center;padding-bottom:50px;padding-top:50px;text-align:center}@media(min-width:720px){.details-animated>summary{min-height:600px}}.details-animated[open]>summary{display:none!important}.profile-avatar img{-o-object-fit:cover;object-fit:cover}.tt-menu{border-radius:0 0 .25rem .25rem!important;padding:0!important}.tt-dataset .alert{border:0!important;border-radius:0!important}.input-elevated{background:#fff;border:none;border-radius:5px;box-shadow:0 2px 4px 0 rgba(0,0,0,.08);font-size:16px;line-height:1.5;padding:.5em 1em .5em .5em}.input-elevated::-moz-placeholder{color:#838d99}.input-elevated:-ms-input-placeholder{color:#838d99}.input-elevated::placeholder{color:#838d99}.input-elevated:focus{box-shadow:0 4px 10px 0 rgba(0,0,0,.16);outline:none}.icon-wrapper{background:#10c5f8;background:linear-gradient(to bottom right,#6736dd,#10c5f8);border-radius:50%;display:inline-flex;padding:14px}.border-left-blue{border-left:3px solid #10c5f8}.b-dropdown,.b-dropdown>button{padding:0!important}.lds-ring{display:inline-block;height:64px;position:relative;width:64px}.lds-ring div{-webkit-animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border:6px solid transparent;border-radius:50%;border-top-color:#6c757d;box-sizing:border-box;display:block;height:51px;margin:6px;position:absolute;width:51px}.lds-ring div:first-child{-webkit-animation-delay:-.45s;animation-delay:-.45s}.lds-ring div:nth-child(2){-webkit-animation-delay:-.3s;animation-delay:-.3s}.lds-ring div:nth-child(3){-webkit-animation-delay:-.15s;animation-delay:-.15s}@-webkit-keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.navbar .nav-notification.dropdown-toggle:after{display:none}.navbar .dropdown .nav-notification-dropdown{max-height:300px;overflow-y:scroll;padding-bottom:0;padding-top:0;width:500px}.nav-notification-dropdown .loader{padding-bottom:5rem;padding-top:5rem}.timeline-sidenav.nav-pills .nav-link{color:#6c757d}.timeline-sidenav.nav-pills .nav-link:hover{background:rgba(0,0,0,.04)}.timeline-sidenav.nav-pills .nav-link.active,.timeline-sidenav.nav-pills .show>.nav-link{background:transparent;border:1px solid #08d;color:#08d}.messages-page .bg-primary.text-white a{color:#fff}.notification-tooltip .tooltip-inner{font-weight:700}#previewAvatar img{height:auto;max-width:100%}.img-thumbnail{box-sizing:content-box}.media-drawer-filters img{-o-object-fit:contain;object-fit:contain}.reply-container .post-thumbnail{-o-object-fit:cover;object-fit:cover}#l-modal .modal-body,#s-modal .modal-body{height:60vh;overflow-y:scroll}#l-modal .modal-content,#s-modal .modal-content{border-radius:0}.btn-outline-lighter,.text-lighter{color:#b8c2cc!important}.btn-outline-lighter{border-color:#b8c2cc!important}.cursor-pointer{cursor:pointer}.tooltip-notification .tooltip-inner{border-radius:.25rem;color:#fff;max-width:200px;padding:3px 8px;text-align:center}.carousel-control-next-icon,.carousel-control-prev-icon{filter:drop-shadow(0 0 1px black)}.VueCarousel-dot--active:focus,.VueCarousel-dot:focus,.VueCarousel-navigation-button:focus,.VueCarousel:focus{outline:0!important}.status-content>p:first-child{display:inline}.follow-modal{max-width:400px!important}.square-content img{-o-object-fit:cover!important;object-fit:cover!important}.square .square-content canvas{height:100%;width:100%}.tribute-container{border:1px solid #ccc;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.13);display:block;height:auto;left:0;max-height:300px;max-width:500px;min-width:120px;overflow:auto;position:absolute;top:0;z-index:999999}.tribute-container ul{background:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.13);border-radius:4px;list-style:none;margin:2px 0 0;overflow:hidden;padding:0}.tribute-container li{color:#000;cursor:pointer;font-size:14px;overflow-x:hidden!important;padding:5px 15px}.tribute-container li.highlight,.tribute-container li:hover{background:#2c78bf;color:#fff}.tribute-container li.no-match{cursor:default}.tribute-container .menu-highlighted{font-weight:700}.content-label-wrapper div:not(.content-label){height:100%}.content-label-text{width:80%}@media(min-width:768px){.content-label-text{width:50%}}/*! Instagram.css v0.1.3 | MIT License | github.com/picturepan2/instagram.css */[class*=filter-]{position:relative}[class*=filter-]:before{display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.filter-1977{filter:sepia(.5) hue-rotate(-30deg) saturate(1.4)}.filter-aden{filter:sepia(.2) brightness(1.15) saturate(1.4)}.filter-aden:before{background:rgba(125,105,24,.1);content:"";mix-blend-mode:multiply}.filter-amaro{filter:sepia(.35) contrast(1.1) brightness(1.2) saturate(1.3)}.filter-amaro:before{background:rgba(125,105,24,.2);content:"";mix-blend-mode:overlay}.filter-ashby{filter:sepia(.5) contrast(1.2) saturate(1.8)}.filter-ashby:before{background:rgba(125,105,24,.35);content:"";mix-blend-mode:lighten}.filter-brannan{filter:sepia(.4) contrast(1.25) brightness(1.1) saturate(.9) hue-rotate(-2deg)}.filter-brooklyn{filter:sepia(.25) contrast(1.25) brightness(1.25) hue-rotate(5deg)}.filter-brooklyn:before{background:rgba(127,187,227,.2);content:"";mix-blend-mode:overlay}.filter-charmes{filter:sepia(.25) contrast(1.25) brightness(1.25) saturate(1.35) hue-rotate(-5deg)}.filter-charmes:before{background:rgba(125,105,24,.25);content:"";mix-blend-mode:darken}.filter-clarendon{filter:sepia(.15) contrast(1.25) brightness(1.25) hue-rotate(5deg)}.filter-clarendon:before{background:rgba(127,187,227,.4);content:"";mix-blend-mode:overlay}.filter-crema{filter:sepia(.5) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-2deg)}.filter-crema:before{background:rgba(125,105,24,.2);content:"";mix-blend-mode:multiply}.filter-dogpatch{filter:sepia(.35) saturate(1.1) contrast(1.5)}.filter-earlybird{filter:sepia(.25) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-5deg)}.filter-earlybird:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(125,105,24,.2) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(125,105,24,.2) 100%);content:"";mix-blend-mode:multiply}.filter-gingham{filter:contrast(1.1) brightness(1.1)}.filter-gingham:before{background:#e6e6e6;content:"";mix-blend-mode:soft-light}.filter-ginza{filter:sepia(.25) contrast(1.15) brightness(1.2) saturate(1.35) hue-rotate(-5deg)}.filter-ginza:before{background:rgba(125,105,24,.15);content:"";mix-blend-mode:darken}.filter-hefe{filter:sepia(.4) contrast(1.5) brightness(1.2) saturate(1.4) hue-rotate(-10deg)}.filter-hefe:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(0,0,0,.25) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(0,0,0,.25) 100%);content:"";mix-blend-mode:multiply}.filter-helena{filter:sepia(.5) contrast(1.05) brightness(1.05) saturate(1.35)}.filter-helena:before{background:rgba(158,175,30,.25);content:"";mix-blend-mode:overlay}.filter-hudson{filter:sepia(.25) contrast(1.2) brightness(1.2) saturate(1.05) hue-rotate(-15deg)}.filter-hudson:before{background:radial-gradient(circle closest-corner,transparent 25%,rgba(25,62,167,.25) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 25%,rgba(25,62,167,.25) 100%);content:"";mix-blend-mode:multiply}.filter-inkwell{filter:brightness(1.25) contrast(.85) grayscale(1)}.filter-juno{filter:sepia(.35) contrast(1.15) brightness(1.15) saturate(1.8)}.filter-juno:before{background:rgba(127,187,227,.2);content:"";mix-blend-mode:overlay}.filter-kelvin{filter:sepia(.15) contrast(1.5) brightness(1.1) hue-rotate(-10deg)}.filter-kelvin:before{background:radial-gradient(circle closest-corner,rgba(128,78,15,.25) 0,rgba(128,78,15,.5) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(128,78,15,.25) 0,rgba(128,78,15,.5) 100%);content:"";mix-blend-mode:overlay}.filter-lark{filter:sepia(.25) contrast(1.2) brightness(1.3) saturate(1.25)}.filter-lofi{filter:saturate(1.1) contrast(1.5)}.filter-ludwig{filter:sepia(.25) contrast(1.05) brightness(1.05) saturate(2)}.filter-ludwig:before{background:rgba(125,105,24,.1);content:"";mix-blend-mode:overlay}.filter-maven{filter:sepia(.35) contrast(1.05) brightness(1.05) saturate(1.75)}.filter-maven:before{background:rgba(158,175,30,.25);content:"";mix-blend-mode:darken}.filter-mayfair{filter:contrast(1.1) brightness(1.15) saturate(1.1)}.filter-mayfair:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(175,105,24,.4) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(175,105,24,.4) 100%);content:"";mix-blend-mode:multiply}.filter-moon{filter:brightness(1.4) contrast(.95) saturate(0) sepia(.35)}.filter-nashville{filter:sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)}.filter-nashville:before{background:radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(128,78,15,.65) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(128,78,15,.65) 100%);content:"";mix-blend-mode:screen}.filter-perpetua{filter:contrast(1.1) brightness(1.25) saturate(1.1)}.filter-perpetua:before{background:linear-gradient(180deg,rgba(0,91,154,.25),rgba(230,193,61,.25));background:-webkit-linear-gradient(top,rgba(0,91,154,.25),rgba(230,193,61,.25));background:-webkit-gradient(linear,left top,left bottom,from(rgba(0,91,154,.25)),to(rgba(230,193,61,.25)));content:"";mix-blend-mode:multiply}.filter-poprocket{filter:sepia(.15) brightness(1.2)}.filter-poprocket:before{background:radial-gradient(circle closest-corner,rgba(206,39,70,.75) 40%,#000 80%);background:-webkit-radial-gradient(circle closest-corner,rgba(206,39,70,.75) 40%,#000 80%);content:"";mix-blend-mode:screen}.filter-reyes{filter:sepia(.75) contrast(.75) brightness(1.25) saturate(1.4)}.filter-rise{filter:sepia(.25) contrast(1.25) brightness(1.2) saturate(.9)}.filter-rise:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(230,193,61,.25) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(230,193,61,.25) 100%);content:"";mix-blend-mode:lighten}.filter-sierra{filter:sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)}.filter-sierra:before{background:radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(0,0,0,.65) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(0,0,0,.65) 100%);content:"";mix-blend-mode:screen}.filter-skyline{filter:sepia(.15) contrast(1.25) brightness(1.25) saturate(1.2)}.filter-slumber{filter:sepia(.35) contrast(1.25) saturate(1.25)}.filter-slumber:before{background:rgba(125,105,24,.2);content:"";mix-blend-mode:darken}.filter-stinson{filter:sepia(.35) contrast(1.25) brightness(1.1) saturate(1.25)}.filter-stinson:before{background:rgba(125,105,24,.45);content:"";mix-blend-mode:lighten}.filter-sutro{filter:sepia(.4) contrast(1.2) brightness(.9) saturate(1.4) hue-rotate(-10deg)}.filter-sutro:before{background:radial-gradient(circle closest-corner,transparent 50%,rgba(0,0,0,.5) 90%);background:-webkit-radial-gradient(circle closest-corner,transparent 50%,rgba(0,0,0,.5) 90%);content:"";mix-blend-mode:darken}.filter-toaster{filter:sepia(.25) contrast(1.5) brightness(.95) hue-rotate(-15deg)}.filter-toaster:before{background:radial-gradient(circle,#804e0f,rgba(0,0,0,.25));background:-webkit-radial-gradient(circle,#804e0f,rgba(0,0,0,.25));content:"";mix-blend-mode:screen}.filter-valencia{filter:sepia(.25) contrast(1.1) brightness(1.1)}.filter-valencia:before{background:rgba(230,193,61,.1);content:"";mix-blend-mode:lighten}.filter-vesper{filter:sepia(.35) contrast(1.15) brightness(1.2) saturate(1.3)}.filter-vesper:before{background:rgba(125,105,24,.25);content:"";mix-blend-mode:overlay}.filter-walden{filter:sepia(.35) contrast(.8) brightness(1.25) saturate(1.4)}.filter-walden:before{background:hsla(66,79%,72%,.5);content:"";mix-blend-mode:darken}.filter-willow{filter:brightness(1.2) contrast(.85) saturate(.05) sepia(.2)}.filter-xpro-ii{filter:sepia(.45) contrast(1.25) brightness(1.75) saturate(1.3) hue-rotate(-5deg)}.filter-xpro-ii:before{background:radial-gradient(circle closest-corner,rgba(0,91,154,.35) 0,rgba(0,0,0,.65) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(0,91,154,.35) 0,rgba(0,0,0,.65) 100%);content:"";mix-blend-mode:multiply}span.twitter-typeahead{width:100%}span.twitter-typeahead .tt-menu{max-height:365px;overflow-y:auto;width:100%}span.twitter-typeahead .tt-suggestion.tt-cursor,span.twitter-typeahead .tt-suggestion:active{background:#fafafa;color:#212529}.input-group span.twitter-typeahead{align-items:center;display:flex!important;flex:1 1 auto;position:relative;width:1%}.input-group span.twitter-typeahead .tt-hint,.input-group span.twitter-typeahead .tt-input,.input-group span.twitter-typeahead .tt-menu{width:100%}.notification-page .list-group-item{background:transparent;border-bottom:0!important;border-left:0!important;border-right:0!important;padding-bottom:1rem;padding-top:1rem}.switch{font-size:.9rem;position:relative}.switch input{clip:rect(0 0 0 0);background:none;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.switch input+label{border-radius:1.9rem;cursor:pointer;display:inline-block;height:1.9rem;line-height:1.9rem;min-width:3.8rem;outline:none;position:relative;text-indent:4.3rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.switch input+label:after,.switch input+label:before{bottom:0;content:"";display:block;left:0;position:absolute;top:0;width:3.8rem}.switch input+label:before{background-color:#dee2e6;border-radius:1.9rem;right:0;transition:all .2s}.switch input+label:after{background-color:#fff;border-radius:50%;height:calc(1.9rem - 4px);left:2px;top:2px;transition:all .2s;width:calc(1.9rem - 4px)}.switch input:checked+label:before{background-color:#dc3545}.switch input:checked+label:after{margin-left:1.9rem}.switch input:focus+label:before{box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:none}.switch input:disabled+label{color:#868e96;cursor:not-allowed}.switch input:disabled+label:before{background-color:#e9ecef}.switch.switch-sm{font-size:.7875rem}.switch.switch-sm input+label{height:1.55rem;line-height:1.55rem;min-width:3.1rem;text-indent:3.6rem}.switch.switch-sm input+label:before{width:3.1rem}.switch.switch-sm input+label:after{height:calc(1.55rem - 4px);width:calc(1.55rem - 4px)}.switch.switch-sm input:checked+label:after{margin-left:1.55rem}.switch.switch-lg{font-size:1.125rem}.switch.switch-lg input+label{height:2.4rem;line-height:2.4rem;min-width:4.8rem;text-indent:5.3rem}.switch.switch-lg input+label:before{width:4.8rem}.switch.switch-lg input+label:after{height:calc(2.4rem - 4px);width:calc(2.4rem - 4px)}.switch.switch-lg input:checked+label:after{margin-left:2.4rem}.switch+.switch{margin-left:1rem}.bg-moment-passion{background:#e53935;background:linear-gradient(270deg,#e35d5b,#e53935)}.bg-moment-azure{background:#7f7fd5;background:linear-gradient(270deg,#91eae4,#86a8e7,#7f7fd5)}.bg-moment-reef{background:#00d2ff;background:linear-gradient(90deg,#3a7bd5,#00d2ff)}.bg-moment-lush{background:#56ab2f;background:linear-gradient(270deg,#a8e063,#56ab2f)}.bg-moment-neon{background:#b3ffab;background:linear-gradient(90deg,#12fff7,#b3ffab)}.bg-moment-flare{background:#f12711;background:linear-gradient(270deg,#f5af19,#f12711)}.bg-moment-morning{background:#ff5f6d;background:linear-gradient(270deg,#ffc371,#ff5f6d)}.bg-moment-tranquil{background:#eecda3;background:linear-gradient(90deg,#ef629f,#eecda3)}.bg-moment-mauve{background:#42275a;background:linear-gradient(270deg,#734b6d,#42275a)}.bg-moment-argon{background:#03001e;background:linear-gradient(270deg,#fdeff9,#ec38bc,#7303c0,#03001e)}.bg-moment-royal{background:#141e30;background:linear-gradient(270deg,#243b55,#141e30)}.ph-item{background-color:#fff;border:1px solid #e6e6e6;border-radius:2px;direction:ltr;display:flex;flex-wrap:wrap;margin-bottom:30px;overflow:hidden;padding:30px 15px 15px;position:relative}.ph-item,.ph-item *,.ph-item :after,.ph-item :before{box-sizing:border-box}.ph-item:before{-webkit-animation:phAnimation .8s linear infinite;animation:phAnimation .8s linear infinite;background:linear-gradient(90deg,hsla(0,0%,100%,0) 46%,hsla(0,0%,100%,.35) 50%,hsla(0,0%,100%,0) 54%) 50% 50%;bottom:0;content:" ";left:50%;margin-left:-250%;pointer-events:none;position:absolute;right:0;top:0;width:500%;z-index:1}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-left:15px;padding-right:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{background-color:#ced4da;height:10px;margin-top:7.5px}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:hsla(0,0%,100%,0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{background-color:#ced4da;border-radius:50%;min-width:60px;overflow:hidden;position:relative;width:100%}.ph-avatar:before{content:" ";display:block;padding-top:100%}.ph-picture{background-color:#ced4da;height:120px;width:100%}@-webkit-keyframes phAnimation{0%{transform:translate3d(-30%,0,0)}to{transform:translate3d(30%,0,0)}}@keyframes phAnimation{0%{transform:translate3d(-30%,0,0)}to{transform:translate3d(30%,0,0)}} diff --git a/public/css/appdark.css b/public/css/appdark.css index e36618cbe..4d407ec4b 100644 --- a/public/css/appdark.css +++ b/public/css/appdark.css @@ -14,4 +14,4 @@ * Copyright 2011-2021 The Bootstrap Authors * Copyright 2011-2021 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */:root{--blue:#2a9fd6;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#c00;--orange:#fd7e14;--yellow:#f80;--green:#77b300;--teal:#20c997;--cyan:#93c;--white:#fff;--gray:#555;--gray-dark:#222;--primary:#2a9fd6;--secondary:#555;--success:#77b300;--info:#93c;--warning:#f80;--danger:#c00;--light:#222;--dark:#adafae;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:sans-serif;line-height:1.15}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{background-color:#060606;color:#adafae;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.9rem;font-weight:400;line-height:1.6;margin:0;text-align:left}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;margin-top:0}p{margin-bottom:1rem;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{background-color:transparent;color:#2a9fd6;text-decoration:none}a:hover{color:#1d7097;text-decoration:underline}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{-ms-overflow-style:scrollbar;margin-bottom:1rem;margin-top:0;overflow:auto}figure{margin:0 0 1rem}img{border-style:none}img,svg{vertical-align:middle}svg{overflow:hidden}table{border-collapse:collapse}caption{caption-side:bottom;color:#555;padding-bottom:.75rem;padding-top:.75rem;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5rem;line-height:inherit;margin-bottom:.5rem;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{cursor:pointer;display:list-item}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{color:#fff;font-weight:500;line-height:1.2;margin-bottom:.5rem}.h1,h1{font-size:2.25rem}.h2,h2{font-size:1.8rem}.h3,h3{font-size:1.575rem}.h4,h4{font-size:1.35rem}.h5,h5{font-size:1.125rem}.h6,h6{font-size:.9rem}.lead{font-size:1.125rem;font-weight:300}.display-1{font-size:6rem}.display-1,.display-2{font-weight:300;line-height:1.2}.display-2{font-size:5.5rem}.display-3{font-size:4.5rem}.display-3,.display-4{font-weight:300;line-height:1.2}.display-4{font-size:3.5rem}hr{border:0;border-top:1px solid rgba(0,0,0,.1);margin-bottom:1rem;margin-top:1rem}.small,small{font-size:80%;font-weight:400}.mark,mark{background-color:#fcf8e3;padding:.2em}.list-inline,.list-unstyled{list-style:none;padding-left:0}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{font-size:1.125rem;margin-bottom:1rem}.blockquote-footer{color:#555;display:block;font-size:80%}.blockquote-footer:before{content:"— "}.img-fluid,.img-thumbnail{height:auto;max-width:100%}.img-thumbnail{background-color:#060606;border:1px solid #dee2e6;border-radius:.25rem;padding:.25rem}.figure{display:inline-block}.figure-img{line-height:1;margin-bottom:.5rem}.figure-caption{color:#555;font-size:90%}code{word-wrap:break-word;color:#e83e8c;font-size:87.5%}a>code{color:inherit}kbd{background-color:#212529;border-radius:.2rem;color:#fff;font-size:87.5%;padding:.2rem .4rem}kbd kbd{font-size:100%;font-weight:700;padding:0}pre{display:block;font-size:87.5%}pre,pre code{color:inherit}pre code{font-size:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;width:100%}@media(min-width:576px){.container,.container-sm{max-width:540px}}@media(min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media(min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media(min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:flex;flex-wrap:wrap;margin-left:-15px;margin-right:-15px}.no-gutters{margin-left:0;margin-right:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-left:0;padding-right:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{padding-left:15px;padding-right:15px;position:relative;width:100%}.col{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-1>*{flex:0 0 100%;max-width:100%}.row-cols-2>*{flex:0 0 50%;max-width:50%}.row-cols-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-4>*{flex:0 0 25%;max-width:25%}.row-cols-5>*{flex:0 0 20%;max-width:20%}.row-cols-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-auto{flex:0 0 auto;max-width:100%;width:auto}.col-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-3{flex:0 0 25%;max-width:25%}.col-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-6{flex:0 0 50%;max-width:50%}.col-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-9{flex:0 0 75%;max-width:75%}.col-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-12{flex:0 0 100%;max-width:100%}.order-first{order:-1}.order-last{order:13}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}@media(min-width:576px){.col-sm{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-sm-1>*{flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-sm-auto{flex:0 0 auto;max-width:100%;width:auto}.col-sm-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-sm-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-sm-3{flex:0 0 25%;max-width:25%}.col-sm-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-sm-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-sm-6{flex:0 0 50%;max-width:50%}.col-sm-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-sm-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-sm-9{flex:0 0 75%;max-width:75%}.col-sm-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-sm-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-sm-12{flex:0 0 100%;max-width:100%}.order-sm-first{order:-1}.order-sm-last{order:13}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}}@media(min-width:768px){.col-md{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-md-1>*{flex:0 0 100%;max-width:100%}.row-cols-md-2>*{flex:0 0 50%;max-width:50%}.row-cols-md-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-md-4>*{flex:0 0 25%;max-width:25%}.row-cols-md-5>*{flex:0 0 20%;max-width:20%}.row-cols-md-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-md-auto{flex:0 0 auto;max-width:100%;width:auto}.col-md-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-md-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-md-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-md-6{flex:0 0 50%;max-width:50%}.col-md-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-md-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-md-9{flex:0 0 75%;max-width:75%}.col-md-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-md-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-md-12{flex:0 0 100%;max-width:100%}.order-md-first{order:-1}.order-md-last{order:13}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}}@media(min-width:992px){.col-lg{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-lg-1>*{flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-lg-auto{flex:0 0 auto;max-width:100%;width:auto}.col-lg-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-lg-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-lg-3{flex:0 0 25%;max-width:25%}.col-lg-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-lg-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-lg-6{flex:0 0 50%;max-width:50%}.col-lg-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-lg-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-lg-9{flex:0 0 75%;max-width:75%}.col-lg-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-lg-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-lg-12{flex:0 0 100%;max-width:100%}.order-lg-first{order:-1}.order-lg-last{order:13}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}}@media(min-width:1200px){.col-xl{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-xl-1>*{flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-xl-auto{flex:0 0 auto;max-width:100%;width:auto}.col-xl-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-xl-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-xl-3{flex:0 0 25%;max-width:25%}.col-xl-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-xl-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-xl-6{flex:0 0 50%;max-width:50%}.col-xl-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-xl-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-xl-9{flex:0 0 75%;max-width:75%}.col-xl-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-xl-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-xl-12{flex:0 0 100%;max-width:100%}.order-xl-first{order:-1}.order-xl-last{order:13}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}}.table{color:#fff;margin-bottom:1rem;width:100%}.table td,.table th{border-top:1px solid #282828;padding:.75rem;vertical-align:top}.table thead th{border-bottom:2px solid #282828;vertical-align:bottom}.table tbody+tbody{border-top:2px solid #282828}.table-sm td,.table-sm th{padding:.3rem}.table-bordered,.table-bordered td,.table-bordered th{border:1px solid #282828}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:hsla(0,0%,100%,.05)}.table-hover tbody tr:hover{background-color:hsla(0,0%,100%,.075);color:#fff}.table-primary,.table-primary>td,.table-primary>th{background-color:#c3e4f4}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#90cdea}.table-hover .table-primary:hover,.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#addaf0}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#cfcfcf}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#a7a7a7}.table-hover .table-secondary:hover,.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c2c2c2}.table-success,.table-success>td,.table-success>th{background-color:#d9eab8}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#b8d77a}.table-hover .table-success:hover,.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#cee4a4}.table-info,.table-info>td,.table-info>th{background-color:#e2c6f1}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#ca95e4}.table-hover .table-info:hover,.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#d8b2ec}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffdeb8}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffc17a}.table-hover .table-warning:hover,.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffd29f}.table-danger,.table-danger>td,.table-danger>th{background-color:#f1b8b8}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#e47a7a}.table-hover .table-danger:hover,.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#eda3a3}.table-light,.table-light>td,.table-light>th{background-color:#c1c1c1}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#8c8c8c}.table-hover .table-light:hover,.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#b4b4b4}.table-dark,.table-dark>td,.table-dark>th{background-color:#e8e9e8}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#d4d5d5}.table-hover .table-dark:hover,.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#dbdddb}.table-active,.table-active>td,.table-active>th{background-color:hsla(0,0%,100%,.075)}.table-hover .table-active:hover,.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:hsla(0,0%,95%,.075)}.table .thead-dark th{background-color:#888;border-color:#757575;color:#fff}.table .thead-light th{background-color:#e9ecef;border-color:#282828;color:#282828}.table-dark{background-color:#888;color:#fff}.table-dark td,.table-dark th,.table-dark thead th{border-color:#757575}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:hsla(0,0%,100%,.05)}.table-dark.table-hover tbody tr:hover{background-color:hsla(0,0%,100%,.075);color:#fff}@media(max-width:575.98px){.table-responsive-sm{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-sm>.table-bordered{border:0}}@media(max-width:767.98px){.table-responsive-md{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-md>.table-bordered{border:0}}@media(max-width:991.98px){.table-responsive-lg{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-lg>.table-bordered{border:0}}@media(max-width:1199.98px){.table-responsive-xl{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive>.table-bordered{border:0}.form-control{background-clip:padding-box;background-color:#fff;border:1px solid #fff;border-radius:.25rem;color:#282828;display:block;font-size:.9rem;font-weight:400;height:calc(1.6em + .75rem + 2px);line-height:1.6;padding:.375rem 1rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:focus{background-color:#fff;border-color:#95cfeb;box-shadow:0 0 0 .2rem rgba(42,159,214,.25);color:#282828;outline:0}.form-control::-moz-placeholder{color:#555;opacity:1}.form-control:-ms-input-placeholder{color:#555;opacity:1}.form-control::placeholder{color:#555;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#adafae;opacity:1}input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{-webkit-appearance:none;-moz-appearance:none;appearance:none}select.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #282828}select.form-control:focus::-ms-value{background-color:#fff;color:#282828}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{font-size:inherit;line-height:1.6;margin-bottom:0;padding-bottom:calc(.375rem + 1px);padding-top:calc(.375rem + 1px)}.col-form-label-lg{font-size:1.125rem;line-height:1.5;padding-bottom:calc(.5rem + 1px);padding-top:calc(.5rem + 1px)}.col-form-label-sm{font-size:.7875rem;line-height:1.5;padding-bottom:calc(.25rem + 1px);padding-top:calc(.25rem + 1px)}.form-control-plaintext{background-color:transparent;border:solid transparent;border-width:1px 0;color:#adafae;display:block;font-size:.9rem;line-height:1.6;margin-bottom:0;padding:.375rem 0;width:100%}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-left:0;padding-right:0}.form-control-sm{border-radius:.2rem;font-size:.7875rem;height:calc(1.5em + .5rem + 2px);line-height:1.5;padding:.25rem .5rem}.form-control-lg{border-radius:.3rem;font-size:1.125rem;height:calc(1.5em + 1rem + 2px);line-height:1.5;padding:.5rem 1rem}select.form-control[multiple],select.form-control[size],textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:flex;flex-wrap:wrap;margin-left:-5px;margin-right:-5px}.form-row>.col,.form-row>[class*=col-]{padding-left:5px;padding-right:5px}.form-check{display:block;padding-left:1.25rem;position:relative}.form-check-input{margin-left:-1.25rem;margin-top:.3rem;position:absolute}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#555}.form-check-label{margin-bottom:0}.form-check-inline{align-items:center;display:inline-flex;margin-right:.75rem;padding-left:0}.form-check-inline .form-check-input{margin-left:0;margin-right:.3125rem;margin-top:0;position:static}.valid-feedback{color:#77b300;display:none;font-size:80%;margin-top:.25rem;width:100%}.valid-tooltip{background-color:#77b300;border-radius:.25rem;color:#fff;display:none;font-size:.7875rem;left:0;line-height:1.6;margin-top:.1rem;max-width:100%;padding:.25rem .5rem;position:absolute;top:100%;z-index:5}.form-row>.col>.valid-tooltip,.form-row>[class*=col-]>.valid-tooltip{left:5px}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%2377b300' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");background-position:right calc(.4em + .1875rem) center;background-repeat:no-repeat;background-size:calc(.8em + .375rem) calc(.8em + .375rem);border-color:#77b300;padding-right:calc(1.6em + .75rem)!important}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#77b300;box-shadow:0 0 0 .2rem rgba(119,179,0,.25)}.was-validated select.form-control:valid,select.form-control.is-valid{background-position:right 2rem center;padding-right:4rem!important}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{background-position:top calc(.4em + .1875rem) right calc(.4em + .1875rem);padding-right:calc(1.6em + .75rem)}.custom-select.is-valid,.was-validated .custom-select:valid{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23222' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right 1rem center/8px 10px no-repeat,#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%2377b300' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E") center right 2rem/calc(.8em + .375rem) calc(.8em + .375rem) no-repeat;border-color:#77b300;padding-right:calc(.75em + 2.5625rem)!important}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#77b300;box-shadow:0 0 0 .2rem rgba(119,179,0,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#77b300}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#77b300}.custom-control-input.is-valid~.custom-control-label:before,.was-validated .custom-control-input:valid~.custom-control-label:before{border-color:#77b300}.custom-control-input.is-valid:checked~.custom-control-label:before,.was-validated .custom-control-input:valid:checked~.custom-control-label:before{background-color:#99e600;border-color:#99e600}.custom-control-input.is-valid:focus~.custom-control-label:before,.was-validated .custom-control-input:valid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(119,179,0,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label:before{border-color:#77b300}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#77b300}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#77b300;box-shadow:0 0 0 .2rem rgba(119,179,0,.25)}.invalid-feedback{color:#c00;display:none;font-size:80%;margin-top:.25rem;width:100%}.invalid-tooltip{background-color:#c00;border-radius:.25rem;color:#fff;display:none;font-size:.7875rem;left:0;line-height:1.6;margin-top:.1rem;max-width:100%;padding:.25rem .5rem;position:absolute;top:100%;z-index:5}.form-row>.col>.invalid-tooltip,.form-row>[class*=col-]>.invalid-tooltip{left:5px}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23c00'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23c00' stroke='none'/%3E%3C/svg%3E");background-position:right calc(.4em + .1875rem) center;background-repeat:no-repeat;background-size:calc(.8em + .375rem) calc(.8em + .375rem);border-color:#c00;padding-right:calc(1.6em + .75rem)!important}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#c00;box-shadow:0 0 0 .2rem rgba(204,0,0,.25)}.was-validated select.form-control:invalid,select.form-control.is-invalid{background-position:right 2rem center;padding-right:4rem!important}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{background-position:top calc(.4em + .1875rem) right calc(.4em + .1875rem);padding-right:calc(1.6em + .75rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23222' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right 1rem center/8px 10px no-repeat,#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23c00'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23c00' stroke='none'/%3E%3C/svg%3E") center right 2rem/calc(.8em + .375rem) calc(.8em + .375rem) no-repeat;border-color:#c00;padding-right:calc(.75em + 2.5625rem)!important}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#c00;box-shadow:0 0 0 .2rem rgba(204,0,0,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#c00}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#c00}.custom-control-input.is-invalid~.custom-control-label:before,.was-validated .custom-control-input:invalid~.custom-control-label:before{border-color:#c00}.custom-control-input.is-invalid:checked~.custom-control-label:before,.was-validated .custom-control-input:invalid:checked~.custom-control-label:before{background-color:red;border-color:red}.custom-control-input.is-invalid:focus~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(204,0,0,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label:before{border-color:#c00}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#c00}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#c00;box-shadow:0 0 0 .2rem rgba(204,0,0,.25)}.form-inline{align-items:center;display:flex;flex-flow:row wrap}.form-inline .form-check{width:100%}@media(min-width:576px){.form-inline label{justify-content:center}.form-inline .form-group,.form-inline label{align-items:center;display:flex;margin-bottom:0}.form-inline .form-group{flex:0 0 auto;flex-flow:row wrap}.form-inline .form-control{display:inline-block;vertical-align:middle;width:auto}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{align-items:center;display:flex;justify-content:center;padding-left:0;width:auto}.form-inline .form-check-input{flex-shrink:0;margin-left:0;margin-right:.25rem;margin-top:0;position:relative}.form-inline .custom-control{align-items:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{background-color:transparent;border:1px solid transparent;border-radius:.25rem;color:#adafae;display:inline-block;font-size:.9rem;font-weight:400;line-height:1.6;padding:.375rem 1rem;text-align:center;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}@media(prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#adafae;text-decoration:none}.btn.focus,.btn:focus{box-shadow:0 0 0 .2rem rgba(42,159,214,.25);outline:0}.btn.disabled,.btn:disabled{opacity:.65}.btn:not(:disabled):not(.disabled){cursor:pointer}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff}.btn-primary.focus,.btn-primary:focus,.btn-primary:hover{background-color:#2387b7;border-color:#2180ac;color:#fff}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem rgba(74,173,220,.5)}.btn-primary.disabled,.btn-primary:disabled{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{background-color:#2180ac;border-color:#1f78a1;color:#fff}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(74,173,220,.5)}.btn-secondary{background-color:#555;border-color:#555;color:#fff}.btn-secondary.focus,.btn-secondary:focus,.btn-secondary:hover{background-color:#424242;border-color:#3c3c3c;color:#fff}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 0 0 .2rem hsla(0,0%,44%,.5)}.btn-secondary.disabled,.btn-secondary:disabled{background-color:#555;border-color:#555;color:#fff}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{background-color:#3c3c3c;border-color:#353535;color:#fff}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(0,0%,44%,.5)}.btn-success{background-color:#77b300;border-color:#77b300;color:#fff}.btn-success.focus,.btn-success:focus,.btn-success:hover{background-color:#5e8d00;border-color:#558000;color:#fff}.btn-success.focus,.btn-success:focus{box-shadow:0 0 0 .2rem rgba(139,190,38,.5)}.btn-success.disabled,.btn-success:disabled{background-color:#77b300;border-color:#77b300;color:#fff}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{background-color:#558000;border-color:#4d7300;color:#fff}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(139,190,38,.5)}.btn-info{background-color:#93c;border-color:#93c;color:#fff}.btn-info.focus,.btn-info:focus,.btn-info:hover{background-color:#822bad;border-color:#7a29a3;color:#fff}.btn-info.focus,.btn-info:focus{box-shadow:0 0 0 .2rem rgba(168,82,212,.5)}.btn-info.disabled,.btn-info:disabled{background-color:#93c;border-color:#93c;color:#fff}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{background-color:#7a29a3;border-color:#732699;color:#fff}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(168,82,212,.5)}.btn-warning{background-color:#f80;border-color:#f80;color:#fff}.btn-warning.focus,.btn-warning:focus,.btn-warning:hover{background-color:#d97400;border-color:#cc6d00;color:#fff}.btn-warning.focus,.btn-warning:focus{box-shadow:0 0 0 .2rem rgba(255,154,38,.5)}.btn-warning.disabled,.btn-warning:disabled{background-color:#f80;border-color:#f80;color:#fff}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{background-color:#cc6d00;border-color:#bf6600;color:#fff}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,154,38,.5)}.btn-danger{background-color:#c00;border-color:#c00;color:#fff}.btn-danger.focus,.btn-danger:focus,.btn-danger:hover{background-color:#a60000;border-color:#900;color:#fff}.btn-danger.focus,.btn-danger:focus{box-shadow:0 0 0 .2rem rgba(212,38,38,.5)}.btn-danger.disabled,.btn-danger:disabled{background-color:#c00;border-color:#c00;color:#fff}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{background-color:#900;border-color:#8c0000;color:#fff}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(212,38,38,.5)}.btn-light{background-color:#222;border-color:#222;color:#fff}.btn-light.focus,.btn-light:focus,.btn-light:hover{background-color:#0f0f0f;border-color:#090909;color:#fff}.btn-light.focus,.btn-light:focus{box-shadow:0 0 0 .2rem rgba(67,67,67,.5)}.btn-light.disabled,.btn-light:disabled{background-color:#222;border-color:#222;color:#fff}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{background-color:#090909;border-color:#020202;color:#fff}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(67,67,67,.5)}.btn-dark{background-color:#adafae;border-color:#adafae;color:#fff}.btn-dark.focus,.btn-dark:focus,.btn-dark:hover{background-color:#9a9c9b;border-color:#939695;color:#fff}.btn-dark.focus,.btn-dark:focus{box-shadow:0 0 0 .2rem hsla(150,1%,73%,.5)}.btn-dark.disabled,.btn-dark:disabled{background-color:#adafae;border-color:#adafae;color:#fff}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{background-color:#939695;border-color:#8d908e;color:#fff}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(150,1%,73%,.5)}.btn-outline-primary{border-color:#2a9fd6;color:#2a9fd6}.btn-outline-primary:hover{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(42,159,214,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{background-color:transparent;color:#2a9fd6}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(42,159,214,.5)}.btn-outline-secondary{border-color:#555;color:#555}.btn-outline-secondary:hover{background-color:#555;border-color:#555;color:#fff}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem rgba(85,85,85,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{background-color:transparent;color:#555}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{background-color:#555;border-color:#555;color:#fff}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(85,85,85,.5)}.btn-outline-success{border-color:#77b300;color:#77b300}.btn-outline-success:hover{background-color:#77b300;border-color:#77b300;color:#fff}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(119,179,0,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{background-color:transparent;color:#77b300}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{background-color:#77b300;border-color:#77b300;color:#fff}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(119,179,0,.5)}.btn-outline-info{border-color:#93c;color:#93c}.btn-outline-info:hover{background-color:#93c;border-color:#93c;color:#fff}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(153,51,204,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{background-color:transparent;color:#93c}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{background-color:#93c;border-color:#93c;color:#fff}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(153,51,204,.5)}.btn-outline-warning{border-color:#f80;color:#f80}.btn-outline-warning:hover{background-color:#f80;border-color:#f80;color:#fff}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,136,0,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{background-color:transparent;color:#f80}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{background-color:#f80;border-color:#f80;color:#fff}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,136,0,.5)}.btn-outline-danger{border-color:#c00;color:#c00}.btn-outline-danger:hover{background-color:#c00;border-color:#c00;color:#fff}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(204,0,0,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{background-color:transparent;color:#c00}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{background-color:#c00;border-color:#c00;color:#fff}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(204,0,0,.5)}.btn-outline-light{border-color:#222;color:#222}.btn-outline-light:hover{background-color:#222;border-color:#222;color:#fff}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(34,34,34,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{background-color:transparent;color:#222}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{background-color:#222;border-color:#222;color:#fff}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(34,34,34,.5)}.btn-outline-dark{border-color:#adafae;color:#adafae}.btn-outline-dark:hover{background-color:#adafae;border-color:#adafae;color:#fff}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem hsla(150,1%,68%,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{background-color:transparent;color:#adafae}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{background-color:#adafae;border-color:#adafae;color:#fff}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(150,1%,68%,.5)}.btn-link{color:#2a9fd6;font-weight:400;text-decoration:none}.btn-link:hover{color:#1d7097}.btn-link.focus,.btn-link:focus,.btn-link:hover{text-decoration:underline}.btn-link.disabled,.btn-link:disabled{color:#555;pointer-events:none}.btn-group-lg>.btn,.btn-lg{border-radius:.3rem;font-size:1.125rem;line-height:1.5;padding:.5rem 1rem}.btn-group-sm>.btn,.btn-sm{border-radius:.2rem;font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media(prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;position:relative;transition:height .35s ease}@media(prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{border-bottom:0;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:.3em solid;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu,span.twitter-typeahead .tt-menu{background-clip:padding-box;background-color:#282828;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;color:#adafae;display:none;float:left;font-size:.9rem;left:0;list-style:none;margin:.125rem 0 0;min-width:10rem;padding:.5rem 0;position:absolute;text-align:left;top:100%;z-index:1000}.dropdown-menu-left{left:0;right:auto}.dropdown-menu-right{left:auto;right:0}@media(min-width:576px){.dropdown-menu-sm-left{left:0;right:auto}.dropdown-menu-sm-right{left:auto;right:0}}@media(min-width:768px){.dropdown-menu-md-left{left:0;right:auto}.dropdown-menu-md-right{left:auto;right:0}}@media(min-width:992px){.dropdown-menu-lg-left{left:0;right:auto}.dropdown-menu-lg-right{left:auto;right:0}}@media(min-width:1200px){.dropdown-menu-xl-left{left:0;right:auto}.dropdown-menu-xl-right{left:auto;right:0}}.dropup .dropdown-menu,.dropup span.twitter-typeahead .tt-menu,span.twitter-typeahead .dropup .tt-menu{bottom:100%;margin-bottom:.125rem;margin-top:0;top:auto}.dropup .dropdown-toggle:after{border-bottom:.3em solid;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:0;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-menu,.dropright span.twitter-typeahead .tt-menu,span.twitter-typeahead .dropright .tt-menu{left:100%;margin-left:.125rem;margin-top:0;right:auto;top:0}.dropright .dropdown-toggle:after{border-bottom:.3em solid transparent;border-left:.3em solid;border-right:0;border-top:.3em solid transparent;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropright .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-toggle:after{vertical-align:0}.dropleft .dropdown-menu,.dropleft span.twitter-typeahead .tt-menu,span.twitter-typeahead .dropleft .tt-menu{left:auto;margin-right:.125rem;margin-top:0;right:100%;top:0}.dropleft .dropdown-toggle:after{content:"";display:inline-block;display:none;margin-left:.255em;vertical-align:.255em}.dropleft .dropdown-toggle:before{border-bottom:.3em solid transparent;border-right:.3em solid;border-top:.3em solid transparent;content:"";display:inline-block;margin-right:.255em;vertical-align:.255em}.dropleft .dropdown-toggle:empty:after{margin-left:0}.dropleft .dropdown-toggle:before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top],span.twitter-typeahead [x-placement^=bottom].tt-menu,span.twitter-typeahead [x-placement^=left].tt-menu,span.twitter-typeahead [x-placement^=right].tt-menu,span.twitter-typeahead [x-placement^=top].tt-menu{bottom:auto;right:auto}.dropdown-divider{border-top:1px solid #222;height:0;margin:.5rem 0;overflow:hidden}.dropdown-item,span.twitter-typeahead .tt-suggestion{background-color:transparent;border:0;clear:both;color:#fff;display:block;font-weight:400;padding:.25rem 1.5rem;text-align:inherit;white-space:nowrap;width:100%}.dropdown-item.active,.dropdown-item:active,.dropdown-item:focus,.dropdown-item:hover,span.twitter-typeahead .active.tt-suggestion,span.twitter-typeahead .tt-suggestion:active,span.twitter-typeahead .tt-suggestion:focus,span.twitter-typeahead .tt-suggestion:hover{background-color:#2a9fd6;color:#fff;text-decoration:none}.dropdown-item.disabled,.dropdown-item:disabled,span.twitter-typeahead .disabled.tt-suggestion,span.twitter-typeahead .tt-suggestion:disabled{background-color:transparent;color:#888;pointer-events:none}.dropdown-menu.show,span.twitter-typeahead .show.tt-menu{display:block}.dropdown-header{color:#555;display:block;font-size:.7875rem;margin-bottom:0;padding:.5rem 1.5rem;white-space:nowrap}.dropdown-item-text{color:#fff;display:block;padding:.25rem 1.5rem}.btn-group,.btn-group-vertical{display:inline-flex;position:relative;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{flex:1 1 auto;position:relative}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.dropdown-toggle-split{padding-left:.75rem;padding-right:.75rem}.dropdown-toggle-split:after,.dropright .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropleft .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-left:.375rem;padding-right:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-left:.75rem;padding-right:.75rem}.btn-group-vertical{align-items:flex-start;flex-direction:column;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-left-radius:0;border-bottom-right-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{clip:rect(0,0,0,0);pointer-events:none;position:absolute}.input-group{align-items:stretch;display:flex;flex-wrap:wrap;position:relative;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{flex:1 1 auto;margin-bottom:0;min-width:0;position:relative;width:1%}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group>.custom-file{align-items:center;display:flex}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label:after{border-bottom-right-radius:0;border-top-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-bottom-left-radius:0;border-top-left-radius:0}.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label,.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label:after,.input-group.has-validation>.custom-select:nth-last-child(n+3),.input-group.has-validation>.form-control:nth-last-child(n+3),.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label,.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label:after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.input-group-append,.input-group-prepend{display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{align-items:center;background-color:#282828;border:1px solid transparent;border-radius:.25rem;color:#fff;display:flex;font-size:.9rem;font-weight:400;line-height:1.6;margin-bottom:0;padding:.375rem 1rem;text-align:center;white-space:nowrap}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1rem + 2px)}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{border-radius:.3rem;font-size:1.125rem;line-height:1.5;padding:.5rem 1rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{border-radius:.2rem;font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:2rem}.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.btn,.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.input-group-text,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.btn,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-bottom-right-radius:0;border-top-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-bottom-left-radius:0;border-top-left-radius:0}.custom-control{color-adjust:exact;display:block;min-height:1.44rem;padding-left:1.5rem;position:relative;-webkit-print-color-adjust:exact;z-index:1}.custom-control-inline{display:inline-flex;margin-right:1rem}.custom-control-input{height:1.22rem;left:0;opacity:0;position:absolute;width:1rem;z-index:-1}.custom-control-input:checked~.custom-control-label:before{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff}.custom-control-input:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(42,159,214,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label:before{border-color:#95cfeb}.custom-control-input:not(:disabled):active~.custom-control-label:before{background-color:#c0e2f3;border-color:#c0e2f3;color:#fff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#555}.custom-control-input:disabled~.custom-control-label:before,.custom-control-input[disabled]~.custom-control-label:before{background-color:#adafae}.custom-control-label{margin-bottom:0;position:relative;vertical-align:top}.custom-control-label:before{background-color:#fff;border:1px solid #888;pointer-events:none}.custom-control-label:after,.custom-control-label:before{content:"";display:block;height:1rem;left:-1.5rem;position:absolute;top:.22rem;width:1rem}.custom-control-label:after{background:50%/50% 50% no-repeat}.custom-checkbox .custom-control-label:before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%23fff' d='m6.564.75-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:before{background-color:#2a9fd6;border-color:#2a9fd6}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(42,159,214,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label:before{background-color:rgba(42,159,214,.5)}.custom-radio .custom-control-label:before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(42,159,214,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label:before{border-radius:.5rem;left:-2.25rem;pointer-events:all;width:1.75rem}.custom-switch .custom-control-label:after{background-color:#888;border-radius:.5rem;height:calc(1rem - 4px);left:calc(-2.25rem + 2px);top:calc(.22rem + 2px);transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:calc(1rem - 4px)}@media(prefers-reduced-motion:reduce){.custom-switch .custom-control-label:after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label:after{background-color:#fff;transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(42,159,214,.5)}.custom-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23222' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right 1rem center/8px 10px no-repeat;border:1px solid #fff;border-radius:.25rem;color:#282828;display:inline-block;font-size:.9rem;font-weight:400;height:calc(1.6em + .75rem + 2px);line-height:1.6;padding:.375rem 2rem .375rem 1rem;vertical-align:middle;width:100%}.custom-select:focus{border-color:#95cfeb;box-shadow:0 0 0 .2rem rgba(42,159,214,.25);outline:0}.custom-select:focus::-ms-value{background-color:#fff;color:#282828}.custom-select[multiple],.custom-select[size]:not([size="1"]){background-image:none;height:auto;padding-right:1rem}.custom-select:disabled{background-color:#e9ecef;color:#555}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #282828}.custom-select-sm{font-size:.7875rem;height:calc(1.5em + .5rem + 2px);padding-bottom:.25rem;padding-left:.5rem;padding-top:.25rem}.custom-select-lg{font-size:1.125rem;height:calc(1.5em + 1rem + 2px);padding-bottom:.5rem;padding-left:1rem;padding-top:.5rem}.custom-file{display:inline-block;margin-bottom:0}.custom-file,.custom-file-input{height:calc(1.6em + .75rem + 2px);position:relative;width:100%}.custom-file-input{margin:0;opacity:0;overflow:hidden;z-index:2}.custom-file-input:focus~.custom-file-label{border-color:#95cfeb;box-shadow:0 0 0 .2rem rgba(42,159,214,.25)}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#adafae}.custom-file-input:lang(en)~.custom-file-label:after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]:after{content:attr(data-browse)}.custom-file-label{background-color:#fff;border:1px solid #282828;border-radius:.25rem;font-weight:400;height:calc(1.6em + .75rem + 2px);left:0;overflow:hidden;z-index:1}.custom-file-label,.custom-file-label:after{color:#fff;line-height:1.6;padding:.375rem 1rem;position:absolute;right:0;top:0}.custom-file-label:after{background-color:#282828;border-left:inherit;border-radius:0 .25rem .25rem 0;bottom:0;content:"Browse";display:block;height:calc(1.6em + .75rem);z-index:3}.custom-range{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;height:1.4rem;padding:0;width:100%}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #060606,0 0 0 .2rem rgba(42,159,214,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #060606,0 0 0 .2rem rgba(42,159,214,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #060606,0 0 0 .2rem rgba(42,159,214,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:#2a9fd6;border:0;border-radius:1rem;height:1rem;margin-top:-.25rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#c0e2f3}.custom-range::-webkit-slider-runnable-track{background-color:#dee2e6;border-color:transparent;border-radius:1rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:#2a9fd6;border:0;border-radius:1rem;height:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#c0e2f3}.custom-range::-moz-range-track{background-color:#dee2e6;border-color:transparent;border-radius:1rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-ms-thumb{appearance:none;background-color:#2a9fd6;border:0;border-radius:1rem;height:1rem;margin-left:.2rem;margin-right:.2rem;margin-top:0;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#c0e2f3}.custom-range::-ms-track{background-color:transparent;border-color:transparent;border-width:.5rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-ms-fill-lower,.custom-range::-ms-fill-upper{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px}.custom-range:disabled::-webkit-slider-thumb{background-color:#888}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#888}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#888}.custom-control-label:before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.custom-control-label:before,.custom-file-label,.custom-select{transition:none}}.nav{display:flex;flex-wrap:wrap;list-style:none;margin-bottom:0;padding-left:0}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#555;cursor:default;pointer-events:none}.nav-tabs{border-bottom:1px solid #282828}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem;margin-bottom:-1px}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#282828}.nav-tabs .nav-link.disabled{background-color:transparent;border-color:transparent;color:#555}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{background-color:#282828;border-color:#282828;color:#fff}.nav-tabs .dropdown-menu,.nav-tabs span.twitter-typeahead .tt-menu,span.twitter-typeahead .nav-tabs .tt-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{background-color:#2a9fd6;color:#fff}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{padding:.5rem 1rem;position:relative}.navbar,.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.navbar-brand{display:inline-block;font-size:1.125rem;line-height:inherit;margin-right:1rem;padding-bottom:.32rem;padding-top:.32rem;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:flex;flex-direction:column;list-style:none;margin-bottom:0;padding-left:0}.navbar-nav .nav-link{padding-left:0;padding-right:0}.navbar-nav .dropdown-menu,.navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-nav .tt-menu{float:none;position:static}.navbar-text{display:inline-block;padding-bottom:.5rem;padding-top:.5rem}.navbar-collapse{align-items:center;flex-basis:100%;flex-grow:1}.navbar-toggler{background-color:transparent;border:1px solid transparent;border-radius:.25rem;font-size:1.125rem;line-height:1;padding:.25rem .75rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{background:50%/100% 100% no-repeat;content:"";display:inline-block;height:1.5em;vertical-align:middle;width:1.5em}.navbar-nav-scroll{max-height:75vh;overflow-y:auto}@media(max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-left:0;padding-right:0}}@media(min-width:576px){.navbar-expand-sm{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu,.navbar-expand-sm .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-sm .navbar-nav .tt-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{flex-wrap:nowrap}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media(max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-left:0;padding-right:0}}@media(min-width:768px){.navbar-expand-md{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu,.navbar-expand-md .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-md .navbar-nav .tt-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{flex-wrap:nowrap}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media(max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-left:0;padding-right:0}}@media(min-width:992px){.navbar-expand-lg{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu,.navbar-expand-lg .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-lg .navbar-nav .tt-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{flex-wrap:nowrap}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media(max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-left:0;padding-right:0}}@media(min-width:1200px){.navbar-expand-xl{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu,.navbar-expand-xl .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-xl .navbar-nav .tt-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{flex-wrap:nowrap}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-left:0;padding-right:0}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu,.navbar-expand .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand .navbar-nav .tt-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{flex-wrap:nowrap}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.5)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand,.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:#fff}.navbar-dark .navbar-nav .nav-link.disabled{color:hsla(0,0%,100%,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{border-color:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")}.navbar-dark .navbar-text{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{word-wrap:break-word;background-clip:border-box;background-color:#282828;border:1px solid rgba(0,0,0,.125);border-radius:.25rem;display:flex;flex-direction:column;min-width:0;position:relative}.card>hr{margin-left:0;margin-right:0}.card>.list-group{border-bottom:inherit;border-top:inherit}.card>.list-group:first-child{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px);border-top-width:0}.card>.list-group:last-child{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px);border-bottom-width:0}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125);margin-bottom:0;padding:.75rem 1.25rem}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125);padding:.75rem 1.25rem}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{border-bottom:0;margin-bottom:-.75rem}.card-header-pills,.card-header-tabs{margin-left:-.625rem;margin-right:-.625rem}.card-img-overlay{border-radius:calc(.25rem - 1px);bottom:0;left:0;padding:1.25rem;position:absolute;right:0;top:0}.card-img,.card-img-bottom,.card-img-top{flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media(min-width:576px){.card-deck{display:flex;flex-flow:row wrap;margin-left:-15px;margin-right:-15px}.card-deck .card{flex:1 0 0%;margin-bottom:0;margin-left:15px;margin-right:15px}}.card-group>.card{margin-bottom:15px}@media(min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{border-left:0;margin-left:0}.card-group>.card:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media(min-width:576px){.card-columns{-moz-column-count:3;column-count:3;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion{overflow-anchor:none}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{background-color:#282828;border-radius:.25rem;display:flex;flex-wrap:wrap;list-style:none;margin-bottom:1rem;padding:.75rem 1rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item:before{color:#555;content:"/";float:left;padding-right:.5rem}.breadcrumb-item+.breadcrumb-item:hover:before{text-decoration:underline;text-decoration:none}.breadcrumb-item.active{color:#555}.pagination{border-radius:.25rem;display:flex;list-style:none;padding-left:0}.page-link{background-color:#282828;border:1px solid transparent;color:#fff;display:block;line-height:1.25;margin-left:-1px;padding:.5rem .75rem;position:relative}.page-link:hover{background-color:#2a9fd6;border-color:transparent;color:#fff;text-decoration:none;z-index:2}.page-link:focus{box-shadow:0 0 0 .2rem rgba(42,159,214,.25);outline:0;z-index:3}.page-item:first-child .page-link{border-bottom-left-radius:.25rem;border-top-left-radius:.25rem;margin-left:0}.page-item:last-child .page-link{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.page-item.active .page-link{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff;z-index:3}.page-item.disabled .page-link{background-color:#282828;border-color:transparent;color:#555;cursor:auto;pointer-events:none}.pagination-lg .page-link{font-size:1.125rem;line-height:1.5;padding:.75rem 1.5rem}.pagination-lg .page-item:first-child .page-link{border-bottom-left-radius:.3rem;border-top-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-bottom-right-radius:.3rem;border-top-right-radius:.3rem}.pagination-sm .page-link{font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.pagination-sm .page-item:first-child .page-link{border-bottom-left-radius:.2rem;border-top-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-bottom-right-radius:.2rem;border-top-right-radius:.2rem}.badge{border-radius:.25rem;display:inline-block;font-size:75%;font-weight:700;line-height:1;padding:.25em .4em;text-align:center;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;vertical-align:baseline;white-space:nowrap}@media(prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{border-radius:10rem;padding-left:.6em;padding-right:.6em}.badge-primary{background-color:#2a9fd6;color:#fff}a.badge-primary:focus,a.badge-primary:hover{background-color:#2180ac;color:#fff}a.badge-primary.focus,a.badge-primary:focus{box-shadow:0 0 0 .2rem rgba(42,159,214,.5);outline:0}.badge-secondary{background-color:#555;color:#fff}a.badge-secondary:focus,a.badge-secondary:hover{background-color:#3c3c3c;color:#fff}a.badge-secondary.focus,a.badge-secondary:focus{box-shadow:0 0 0 .2rem rgba(85,85,85,.5);outline:0}.badge-success{background-color:#77b300;color:#fff}a.badge-success:focus,a.badge-success:hover{background-color:#558000;color:#fff}a.badge-success.focus,a.badge-success:focus{box-shadow:0 0 0 .2rem rgba(119,179,0,.5);outline:0}.badge-info{background-color:#93c;color:#fff}a.badge-info:focus,a.badge-info:hover{background-color:#7a29a3;color:#fff}a.badge-info.focus,a.badge-info:focus{box-shadow:0 0 0 .2rem rgba(153,51,204,.5);outline:0}.badge-warning{background-color:#f80;color:#fff}a.badge-warning:focus,a.badge-warning:hover{background-color:#cc6d00;color:#fff}a.badge-warning.focus,a.badge-warning:focus{box-shadow:0 0 0 .2rem rgba(255,136,0,.5);outline:0}.badge-danger{background-color:#c00;color:#fff}a.badge-danger:focus,a.badge-danger:hover{background-color:#900;color:#fff}a.badge-danger.focus,a.badge-danger:focus{box-shadow:0 0 0 .2rem rgba(204,0,0,.5);outline:0}.badge-light{background-color:#222;color:#fff}a.badge-light:focus,a.badge-light:hover{background-color:#090909;color:#fff}a.badge-light.focus,a.badge-light:focus{box-shadow:0 0 0 .2rem rgba(34,34,34,.5);outline:0}.badge-dark{background-color:#adafae;color:#fff}a.badge-dark:focus,a.badge-dark:hover{background-color:#939695;color:#fff}a.badge-dark.focus,a.badge-dark:focus{box-shadow:0 0 0 .2rem hsla(150,1%,68%,.5);outline:0}.jumbotron{background-color:#282828;border-radius:.3rem;margin-bottom:2rem;padding:2rem 1rem}@media(min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{border-radius:0;padding-left:0;padding-right:0}.alert{border:1px solid transparent;border-radius:.25rem;margin-bottom:1rem;padding:.75rem 1.25rem;position:relative}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3.85rem}.alert-dismissible .close{color:inherit;padding:.75rem 1.25rem;position:absolute;right:0;top:0;z-index:2}.alert-primary{background-color:#d4ecf7;border-color:#c3e4f4;color:#16536f}.alert-primary hr{border-top-color:#addaf0}.alert-primary .alert-link{color:#0e3344}.alert-secondary{background-color:#ddd;border-color:#cfcfcf;color:#2c2c2c}.alert-secondary hr{border-top-color:#c2c2c2}.alert-secondary .alert-link{color:#131313}.alert-success{background-color:#e4f0cc;border-color:#d9eab8;color:#3e5d00}.alert-success hr{border-top-color:#cee4a4}.alert-success .alert-link{color:#1c2a00}.alert-info{background-color:#ebd6f5;border-color:#e2c6f1;color:#501b6a}.alert-info hr{border-top-color:#d8b2ec}.alert-info .alert-link{color:#311141}.alert-warning{background-color:#ffe7cc;border-color:#ffdeb8;color:#854700}.alert-warning hr{border-top-color:#ffd29f}.alert-warning .alert-link{color:#522c00}.alert-danger{background-color:#f5cccc;border-color:#f1b8b8;color:#6a0000}.alert-danger hr{border-top-color:#eda3a3}.alert-danger .alert-link{color:#370000}.alert-light{background-color:#d3d3d3;border-color:#c1c1c1;color:#121212}.alert-light hr{border-top-color:#b4b4b4}.alert-light .alert-link{color:#000}.alert-dark{background-color:#efefef;border-color:#e8e9e8;color:#5a5b5a}.alert-dark hr{border-top-color:#dbdddb}.alert-dark .alert-link{color:#414141}@-webkit-keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}.progress{background-color:#282828;border-radius:.25rem;font-size:.675rem;height:1rem;line-height:0}.progress,.progress-bar{display:flex;overflow:hidden}.progress-bar{background-color:#2a9fd6;color:#fff;flex-direction:column;justify-content:center;text-align:center;transition:width .6s ease;white-space:nowrap}@media(prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media(prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{align-items:flex-start;display:flex}.media-body{flex:1}.list-group{border-radius:.25rem;display:flex;flex-direction:column;margin-bottom:0;padding-left:0}.list-group-item-action{color:#282828;text-align:inherit;width:100%}.list-group-item-action:focus,.list-group-item-action:hover{background-color:#2a9fd6;color:#282828;text-decoration:none;z-index:1}.list-group-item-action:active{background-color:#2a9fd6;color:#adafae}.list-group-item{background-color:#222;border:1px solid #282828;display:block;padding:.75rem 1.25rem;position:relative}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{background-color:#282828;color:#555;pointer-events:none}.list-group-item.active{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff;z-index:2}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{border-top-width:1px;margin-top:-1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}@media(min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-md>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{background-color:#c3e4f4;color:#16536f}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{background-color:#addaf0;color:#16536f}.list-group-item-primary.list-group-item-action.active{background-color:#16536f;border-color:#16536f;color:#fff}.list-group-item-secondary{background-color:#cfcfcf;color:#2c2c2c}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{background-color:#c2c2c2;color:#2c2c2c}.list-group-item-secondary.list-group-item-action.active{background-color:#2c2c2c;border-color:#2c2c2c;color:#fff}.list-group-item-success{background-color:#d9eab8;color:#3e5d00}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{background-color:#cee4a4;color:#3e5d00}.list-group-item-success.list-group-item-action.active{background-color:#3e5d00;border-color:#3e5d00;color:#fff}.list-group-item-info{background-color:#e2c6f1;color:#501b6a}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{background-color:#d8b2ec;color:#501b6a}.list-group-item-info.list-group-item-action.active{background-color:#501b6a;border-color:#501b6a;color:#fff}.list-group-item-warning{background-color:#ffdeb8;color:#854700}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{background-color:#ffd29f;color:#854700}.list-group-item-warning.list-group-item-action.active{background-color:#854700;border-color:#854700;color:#fff}.list-group-item-danger{background-color:#f1b8b8;color:#6a0000}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{background-color:#eda3a3;color:#6a0000}.list-group-item-danger.list-group-item-action.active{background-color:#6a0000;border-color:#6a0000;color:#fff}.list-group-item-light{background-color:#c1c1c1;color:#121212}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{background-color:#b4b4b4;color:#121212}.list-group-item-light.list-group-item-action.active{background-color:#121212;border-color:#121212;color:#fff}.list-group-item-dark{background-color:#e8e9e8;color:#5a5b5a}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{background-color:#dbdddb;color:#5a5b5a}.list-group-item-dark.list-group-item-action.active{background-color:#5a5b5a;border-color:#5a5b5a;color:#fff}.close{color:#fff;float:right;font-size:1.35rem;font-weight:700;line-height:1;opacity:.5;text-shadow:none}.close:hover{color:#fff;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{background-color:transparent;border:0;padding:0}a.close.disabled{pointer-events:none}.toast{background-clip:padding-box;background-color:#222;border:1px solid #282828;border-radius:.25rem;box-shadow:0 .25rem .75rem rgba(0,0,0,.1);color:#fff;flex-basis:350px;font-size:.875rem;max-width:350px;opacity:0}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{align-items:center;background-clip:padding-box;background-color:#222;border-bottom:1px solid #282828;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px);color:#adafae;display:flex;padding:.25rem .75rem}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{display:none;height:100%;left:0;outline:0;overflow:hidden;position:fixed;top:0;width:100%;z-index:1050}.modal-dialog{margin:.5rem;pointer-events:none;position:relative;width:auto}.modal.fade .modal-dialog{transform:translateY(-50px);transition:transform .3s ease-out}@media(prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{align-items:center;display:flex;min-height:calc(100% - 1rem)}.modal-dialog-centered:before{content:"";display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-dialog-centered.modal-dialog-scrollable{flex-direction:column;height:100%;justify-content:center}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable:before{content:none}.modal-content{background-clip:padding-box;background-color:#222;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;display:flex;flex-direction:column;outline:0;pointer-events:auto;position:relative;width:100%}.modal-backdrop{background-color:#000;height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:1040}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{align-items:flex-start;border-bottom:1px solid #282828;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px);display:flex;justify-content:space-between;padding:1rem}.modal-header .close{margin:-1rem -1rem -1rem auto;padding:1rem}.modal-title{line-height:1.6;margin-bottom:0}.modal-body{flex:1 1 auto;padding:1rem;position:relative}.modal-footer{align-items:center;border-bottom-left-radius:calc(.3rem - 1px);border-bottom-right-radius:calc(.3rem - 1px);border-top:1px solid #282828;display:flex;flex-wrap:wrap;justify-content:flex-end;padding:.75rem}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{height:50px;overflow:scroll;position:absolute;top:-9999px;width:50px}@media(min-width:576px){.modal-dialog{margin:1.75rem auto;max-width:500px}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered:before{height:calc(100vh - 3.5rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-sm{max-width:300px}}@media(min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media(min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{word-wrap:break-word;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.7875rem;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.6;margin:0;opacity:0;position:absolute;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;z-index:1070}.tooltip.show{opacity:1}.tooltip .arrow{display:block;height:.4rem;position:absolute;width:.8rem}.tooltip .arrow:before{border-color:transparent;border-style:solid;content:"";position:absolute}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow:before,.bs-tooltip-top .arrow:before{border-top-color:#282828;border-width:.4rem .4rem 0;top:0}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{height:.8rem;left:0;width:.4rem}.bs-tooltip-auto[x-placement^=right] .arrow:before,.bs-tooltip-right .arrow:before{border-right-color:#282828;border-width:.4rem .4rem .4rem 0;right:0}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.bs-tooltip-bottom .arrow:before{border-bottom-color:#282828;border-width:0 .4rem .4rem;bottom:0}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{height:.8rem;right:0;width:.4rem}.bs-tooltip-auto[x-placement^=left] .arrow:before,.bs-tooltip-left .arrow:before{border-left-color:#282828;border-width:.4rem 0 .4rem .4rem;left:0}.tooltip-inner{background-color:#282828;border-radius:.25rem;color:#fff;max-width:200px;padding:.25rem .5rem;text-align:center}.popover{word-wrap:break-word;background-clip:padding-box;background-color:#282828;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.7875rem;font-style:normal;font-weight:400;left:0;letter-spacing:normal;line-break:auto;line-height:1.6;max-width:276px;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;top:0;white-space:normal;word-break:normal;word-spacing:normal;z-index:1060}.popover,.popover .arrow{display:block;position:absolute}.popover .arrow{height:.5rem;margin:0 .3rem;width:1rem}.popover .arrow:after,.popover .arrow:before{border-color:transparent;border-style:solid;content:"";display:block;position:absolute}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow:before,.bs-popover-top>.arrow:before{border-top-color:rgba(0,0,0,.25);border-width:.5rem .5rem 0;bottom:0}.bs-popover-auto[x-placement^=top]>.arrow:after,.bs-popover-top>.arrow:after{border-top-color:#282828;border-width:.5rem .5rem 0;bottom:1px}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{height:1rem;left:calc(-.5rem - 1px);margin:.3rem 0;width:.5rem}.bs-popover-auto[x-placement^=right]>.arrow:before,.bs-popover-right>.arrow:before{border-right-color:rgba(0,0,0,.25);border-width:.5rem .5rem .5rem 0;left:0}.bs-popover-auto[x-placement^=right]>.arrow:after,.bs-popover-right>.arrow:after{border-right-color:#282828;border-width:.5rem .5rem .5rem 0;left:1px}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow:before,.bs-popover-bottom>.arrow:before{border-bottom-color:rgba(0,0,0,.25);border-width:0 .5rem .5rem;top:0}.bs-popover-auto[x-placement^=bottom]>.arrow:after,.bs-popover-bottom>.arrow:after{border-bottom-color:#282828;border-width:0 .5rem .5rem;top:1px}.bs-popover-auto[x-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{border-bottom:1px solid #202020;content:"";display:block;left:50%;margin-left:-.5rem;position:absolute;top:0;width:1rem}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{height:1rem;margin:.3rem 0;right:calc(-.5rem - 1px);width:.5rem}.bs-popover-auto[x-placement^=left]>.arrow:before,.bs-popover-left>.arrow:before{border-left-color:rgba(0,0,0,.25);border-width:.5rem 0 .5rem .5rem;right:0}.bs-popover-auto[x-placement^=left]>.arrow:after,.bs-popover-left>.arrow:after{border-left-color:#282828;border-width:.5rem 0 .5rem .5rem;right:1px}.popover-header{background-color:#202020;border-bottom:1px solid #141414;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px);color:#fff;font-size:.9rem;margin-bottom:0;padding:.5rem .75rem}.popover-header:empty{display:none}.popover-body{color:#adafae;padding:.5rem .75rem}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{overflow:hidden;position:relative;width:100%}.carousel-inner:after{clear:both;content:"";display:block}.carousel-item{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:none;float:left;margin-right:-100%;position:relative;transition:transform .6s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transform:none;transition-property:opacity}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{opacity:1;z-index:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{opacity:0;transition:opacity 0s .6s;z-index:0}@media(prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{align-items:center;background:none;border:0;bottom:0;color:#fff;display:flex;justify-content:center;opacity:.5;padding:0;position:absolute;text-align:center;top:0;transition:opacity .15s ease;width:15%;z-index:1}@media(prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;opacity:.9;outline:0;text-decoration:none}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{background:50%/100% 100% no-repeat;display:inline-block;height:20px;width:20px}.carousel-control-prev-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8'%3E%3Cpath d='m5.25 0-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3E%3C/svg%3E")}.carousel-control-next-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8'%3E%3Cpath d='m2.75 0-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3E%3C/svg%3E")}.carousel-indicators{bottom:0;display:flex;justify-content:center;left:0;list-style:none;margin-left:15%;margin-right:15%;padding-left:0;position:absolute;right:0;z-index:15}.carousel-indicators li{background-clip:padding-box;background-color:#fff;border-bottom:10px solid transparent;border-top:10px solid transparent;box-sizing:content-box;cursor:pointer;flex:0 1 auto;height:3px;margin-left:3px;margin-right:3px;opacity:.5;text-indent:-999px;transition:opacity .6s ease;width:30px}@media(prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{bottom:20px;color:#fff;left:15%;padding-bottom:20px;padding-top:20px;position:absolute;right:15%;text-align:center;z-index:10}@-webkit-keyframes spinner-border{to{transform:rotate(1turn)}}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite;border:.25em solid;border-radius:50%;border-right:.25em solid transparent;display:inline-block;height:2rem;vertical-align:-.125em;width:2rem}.spinner-border-sm{border-width:.2em;height:1rem;width:1rem}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite;background-color:currentColor;border-radius:50%;display:inline-block;height:2rem;opacity:0;vertical-align:-.125em;width:2rem}.spinner-grow-sm{height:1rem;width:1rem}@media(prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{-webkit-animation-duration:1.5s;animation-duration:1.5s}}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#2a9fd6!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#2180ac!important}.bg-secondary{background-color:#555!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#3c3c3c!important}.bg-success{background-color:#77b300!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#558000!important}.bg-info{background-color:#93c!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#7a29a3!important}.bg-warning{background-color:#f80!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#cc6d00!important}.bg-danger{background-color:#c00!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#900!important}.bg-light{background-color:#222!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#090909!important}.bg-dark{background-color:#adafae!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#939695!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#2a9fd6!important}.border-secondary{border-color:#555!important}.border-success{border-color:#77b300!important}.border-info{border-color:#93c!important}.border-warning{border-color:#f80!important}.border-danger{border-color:#c00!important}.border-light{border-color:#222!important}.border-dark{border-color:#adafae!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important}.rounded-right,.rounded-top{border-top-right-radius:.25rem!important}.rounded-bottom,.rounded-right{border-bottom-right-radius:.25rem!important}.rounded-bottom,.rounded-left{border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix:after{clear:both;content:"";display:block}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}@media(min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}}@media(min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}}@media(min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}}@media(min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}}.embed-responsive{display:block;overflow:hidden;padding:0;position:relative;width:100%}.embed-responsive:before{content:"";display:block}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{border:0;bottom:0;height:100%;left:0;position:absolute;top:0;width:100%}.embed-responsive-21by9:before{padding-top:42.85714286%}.embed-responsive-16by9:before{padding-top:56.25%}.embed-responsive-4by3:before{padding-top:75%}.embed-responsive-1by1:before{padding-top:100%}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}@media(min-width:576px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}}@media(min-width:768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}}@media(min-width:992px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}}@media(min-width:1200px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media(min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media(min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media(min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media(min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{top:0}.fixed-bottom,.fixed-top{left:0;position:fixed;right:0;z-index:1030}.fixed-bottom{bottom:0}@supports((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;overflow:visible;position:static;white-space:normal;width:auto}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media(min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media(min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media(min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media(min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.stretched-link:after{background-color:transparent;bottom:0;content:"";left:0;pointer-events:auto;position:absolute;right:0;top:0;z-index:1}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media(min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media(min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media(min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media(min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#2a9fd6!important}a.text-primary:focus,a.text-primary:hover{color:#1d7097!important}.text-secondary{color:#555!important}a.text-secondary:focus,a.text-secondary:hover{color:#2f2f2f!important}.text-success{color:#77b300!important}a.text-success:focus,a.text-success:hover{color:#446700!important}.text-info{color:#93c!important}a.text-info:focus,a.text-info:hover{color:#6b248f!important}.text-warning{color:#f80!important}a.text-warning:focus,a.text-warning:hover{color:#b35f00!important}.text-danger{color:#c00!important}a.text-danger:focus,a.text-danger:hover{color:maroon!important}.text-light{color:#222!important}a.text-light:focus,a.text-light:hover{color:#000!important}a.text-dark:focus,a.text-dark:hover{color:#868988!important}.text-body{color:#adafae!important}.text-muted{color:#555!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:hsla(0,0%,100%,.5)!important}.text-hide{background-color:transparent;border:0;color:transparent;font:0/0 a;text-shadow:none}.text-decoration-none{text-decoration:none!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,:after,:before{box-shadow:none!important;text-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]:after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #888}blockquote,img,pre,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}.container,body{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#282828}.table .thead-dark th{border-color:#282828;color:inherit}}body,html{min-height:100vh}body{display:flex;flex-flow:column}#content{margin-bottom:auto!important}body,button,input,textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.navbar-laravel{background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.04)}.bg-pixelfed{background:#10c5f8;background:linear-gradient(to bottom right,#6736dd,#10c5f8)}@media(min-width:1200px){.container{max-width:935px}}.text-dark{color:#212529!important}.settings-nav .active .nav-link{font-weight:700}.card-disabled{background-color:#f5f5f5;opacity:.4}.card-img-top{height:auto}.card.status-container .status-photo{margin:auto!important}@media(min-width:768px){.card.status-container .status-comments{border-bottom:1px solid rgba(0,0,0,.1);height:200px;overflow-y:scroll}}.no-caret.dropdown-toggle{text-decoration:none!important}.no-caret.dropdown-toggle:after{display:none}.notification-page .profile-link{color:#212529;font-weight:700}.notification-page .list-group-item:first-child{border-top:none}.nav-topbar{border-top:1px solid #dee2e6}.nav-topbar .nav-item{margin:-1px 1.5rem 0}.nav-topbar .nav-link{border:1px solid transparent;color:#dee2e6;padding:.75rem 0}.nav-topbar .nav-link:focus,.nav-topbar .nav-link:hover{border-top-color:#dee2e6}.nav-topbar .nav-link.disabled{background-color:transparent;border-color:transparent;color:#dee2e6}.nav-topbar .nav-item.show .nav-link,.nav-topbar .nav-link.active{border-top-color:#555;color:#555}.nav-topbar .dropdown-menu,.nav-topbar span.twitter-typeahead .tt-menu,span.twitter-typeahead .nav-topbar .tt-menu{margin-top:-1px}.info-overlay{position:relative}.info-overlay .info-overlay-text{display:none;position:absolute}.info-overlay:hover .info-overlay-text{display:flex}@media(max-width:576px){.info-overlay:hover .info-overlay-text h5{font-size:12px}}.info-overlay-text,.info-overlay-text-label{background-color:rgba(0,0,0,.5);height:100%;width:100%}.info-overlay-text-label{display:flex;position:absolute}.info-overlay-text-label h5{z-index:2}.info-overlay:hover .info-overlay-text-label{display:none}.font-weight-lighter{font-weight:300!important}.font-weight-ultralight{font-weight:200!important}.square{position:relative;width:100%}.square:after{content:"";display:block;padding-bottom:100%}.square-content{background-position:50%;background-repeat:no-repeat;background-size:cover;height:100%;position:absolute;width:100%}@media(max-width:768px){.border-md-left-0{border-left:0!important}.card.status-container .status-comments{border-top:1px solid rgba(0,0,0,.1)}.sticky-md-bottom{bottom:0;position:-webkit-sticky;position:sticky;z-index:1020}}@media(max-width:576px){.card-md-border-0{border-radius:0!important;border-width:0!important}.card-md-rounded-0{border-radius:0!important;border-width:1px 0}}@-webkit-keyframes loading-bar{0%{background-position:0 0}to{background-position:100vw 0}}@keyframes loading-bar{0%{background-position:0 0}to{background-position:100vw 0}}.loading-page{-webkit-animation:loading-bar 3s linear infinite;animation:loading-bar 3s linear infinite;background-image:linear-gradient(90deg,#6736dd,#10c5f8,#10c5f8,#6736dd);height:.25rem;width:100vw}.liked{position:relative;z-index:1}.liked:after{-webkit-animation:liking 1.5s;animation:liking 1.5s;color:transparent;content:"";left:50%;position:absolute;top:0;z-index:-1}@-webkit-keyframes liking{0%{color:#ebf70e;font-size:0;top:.25rem;transform:rotate(0deg)}75%{font-size:2.8rem;left:-.55rem;opacity:1;top:-.55rem;transform:rotate(1turn)}to{font-size:0;left:.9rem;top:2.5rem;transform:rotate(1turn)}}@keyframes liking{0%{color:#ebf70e;font-size:0;top:.25rem;transform:rotate(0deg)}75%{font-size:2.8rem;left:-.55rem;opacity:1;top:-.55rem;transform:rotate(1turn)}to{font-size:0;left:.9rem;top:2.5rem;transform:rotate(1turn)}}.max-hide-overflow{max-height:500px;overflow-y:hidden}@media(min-width:0){.max-hide-overflow{max-height:600px!important}}@media(min-width:768px){.max-hide-overflow{max-height:800px!important}}@media(min-width:1200px){.max-hide-overflow{max-height:1000px!important}}.notification-image{background-position:50%;background-size:cover;height:32px;width:32px}.status-photo img{max-height:calc(100vh - 6rem);-o-object-fit:contain;object-fit:contain;width:100%}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}@-webkit-keyframes fadeInDown{0%{opacity:0;transform:translateY(-1.25em)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-1.25em)}to{opacity:1;transform:translateY(0)}}.details-animated[open]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:fadeInDown;animation-name:fadeInDown}.card{border:none;box-shadow:0 2px 6px 0 rgba(0,0,0,.2)}.card .comment-submit{border-radius:0 3px 3px 0;bottom:12px;display:none;position:absolute;right:20px;text-align:center;width:60px}.touch .card input[name=comment]{padding-right:70px}.touch .card .comment-submit{display:block}.box-shadow{box-shadow:0 2px 6px 0 rgba(0,0,0,.2)}.border-left-primary{border-left:3px solid #2a9fd6}.settings-nav .nav-item.active .nav-link{font-weight:700!important}details summary::-webkit-details-marker{display:none!important}.details-animated>summary{background-color:#ecf0f1;display:flex;flex-flow:column;justify-content:center;padding-bottom:50px;padding-top:50px;text-align:center}@media(min-width:720px){.details-animated>summary{min-height:600px}}.details-animated[open]>summary{display:none!important}.profile-avatar img{-o-object-fit:cover;object-fit:cover}.tt-menu{border-radius:0 0 .25rem .25rem!important;padding:0!important}.tt-dataset .alert{border:0!important;border-radius:0!important}.input-elevated{background:#fff;border:none;border-radius:5px;box-shadow:0 2px 4px 0 rgba(0,0,0,.08);font-size:16px;line-height:1.5;padding:.5em 1em .5em .5em}.input-elevated::-moz-placeholder{color:#838d99}.input-elevated:-ms-input-placeholder{color:#838d99}.input-elevated::placeholder{color:#838d99}.input-elevated:focus{box-shadow:0 4px 10px 0 rgba(0,0,0,.16);outline:none}.icon-wrapper{background:#10c5f8;background:linear-gradient(to bottom right,#6736dd,#10c5f8);border-radius:50%;display:inline-flex;padding:14px}.border-left-blue{border-left:3px solid #10c5f8}.b-dropdown,.b-dropdown>button{padding:0!important}.lds-ring{display:inline-block;height:64px;position:relative;width:64px}.lds-ring div{-webkit-animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border:6px solid transparent;border-radius:50%;border-top-color:#6c757d;box-sizing:border-box;display:block;height:51px;margin:6px;position:absolute;width:51px}.lds-ring div:first-child{-webkit-animation-delay:-.45s;animation-delay:-.45s}.lds-ring div:nth-child(2){-webkit-animation-delay:-.3s;animation-delay:-.3s}.lds-ring div:nth-child(3){-webkit-animation-delay:-.15s;animation-delay:-.15s}@-webkit-keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.navbar .nav-notification.dropdown-toggle:after{display:none}.navbar .dropdown .nav-notification-dropdown{max-height:300px;overflow-y:scroll;padding-bottom:0;padding-top:0;width:500px}.nav-notification-dropdown .loader{padding-bottom:5rem;padding-top:5rem}.timeline-sidenav.nav-pills .nav-link{color:#6c757d}.timeline-sidenav.nav-pills .nav-link:hover{background:rgba(0,0,0,.04)}.timeline-sidenav.nav-pills .nav-link.active,.timeline-sidenav.nav-pills .show>.nav-link{background:transparent;border:1px solid #08d;color:#08d}.messages-page .bg-primary.text-white a{color:#fff}.notification-tooltip .tooltip-inner{font-weight:700}#previewAvatar img{height:auto;max-width:100%}.img-thumbnail{box-sizing:content-box}.media-drawer-filters img{-o-object-fit:contain;object-fit:contain}.reply-container .post-thumbnail{-o-object-fit:cover;object-fit:cover}#l-modal .modal-body,#s-modal .modal-body{height:60vh;overflow-y:scroll}#l-modal .modal-content,#s-modal .modal-content{border-radius:0}.btn-outline-lighter,.text-lighter{color:#b8c2cc!important}.btn-outline-lighter{border-color:#b8c2cc!important}.cursor-pointer{cursor:pointer}.tooltip-notification .tooltip-inner{border-radius:.25rem;color:#fff;max-width:200px;padding:3px 8px;text-align:center}.carousel-control-next-icon,.carousel-control-prev-icon{filter:drop-shadow(0 0 1px black)}.VueCarousel-dot--active:focus,.VueCarousel-dot:focus,.VueCarousel-navigation-button:focus,.VueCarousel:focus{outline:0!important}.status-content>p:first-child{display:inline}.follow-modal{max-width:400px!important}.square-content img{-o-object-fit:cover!important;object-fit:cover!important}.square .square-content canvas{height:100%;width:100%}.tribute-container{border:1px solid #ccc;box-shadow:0 1px 4px rgba(0,0,0,.13)}.tribute-container ul{background:#fff;border:1px solid rgba(0,0,0,.13)}.tribute-container li{color:#000}.tribute-container li.highlight,.tribute-container li:hover{background:#2c78bf}.text-dark{color:#adafae!important}.border-left{background:#adafae!important}.border-top{border-top:1px solid #282828!important}.border-bottom{border-bottom:1px solid #282828!important}.btn-outline-light{border-color:#e2e8f0!important;color:#e2e8f0!important}.autocomplete-result-list,.bg-white,.card,.dropdown-menu,.list-group-item,.modal-content,.navbar-laravel,.postComponent .card-body.flex-grow-0.py-1,.postComponent .reactions,.postComponent .status-comments,.postPresenterContainer,span.twitter-typeahead .tt-menu{background:#000!important}.story-viewer-component-card{background:transparent!important}.autocomplete-result-list{z-index:99999}.pill-to{background:#282828!important}.chat-msg:hover,.dropdown-item:focus,.dropdown-item:hover,.result-card .media:hover,.tt-suggestion:focus,.tt-suggestion:hover,span.twitter-typeahead .tt-suggestion:focus,span.twitter-typeahead .tt-suggestion:hover{background:#181818!important}.notification-card .contents,body,html{scrollbar-color:dark}.form-control,.img-thumbnail,.modal-content{border:1px solid #282828!important}.navbar.border-bottom{border-color:#282828!important}.postComponent .border-left{border-left:0!important}.postComponent .card-header{border-radius:0}input,textarea{background:#000!important;color:#e2e8f0!important}.far,.fas,.navbar-laravel .nav-link .d-md-block,.navbar-laravel .nav-link.dropdown-toggle .far,.navbar-laravel .nav-link.dropdown-toggle:after,.navbar-laravel .navbar-brand span{color:#adafae!important}.btn-outline-primary{border-color:#4a5568!important}.postComponent .status-comments{border-bottom:1px solid #282828!important;border-top:1px solid #282828!important}.messages-page .card-header{border-bottom:1px solid #282828}hr{border-color:#282828!important}::-webkit-scrollbar{width:15px}::-webkit-scrollbar-track{background:#202020;border-left:1px solid #2c2c2c}::-webkit-scrollbar-thumb{background:#3e3e3e;border:3px solid #202020;border-radius:7px}::-webkit-scrollbar-thumb:hover{background:#fff}/*! Instagram.css v0.1.3 | MIT License | github.com/picturepan2/instagram.css */[class*=filter-]{position:relative}[class*=filter-]:before{display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.filter-1977{filter:sepia(.5) hue-rotate(-30deg) saturate(1.4)}.filter-aden{filter:sepia(.2) brightness(1.15) saturate(1.4)}.filter-aden:before{background:rgba(125,105,24,.1);content:"";mix-blend-mode:multiply}.filter-amaro{filter:sepia(.35) contrast(1.1) brightness(1.2) saturate(1.3)}.filter-amaro:before{background:rgba(125,105,24,.2);content:"";mix-blend-mode:overlay}.filter-ashby{filter:sepia(.5) contrast(1.2) saturate(1.8)}.filter-ashby:before{background:rgba(125,105,24,.35);content:"";mix-blend-mode:lighten}.filter-brannan{filter:sepia(.4) contrast(1.25) brightness(1.1) saturate(.9) hue-rotate(-2deg)}.filter-brooklyn{filter:sepia(.25) contrast(1.25) brightness(1.25) hue-rotate(5deg)}.filter-brooklyn:before{background:rgba(127,187,227,.2);content:"";mix-blend-mode:overlay}.filter-charmes{filter:sepia(.25) contrast(1.25) brightness(1.25) saturate(1.35) hue-rotate(-5deg)}.filter-charmes:before{background:rgba(125,105,24,.25);content:"";mix-blend-mode:darken}.filter-clarendon{filter:sepia(.15) contrast(1.25) brightness(1.25) hue-rotate(5deg)}.filter-clarendon:before{background:rgba(127,187,227,.4);content:"";mix-blend-mode:overlay}.filter-crema{filter:sepia(.5) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-2deg)}.filter-crema:before{background:rgba(125,105,24,.2);content:"";mix-blend-mode:multiply}.filter-dogpatch{filter:sepia(.35) saturate(1.1) contrast(1.5)}.filter-earlybird{filter:sepia(.25) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-5deg)}.filter-earlybird:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(125,105,24,.2) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(125,105,24,.2) 100%);content:"";mix-blend-mode:multiply}.filter-gingham{filter:contrast(1.1) brightness(1.1)}.filter-gingham:before{background:#e6e6e6;content:"";mix-blend-mode:soft-light}.filter-ginza{filter:sepia(.25) contrast(1.15) brightness(1.2) saturate(1.35) hue-rotate(-5deg)}.filter-ginza:before{background:rgba(125,105,24,.15);content:"";mix-blend-mode:darken}.filter-hefe{filter:sepia(.4) contrast(1.5) brightness(1.2) saturate(1.4) hue-rotate(-10deg)}.filter-hefe:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(0,0,0,.25) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(0,0,0,.25) 100%);content:"";mix-blend-mode:multiply}.filter-helena{filter:sepia(.5) contrast(1.05) brightness(1.05) saturate(1.35)}.filter-helena:before{background:rgba(158,175,30,.25);content:"";mix-blend-mode:overlay}.filter-hudson{filter:sepia(.25) contrast(1.2) brightness(1.2) saturate(1.05) hue-rotate(-15deg)}.filter-hudson:before{background:radial-gradient(circle closest-corner,transparent 25%,rgba(25,62,167,.25) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 25%,rgba(25,62,167,.25) 100%);content:"";mix-blend-mode:multiply}.filter-inkwell{filter:brightness(1.25) contrast(.85) grayscale(1)}.filter-juno{filter:sepia(.35) contrast(1.15) brightness(1.15) saturate(1.8)}.filter-juno:before{background:rgba(127,187,227,.2);content:"";mix-blend-mode:overlay}.filter-kelvin{filter:sepia(.15) contrast(1.5) brightness(1.1) hue-rotate(-10deg)}.filter-kelvin:before{background:radial-gradient(circle closest-corner,rgba(128,78,15,.25) 0,rgba(128,78,15,.5) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(128,78,15,.25) 0,rgba(128,78,15,.5) 100%);content:"";mix-blend-mode:overlay}.filter-lark{filter:sepia(.25) contrast(1.2) brightness(1.3) saturate(1.25)}.filter-lofi{filter:saturate(1.1) contrast(1.5)}.filter-ludwig{filter:sepia(.25) contrast(1.05) brightness(1.05) saturate(2)}.filter-ludwig:before{background:rgba(125,105,24,.1);content:"";mix-blend-mode:overlay}.filter-maven{filter:sepia(.35) contrast(1.05) brightness(1.05) saturate(1.75)}.filter-maven:before{background:rgba(158,175,30,.25);content:"";mix-blend-mode:darken}.filter-mayfair{filter:contrast(1.1) brightness(1.15) saturate(1.1)}.filter-mayfair:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(175,105,24,.4) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(175,105,24,.4) 100%);content:"";mix-blend-mode:multiply}.filter-moon{filter:brightness(1.4) contrast(.95) saturate(0) sepia(.35)}.filter-nashville{filter:sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)}.filter-nashville:before{background:radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(128,78,15,.65) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(128,78,15,.65) 100%);content:"";mix-blend-mode:screen}.filter-perpetua{filter:contrast(1.1) brightness(1.25) saturate(1.1)}.filter-perpetua:before{background:linear-gradient(180deg,rgba(0,91,154,.25),rgba(230,193,61,.25));background:-webkit-linear-gradient(top,rgba(0,91,154,.25),rgba(230,193,61,.25));background:-webkit-gradient(linear,left top,left bottom,from(rgba(0,91,154,.25)),to(rgba(230,193,61,.25)));content:"";mix-blend-mode:multiply}.filter-poprocket{filter:sepia(.15) brightness(1.2)}.filter-poprocket:before{background:radial-gradient(circle closest-corner,rgba(206,39,70,.75) 40%,#000 80%);background:-webkit-radial-gradient(circle closest-corner,rgba(206,39,70,.75) 40%,#000 80%);content:"";mix-blend-mode:screen}.filter-reyes{filter:sepia(.75) contrast(.75) brightness(1.25) saturate(1.4)}.filter-rise{filter:sepia(.25) contrast(1.25) brightness(1.2) saturate(.9)}.filter-rise:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(230,193,61,.25) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(230,193,61,.25) 100%);content:"";mix-blend-mode:lighten}.filter-sierra{filter:sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)}.filter-sierra:before{background:radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(0,0,0,.65) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(0,0,0,.65) 100%);content:"";mix-blend-mode:screen}.filter-skyline{filter:sepia(.15) contrast(1.25) brightness(1.25) saturate(1.2)}.filter-slumber{filter:sepia(.35) contrast(1.25) saturate(1.25)}.filter-slumber:before{background:rgba(125,105,24,.2);content:"";mix-blend-mode:darken}.filter-stinson{filter:sepia(.35) contrast(1.25) brightness(1.1) saturate(1.25)}.filter-stinson:before{background:rgba(125,105,24,.45);content:"";mix-blend-mode:lighten}.filter-sutro{filter:sepia(.4) contrast(1.2) brightness(.9) saturate(1.4) hue-rotate(-10deg)}.filter-sutro:before{background:radial-gradient(circle closest-corner,transparent 50%,rgba(0,0,0,.5) 90%);background:-webkit-radial-gradient(circle closest-corner,transparent 50%,rgba(0,0,0,.5) 90%);content:"";mix-blend-mode:darken}.filter-toaster{filter:sepia(.25) contrast(1.5) brightness(.95) hue-rotate(-15deg)}.filter-toaster:before{background:radial-gradient(circle,#804e0f,rgba(0,0,0,.25));background:-webkit-radial-gradient(circle,#804e0f,rgba(0,0,0,.25));content:"";mix-blend-mode:screen}.filter-valencia{filter:sepia(.25) contrast(1.1) brightness(1.1)}.filter-valencia:before{background:rgba(230,193,61,.1);content:"";mix-blend-mode:lighten}.filter-vesper{filter:sepia(.35) contrast(1.15) brightness(1.2) saturate(1.3)}.filter-vesper:before{background:rgba(125,105,24,.25);content:"";mix-blend-mode:overlay}.filter-walden{filter:sepia(.35) contrast(.8) brightness(1.25) saturate(1.4)}.filter-walden:before{background:hsla(66,79%,72%,.5);content:"";mix-blend-mode:darken}.filter-willow{filter:brightness(1.2) contrast(.85) saturate(.05) sepia(.2)}.filter-xpro-ii{filter:sepia(.45) contrast(1.25) brightness(1.75) saturate(1.3) hue-rotate(-5deg)}.filter-xpro-ii:before{background:radial-gradient(circle closest-corner,rgba(0,91,154,.35) 0,rgba(0,0,0,.65) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(0,91,154,.35) 0,rgba(0,0,0,.65) 100%);content:"";mix-blend-mode:multiply}span.twitter-typeahead{width:100%}span.twitter-typeahead .tt-menu{max-height:365px;overflow-y:auto;width:100%}span.twitter-typeahead .tt-suggestion.tt-cursor,span.twitter-typeahead .tt-suggestion:active{background:#fafafa;color:#212529}.input-group span.twitter-typeahead{align-items:center;display:flex!important;flex:1 1 auto;position:relative;width:1%}.input-group span.twitter-typeahead .tt-hint,.input-group span.twitter-typeahead .tt-input,.input-group span.twitter-typeahead .tt-menu{width:100%}.notification-page .list-group-item{background:transparent;border-bottom:0!important;border-left:0!important;border-right:0!important;padding-bottom:1rem;padding-top:1rem}.bg-moment-passion{background:#e53935;background:linear-gradient(270deg,#e35d5b,#e53935)}.bg-moment-azure{background:#7f7fd5;background:linear-gradient(270deg,#91eae4,#86a8e7,#7f7fd5)}.bg-moment-reef{background:#00d2ff;background:linear-gradient(90deg,#3a7bd5,#00d2ff)}.bg-moment-lush{background:#56ab2f;background:linear-gradient(270deg,#a8e063,#56ab2f)}.bg-moment-neon{background:#b3ffab;background:linear-gradient(90deg,#12fff7,#b3ffab)}.bg-moment-flare{background:#f12711;background:linear-gradient(270deg,#f5af19,#f12711)}.bg-moment-morning{background:#ff5f6d;background:linear-gradient(270deg,#ffc371,#ff5f6d)}.bg-moment-tranquil{background:#eecda3;background:linear-gradient(90deg,#ef629f,#eecda3)}.bg-moment-mauve{background:#42275a;background:linear-gradient(270deg,#734b6d,#42275a)}.bg-moment-argon{background:#03001e;background:linear-gradient(270deg,#fdeff9,#ec38bc,#7303c0,#03001e)}.bg-moment-royal{background:#141e30;background:linear-gradient(270deg,#243b55,#141e30)}.border{border-color:#282828!important}.tribute-container{display:block;height:auto;left:0;max-height:300px;max-width:500px;min-width:120px;overflow:auto;position:absolute;top:0;z-index:999999}.tribute-container,.tribute-container ul{border:1px solid #282828;border-radius:4px}.tribute-container ul{background:#181818;background-clip:padding-box;list-style:none;margin:2px 0 0;overflow:hidden;padding:0}.tribute-container li{color:#adafae;cursor:pointer;font-size:14px;overflow-x:hidden!important;padding:5px 15px}.tribute-container li span{font-weight:700}.tribute-container li.highlight,.tribute-container li:hover{background:#11304c;color:#fff}.tribute-container li.no-match{cursor:default}.tribute-container .menu-highlighted{font-weight:700} + */:root{--blue:#2a9fd6;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#c00;--orange:#fd7e14;--yellow:#f80;--green:#77b300;--teal:#20c997;--cyan:#93c;--white:#fff;--gray:#555;--gray-dark:#222;--primary:#2a9fd6;--secondary:#555;--success:#77b300;--info:#93c;--warning:#f80;--danger:#c00;--light:#222;--dark:#adafae;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:sans-serif;line-height:1.15}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{background-color:#060606;color:#adafae;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.9rem;font-weight:400;line-height:1.6;margin:0;text-align:left}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;margin-top:0}p{margin-bottom:1rem;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{background-color:transparent;color:#2a9fd6;text-decoration:none}a:hover{color:#1d7097;text-decoration:underline}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{-ms-overflow-style:scrollbar;margin-bottom:1rem;margin-top:0;overflow:auto}figure{margin:0 0 1rem}img{border-style:none}img,svg{vertical-align:middle}svg{overflow:hidden}table{border-collapse:collapse}caption{caption-side:bottom;color:#555;padding-bottom:.75rem;padding-top:.75rem;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5rem;line-height:inherit;margin-bottom:.5rem;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{cursor:pointer;display:list-item}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{color:#fff;font-weight:500;line-height:1.2;margin-bottom:.5rem}.h1,h1{font-size:2.25rem}.h2,h2{font-size:1.8rem}.h3,h3{font-size:1.575rem}.h4,h4{font-size:1.35rem}.h5,h5{font-size:1.125rem}.h6,h6{font-size:.9rem}.lead{font-size:1.125rem;font-weight:300}.display-1{font-size:6rem}.display-1,.display-2{font-weight:300;line-height:1.2}.display-2{font-size:5.5rem}.display-3{font-size:4.5rem}.display-3,.display-4{font-weight:300;line-height:1.2}.display-4{font-size:3.5rem}hr{border:0;border-top:1px solid rgba(0,0,0,.1);margin-bottom:1rem;margin-top:1rem}.small,small{font-size:80%;font-weight:400}.mark,mark{background-color:#fcf8e3;padding:.2em}.list-inline,.list-unstyled{list-style:none;padding-left:0}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{font-size:1.125rem;margin-bottom:1rem}.blockquote-footer{color:#555;display:block;font-size:80%}.blockquote-footer:before{content:"— "}.img-fluid,.img-thumbnail{height:auto;max-width:100%}.img-thumbnail{background-color:#060606;border:1px solid #dee2e6;border-radius:.25rem;padding:.25rem}.figure{display:inline-block}.figure-img{line-height:1;margin-bottom:.5rem}.figure-caption{color:#555;font-size:90%}code{word-wrap:break-word;color:#e83e8c;font-size:87.5%}a>code{color:inherit}kbd{background-color:#212529;border-radius:.2rem;color:#fff;font-size:87.5%;padding:.2rem .4rem}kbd kbd{font-size:100%;font-weight:700;padding:0}pre{display:block;font-size:87.5%}pre,pre code{color:inherit}pre code{font-size:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;width:100%}@media(min-width:576px){.container,.container-sm{max-width:540px}}@media(min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media(min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media(min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:flex;flex-wrap:wrap;margin-left:-15px;margin-right:-15px}.no-gutters{margin-left:0;margin-right:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-left:0;padding-right:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{padding-left:15px;padding-right:15px;position:relative;width:100%}.col{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-1>*{flex:0 0 100%;max-width:100%}.row-cols-2>*{flex:0 0 50%;max-width:50%}.row-cols-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-4>*{flex:0 0 25%;max-width:25%}.row-cols-5>*{flex:0 0 20%;max-width:20%}.row-cols-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-auto{flex:0 0 auto;max-width:100%;width:auto}.col-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-3{flex:0 0 25%;max-width:25%}.col-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-6{flex:0 0 50%;max-width:50%}.col-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-9{flex:0 0 75%;max-width:75%}.col-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-12{flex:0 0 100%;max-width:100%}.order-first{order:-1}.order-last{order:13}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}@media(min-width:576px){.col-sm{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-sm-1>*{flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-sm-auto{flex:0 0 auto;max-width:100%;width:auto}.col-sm-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-sm-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-sm-3{flex:0 0 25%;max-width:25%}.col-sm-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-sm-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-sm-6{flex:0 0 50%;max-width:50%}.col-sm-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-sm-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-sm-9{flex:0 0 75%;max-width:75%}.col-sm-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-sm-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-sm-12{flex:0 0 100%;max-width:100%}.order-sm-first{order:-1}.order-sm-last{order:13}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}}@media(min-width:768px){.col-md{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-md-1>*{flex:0 0 100%;max-width:100%}.row-cols-md-2>*{flex:0 0 50%;max-width:50%}.row-cols-md-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-md-4>*{flex:0 0 25%;max-width:25%}.row-cols-md-5>*{flex:0 0 20%;max-width:20%}.row-cols-md-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-md-auto{flex:0 0 auto;max-width:100%;width:auto}.col-md-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-md-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-md-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-md-6{flex:0 0 50%;max-width:50%}.col-md-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-md-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-md-9{flex:0 0 75%;max-width:75%}.col-md-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-md-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-md-12{flex:0 0 100%;max-width:100%}.order-md-first{order:-1}.order-md-last{order:13}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}}@media(min-width:992px){.col-lg{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-lg-1>*{flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-lg-auto{flex:0 0 auto;max-width:100%;width:auto}.col-lg-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-lg-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-lg-3{flex:0 0 25%;max-width:25%}.col-lg-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-lg-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-lg-6{flex:0 0 50%;max-width:50%}.col-lg-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-lg-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-lg-9{flex:0 0 75%;max-width:75%}.col-lg-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-lg-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-lg-12{flex:0 0 100%;max-width:100%}.order-lg-first{order:-1}.order-lg-last{order:13}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}}@media(min-width:1200px){.col-xl{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-xl-1>*{flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-xl-auto{flex:0 0 auto;max-width:100%;width:auto}.col-xl-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-xl-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-xl-3{flex:0 0 25%;max-width:25%}.col-xl-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-xl-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-xl-6{flex:0 0 50%;max-width:50%}.col-xl-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-xl-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-xl-9{flex:0 0 75%;max-width:75%}.col-xl-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-xl-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-xl-12{flex:0 0 100%;max-width:100%}.order-xl-first{order:-1}.order-xl-last{order:13}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}}.table{color:#fff;margin-bottom:1rem;width:100%}.table td,.table th{border-top:1px solid #282828;padding:.75rem;vertical-align:top}.table thead th{border-bottom:2px solid #282828;vertical-align:bottom}.table tbody+tbody{border-top:2px solid #282828}.table-sm td,.table-sm th{padding:.3rem}.table-bordered,.table-bordered td,.table-bordered th{border:1px solid #282828}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:hsla(0,0%,100%,.05)}.table-hover tbody tr:hover{background-color:hsla(0,0%,100%,.075);color:#fff}.table-primary,.table-primary>td,.table-primary>th{background-color:#c3e4f4}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#90cdea}.table-hover .table-primary:hover,.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#addaf0}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#cfcfcf}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#a7a7a7}.table-hover .table-secondary:hover,.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c2c2c2}.table-success,.table-success>td,.table-success>th{background-color:#d9eab8}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#b8d77a}.table-hover .table-success:hover,.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#cee4a4}.table-info,.table-info>td,.table-info>th{background-color:#e2c6f1}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#ca95e4}.table-hover .table-info:hover,.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#d8b2ec}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffdeb8}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffc17a}.table-hover .table-warning:hover,.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffd29f}.table-danger,.table-danger>td,.table-danger>th{background-color:#f1b8b8}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#e47a7a}.table-hover .table-danger:hover,.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#eda3a3}.table-light,.table-light>td,.table-light>th{background-color:#c1c1c1}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#8c8c8c}.table-hover .table-light:hover,.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#b4b4b4}.table-dark,.table-dark>td,.table-dark>th{background-color:#e8e9e8}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#d4d5d5}.table-hover .table-dark:hover,.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#dbdddb}.table-active,.table-active>td,.table-active>th{background-color:hsla(0,0%,100%,.075)}.table-hover .table-active:hover,.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:hsla(0,0%,95%,.075)}.table .thead-dark th{background-color:#888;border-color:#757575;color:#fff}.table .thead-light th{background-color:#e9ecef;border-color:#282828;color:#282828}.table-dark{background-color:#888;color:#fff}.table-dark td,.table-dark th,.table-dark thead th{border-color:#757575}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:hsla(0,0%,100%,.05)}.table-dark.table-hover tbody tr:hover{background-color:hsla(0,0%,100%,.075);color:#fff}@media(max-width:575.98px){.table-responsive-sm{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-sm>.table-bordered{border:0}}@media(max-width:767.98px){.table-responsive-md{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-md>.table-bordered{border:0}}@media(max-width:991.98px){.table-responsive-lg{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-lg>.table-bordered{border:0}}@media(max-width:1199.98px){.table-responsive-xl{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive>.table-bordered{border:0}.form-control{background-clip:padding-box;background-color:#fff;border:1px solid #fff;border-radius:.25rem;color:#282828;display:block;font-size:.9rem;font-weight:400;height:calc(1.6em + .75rem + 2px);line-height:1.6;padding:.375rem 1rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:focus{background-color:#fff;border-color:#95cfeb;box-shadow:0 0 0 .2rem rgba(42,159,214,.25);color:#282828;outline:0}.form-control::-moz-placeholder{color:#555;opacity:1}.form-control:-ms-input-placeholder{color:#555;opacity:1}.form-control::placeholder{color:#555;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#adafae;opacity:1}input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{-webkit-appearance:none;-moz-appearance:none;appearance:none}select.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #282828}select.form-control:focus::-ms-value{background-color:#fff;color:#282828}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{font-size:inherit;line-height:1.6;margin-bottom:0;padding-bottom:calc(.375rem + 1px);padding-top:calc(.375rem + 1px)}.col-form-label-lg{font-size:1.125rem;line-height:1.5;padding-bottom:calc(.5rem + 1px);padding-top:calc(.5rem + 1px)}.col-form-label-sm{font-size:.7875rem;line-height:1.5;padding-bottom:calc(.25rem + 1px);padding-top:calc(.25rem + 1px)}.form-control-plaintext{background-color:transparent;border:solid transparent;border-width:1px 0;color:#adafae;display:block;font-size:.9rem;line-height:1.6;margin-bottom:0;padding:.375rem 0;width:100%}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-left:0;padding-right:0}.form-control-sm{border-radius:.2rem;font-size:.7875rem;height:calc(1.5em + .5rem + 2px);line-height:1.5;padding:.25rem .5rem}.form-control-lg{border-radius:.3rem;font-size:1.125rem;height:calc(1.5em + 1rem + 2px);line-height:1.5;padding:.5rem 1rem}select.form-control[multiple],select.form-control[size],textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:flex;flex-wrap:wrap;margin-left:-5px;margin-right:-5px}.form-row>.col,.form-row>[class*=col-]{padding-left:5px;padding-right:5px}.form-check{display:block;padding-left:1.25rem;position:relative}.form-check-input{margin-left:-1.25rem;margin-top:.3rem;position:absolute}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#555}.form-check-label{margin-bottom:0}.form-check-inline{align-items:center;display:inline-flex;margin-right:.75rem;padding-left:0}.form-check-inline .form-check-input{margin-left:0;margin-right:.3125rem;margin-top:0;position:static}.valid-feedback{color:#77b300;display:none;font-size:80%;margin-top:.25rem;width:100%}.valid-tooltip{background-color:#77b300;border-radius:.25rem;color:#fff;display:none;font-size:.7875rem;left:0;line-height:1.6;margin-top:.1rem;max-width:100%;padding:.25rem .5rem;position:absolute;top:100%;z-index:5}.form-row>.col>.valid-tooltip,.form-row>[class*=col-]>.valid-tooltip{left:5px}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%2377b300' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");background-position:right calc(.4em + .1875rem) center;background-repeat:no-repeat;background-size:calc(.8em + .375rem) calc(.8em + .375rem);border-color:#77b300;padding-right:calc(1.6em + .75rem)!important}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#77b300;box-shadow:0 0 0 .2rem rgba(119,179,0,.25)}.was-validated select.form-control:valid,select.form-control.is-valid{background-position:right 2rem center;padding-right:4rem!important}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{background-position:top calc(.4em + .1875rem) right calc(.4em + .1875rem);padding-right:calc(1.6em + .75rem)}.custom-select.is-valid,.was-validated .custom-select:valid{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23222' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right 1rem center/8px 10px no-repeat,#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%2377b300' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E") center right 2rem/calc(.8em + .375rem) calc(.8em + .375rem) no-repeat;border-color:#77b300;padding-right:calc(.75em + 2.5625rem)!important}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#77b300;box-shadow:0 0 0 .2rem rgba(119,179,0,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#77b300}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#77b300}.custom-control-input.is-valid~.custom-control-label:before,.was-validated .custom-control-input:valid~.custom-control-label:before{border-color:#77b300}.custom-control-input.is-valid:checked~.custom-control-label:before,.was-validated .custom-control-input:valid:checked~.custom-control-label:before{background-color:#99e600;border-color:#99e600}.custom-control-input.is-valid:focus~.custom-control-label:before,.was-validated .custom-control-input:valid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(119,179,0,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label:before{border-color:#77b300}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#77b300}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#77b300;box-shadow:0 0 0 .2rem rgba(119,179,0,.25)}.invalid-feedback{color:#c00;display:none;font-size:80%;margin-top:.25rem;width:100%}.invalid-tooltip{background-color:#c00;border-radius:.25rem;color:#fff;display:none;font-size:.7875rem;left:0;line-height:1.6;margin-top:.1rem;max-width:100%;padding:.25rem .5rem;position:absolute;top:100%;z-index:5}.form-row>.col>.invalid-tooltip,.form-row>[class*=col-]>.invalid-tooltip{left:5px}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23c00'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23c00' stroke='none'/%3E%3C/svg%3E");background-position:right calc(.4em + .1875rem) center;background-repeat:no-repeat;background-size:calc(.8em + .375rem) calc(.8em + .375rem);border-color:#c00;padding-right:calc(1.6em + .75rem)!important}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#c00;box-shadow:0 0 0 .2rem rgba(204,0,0,.25)}.was-validated select.form-control:invalid,select.form-control.is-invalid{background-position:right 2rem center;padding-right:4rem!important}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{background-position:top calc(.4em + .1875rem) right calc(.4em + .1875rem);padding-right:calc(1.6em + .75rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23222' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right 1rem center/8px 10px no-repeat,#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23c00'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23c00' stroke='none'/%3E%3C/svg%3E") center right 2rem/calc(.8em + .375rem) calc(.8em + .375rem) no-repeat;border-color:#c00;padding-right:calc(.75em + 2.5625rem)!important}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#c00;box-shadow:0 0 0 .2rem rgba(204,0,0,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#c00}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#c00}.custom-control-input.is-invalid~.custom-control-label:before,.was-validated .custom-control-input:invalid~.custom-control-label:before{border-color:#c00}.custom-control-input.is-invalid:checked~.custom-control-label:before,.was-validated .custom-control-input:invalid:checked~.custom-control-label:before{background-color:red;border-color:red}.custom-control-input.is-invalid:focus~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(204,0,0,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label:before{border-color:#c00}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#c00}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#c00;box-shadow:0 0 0 .2rem rgba(204,0,0,.25)}.form-inline{align-items:center;display:flex;flex-flow:row wrap}.form-inline .form-check{width:100%}@media(min-width:576px){.form-inline label{justify-content:center}.form-inline .form-group,.form-inline label{align-items:center;display:flex;margin-bottom:0}.form-inline .form-group{flex:0 0 auto;flex-flow:row wrap}.form-inline .form-control{display:inline-block;vertical-align:middle;width:auto}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{align-items:center;display:flex;justify-content:center;padding-left:0;width:auto}.form-inline .form-check-input{flex-shrink:0;margin-left:0;margin-right:.25rem;margin-top:0;position:relative}.form-inline .custom-control{align-items:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{background-color:transparent;border:1px solid transparent;border-radius:.25rem;color:#adafae;display:inline-block;font-size:.9rem;font-weight:400;line-height:1.6;padding:.375rem 1rem;text-align:center;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}@media(prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#adafae;text-decoration:none}.btn.focus,.btn:focus{box-shadow:0 0 0 .2rem rgba(42,159,214,.25);outline:0}.btn.disabled,.btn:disabled{opacity:.65}.btn:not(:disabled):not(.disabled){cursor:pointer}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff}.btn-primary.focus,.btn-primary:focus,.btn-primary:hover{background-color:#2387b7;border-color:#2180ac;color:#fff}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem rgba(74,173,220,.5)}.btn-primary.disabled,.btn-primary:disabled{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{background-color:#2180ac;border-color:#1f78a1;color:#fff}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(74,173,220,.5)}.btn-secondary{background-color:#555;border-color:#555;color:#fff}.btn-secondary.focus,.btn-secondary:focus,.btn-secondary:hover{background-color:#424242;border-color:#3c3c3c;color:#fff}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 0 0 .2rem hsla(0,0%,44%,.5)}.btn-secondary.disabled,.btn-secondary:disabled{background-color:#555;border-color:#555;color:#fff}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{background-color:#3c3c3c;border-color:#353535;color:#fff}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(0,0%,44%,.5)}.btn-success{background-color:#77b300;border-color:#77b300;color:#fff}.btn-success.focus,.btn-success:focus,.btn-success:hover{background-color:#5e8d00;border-color:#558000;color:#fff}.btn-success.focus,.btn-success:focus{box-shadow:0 0 0 .2rem rgba(139,190,38,.5)}.btn-success.disabled,.btn-success:disabled{background-color:#77b300;border-color:#77b300;color:#fff}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{background-color:#558000;border-color:#4d7300;color:#fff}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(139,190,38,.5)}.btn-info{background-color:#93c;border-color:#93c;color:#fff}.btn-info.focus,.btn-info:focus,.btn-info:hover{background-color:#822bad;border-color:#7a29a3;color:#fff}.btn-info.focus,.btn-info:focus{box-shadow:0 0 0 .2rem rgba(168,82,212,.5)}.btn-info.disabled,.btn-info:disabled{background-color:#93c;border-color:#93c;color:#fff}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{background-color:#7a29a3;border-color:#732699;color:#fff}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(168,82,212,.5)}.btn-warning{background-color:#f80;border-color:#f80;color:#fff}.btn-warning.focus,.btn-warning:focus,.btn-warning:hover{background-color:#d97400;border-color:#cc6d00;color:#fff}.btn-warning.focus,.btn-warning:focus{box-shadow:0 0 0 .2rem rgba(255,154,38,.5)}.btn-warning.disabled,.btn-warning:disabled{background-color:#f80;border-color:#f80;color:#fff}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{background-color:#cc6d00;border-color:#bf6600;color:#fff}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,154,38,.5)}.btn-danger{background-color:#c00;border-color:#c00;color:#fff}.btn-danger.focus,.btn-danger:focus,.btn-danger:hover{background-color:#a60000;border-color:#900;color:#fff}.btn-danger.focus,.btn-danger:focus{box-shadow:0 0 0 .2rem rgba(212,38,38,.5)}.btn-danger.disabled,.btn-danger:disabled{background-color:#c00;border-color:#c00;color:#fff}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{background-color:#900;border-color:#8c0000;color:#fff}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(212,38,38,.5)}.btn-light{background-color:#222;border-color:#222;color:#fff}.btn-light.focus,.btn-light:focus,.btn-light:hover{background-color:#0f0f0f;border-color:#090909;color:#fff}.btn-light.focus,.btn-light:focus{box-shadow:0 0 0 .2rem rgba(67,67,67,.5)}.btn-light.disabled,.btn-light:disabled{background-color:#222;border-color:#222;color:#fff}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{background-color:#090909;border-color:#020202;color:#fff}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(67,67,67,.5)}.btn-dark{background-color:#adafae;border-color:#adafae;color:#fff}.btn-dark.focus,.btn-dark:focus,.btn-dark:hover{background-color:#9a9c9b;border-color:#939695;color:#fff}.btn-dark.focus,.btn-dark:focus{box-shadow:0 0 0 .2rem hsla(150,1%,73%,.5)}.btn-dark.disabled,.btn-dark:disabled{background-color:#adafae;border-color:#adafae;color:#fff}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{background-color:#939695;border-color:#8d908e;color:#fff}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(150,1%,73%,.5)}.btn-outline-primary{border-color:#2a9fd6;color:#2a9fd6}.btn-outline-primary:hover{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(42,159,214,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{background-color:transparent;color:#2a9fd6}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(42,159,214,.5)}.btn-outline-secondary{border-color:#555;color:#555}.btn-outline-secondary:hover{background-color:#555;border-color:#555;color:#fff}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem rgba(85,85,85,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{background-color:transparent;color:#555}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{background-color:#555;border-color:#555;color:#fff}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(85,85,85,.5)}.btn-outline-success{border-color:#77b300;color:#77b300}.btn-outline-success:hover{background-color:#77b300;border-color:#77b300;color:#fff}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(119,179,0,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{background-color:transparent;color:#77b300}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{background-color:#77b300;border-color:#77b300;color:#fff}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(119,179,0,.5)}.btn-outline-info{border-color:#93c;color:#93c}.btn-outline-info:hover{background-color:#93c;border-color:#93c;color:#fff}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(153,51,204,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{background-color:transparent;color:#93c}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{background-color:#93c;border-color:#93c;color:#fff}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(153,51,204,.5)}.btn-outline-warning{border-color:#f80;color:#f80}.btn-outline-warning:hover{background-color:#f80;border-color:#f80;color:#fff}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,136,0,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{background-color:transparent;color:#f80}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{background-color:#f80;border-color:#f80;color:#fff}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,136,0,.5)}.btn-outline-danger{border-color:#c00;color:#c00}.btn-outline-danger:hover{background-color:#c00;border-color:#c00;color:#fff}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(204,0,0,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{background-color:transparent;color:#c00}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{background-color:#c00;border-color:#c00;color:#fff}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(204,0,0,.5)}.btn-outline-light{border-color:#222;color:#222}.btn-outline-light:hover{background-color:#222;border-color:#222;color:#fff}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(34,34,34,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{background-color:transparent;color:#222}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{background-color:#222;border-color:#222;color:#fff}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(34,34,34,.5)}.btn-outline-dark{border-color:#adafae;color:#adafae}.btn-outline-dark:hover{background-color:#adafae;border-color:#adafae;color:#fff}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem hsla(150,1%,68%,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{background-color:transparent;color:#adafae}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{background-color:#adafae;border-color:#adafae;color:#fff}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(150,1%,68%,.5)}.btn-link{color:#2a9fd6;font-weight:400;text-decoration:none}.btn-link:hover{color:#1d7097}.btn-link.focus,.btn-link:focus,.btn-link:hover{text-decoration:underline}.btn-link.disabled,.btn-link:disabled{color:#555;pointer-events:none}.btn-group-lg>.btn,.btn-lg{border-radius:.3rem;font-size:1.125rem;line-height:1.5;padding:.5rem 1rem}.btn-group-sm>.btn,.btn-sm{border-radius:.2rem;font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media(prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;position:relative;transition:height .35s ease}@media(prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{border-bottom:0;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:.3em solid;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu,span.twitter-typeahead .tt-menu{background-clip:padding-box;background-color:#282828;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;color:#adafae;display:none;float:left;font-size:.9rem;left:0;list-style:none;margin:.125rem 0 0;min-width:10rem;padding:.5rem 0;position:absolute;text-align:left;top:100%;z-index:1000}.dropdown-menu-left{left:0;right:auto}.dropdown-menu-right{left:auto;right:0}@media(min-width:576px){.dropdown-menu-sm-left{left:0;right:auto}.dropdown-menu-sm-right{left:auto;right:0}}@media(min-width:768px){.dropdown-menu-md-left{left:0;right:auto}.dropdown-menu-md-right{left:auto;right:0}}@media(min-width:992px){.dropdown-menu-lg-left{left:0;right:auto}.dropdown-menu-lg-right{left:auto;right:0}}@media(min-width:1200px){.dropdown-menu-xl-left{left:0;right:auto}.dropdown-menu-xl-right{left:auto;right:0}}.dropup .dropdown-menu,.dropup span.twitter-typeahead .tt-menu,span.twitter-typeahead .dropup .tt-menu{bottom:100%;margin-bottom:.125rem;margin-top:0;top:auto}.dropup .dropdown-toggle:after{border-bottom:.3em solid;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:0;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-menu,.dropright span.twitter-typeahead .tt-menu,span.twitter-typeahead .dropright .tt-menu{left:100%;margin-left:.125rem;margin-top:0;right:auto;top:0}.dropright .dropdown-toggle:after{border-bottom:.3em solid transparent;border-left:.3em solid;border-right:0;border-top:.3em solid transparent;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropright .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-toggle:after{vertical-align:0}.dropleft .dropdown-menu,.dropleft span.twitter-typeahead .tt-menu,span.twitter-typeahead .dropleft .tt-menu{left:auto;margin-right:.125rem;margin-top:0;right:100%;top:0}.dropleft .dropdown-toggle:after{content:"";display:inline-block;display:none;margin-left:.255em;vertical-align:.255em}.dropleft .dropdown-toggle:before{border-bottom:.3em solid transparent;border-right:.3em solid;border-top:.3em solid transparent;content:"";display:inline-block;margin-right:.255em;vertical-align:.255em}.dropleft .dropdown-toggle:empty:after{margin-left:0}.dropleft .dropdown-toggle:before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top],span.twitter-typeahead [x-placement^=bottom].tt-menu,span.twitter-typeahead [x-placement^=left].tt-menu,span.twitter-typeahead [x-placement^=right].tt-menu,span.twitter-typeahead [x-placement^=top].tt-menu{bottom:auto;right:auto}.dropdown-divider{border-top:1px solid #222;height:0;margin:.5rem 0;overflow:hidden}.dropdown-item,span.twitter-typeahead .tt-suggestion{background-color:transparent;border:0;clear:both;color:#fff;display:block;font-weight:400;padding:.25rem 1.5rem;text-align:inherit;white-space:nowrap;width:100%}.dropdown-item.active,.dropdown-item:active,.dropdown-item:focus,.dropdown-item:hover,span.twitter-typeahead .active.tt-suggestion,span.twitter-typeahead .tt-suggestion:active,span.twitter-typeahead .tt-suggestion:focus,span.twitter-typeahead .tt-suggestion:hover{background-color:#2a9fd6;color:#fff;text-decoration:none}.dropdown-item.disabled,.dropdown-item:disabled,span.twitter-typeahead .disabled.tt-suggestion,span.twitter-typeahead .tt-suggestion:disabled{background-color:transparent;color:#888;pointer-events:none}.dropdown-menu.show,span.twitter-typeahead .show.tt-menu{display:block}.dropdown-header{color:#555;display:block;font-size:.7875rem;margin-bottom:0;padding:.5rem 1.5rem;white-space:nowrap}.dropdown-item-text{color:#fff;display:block;padding:.25rem 1.5rem}.btn-group,.btn-group-vertical{display:inline-flex;position:relative;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{flex:1 1 auto;position:relative}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.dropdown-toggle-split{padding-left:.75rem;padding-right:.75rem}.dropdown-toggle-split:after,.dropright .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropleft .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-left:.375rem;padding-right:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-left:.75rem;padding-right:.75rem}.btn-group-vertical{align-items:flex-start;flex-direction:column;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-left-radius:0;border-bottom-right-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{clip:rect(0,0,0,0);pointer-events:none;position:absolute}.input-group{align-items:stretch;display:flex;flex-wrap:wrap;position:relative;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{flex:1 1 auto;margin-bottom:0;min-width:0;position:relative;width:1%}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group>.custom-file{align-items:center;display:flex}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label:after{border-bottom-right-radius:0;border-top-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-bottom-left-radius:0;border-top-left-radius:0}.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label,.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label:after,.input-group.has-validation>.custom-select:nth-last-child(n+3),.input-group.has-validation>.form-control:nth-last-child(n+3),.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label,.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label:after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.input-group-append,.input-group-prepend{display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{align-items:center;background-color:#282828;border:1px solid transparent;border-radius:.25rem;color:#fff;display:flex;font-size:.9rem;font-weight:400;line-height:1.6;margin-bottom:0;padding:.375rem 1rem;text-align:center;white-space:nowrap}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1rem + 2px)}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{border-radius:.3rem;font-size:1.125rem;line-height:1.5;padding:.5rem 1rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{border-radius:.2rem;font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:2rem}.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.btn,.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.input-group-text,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.btn,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-bottom-right-radius:0;border-top-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-bottom-left-radius:0;border-top-left-radius:0}.custom-control{color-adjust:exact;display:block;min-height:1.44rem;padding-left:1.5rem;position:relative;-webkit-print-color-adjust:exact;z-index:1}.custom-control-inline{display:inline-flex;margin-right:1rem}.custom-control-input{height:1.22rem;left:0;opacity:0;position:absolute;width:1rem;z-index:-1}.custom-control-input:checked~.custom-control-label:before{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff}.custom-control-input:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(42,159,214,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label:before{border-color:#95cfeb}.custom-control-input:not(:disabled):active~.custom-control-label:before{background-color:#c0e2f3;border-color:#c0e2f3;color:#fff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#555}.custom-control-input:disabled~.custom-control-label:before,.custom-control-input[disabled]~.custom-control-label:before{background-color:#adafae}.custom-control-label{margin-bottom:0;position:relative;vertical-align:top}.custom-control-label:before{background-color:#fff;border:1px solid #888;pointer-events:none}.custom-control-label:after,.custom-control-label:before{content:"";display:block;height:1rem;left:-1.5rem;position:absolute;top:.22rem;width:1rem}.custom-control-label:after{background:50%/50% 50% no-repeat}.custom-checkbox .custom-control-label:before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%23fff' d='m6.564.75-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:before{background-color:#2a9fd6;border-color:#2a9fd6}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(42,159,214,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label:before{background-color:rgba(42,159,214,.5)}.custom-radio .custom-control-label:before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(42,159,214,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label:before{border-radius:.5rem;left:-2.25rem;pointer-events:all;width:1.75rem}.custom-switch .custom-control-label:after{background-color:#888;border-radius:.5rem;height:calc(1rem - 4px);left:calc(-2.25rem + 2px);top:calc(.22rem + 2px);transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:calc(1rem - 4px)}@media(prefers-reduced-motion:reduce){.custom-switch .custom-control-label:after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label:after{background-color:#fff;transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(42,159,214,.5)}.custom-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23222' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right 1rem center/8px 10px no-repeat;border:1px solid #fff;border-radius:.25rem;color:#282828;display:inline-block;font-size:.9rem;font-weight:400;height:calc(1.6em + .75rem + 2px);line-height:1.6;padding:.375rem 2rem .375rem 1rem;vertical-align:middle;width:100%}.custom-select:focus{border-color:#95cfeb;box-shadow:0 0 0 .2rem rgba(42,159,214,.25);outline:0}.custom-select:focus::-ms-value{background-color:#fff;color:#282828}.custom-select[multiple],.custom-select[size]:not([size="1"]){background-image:none;height:auto;padding-right:1rem}.custom-select:disabled{background-color:#e9ecef;color:#555}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #282828}.custom-select-sm{font-size:.7875rem;height:calc(1.5em + .5rem + 2px);padding-bottom:.25rem;padding-left:.5rem;padding-top:.25rem}.custom-select-lg{font-size:1.125rem;height:calc(1.5em + 1rem + 2px);padding-bottom:.5rem;padding-left:1rem;padding-top:.5rem}.custom-file{display:inline-block;margin-bottom:0}.custom-file,.custom-file-input{height:calc(1.6em + .75rem + 2px);position:relative;width:100%}.custom-file-input{margin:0;opacity:0;overflow:hidden;z-index:2}.custom-file-input:focus~.custom-file-label{border-color:#95cfeb;box-shadow:0 0 0 .2rem rgba(42,159,214,.25)}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#adafae}.custom-file-input:lang(en)~.custom-file-label:after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]:after{content:attr(data-browse)}.custom-file-label{background-color:#fff;border:1px solid #282828;border-radius:.25rem;font-weight:400;height:calc(1.6em + .75rem + 2px);left:0;overflow:hidden;z-index:1}.custom-file-label,.custom-file-label:after{color:#fff;line-height:1.6;padding:.375rem 1rem;position:absolute;right:0;top:0}.custom-file-label:after{background-color:#282828;border-left:inherit;border-radius:0 .25rem .25rem 0;bottom:0;content:"Browse";display:block;height:calc(1.6em + .75rem);z-index:3}.custom-range{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;height:1.4rem;padding:0;width:100%}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #060606,0 0 0 .2rem rgba(42,159,214,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #060606,0 0 0 .2rem rgba(42,159,214,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #060606,0 0 0 .2rem rgba(42,159,214,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:#2a9fd6;border:0;border-radius:1rem;height:1rem;margin-top:-.25rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#c0e2f3}.custom-range::-webkit-slider-runnable-track{background-color:#dee2e6;border-color:transparent;border-radius:1rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:#2a9fd6;border:0;border-radius:1rem;height:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#c0e2f3}.custom-range::-moz-range-track{background-color:#dee2e6;border-color:transparent;border-radius:1rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-ms-thumb{appearance:none;background-color:#2a9fd6;border:0;border-radius:1rem;height:1rem;margin-left:.2rem;margin-right:.2rem;margin-top:0;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#c0e2f3}.custom-range::-ms-track{background-color:transparent;border-color:transparent;border-width:.5rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-ms-fill-lower,.custom-range::-ms-fill-upper{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px}.custom-range:disabled::-webkit-slider-thumb{background-color:#888}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#888}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#888}.custom-control-label:before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.custom-control-label:before,.custom-file-label,.custom-select{transition:none}}.nav{display:flex;flex-wrap:wrap;list-style:none;margin-bottom:0;padding-left:0}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#555;cursor:default;pointer-events:none}.nav-tabs{border-bottom:1px solid #282828}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem;margin-bottom:-1px}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#282828}.nav-tabs .nav-link.disabled{background-color:transparent;border-color:transparent;color:#555}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{background-color:#282828;border-color:#282828;color:#fff}.nav-tabs .dropdown-menu,.nav-tabs span.twitter-typeahead .tt-menu,span.twitter-typeahead .nav-tabs .tt-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{background-color:#2a9fd6;color:#fff}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{padding:.5rem 1rem;position:relative}.navbar,.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.navbar-brand{display:inline-block;font-size:1.125rem;line-height:inherit;margin-right:1rem;padding-bottom:.32rem;padding-top:.32rem;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:flex;flex-direction:column;list-style:none;margin-bottom:0;padding-left:0}.navbar-nav .nav-link{padding-left:0;padding-right:0}.navbar-nav .dropdown-menu,.navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-nav .tt-menu{float:none;position:static}.navbar-text{display:inline-block;padding-bottom:.5rem;padding-top:.5rem}.navbar-collapse{align-items:center;flex-basis:100%;flex-grow:1}.navbar-toggler{background-color:transparent;border:1px solid transparent;border-radius:.25rem;font-size:1.125rem;line-height:1;padding:.25rem .75rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{background:50%/100% 100% no-repeat;content:"";display:inline-block;height:1.5em;vertical-align:middle;width:1.5em}.navbar-nav-scroll{max-height:75vh;overflow-y:auto}@media(max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-left:0;padding-right:0}}@media(min-width:576px){.navbar-expand-sm{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu,.navbar-expand-sm .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-sm .navbar-nav .tt-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{flex-wrap:nowrap}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media(max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-left:0;padding-right:0}}@media(min-width:768px){.navbar-expand-md{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu,.navbar-expand-md .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-md .navbar-nav .tt-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{flex-wrap:nowrap}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media(max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-left:0;padding-right:0}}@media(min-width:992px){.navbar-expand-lg{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu,.navbar-expand-lg .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-lg .navbar-nav .tt-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{flex-wrap:nowrap}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media(max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-left:0;padding-right:0}}@media(min-width:1200px){.navbar-expand-xl{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu,.navbar-expand-xl .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand-xl .navbar-nav .tt-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{flex-wrap:nowrap}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-left:0;padding-right:0}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu,.navbar-expand .navbar-nav span.twitter-typeahead .tt-menu,span.twitter-typeahead .navbar-expand .navbar-nav .tt-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{flex-wrap:nowrap}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.5)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand,.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:#fff}.navbar-dark .navbar-nav .nav-link.disabled{color:hsla(0,0%,100%,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{border-color:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")}.navbar-dark .navbar-text{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{word-wrap:break-word;background-clip:border-box;background-color:#282828;border:1px solid rgba(0,0,0,.125);border-radius:.25rem;display:flex;flex-direction:column;min-width:0;position:relative}.card>hr{margin-left:0;margin-right:0}.card>.list-group{border-bottom:inherit;border-top:inherit}.card>.list-group:first-child{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px);border-top-width:0}.card>.list-group:last-child{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px);border-bottom-width:0}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125);margin-bottom:0;padding:.75rem 1.25rem}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125);padding:.75rem 1.25rem}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{border-bottom:0;margin-bottom:-.75rem}.card-header-pills,.card-header-tabs{margin-left:-.625rem;margin-right:-.625rem}.card-img-overlay{border-radius:calc(.25rem - 1px);bottom:0;left:0;padding:1.25rem;position:absolute;right:0;top:0}.card-img,.card-img-bottom,.card-img-top{flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media(min-width:576px){.card-deck{display:flex;flex-flow:row wrap;margin-left:-15px;margin-right:-15px}.card-deck .card{flex:1 0 0%;margin-bottom:0;margin-left:15px;margin-right:15px}}.card-group>.card{margin-bottom:15px}@media(min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{border-left:0;margin-left:0}.card-group>.card:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media(min-width:576px){.card-columns{-moz-column-count:3;column-count:3;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion{overflow-anchor:none}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{background-color:#282828;border-radius:.25rem;display:flex;flex-wrap:wrap;list-style:none;margin-bottom:1rem;padding:.75rem 1rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item:before{color:#555;content:"/";float:left;padding-right:.5rem}.breadcrumb-item+.breadcrumb-item:hover:before{text-decoration:underline;text-decoration:none}.breadcrumb-item.active{color:#555}.pagination{border-radius:.25rem;display:flex;list-style:none;padding-left:0}.page-link{background-color:#282828;border:1px solid transparent;color:#fff;display:block;line-height:1.25;margin-left:-1px;padding:.5rem .75rem;position:relative}.page-link:hover{background-color:#2a9fd6;border-color:transparent;color:#fff;text-decoration:none;z-index:2}.page-link:focus{box-shadow:0 0 0 .2rem rgba(42,159,214,.25);outline:0;z-index:3}.page-item:first-child .page-link{border-bottom-left-radius:.25rem;border-top-left-radius:.25rem;margin-left:0}.page-item:last-child .page-link{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.page-item.active .page-link{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff;z-index:3}.page-item.disabled .page-link{background-color:#282828;border-color:transparent;color:#555;cursor:auto;pointer-events:none}.pagination-lg .page-link{font-size:1.125rem;line-height:1.5;padding:.75rem 1.5rem}.pagination-lg .page-item:first-child .page-link{border-bottom-left-radius:.3rem;border-top-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-bottom-right-radius:.3rem;border-top-right-radius:.3rem}.pagination-sm .page-link{font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.pagination-sm .page-item:first-child .page-link{border-bottom-left-radius:.2rem;border-top-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-bottom-right-radius:.2rem;border-top-right-radius:.2rem}.badge{border-radius:.25rem;display:inline-block;font-size:75%;font-weight:700;line-height:1;padding:.25em .4em;text-align:center;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;vertical-align:baseline;white-space:nowrap}@media(prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{border-radius:10rem;padding-left:.6em;padding-right:.6em}.badge-primary{background-color:#2a9fd6;color:#fff}a.badge-primary:focus,a.badge-primary:hover{background-color:#2180ac;color:#fff}a.badge-primary.focus,a.badge-primary:focus{box-shadow:0 0 0 .2rem rgba(42,159,214,.5);outline:0}.badge-secondary{background-color:#555;color:#fff}a.badge-secondary:focus,a.badge-secondary:hover{background-color:#3c3c3c;color:#fff}a.badge-secondary.focus,a.badge-secondary:focus{box-shadow:0 0 0 .2rem rgba(85,85,85,.5);outline:0}.badge-success{background-color:#77b300;color:#fff}a.badge-success:focus,a.badge-success:hover{background-color:#558000;color:#fff}a.badge-success.focus,a.badge-success:focus{box-shadow:0 0 0 .2rem rgba(119,179,0,.5);outline:0}.badge-info{background-color:#93c;color:#fff}a.badge-info:focus,a.badge-info:hover{background-color:#7a29a3;color:#fff}a.badge-info.focus,a.badge-info:focus{box-shadow:0 0 0 .2rem rgba(153,51,204,.5);outline:0}.badge-warning{background-color:#f80;color:#fff}a.badge-warning:focus,a.badge-warning:hover{background-color:#cc6d00;color:#fff}a.badge-warning.focus,a.badge-warning:focus{box-shadow:0 0 0 .2rem rgba(255,136,0,.5);outline:0}.badge-danger{background-color:#c00;color:#fff}a.badge-danger:focus,a.badge-danger:hover{background-color:#900;color:#fff}a.badge-danger.focus,a.badge-danger:focus{box-shadow:0 0 0 .2rem rgba(204,0,0,.5);outline:0}.badge-light{background-color:#222;color:#fff}a.badge-light:focus,a.badge-light:hover{background-color:#090909;color:#fff}a.badge-light.focus,a.badge-light:focus{box-shadow:0 0 0 .2rem rgba(34,34,34,.5);outline:0}.badge-dark{background-color:#adafae;color:#fff}a.badge-dark:focus,a.badge-dark:hover{background-color:#939695;color:#fff}a.badge-dark.focus,a.badge-dark:focus{box-shadow:0 0 0 .2rem hsla(150,1%,68%,.5);outline:0}.jumbotron{background-color:#282828;border-radius:.3rem;margin-bottom:2rem;padding:2rem 1rem}@media(min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{border-radius:0;padding-left:0;padding-right:0}.alert{border:1px solid transparent;border-radius:.25rem;margin-bottom:1rem;padding:.75rem 1.25rem;position:relative}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3.85rem}.alert-dismissible .close{color:inherit;padding:.75rem 1.25rem;position:absolute;right:0;top:0;z-index:2}.alert-primary{background-color:#d4ecf7;border-color:#c3e4f4;color:#16536f}.alert-primary hr{border-top-color:#addaf0}.alert-primary .alert-link{color:#0e3344}.alert-secondary{background-color:#ddd;border-color:#cfcfcf;color:#2c2c2c}.alert-secondary hr{border-top-color:#c2c2c2}.alert-secondary .alert-link{color:#131313}.alert-success{background-color:#e4f0cc;border-color:#d9eab8;color:#3e5d00}.alert-success hr{border-top-color:#cee4a4}.alert-success .alert-link{color:#1c2a00}.alert-info{background-color:#ebd6f5;border-color:#e2c6f1;color:#501b6a}.alert-info hr{border-top-color:#d8b2ec}.alert-info .alert-link{color:#311141}.alert-warning{background-color:#ffe7cc;border-color:#ffdeb8;color:#854700}.alert-warning hr{border-top-color:#ffd29f}.alert-warning .alert-link{color:#522c00}.alert-danger{background-color:#f5cccc;border-color:#f1b8b8;color:#6a0000}.alert-danger hr{border-top-color:#eda3a3}.alert-danger .alert-link{color:#370000}.alert-light{background-color:#d3d3d3;border-color:#c1c1c1;color:#121212}.alert-light hr{border-top-color:#b4b4b4}.alert-light .alert-link{color:#000}.alert-dark{background-color:#efefef;border-color:#e8e9e8;color:#5a5b5a}.alert-dark hr{border-top-color:#dbdddb}.alert-dark .alert-link{color:#414141}@-webkit-keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}.progress{background-color:#282828;border-radius:.25rem;font-size:.675rem;height:1rem;line-height:0}.progress,.progress-bar{display:flex;overflow:hidden}.progress-bar{background-color:#2a9fd6;color:#fff;flex-direction:column;justify-content:center;text-align:center;transition:width .6s ease;white-space:nowrap}@media(prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media(prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{align-items:flex-start;display:flex}.media-body{flex:1}.list-group{border-radius:.25rem;display:flex;flex-direction:column;margin-bottom:0;padding-left:0}.list-group-item-action{color:#282828;text-align:inherit;width:100%}.list-group-item-action:focus,.list-group-item-action:hover{background-color:#2a9fd6;color:#282828;text-decoration:none;z-index:1}.list-group-item-action:active{background-color:#2a9fd6;color:#adafae}.list-group-item{background-color:#222;border:1px solid #282828;display:block;padding:.75rem 1.25rem;position:relative}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{background-color:#282828;color:#555;pointer-events:none}.list-group-item.active{background-color:#2a9fd6;border-color:#2a9fd6;color:#fff;z-index:2}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{border-top-width:1px;margin-top:-1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}@media(min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-md>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{background-color:#c3e4f4;color:#16536f}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{background-color:#addaf0;color:#16536f}.list-group-item-primary.list-group-item-action.active{background-color:#16536f;border-color:#16536f;color:#fff}.list-group-item-secondary{background-color:#cfcfcf;color:#2c2c2c}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{background-color:#c2c2c2;color:#2c2c2c}.list-group-item-secondary.list-group-item-action.active{background-color:#2c2c2c;border-color:#2c2c2c;color:#fff}.list-group-item-success{background-color:#d9eab8;color:#3e5d00}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{background-color:#cee4a4;color:#3e5d00}.list-group-item-success.list-group-item-action.active{background-color:#3e5d00;border-color:#3e5d00;color:#fff}.list-group-item-info{background-color:#e2c6f1;color:#501b6a}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{background-color:#d8b2ec;color:#501b6a}.list-group-item-info.list-group-item-action.active{background-color:#501b6a;border-color:#501b6a;color:#fff}.list-group-item-warning{background-color:#ffdeb8;color:#854700}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{background-color:#ffd29f;color:#854700}.list-group-item-warning.list-group-item-action.active{background-color:#854700;border-color:#854700;color:#fff}.list-group-item-danger{background-color:#f1b8b8;color:#6a0000}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{background-color:#eda3a3;color:#6a0000}.list-group-item-danger.list-group-item-action.active{background-color:#6a0000;border-color:#6a0000;color:#fff}.list-group-item-light{background-color:#c1c1c1;color:#121212}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{background-color:#b4b4b4;color:#121212}.list-group-item-light.list-group-item-action.active{background-color:#121212;border-color:#121212;color:#fff}.list-group-item-dark{background-color:#e8e9e8;color:#5a5b5a}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{background-color:#dbdddb;color:#5a5b5a}.list-group-item-dark.list-group-item-action.active{background-color:#5a5b5a;border-color:#5a5b5a;color:#fff}.close{color:#fff;float:right;font-size:1.35rem;font-weight:700;line-height:1;opacity:.5;text-shadow:none}.close:hover{color:#fff;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{background-color:transparent;border:0;padding:0}a.close.disabled{pointer-events:none}.toast{background-clip:padding-box;background-color:#222;border:1px solid #282828;border-radius:.25rem;box-shadow:0 .25rem .75rem rgba(0,0,0,.1);color:#fff;flex-basis:350px;font-size:.875rem;max-width:350px;opacity:0}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{align-items:center;background-clip:padding-box;background-color:#222;border-bottom:1px solid #282828;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px);color:#adafae;display:flex;padding:.25rem .75rem}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{display:none;height:100%;left:0;outline:0;overflow:hidden;position:fixed;top:0;width:100%;z-index:1050}.modal-dialog{margin:.5rem;pointer-events:none;position:relative;width:auto}.modal.fade .modal-dialog{transform:translateY(-50px);transition:transform .3s ease-out}@media(prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{align-items:center;display:flex;min-height:calc(100% - 1rem)}.modal-dialog-centered:before{content:"";display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-dialog-centered.modal-dialog-scrollable{flex-direction:column;height:100%;justify-content:center}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable:before{content:none}.modal-content{background-clip:padding-box;background-color:#222;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;display:flex;flex-direction:column;outline:0;pointer-events:auto;position:relative;width:100%}.modal-backdrop{background-color:#000;height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:1040}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{align-items:flex-start;border-bottom:1px solid #282828;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px);display:flex;justify-content:space-between;padding:1rem}.modal-header .close{margin:-1rem -1rem -1rem auto;padding:1rem}.modal-title{line-height:1.6;margin-bottom:0}.modal-body{flex:1 1 auto;padding:1rem;position:relative}.modal-footer{align-items:center;border-bottom-left-radius:calc(.3rem - 1px);border-bottom-right-radius:calc(.3rem - 1px);border-top:1px solid #282828;display:flex;flex-wrap:wrap;justify-content:flex-end;padding:.75rem}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{height:50px;overflow:scroll;position:absolute;top:-9999px;width:50px}@media(min-width:576px){.modal-dialog{margin:1.75rem auto;max-width:500px}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered:before{height:calc(100vh - 3.5rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-sm{max-width:300px}}@media(min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media(min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{word-wrap:break-word;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.7875rem;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.6;margin:0;opacity:0;position:absolute;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;z-index:1070}.tooltip.show{opacity:1}.tooltip .arrow{display:block;height:.4rem;position:absolute;width:.8rem}.tooltip .arrow:before{border-color:transparent;border-style:solid;content:"";position:absolute}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow:before,.bs-tooltip-top .arrow:before{border-top-color:#282828;border-width:.4rem .4rem 0;top:0}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{height:.8rem;left:0;width:.4rem}.bs-tooltip-auto[x-placement^=right] .arrow:before,.bs-tooltip-right .arrow:before{border-right-color:#282828;border-width:.4rem .4rem .4rem 0;right:0}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.bs-tooltip-bottom .arrow:before{border-bottom-color:#282828;border-width:0 .4rem .4rem;bottom:0}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{height:.8rem;right:0;width:.4rem}.bs-tooltip-auto[x-placement^=left] .arrow:before,.bs-tooltip-left .arrow:before{border-left-color:#282828;border-width:.4rem 0 .4rem .4rem;left:0}.tooltip-inner{background-color:#282828;border-radius:.25rem;color:#fff;max-width:200px;padding:.25rem .5rem;text-align:center}.popover{word-wrap:break-word;background-clip:padding-box;background-color:#282828;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.7875rem;font-style:normal;font-weight:400;left:0;letter-spacing:normal;line-break:auto;line-height:1.6;max-width:276px;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;top:0;white-space:normal;word-break:normal;word-spacing:normal;z-index:1060}.popover,.popover .arrow{display:block;position:absolute}.popover .arrow{height:.5rem;margin:0 .3rem;width:1rem}.popover .arrow:after,.popover .arrow:before{border-color:transparent;border-style:solid;content:"";display:block;position:absolute}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow:before,.bs-popover-top>.arrow:before{border-top-color:rgba(0,0,0,.25);border-width:.5rem .5rem 0;bottom:0}.bs-popover-auto[x-placement^=top]>.arrow:after,.bs-popover-top>.arrow:after{border-top-color:#282828;border-width:.5rem .5rem 0;bottom:1px}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{height:1rem;left:calc(-.5rem - 1px);margin:.3rem 0;width:.5rem}.bs-popover-auto[x-placement^=right]>.arrow:before,.bs-popover-right>.arrow:before{border-right-color:rgba(0,0,0,.25);border-width:.5rem .5rem .5rem 0;left:0}.bs-popover-auto[x-placement^=right]>.arrow:after,.bs-popover-right>.arrow:after{border-right-color:#282828;border-width:.5rem .5rem .5rem 0;left:1px}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow:before,.bs-popover-bottom>.arrow:before{border-bottom-color:rgba(0,0,0,.25);border-width:0 .5rem .5rem;top:0}.bs-popover-auto[x-placement^=bottom]>.arrow:after,.bs-popover-bottom>.arrow:after{border-bottom-color:#282828;border-width:0 .5rem .5rem;top:1px}.bs-popover-auto[x-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{border-bottom:1px solid #202020;content:"";display:block;left:50%;margin-left:-.5rem;position:absolute;top:0;width:1rem}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{height:1rem;margin:.3rem 0;right:calc(-.5rem - 1px);width:.5rem}.bs-popover-auto[x-placement^=left]>.arrow:before,.bs-popover-left>.arrow:before{border-left-color:rgba(0,0,0,.25);border-width:.5rem 0 .5rem .5rem;right:0}.bs-popover-auto[x-placement^=left]>.arrow:after,.bs-popover-left>.arrow:after{border-left-color:#282828;border-width:.5rem 0 .5rem .5rem;right:1px}.popover-header{background-color:#202020;border-bottom:1px solid #141414;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px);color:#fff;font-size:.9rem;margin-bottom:0;padding:.5rem .75rem}.popover-header:empty{display:none}.popover-body{color:#adafae;padding:.5rem .75rem}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{overflow:hidden;position:relative;width:100%}.carousel-inner:after{clear:both;content:"";display:block}.carousel-item{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:none;float:left;margin-right:-100%;position:relative;transition:transform .6s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transform:none;transition-property:opacity}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{opacity:1;z-index:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{opacity:0;transition:opacity 0s .6s;z-index:0}@media(prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{align-items:center;background:none;border:0;bottom:0;color:#fff;display:flex;justify-content:center;opacity:.5;padding:0;position:absolute;text-align:center;top:0;transition:opacity .15s ease;width:15%;z-index:1}@media(prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;opacity:.9;outline:0;text-decoration:none}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{background:50%/100% 100% no-repeat;display:inline-block;height:20px;width:20px}.carousel-control-prev-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8'%3E%3Cpath d='m5.25 0-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3E%3C/svg%3E")}.carousel-control-next-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8'%3E%3Cpath d='m2.75 0-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3E%3C/svg%3E")}.carousel-indicators{bottom:0;display:flex;justify-content:center;left:0;list-style:none;margin-left:15%;margin-right:15%;padding-left:0;position:absolute;right:0;z-index:15}.carousel-indicators li{background-clip:padding-box;background-color:#fff;border-bottom:10px solid transparent;border-top:10px solid transparent;box-sizing:content-box;cursor:pointer;flex:0 1 auto;height:3px;margin-left:3px;margin-right:3px;opacity:.5;text-indent:-999px;transition:opacity .6s ease;width:30px}@media(prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{bottom:20px;color:#fff;left:15%;padding-bottom:20px;padding-top:20px;position:absolute;right:15%;text-align:center;z-index:10}@-webkit-keyframes spinner-border{to{transform:rotate(1turn)}}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite;border:.25em solid;border-radius:50%;border-right:.25em solid transparent;display:inline-block;height:2rem;vertical-align:-.125em;width:2rem}.spinner-border-sm{border-width:.2em;height:1rem;width:1rem}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite;background-color:currentColor;border-radius:50%;display:inline-block;height:2rem;opacity:0;vertical-align:-.125em;width:2rem}.spinner-grow-sm{height:1rem;width:1rem}@media(prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{-webkit-animation-duration:1.5s;animation-duration:1.5s}}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#2a9fd6!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#2180ac!important}.bg-secondary{background-color:#555!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#3c3c3c!important}.bg-success{background-color:#77b300!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#558000!important}.bg-info{background-color:#93c!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#7a29a3!important}.bg-warning{background-color:#f80!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#cc6d00!important}.bg-danger{background-color:#c00!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#900!important}.bg-light{background-color:#222!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#090909!important}.bg-dark{background-color:#adafae!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#939695!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#2a9fd6!important}.border-secondary{border-color:#555!important}.border-success{border-color:#77b300!important}.border-info{border-color:#93c!important}.border-warning{border-color:#f80!important}.border-danger{border-color:#c00!important}.border-light{border-color:#222!important}.border-dark{border-color:#adafae!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important}.rounded-right,.rounded-top{border-top-right-radius:.25rem!important}.rounded-bottom,.rounded-right{border-bottom-right-radius:.25rem!important}.rounded-bottom,.rounded-left{border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix:after{clear:both;content:"";display:block}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}@media(min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}}@media(min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}}@media(min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}}@media(min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}}.embed-responsive{display:block;overflow:hidden;padding:0;position:relative;width:100%}.embed-responsive:before{content:"";display:block}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{border:0;bottom:0;height:100%;left:0;position:absolute;top:0;width:100%}.embed-responsive-21by9:before{padding-top:42.85714286%}.embed-responsive-16by9:before{padding-top:56.25%}.embed-responsive-4by3:before{padding-top:75%}.embed-responsive-1by1:before{padding-top:100%}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}@media(min-width:576px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}}@media(min-width:768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}}@media(min-width:992px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}}@media(min-width:1200px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media(min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media(min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media(min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media(min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{top:0}.fixed-bottom,.fixed-top{left:0;position:fixed;right:0;z-index:1030}.fixed-bottom{bottom:0}@supports((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;overflow:visible;position:static;white-space:normal;width:auto}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media(min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media(min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media(min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media(min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.stretched-link:after{background-color:transparent;bottom:0;content:"";left:0;pointer-events:auto;position:absolute;right:0;top:0;z-index:1}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media(min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media(min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media(min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media(min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#2a9fd6!important}a.text-primary:focus,a.text-primary:hover{color:#1d7097!important}.text-secondary{color:#555!important}a.text-secondary:focus,a.text-secondary:hover{color:#2f2f2f!important}.text-success{color:#77b300!important}a.text-success:focus,a.text-success:hover{color:#446700!important}.text-info{color:#93c!important}a.text-info:focus,a.text-info:hover{color:#6b248f!important}.text-warning{color:#f80!important}a.text-warning:focus,a.text-warning:hover{color:#b35f00!important}.text-danger{color:#c00!important}a.text-danger:focus,a.text-danger:hover{color:maroon!important}.text-light{color:#222!important}a.text-light:focus,a.text-light:hover{color:#000!important}a.text-dark:focus,a.text-dark:hover{color:#868988!important}.text-body{color:#adafae!important}.text-muted{color:#555!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:hsla(0,0%,100%,.5)!important}.text-hide{background-color:transparent;border:0;color:transparent;font:0/0 a;text-shadow:none}.text-decoration-none{text-decoration:none!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,:after,:before{box-shadow:none!important;text-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]:after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #888}blockquote,img,pre,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}.container,body{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#282828}.table .thead-dark th{border-color:#282828;color:inherit}}body,html{min-height:100vh}body{display:flex;flex-flow:column}#content{margin-bottom:auto!important}body,button,input,textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.navbar-laravel{background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.04)}.bg-pixelfed{background:#10c5f8;background:linear-gradient(to bottom right,#6736dd,#10c5f8)}@media(min-width:1200px){.container{max-width:935px}}.text-dark{color:#212529!important}.settings-nav .active .nav-link{font-weight:700}.card-disabled{background-color:#f5f5f5;opacity:.4}.card-img-top{height:auto}.card.status-container .status-photo{margin:auto!important}@media(min-width:768px){.card.status-container .status-comments{border-bottom:1px solid rgba(0,0,0,.1);height:200px;overflow-y:scroll}}.no-caret.dropdown-toggle{text-decoration:none!important}.no-caret.dropdown-toggle:after{display:none}.notification-page .profile-link{color:#212529;font-weight:700}.notification-page .list-group-item:first-child{border-top:none}.nav-topbar{border-top:1px solid #dee2e6}.nav-topbar .nav-item{margin:-1px 1.5rem 0}.nav-topbar .nav-link{border:1px solid transparent;color:#dee2e6;padding:.75rem 0}.nav-topbar .nav-link:focus,.nav-topbar .nav-link:hover{border-top-color:#dee2e6}.nav-topbar .nav-link.disabled{background-color:transparent;border-color:transparent;color:#dee2e6}.nav-topbar .nav-item.show .nav-link,.nav-topbar .nav-link.active{border-top-color:#555;color:#555}.nav-topbar .dropdown-menu,.nav-topbar span.twitter-typeahead .tt-menu,span.twitter-typeahead .nav-topbar .tt-menu{margin-top:-1px}.info-overlay{position:relative}.info-overlay .info-overlay-text{display:none;position:absolute}.info-overlay:hover .info-overlay-text{display:flex}@media(max-width:576px){.info-overlay:hover .info-overlay-text h5{font-size:12px}}.info-overlay-text,.info-overlay-text-label{background-color:rgba(0,0,0,.5);height:100%;width:100%}.info-overlay-text-label{display:flex;position:absolute}.info-overlay-text-label h5{z-index:2}.info-overlay:hover .info-overlay-text-label{display:none}.font-weight-lighter{font-weight:300!important}.font-weight-ultralight{font-weight:200!important}.square{position:relative;width:100%}.square:after{content:"";display:block;padding-bottom:100%}.square-content{background-position:50%;background-repeat:no-repeat;background-size:cover;height:100%;position:absolute;width:100%}@media(max-width:768px){.border-md-left-0{border-left:0!important}.card.status-container .status-comments{border-top:1px solid rgba(0,0,0,.1)}.sticky-md-bottom{bottom:0;position:-webkit-sticky;position:sticky;z-index:1020}}@media(max-width:576px){.card-md-border-0{border-radius:0!important;border-width:0!important}.card-md-rounded-0{border-radius:0!important;border-width:1px 0}}@-webkit-keyframes loading-bar{0%{background-position:0 0}to{background-position:100vw 0}}@keyframes loading-bar{0%{background-position:0 0}to{background-position:100vw 0}}.loading-page{-webkit-animation:loading-bar 3s linear infinite;animation:loading-bar 3s linear infinite;background-image:linear-gradient(90deg,#6736dd,#10c5f8,#10c5f8,#6736dd);height:.25rem;width:100vw}.liked{position:relative;z-index:1}.liked:after{-webkit-animation:liking 1.5s;animation:liking 1.5s;color:transparent;content:"";left:50%;position:absolute;top:0;z-index:-1}@-webkit-keyframes liking{0%{color:#ebf70e;font-size:0;top:.25rem;transform:rotate(0deg)}75%{font-size:2.8rem;left:-.55rem;opacity:1;top:-.55rem;transform:rotate(1turn)}to{font-size:0;left:.9rem;top:2.5rem;transform:rotate(1turn)}}@keyframes liking{0%{color:#ebf70e;font-size:0;top:.25rem;transform:rotate(0deg)}75%{font-size:2.8rem;left:-.55rem;opacity:1;top:-.55rem;transform:rotate(1turn)}to{font-size:0;left:.9rem;top:2.5rem;transform:rotate(1turn)}}.max-hide-overflow{max-height:500px;overflow-y:hidden}@media(min-width:0){.max-hide-overflow{max-height:600px!important}}@media(min-width:768px){.max-hide-overflow{max-height:800px!important}}@media(min-width:1200px){.max-hide-overflow{max-height:1000px!important}}.notification-image{background-position:50%;background-size:cover;height:32px;width:32px}.status-photo img{max-height:calc(100vh - 6rem);-o-object-fit:contain;object-fit:contain;width:100%}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}@-webkit-keyframes fadeInDown{0%{opacity:0;transform:translateY(-1.25em)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-1.25em)}to{opacity:1;transform:translateY(0)}}.details-animated[open]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:fadeInDown;animation-name:fadeInDown}.card{border:none;box-shadow:0 2px 6px 0 rgba(0,0,0,.2)}.card .comment-submit{border-radius:0 3px 3px 0;bottom:12px;display:none;position:absolute;right:20px;text-align:center;width:60px}.touch .card input[name=comment]{padding-right:70px}.touch .card .comment-submit{display:block}.box-shadow{box-shadow:0 2px 6px 0 rgba(0,0,0,.2)}.border-left-primary{border-left:3px solid #2a9fd6}.settings-nav .nav-item.active .nav-link{font-weight:700!important}details summary::-webkit-details-marker{display:none!important}.details-animated>summary{background-color:#ecf0f1;display:flex;flex-flow:column;justify-content:center;padding-bottom:50px;padding-top:50px;text-align:center}@media(min-width:720px){.details-animated>summary{min-height:600px}}.details-animated[open]>summary{display:none!important}.profile-avatar img{-o-object-fit:cover;object-fit:cover}.tt-menu{border-radius:0 0 .25rem .25rem!important;padding:0!important}.tt-dataset .alert{border:0!important;border-radius:0!important}.input-elevated{background:#fff;border:none;border-radius:5px;box-shadow:0 2px 4px 0 rgba(0,0,0,.08);font-size:16px;line-height:1.5;padding:.5em 1em .5em .5em}.input-elevated::-moz-placeholder{color:#838d99}.input-elevated:-ms-input-placeholder{color:#838d99}.input-elevated::placeholder{color:#838d99}.input-elevated:focus{box-shadow:0 4px 10px 0 rgba(0,0,0,.16);outline:none}.icon-wrapper{background:#10c5f8;background:linear-gradient(to bottom right,#6736dd,#10c5f8);border-radius:50%;display:inline-flex;padding:14px}.border-left-blue{border-left:3px solid #10c5f8}.b-dropdown,.b-dropdown>button{padding:0!important}.lds-ring{display:inline-block;height:64px;position:relative;width:64px}.lds-ring div{-webkit-animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border:6px solid transparent;border-radius:50%;border-top-color:#6c757d;box-sizing:border-box;display:block;height:51px;margin:6px;position:absolute;width:51px}.lds-ring div:first-child{-webkit-animation-delay:-.45s;animation-delay:-.45s}.lds-ring div:nth-child(2){-webkit-animation-delay:-.3s;animation-delay:-.3s}.lds-ring div:nth-child(3){-webkit-animation-delay:-.15s;animation-delay:-.15s}@-webkit-keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.navbar .nav-notification.dropdown-toggle:after{display:none}.navbar .dropdown .nav-notification-dropdown{max-height:300px;overflow-y:scroll;padding-bottom:0;padding-top:0;width:500px}.nav-notification-dropdown .loader{padding-bottom:5rem;padding-top:5rem}.timeline-sidenav.nav-pills .nav-link{color:#6c757d}.timeline-sidenav.nav-pills .nav-link:hover{background:rgba(0,0,0,.04)}.timeline-sidenav.nav-pills .nav-link.active,.timeline-sidenav.nav-pills .show>.nav-link{background:transparent;border:1px solid #08d;color:#08d}.messages-page .bg-primary.text-white a{color:#fff}.notification-tooltip .tooltip-inner{font-weight:700}#previewAvatar img{height:auto;max-width:100%}.img-thumbnail{box-sizing:content-box}.media-drawer-filters img{-o-object-fit:contain;object-fit:contain}.reply-container .post-thumbnail{-o-object-fit:cover;object-fit:cover}#l-modal .modal-body,#s-modal .modal-body{height:60vh;overflow-y:scroll}#l-modal .modal-content,#s-modal .modal-content{border-radius:0}.btn-outline-lighter,.text-lighter{color:#b8c2cc!important}.btn-outline-lighter{border-color:#b8c2cc!important}.cursor-pointer{cursor:pointer}.tooltip-notification .tooltip-inner{border-radius:.25rem;color:#fff;max-width:200px;padding:3px 8px;text-align:center}.carousel-control-next-icon,.carousel-control-prev-icon{filter:drop-shadow(0 0 1px black)}.VueCarousel-dot--active:focus,.VueCarousel-dot:focus,.VueCarousel-navigation-button:focus,.VueCarousel:focus{outline:0!important}.status-content>p:first-child{display:inline}.follow-modal{max-width:400px!important}.square-content img{-o-object-fit:cover!important;object-fit:cover!important}.square .square-content canvas{height:100%;width:100%}.tribute-container{border:1px solid #ccc;box-shadow:0 1px 4px rgba(0,0,0,.13)}.tribute-container ul{background:#fff;border:1px solid rgba(0,0,0,.13)}.tribute-container li{color:#000}.tribute-container li.highlight,.tribute-container li:hover{background:#2c78bf}.content-label-wrapper div:not(.content-label){height:100%}.content-label-text{width:80%}@media(min-width:768px){.content-label-text{width:50%}}.text-dark{color:#adafae!important}.border-left{background:#adafae!important}.border-top{border-top:1px solid #282828!important}.border-bottom{border-bottom:1px solid #282828!important}.btn-outline-light{border-color:#e2e8f0!important;color:#e2e8f0!important}.autocomplete-result-list,.bg-white,.card,.dropdown-menu,.list-group-item,.modal-content,.navbar-laravel,.postComponent .card-body.flex-grow-0.py-1,.postComponent .reactions,.postComponent .status-comments,.postPresenterContainer,span.twitter-typeahead .tt-menu{background:#000!important}.story-viewer-component-card{background:transparent!important}.autocomplete-result-list{z-index:99999}.pill-to{background:#282828!important}.chat-msg:hover,.dropdown-item:focus,.dropdown-item:hover,.result-card .media:hover,.tt-suggestion:focus,.tt-suggestion:hover,span.twitter-typeahead .tt-suggestion:focus,span.twitter-typeahead .tt-suggestion:hover{background:#181818!important}.notification-card .contents,body,html{scrollbar-color:dark}.form-control,.img-thumbnail,.modal-content{border:1px solid #282828!important}.navbar.border-bottom{border-color:#282828!important}.postComponent .border-left{border-left:0!important}.postComponent .card-header{border-radius:0}input,textarea{background:#000!important;color:#e2e8f0!important}.far,.fas,.navbar-laravel .nav-link .d-md-block,.navbar-laravel .nav-link.dropdown-toggle .far,.navbar-laravel .nav-link.dropdown-toggle:after,.navbar-laravel .navbar-brand span{color:#adafae!important}.btn-outline-primary{border-color:#4a5568!important}.postComponent .status-comments{border-bottom:1px solid #282828!important;border-top:1px solid #282828!important}.messages-page .card-header{border-bottom:1px solid #282828}hr{border-color:#282828!important}::-webkit-scrollbar{width:15px}::-webkit-scrollbar-track{background:#202020;border-left:1px solid #2c2c2c}::-webkit-scrollbar-thumb{background:#3e3e3e;border:3px solid #202020;border-radius:7px}::-webkit-scrollbar-thumb:hover{background:#fff}/*! Instagram.css v0.1.3 | MIT License | github.com/picturepan2/instagram.css */[class*=filter-]{position:relative}[class*=filter-]:before{display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.filter-1977{filter:sepia(.5) hue-rotate(-30deg) saturate(1.4)}.filter-aden{filter:sepia(.2) brightness(1.15) saturate(1.4)}.filter-aden:before{background:rgba(125,105,24,.1);content:"";mix-blend-mode:multiply}.filter-amaro{filter:sepia(.35) contrast(1.1) brightness(1.2) saturate(1.3)}.filter-amaro:before{background:rgba(125,105,24,.2);content:"";mix-blend-mode:overlay}.filter-ashby{filter:sepia(.5) contrast(1.2) saturate(1.8)}.filter-ashby:before{background:rgba(125,105,24,.35);content:"";mix-blend-mode:lighten}.filter-brannan{filter:sepia(.4) contrast(1.25) brightness(1.1) saturate(.9) hue-rotate(-2deg)}.filter-brooklyn{filter:sepia(.25) contrast(1.25) brightness(1.25) hue-rotate(5deg)}.filter-brooklyn:before{background:rgba(127,187,227,.2);content:"";mix-blend-mode:overlay}.filter-charmes{filter:sepia(.25) contrast(1.25) brightness(1.25) saturate(1.35) hue-rotate(-5deg)}.filter-charmes:before{background:rgba(125,105,24,.25);content:"";mix-blend-mode:darken}.filter-clarendon{filter:sepia(.15) contrast(1.25) brightness(1.25) hue-rotate(5deg)}.filter-clarendon:before{background:rgba(127,187,227,.4);content:"";mix-blend-mode:overlay}.filter-crema{filter:sepia(.5) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-2deg)}.filter-crema:before{background:rgba(125,105,24,.2);content:"";mix-blend-mode:multiply}.filter-dogpatch{filter:sepia(.35) saturate(1.1) contrast(1.5)}.filter-earlybird{filter:sepia(.25) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-5deg)}.filter-earlybird:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(125,105,24,.2) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(125,105,24,.2) 100%);content:"";mix-blend-mode:multiply}.filter-gingham{filter:contrast(1.1) brightness(1.1)}.filter-gingham:before{background:#e6e6e6;content:"";mix-blend-mode:soft-light}.filter-ginza{filter:sepia(.25) contrast(1.15) brightness(1.2) saturate(1.35) hue-rotate(-5deg)}.filter-ginza:before{background:rgba(125,105,24,.15);content:"";mix-blend-mode:darken}.filter-hefe{filter:sepia(.4) contrast(1.5) brightness(1.2) saturate(1.4) hue-rotate(-10deg)}.filter-hefe:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(0,0,0,.25) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(0,0,0,.25) 100%);content:"";mix-blend-mode:multiply}.filter-helena{filter:sepia(.5) contrast(1.05) brightness(1.05) saturate(1.35)}.filter-helena:before{background:rgba(158,175,30,.25);content:"";mix-blend-mode:overlay}.filter-hudson{filter:sepia(.25) contrast(1.2) brightness(1.2) saturate(1.05) hue-rotate(-15deg)}.filter-hudson:before{background:radial-gradient(circle closest-corner,transparent 25%,rgba(25,62,167,.25) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 25%,rgba(25,62,167,.25) 100%);content:"";mix-blend-mode:multiply}.filter-inkwell{filter:brightness(1.25) contrast(.85) grayscale(1)}.filter-juno{filter:sepia(.35) contrast(1.15) brightness(1.15) saturate(1.8)}.filter-juno:before{background:rgba(127,187,227,.2);content:"";mix-blend-mode:overlay}.filter-kelvin{filter:sepia(.15) contrast(1.5) brightness(1.1) hue-rotate(-10deg)}.filter-kelvin:before{background:radial-gradient(circle closest-corner,rgba(128,78,15,.25) 0,rgba(128,78,15,.5) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(128,78,15,.25) 0,rgba(128,78,15,.5) 100%);content:"";mix-blend-mode:overlay}.filter-lark{filter:sepia(.25) contrast(1.2) brightness(1.3) saturate(1.25)}.filter-lofi{filter:saturate(1.1) contrast(1.5)}.filter-ludwig{filter:sepia(.25) contrast(1.05) brightness(1.05) saturate(2)}.filter-ludwig:before{background:rgba(125,105,24,.1);content:"";mix-blend-mode:overlay}.filter-maven{filter:sepia(.35) contrast(1.05) brightness(1.05) saturate(1.75)}.filter-maven:before{background:rgba(158,175,30,.25);content:"";mix-blend-mode:darken}.filter-mayfair{filter:contrast(1.1) brightness(1.15) saturate(1.1)}.filter-mayfair:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(175,105,24,.4) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(175,105,24,.4) 100%);content:"";mix-blend-mode:multiply}.filter-moon{filter:brightness(1.4) contrast(.95) saturate(0) sepia(.35)}.filter-nashville{filter:sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)}.filter-nashville:before{background:radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(128,78,15,.65) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(128,78,15,.65) 100%);content:"";mix-blend-mode:screen}.filter-perpetua{filter:contrast(1.1) brightness(1.25) saturate(1.1)}.filter-perpetua:before{background:linear-gradient(180deg,rgba(0,91,154,.25),rgba(230,193,61,.25));background:-webkit-linear-gradient(top,rgba(0,91,154,.25),rgba(230,193,61,.25));background:-webkit-gradient(linear,left top,left bottom,from(rgba(0,91,154,.25)),to(rgba(230,193,61,.25)));content:"";mix-blend-mode:multiply}.filter-poprocket{filter:sepia(.15) brightness(1.2)}.filter-poprocket:before{background:radial-gradient(circle closest-corner,rgba(206,39,70,.75) 40%,#000 80%);background:-webkit-radial-gradient(circle closest-corner,rgba(206,39,70,.75) 40%,#000 80%);content:"";mix-blend-mode:screen}.filter-reyes{filter:sepia(.75) contrast(.75) brightness(1.25) saturate(1.4)}.filter-rise{filter:sepia(.25) contrast(1.25) brightness(1.2) saturate(.9)}.filter-rise:before{background:radial-gradient(circle closest-corner,transparent 0,rgba(230,193,61,.25) 100%);background:-webkit-radial-gradient(circle closest-corner,transparent 0,rgba(230,193,61,.25) 100%);content:"";mix-blend-mode:lighten}.filter-sierra{filter:sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)}.filter-sierra:before{background:radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(0,0,0,.65) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(128,78,15,.5) 0,rgba(0,0,0,.65) 100%);content:"";mix-blend-mode:screen}.filter-skyline{filter:sepia(.15) contrast(1.25) brightness(1.25) saturate(1.2)}.filter-slumber{filter:sepia(.35) contrast(1.25) saturate(1.25)}.filter-slumber:before{background:rgba(125,105,24,.2);content:"";mix-blend-mode:darken}.filter-stinson{filter:sepia(.35) contrast(1.25) brightness(1.1) saturate(1.25)}.filter-stinson:before{background:rgba(125,105,24,.45);content:"";mix-blend-mode:lighten}.filter-sutro{filter:sepia(.4) contrast(1.2) brightness(.9) saturate(1.4) hue-rotate(-10deg)}.filter-sutro:before{background:radial-gradient(circle closest-corner,transparent 50%,rgba(0,0,0,.5) 90%);background:-webkit-radial-gradient(circle closest-corner,transparent 50%,rgba(0,0,0,.5) 90%);content:"";mix-blend-mode:darken}.filter-toaster{filter:sepia(.25) contrast(1.5) brightness(.95) hue-rotate(-15deg)}.filter-toaster:before{background:radial-gradient(circle,#804e0f,rgba(0,0,0,.25));background:-webkit-radial-gradient(circle,#804e0f,rgba(0,0,0,.25));content:"";mix-blend-mode:screen}.filter-valencia{filter:sepia(.25) contrast(1.1) brightness(1.1)}.filter-valencia:before{background:rgba(230,193,61,.1);content:"";mix-blend-mode:lighten}.filter-vesper{filter:sepia(.35) contrast(1.15) brightness(1.2) saturate(1.3)}.filter-vesper:before{background:rgba(125,105,24,.25);content:"";mix-blend-mode:overlay}.filter-walden{filter:sepia(.35) contrast(.8) brightness(1.25) saturate(1.4)}.filter-walden:before{background:hsla(66,79%,72%,.5);content:"";mix-blend-mode:darken}.filter-willow{filter:brightness(1.2) contrast(.85) saturate(.05) sepia(.2)}.filter-xpro-ii{filter:sepia(.45) contrast(1.25) brightness(1.75) saturate(1.3) hue-rotate(-5deg)}.filter-xpro-ii:before{background:radial-gradient(circle closest-corner,rgba(0,91,154,.35) 0,rgba(0,0,0,.65) 100%);background:-webkit-radial-gradient(circle closest-corner,rgba(0,91,154,.35) 0,rgba(0,0,0,.65) 100%);content:"";mix-blend-mode:multiply}span.twitter-typeahead{width:100%}span.twitter-typeahead .tt-menu{max-height:365px;overflow-y:auto;width:100%}span.twitter-typeahead .tt-suggestion.tt-cursor,span.twitter-typeahead .tt-suggestion:active{background:#fafafa;color:#212529}.input-group span.twitter-typeahead{align-items:center;display:flex!important;flex:1 1 auto;position:relative;width:1%}.input-group span.twitter-typeahead .tt-hint,.input-group span.twitter-typeahead .tt-input,.input-group span.twitter-typeahead .tt-menu{width:100%}.notification-page .list-group-item{background:transparent;border-bottom:0!important;border-left:0!important;border-right:0!important;padding-bottom:1rem;padding-top:1rem}.bg-moment-passion{background:#e53935;background:linear-gradient(270deg,#e35d5b,#e53935)}.bg-moment-azure{background:#7f7fd5;background:linear-gradient(270deg,#91eae4,#86a8e7,#7f7fd5)}.bg-moment-reef{background:#00d2ff;background:linear-gradient(90deg,#3a7bd5,#00d2ff)}.bg-moment-lush{background:#56ab2f;background:linear-gradient(270deg,#a8e063,#56ab2f)}.bg-moment-neon{background:#b3ffab;background:linear-gradient(90deg,#12fff7,#b3ffab)}.bg-moment-flare{background:#f12711;background:linear-gradient(270deg,#f5af19,#f12711)}.bg-moment-morning{background:#ff5f6d;background:linear-gradient(270deg,#ffc371,#ff5f6d)}.bg-moment-tranquil{background:#eecda3;background:linear-gradient(90deg,#ef629f,#eecda3)}.bg-moment-mauve{background:#42275a;background:linear-gradient(270deg,#734b6d,#42275a)}.bg-moment-argon{background:#03001e;background:linear-gradient(270deg,#fdeff9,#ec38bc,#7303c0,#03001e)}.bg-moment-royal{background:#141e30;background:linear-gradient(270deg,#243b55,#141e30)}.border{border-color:#282828!important}.tribute-container{display:block;height:auto;left:0;max-height:300px;max-width:500px;min-width:120px;overflow:auto;position:absolute;top:0;z-index:999999}.tribute-container,.tribute-container ul{border:1px solid #282828;border-radius:4px}.tribute-container ul{background:#181818;background-clip:padding-box;list-style:none;margin:2px 0 0;overflow:hidden;padding:0}.tribute-container li{color:#adafae;cursor:pointer;font-size:14px;overflow-x:hidden!important;padding:5px 15px}.tribute-container li span{font-weight:700}.tribute-container li.highlight,.tribute-container li:hover{background:#11304c;color:#fff}.tribute-container li.no-match{cursor:default}.tribute-container .menu-highlighted{font-weight:700} diff --git a/public/css/landing.css b/public/css/landing.css index f887ceb7e..c72597a2f 100644 --- a/public/css/landing.css +++ b/public/css/landing.css @@ -3,4 +3,4 @@ * Copyright 2011-2021 The Bootstrap Authors * Copyright 2011-2021 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#2c78bf;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#212529;--muted:#697179;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:sans-serif;line-height:1.15}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{background-color:rgba(247,251,253,.471);color:#212529;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.9rem;font-weight:400;line-height:1.6;margin:0;text-align:left}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;margin-top:0}p{margin-bottom:1rem;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{background-color:transparent;color:#2c78bf;text-decoration:none}a:hover{color:#1e5181;text-decoration:underline}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{-ms-overflow-style:scrollbar;margin-bottom:1rem;margin-top:0;overflow:auto}figure{margin:0 0 1rem}img{border-style:none}img,svg{vertical-align:middle}svg{overflow:hidden}table{border-collapse:collapse}caption{caption-side:bottom;color:#6c757d;padding-bottom:.75rem;padding-top:.75rem;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5rem;line-height:inherit;margin-bottom:.5rem;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{cursor:pointer;display:list-item}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-weight:500;line-height:1.2;margin-bottom:.5rem}.h1,h1{font-size:2.25rem}.h2,h2{font-size:1.8rem}.h3,h3{font-size:1.575rem}.h4,h4{font-size:1.35rem}.h5,h5{font-size:1.125rem}.h6,h6{font-size:.9rem}.lead{font-size:1.125rem;font-weight:300}.display-1{font-size:6rem}.display-1,.display-2{font-weight:300;line-height:1.2}.display-2{font-size:5.5rem}.display-3{font-size:4.5rem}.display-3,.display-4{font-weight:300;line-height:1.2}.display-4{font-size:3.5rem}hr{border:0;border-top:1px solid rgba(0,0,0,.1);margin-bottom:1rem;margin-top:1rem}.small,small{font-size:80%;font-weight:400}.mark,mark{background-color:#fcf8e3;padding:.2em}.list-inline,.list-unstyled{list-style:none;padding-left:0}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{font-size:1.125rem;margin-bottom:1rem}.blockquote-footer{color:#6c757d;display:block;font-size:80%}.blockquote-footer:before{content:"— "}.img-fluid,.img-thumbnail{height:auto;max-width:100%}.img-thumbnail{background-color:rgba(247,251,253,.471);border:1px solid #dee2e6;border-radius:.25rem;padding:.25rem}.figure{display:inline-block}.figure-img{line-height:1;margin-bottom:.5rem}.figure-caption{color:#6c757d;font-size:90%}code{word-wrap:break-word;color:#e83e8c;font-size:87.5%}a>code{color:inherit}kbd{background-color:#212529;border-radius:.2rem;color:#fff;font-size:87.5%;padding:.2rem .4rem}kbd kbd{font-size:100%;font-weight:700;padding:0}pre{color:#212529;display:block;font-size:87.5%}pre code{color:inherit;font-size:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;width:100%}@media(min-width:576px){.container,.container-sm{max-width:540px}}@media(min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media(min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media(min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:flex;flex-wrap:wrap;margin-left:-15px;margin-right:-15px}.no-gutters{margin-left:0;margin-right:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-left:0;padding-right:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{padding-left:15px;padding-right:15px;position:relative;width:100%}.col{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-1>*{flex:0 0 100%;max-width:100%}.row-cols-2>*{flex:0 0 50%;max-width:50%}.row-cols-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-4>*{flex:0 0 25%;max-width:25%}.row-cols-5>*{flex:0 0 20%;max-width:20%}.row-cols-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-auto{flex:0 0 auto;max-width:100%;width:auto}.col-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-3{flex:0 0 25%;max-width:25%}.col-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-6{flex:0 0 50%;max-width:50%}.col-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-9{flex:0 0 75%;max-width:75%}.col-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-12{flex:0 0 100%;max-width:100%}.order-first{order:-1}.order-last{order:13}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}@media(min-width:576px){.col-sm{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-sm-1>*{flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-sm-auto{flex:0 0 auto;max-width:100%;width:auto}.col-sm-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-sm-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-sm-3{flex:0 0 25%;max-width:25%}.col-sm-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-sm-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-sm-6{flex:0 0 50%;max-width:50%}.col-sm-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-sm-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-sm-9{flex:0 0 75%;max-width:75%}.col-sm-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-sm-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-sm-12{flex:0 0 100%;max-width:100%}.order-sm-first{order:-1}.order-sm-last{order:13}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}}@media(min-width:768px){.col-md{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-md-1>*{flex:0 0 100%;max-width:100%}.row-cols-md-2>*{flex:0 0 50%;max-width:50%}.row-cols-md-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-md-4>*{flex:0 0 25%;max-width:25%}.row-cols-md-5>*{flex:0 0 20%;max-width:20%}.row-cols-md-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-md-auto{flex:0 0 auto;max-width:100%;width:auto}.col-md-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-md-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-md-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-md-6{flex:0 0 50%;max-width:50%}.col-md-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-md-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-md-9{flex:0 0 75%;max-width:75%}.col-md-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-md-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-md-12{flex:0 0 100%;max-width:100%}.order-md-first{order:-1}.order-md-last{order:13}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}}@media(min-width:992px){.col-lg{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-lg-1>*{flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-lg-auto{flex:0 0 auto;max-width:100%;width:auto}.col-lg-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-lg-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-lg-3{flex:0 0 25%;max-width:25%}.col-lg-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-lg-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-lg-6{flex:0 0 50%;max-width:50%}.col-lg-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-lg-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-lg-9{flex:0 0 75%;max-width:75%}.col-lg-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-lg-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-lg-12{flex:0 0 100%;max-width:100%}.order-lg-first{order:-1}.order-lg-last{order:13}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}}@media(min-width:1200px){.col-xl{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-xl-1>*{flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-xl-auto{flex:0 0 auto;max-width:100%;width:auto}.col-xl-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-xl-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-xl-3{flex:0 0 25%;max-width:25%}.col-xl-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-xl-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-xl-6{flex:0 0 50%;max-width:50%}.col-xl-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-xl-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-xl-9{flex:0 0 75%;max-width:75%}.col-xl-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-xl-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-xl-12{flex:0 0 100%;max-width:100%}.order-xl-first{order:-1}.order-xl-last{order:13}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}}.table{color:#212529;margin-bottom:1rem;width:100%}.table td,.table th{border-top:1px solid #dee2e6;padding:.75rem;vertical-align:top}.table thead th{border-bottom:2px solid #dee2e6;vertical-align:bottom}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered,.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{background-color:rgba(0,0,0,.075);color:#212529}.table-primary,.table-primary>td,.table-primary>th{background-color:#c4d9ed}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#91b9de}.table-hover .table-primary:hover,.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#b0cce7}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover,.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover,.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover,.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover,.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover,.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover,.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c1c2c3}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#8c8e90}.table-hover .table-dark:hover,.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b4b5b6}.table-muted,.table-muted>td,.table-muted>th{background-color:#d5d7d9}.table-muted tbody+tbody,.table-muted td,.table-muted th,.table-muted thead th{border-color:#b1b5b9}.table-hover .table-muted:hover,.table-hover .table-muted:hover>td,.table-hover .table-muted:hover>th{background-color:#c8cacd}.table-active,.table-active>td,.table-active>th,.table-hover .table-active:hover,.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{background-color:#343a40;border-color:#454d55;color:#fff}.table .thead-light th{background-color:#e9ecef;border-color:#dee2e6;color:#495057}.table-dark{background-color:#343a40;color:#fff}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:hsla(0,0%,100%,.05)}.table-dark.table-hover tbody tr:hover{background-color:hsla(0,0%,100%,.075);color:#fff}@media(max-width:575.98px){.table-responsive-sm{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-sm>.table-bordered{border:0}}@media(max-width:767.98px){.table-responsive-md{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-md>.table-bordered{border:0}}@media(max-width:991.98px){.table-responsive-lg{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-lg>.table-bordered{border:0}}@media(max-width:1199.98px){.table-responsive-xl{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive>.table-bordered{border:0}.form-control{background-clip:padding-box;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem;color:#495057;display:block;font-size:.9rem;font-weight:400;height:2.375rem;line-height:1.6;padding:.375rem .75rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:focus{background-color:#fff;border-color:#87b7e3;box-shadow:0 0 0 .2rem rgba(44,120,191,.25);color:#495057;outline:0}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control:-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{-webkit-appearance:none;-moz-appearance:none;appearance:none}select.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}select.form-control:focus::-ms-value{background-color:#fff;color:#495057}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{font-size:inherit;line-height:1.6;margin-bottom:0;padding-bottom:calc(.375rem + 1px);padding-top:calc(.375rem + 1px)}.col-form-label-lg{font-size:1.125rem;line-height:1.5;padding-bottom:calc(.5rem + 1px);padding-top:calc(.5rem + 1px)}.col-form-label-sm{font-size:.7875rem;line-height:1.5;padding-bottom:calc(.25rem + 1px);padding-top:calc(.25rem + 1px)}.form-control-plaintext{background-color:transparent;border:solid transparent;border-width:1px 0;color:#212529;display:block;font-size:.9rem;line-height:1.6;margin-bottom:0;padding:.375rem 0;width:100%}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-left:0;padding-right:0}.form-control-sm{border-radius:.2rem;font-size:.7875rem;height:1.9375rem;line-height:1.5;padding:.25rem .5rem}.form-control-lg{border-radius:.3rem;font-size:1.125rem;height:3rem;line-height:1.5;padding:.5rem 1rem}select.form-control[multiple],select.form-control[size],textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:flex;flex-wrap:wrap;margin-left:-5px;margin-right:-5px}.form-row>.col,.form-row>[class*=col-]{padding-left:5px;padding-right:5px}.form-check{display:block;padding-left:1.25rem;position:relative}.form-check-input{margin-left:-1.25rem;margin-top:.3rem;position:absolute}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{align-items:center;display:inline-flex;margin-right:.75rem;padding-left:0}.form-check-inline .form-check-input{margin-left:0;margin-right:.3125rem;margin-top:0;position:static}.valid-feedback{color:#28a745;display:none;font-size:80%;margin-top:.25rem;width:100%}.valid-tooltip{background-color:rgba(40,167,69,.9);border-radius:.25rem;color:#fff;display:none;font-size:.7875rem;left:0;line-height:1.6;margin-top:.1rem;max-width:100%;padding:.25rem .5rem;position:absolute;top:100%;z-index:5}.form-row>.col>.valid-tooltip,.form-row>[class*=col-]>.valid-tooltip{left:5px}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%2328a745' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");background-position:right calc(.4em + .1875rem) center;background-repeat:no-repeat;background-size:calc(.8em + .375rem) calc(.8em + .375rem);border-color:#28a745;padding-right:calc(1.6em + .75rem)!important}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.was-validated select.form-control:valid,select.form-control.is-valid{background-position:right 1.5rem center;padding-right:3rem!important}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{background-position:top calc(.4em + .1875rem) right calc(.4em + .1875rem);padding-right:calc(1.6em + .75rem)}.custom-select.is-valid,.was-validated .custom-select:valid{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%2328a745' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E") center right 1.75rem/calc(.8em + .375rem) calc(.8em + .375rem) no-repeat;border-color:#28a745;padding-right:calc(.75em + 2.3125rem)!important}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label:before,.was-validated .custom-control-input:valid~.custom-control-label:before{border-color:#28a745}.custom-control-input.is-valid:checked~.custom-control-label:before,.was-validated .custom-control-input:valid:checked~.custom-control-label:before{background-color:#34ce57;border-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label:before,.was-validated .custom-control-input:valid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label:before{border-color:#28a745}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.invalid-feedback{color:#dc3545;display:none;font-size:80%;margin-top:.25rem;width:100%}.invalid-tooltip{background-color:rgba(220,53,69,.9);border-radius:.25rem;color:#fff;display:none;font-size:.7875rem;left:0;line-height:1.6;margin-top:.1rem;max-width:100%;padding:.25rem .5rem;position:absolute;top:100%;z-index:5}.form-row>.col>.invalid-tooltip,.form-row>[class*=col-]>.invalid-tooltip{left:5px}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E");background-position:right calc(.4em + .1875rem) center;background-repeat:no-repeat;background-size:calc(.8em + .375rem) calc(.8em + .375rem);border-color:#dc3545;padding-right:calc(1.6em + .75rem)!important}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.was-validated select.form-control:invalid,select.form-control.is-invalid{background-position:right 1.5rem center;padding-right:3rem!important}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{background-position:top calc(.4em + .1875rem) right calc(.4em + .1875rem);padding-right:calc(1.6em + .75rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E") center right 1.75rem/calc(.8em + .375rem) calc(.8em + .375rem) no-repeat;border-color:#dc3545;padding-right:calc(.75em + 2.3125rem)!important}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label:before,.was-validated .custom-control-input:invalid~.custom-control-label:before{border-color:#dc3545}.custom-control-input.is-invalid:checked~.custom-control-label:before,.was-validated .custom-control-input:invalid:checked~.custom-control-label:before{background-color:#e4606d;border-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label:before{border-color:#dc3545}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-inline{align-items:center;display:flex;flex-flow:row wrap}.form-inline .form-check{width:100%}@media(min-width:576px){.form-inline label{justify-content:center}.form-inline .form-group,.form-inline label{align-items:center;display:flex;margin-bottom:0}.form-inline .form-group{flex:0 0 auto;flex-flow:row wrap}.form-inline .form-control{display:inline-block;vertical-align:middle;width:auto}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{align-items:center;display:flex;justify-content:center;padding-left:0;width:auto}.form-inline .form-check-input{flex-shrink:0;margin-left:0;margin-right:.25rem;margin-top:0;position:relative}.form-inline .custom-control{align-items:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{background-color:transparent;border:1px solid transparent;border-radius:.25rem;color:#212529;display:inline-block;font-size:.9rem;font-weight:400;line-height:1.6;padding:.375rem .75rem;text-align:center;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}@media(prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:0}.btn.disabled,.btn:disabled{opacity:.65}.btn:not(:disabled):not(.disabled){cursor:pointer}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-primary.focus,.btn-primary:focus,.btn-primary:hover{background-color:#2564a0;border-color:#225e96;color:#fff}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem rgba(76,140,201,.5)}.btn-primary.disabled,.btn-primary:disabled{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{background-color:#225e96;border-color:#20578b;color:#fff}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(76,140,201,.5)}.btn-secondary{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-secondary.focus,.btn-secondary:focus,.btn-secondary:hover{background-color:#5a6268;border-color:#545b62;color:#fff}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 0 0 .2rem hsla(208,6%,54%,.5)}.btn-secondary.disabled,.btn-secondary:disabled{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{background-color:#545b62;border-color:#4e555b;color:#fff}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(208,6%,54%,.5)}.btn-success{background-color:#28a745;border-color:#28a745;color:#fff}.btn-success.focus,.btn-success:focus,.btn-success:hover{background-color:#218838;border-color:#1e7e34;color:#fff}.btn-success.focus,.btn-success:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-success.disabled,.btn-success:disabled{background-color:#28a745;border-color:#28a745;color:#fff}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{background-color:#1e7e34;border-color:#1c7430;color:#fff}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-info{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-info.focus,.btn-info:focus,.btn-info:hover{background-color:#138496;border-color:#117a8b;color:#fff}.btn-info.focus,.btn-info:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-info.disabled,.btn-info:disabled{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{background-color:#117a8b;border-color:#10707f;color:#fff}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-warning{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-warning.focus,.btn-warning:focus,.btn-warning:hover{background-color:#e0a800;border-color:#d39e00;color:#212529}.btn-warning.focus,.btn-warning:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-warning.disabled,.btn-warning:disabled{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{background-color:#d39e00;border-color:#c69500;color:#212529}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-danger{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-danger.focus,.btn-danger:focus,.btn-danger:hover{background-color:#c82333;border-color:#bd2130;color:#fff}.btn-danger.focus,.btn-danger:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{background-color:#bd2130;border-color:#b21f2d;color:#fff}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-light{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-light.focus,.btn-light:focus,.btn-light:hover{background-color:#e2e6ea;border-color:#dae0e5;color:#212529}.btn-light.focus,.btn-light:focus{box-shadow:0 0 0 .2rem hsla(220,4%,85%,.5)}.btn-light.disabled,.btn-light:disabled{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{background-color:#dae0e5;border-color:#d3d9df;color:#212529}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(220,4%,85%,.5)}.btn-dark{background-color:#212529;border-color:#212529;color:#fff}.btn-dark.focus,.btn-dark:focus,.btn-dark:hover{background-color:#101214;border-color:#0a0c0d;color:#fff}.btn-dark.focus,.btn-dark:focus{box-shadow:0 0 0 .2rem rgba(66,70,73,.5)}.btn-dark.disabled,.btn-dark:disabled{background-color:#212529;border-color:#212529;color:#fff}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{background-color:#0a0c0d;border-color:#050506;color:#fff}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(66,70,73,.5)}.btn-muted{background-color:#697179;border-color:#697179;color:#fff}.btn-muted.focus,.btn-muted:focus,.btn-muted:hover{background-color:#575e65;border-color:#51585e;color:#fff}.btn-muted.focus,.btn-muted:focus{box-shadow:0 0 0 .2rem hsla(212,5%,53%,.5)}.btn-muted.disabled,.btn-muted:disabled{background-color:#697179;border-color:#697179;color:#fff}.btn-muted:not(:disabled):not(.disabled).active,.btn-muted:not(:disabled):not(.disabled):active,.show>.btn-muted.dropdown-toggle{background-color:#51585e;border-color:#4b5157;color:#fff}.btn-muted:not(:disabled):not(.disabled).active:focus,.btn-muted:not(:disabled):not(.disabled):active:focus,.show>.btn-muted.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(212,5%,53%,.5)}.btn-outline-primary{border-color:#2c78bf;color:#2c78bf}.btn-outline-primary:hover{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{background-color:transparent;color:#2c78bf}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.5)}.btn-outline-secondary{border-color:#6c757d;color:#6c757d}.btn-outline-secondary:hover{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem hsla(208,7%,46%,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{background-color:transparent;color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(208,7%,46%,.5)}.btn-outline-success{border-color:#28a745;color:#28a745}.btn-outline-success:hover{background-color:#28a745;border-color:#28a745;color:#fff}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{background-color:transparent;color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{background-color:#28a745;border-color:#28a745;color:#fff}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-info{border-color:#17a2b8;color:#17a2b8}.btn-outline-info:hover{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{background-color:transparent;color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-warning{border-color:#ffc107;color:#ffc107}.btn-outline-warning:hover{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{background-color:transparent;color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-danger{border-color:#dc3545;color:#dc3545}.btn-outline-danger:hover{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{background-color:transparent;color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-light{border-color:#f8f9fa;color:#f8f9fa}.btn-outline-light:hover{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{background-color:transparent;color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-dark{border-color:#212529;color:#212529}.btn-outline-dark:hover{background-color:#212529;border-color:#212529;color:#fff}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem rgba(33,37,41,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{background-color:transparent;color:#212529}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{background-color:#212529;border-color:#212529;color:#fff}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(33,37,41,.5)}.btn-outline-muted{border-color:#697179;color:#697179}.btn-outline-muted:hover{background-color:#697179;border-color:#697179;color:#fff}.btn-outline-muted.focus,.btn-outline-muted:focus{box-shadow:0 0 0 .2rem hsla(210,7%,44%,.5)}.btn-outline-muted.disabled,.btn-outline-muted:disabled{background-color:transparent;color:#697179}.btn-outline-muted:not(:disabled):not(.disabled).active,.btn-outline-muted:not(:disabled):not(.disabled):active,.show>.btn-outline-muted.dropdown-toggle{background-color:#697179;border-color:#697179;color:#fff}.btn-outline-muted:not(:disabled):not(.disabled).active:focus,.btn-outline-muted:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-muted.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(210,7%,44%,.5)}.btn-link{color:#2c78bf;font-weight:400;text-decoration:none}.btn-link:hover{color:#1e5181}.btn-link.focus,.btn-link:focus,.btn-link:hover{text-decoration:underline}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{border-radius:.3rem;font-size:1.125rem;line-height:1.5;padding:.5rem 1rem}.btn-group-sm>.btn,.btn-sm{border-radius:.2rem;font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media(prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;position:relative;transition:height .35s ease}@media(prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{border-bottom:0;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:.3em solid;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{background-clip:padding-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;color:#212529;display:none;float:left;font-size:.9rem;left:0;list-style:none;margin:.125rem 0 0;min-width:10rem;padding:.5rem 0;position:absolute;text-align:left;top:100%;z-index:1000}.dropdown-menu-left{left:0;right:auto}.dropdown-menu-right{left:auto;right:0}@media(min-width:576px){.dropdown-menu-sm-left{left:0;right:auto}.dropdown-menu-sm-right{left:auto;right:0}}@media(min-width:768px){.dropdown-menu-md-left{left:0;right:auto}.dropdown-menu-md-right{left:auto;right:0}}@media(min-width:992px){.dropdown-menu-lg-left{left:0;right:auto}.dropdown-menu-lg-right{left:auto;right:0}}@media(min-width:1200px){.dropdown-menu-xl-left{left:0;right:auto}.dropdown-menu-xl-right{left:auto;right:0}}.dropup .dropdown-menu{bottom:100%;margin-bottom:.125rem;margin-top:0;top:auto}.dropup .dropdown-toggle:after{border-bottom:.3em solid;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:0;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-menu{left:100%;margin-left:.125rem;margin-top:0;right:auto;top:0}.dropright .dropdown-toggle:after{border-bottom:.3em solid transparent;border-left:.3em solid;border-right:0;border-top:.3em solid transparent;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropright .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-toggle:after{vertical-align:0}.dropleft .dropdown-menu{left:auto;margin-right:.125rem;margin-top:0;right:100%;top:0}.dropleft .dropdown-toggle:after{content:"";display:inline-block;display:none;margin-left:.255em;vertical-align:.255em}.dropleft .dropdown-toggle:before{border-bottom:.3em solid transparent;border-right:.3em solid;border-top:.3em solid transparent;content:"";display:inline-block;margin-right:.255em;vertical-align:.255em}.dropleft .dropdown-toggle:empty:after{margin-left:0}.dropleft .dropdown-toggle:before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top]{bottom:auto;right:auto}.dropdown-divider{border-top:1px solid #e9ecef;height:0;margin:.5rem 0;overflow:hidden}.dropdown-item{background-color:transparent;border:0;clear:both;color:#212529;display:block;font-weight:400;padding:.25rem 1.5rem;text-align:inherit;white-space:nowrap;width:100%}.dropdown-item:focus,.dropdown-item:hover{background-color:#e9ecef;color:#16181b;text-decoration:none}.dropdown-item.active,.dropdown-item:active{background-color:#2c78bf;color:#fff;text-decoration:none}.dropdown-item.disabled,.dropdown-item:disabled{background-color:transparent;color:#adb5bd;pointer-events:none}.dropdown-menu.show{display:block}.dropdown-header{color:#6c757d;display:block;font-size:.7875rem;margin-bottom:0;padding:.5rem 1.5rem;white-space:nowrap}.dropdown-item-text{color:#212529;display:block;padding:.25rem 1.5rem}.btn-group,.btn-group-vertical{display:inline-flex;position:relative;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{flex:1 1 auto;position:relative}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.dropdown-toggle-split{padding-left:.5625rem;padding-right:.5625rem}.dropdown-toggle-split:after,.dropright .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropleft .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-left:.375rem;padding-right:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-left:.75rem;padding-right:.75rem}.btn-group-vertical{align-items:flex-start;flex-direction:column;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-left-radius:0;border-bottom-right-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{clip:rect(0,0,0,0);pointer-events:none;position:absolute}.input-group{align-items:stretch;display:flex;flex-wrap:wrap;position:relative;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{flex:1 1 auto;margin-bottom:0;min-width:0;position:relative;width:1%}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group>.custom-file{align-items:center;display:flex}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label:after{border-bottom-right-radius:0;border-top-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-bottom-left-radius:0;border-top-left-radius:0}.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label,.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label:after,.input-group.has-validation>.custom-select:nth-last-child(n+3),.input-group.has-validation>.form-control:nth-last-child(n+3),.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label,.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label:after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.input-group-append,.input-group-prepend{display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{align-items:center;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem;color:#495057;display:flex;font-size:.9rem;font-weight:400;line-height:1.6;margin-bottom:0;padding:.375rem .75rem;text-align:center;white-space:nowrap}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:3rem}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{border-radius:.3rem;font-size:1.125rem;line-height:1.5;padding:.5rem 1rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:1.9375rem}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{border-radius:.2rem;font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.btn,.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.input-group-text,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.btn,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-bottom-right-radius:0;border-top-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-bottom-left-radius:0;border-top-left-radius:0}.custom-control{color-adjust:exact;display:block;min-height:1.44rem;padding-left:1.5rem;position:relative;-webkit-print-color-adjust:exact;z-index:1}.custom-control-inline{display:inline-flex;margin-right:1rem}.custom-control-input{height:1.22rem;left:0;opacity:0;position:absolute;width:1rem;z-index:-1}.custom-control-input:checked~.custom-control-label:before{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.custom-control-input:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(44,120,191,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label:before{border-color:#87b7e3}.custom-control-input:not(:disabled):active~.custom-control-label:before{background-color:#b1d0ed;border-color:#b1d0ed;color:#fff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label:before,.custom-control-input[disabled]~.custom-control-label:before{background-color:#e9ecef}.custom-control-label{margin-bottom:0;position:relative;vertical-align:top}.custom-control-label:before{background-color:#dee2e6;border:1px solid #adb5bd;pointer-events:none}.custom-control-label:after,.custom-control-label:before{content:"";display:block;height:1rem;left:-1.5rem;position:absolute;top:.22rem;width:1rem}.custom-control-label:after{background:50%/50% 50% no-repeat}.custom-checkbox .custom-control-label:before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%23fff' d='m6.564.75-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:before{background-color:#2c78bf;border-color:#2c78bf}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-radio .custom-control-label:before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label:before{border-radius:.5rem;left:-2.25rem;pointer-events:all;width:1.75rem}.custom-switch .custom-control-label:after{background-color:#adb5bd;border-radius:.5rem;height:calc(1rem - 4px);left:calc(-2.25rem + 2px);top:calc(.22rem + 2px);transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:calc(1rem - 4px)}@media(prefers-reduced-motion:reduce){.custom-switch .custom-control-label:after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label:after{background-color:#dee2e6;transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right .75rem center/8px 10px no-repeat;border:1px solid #ced4da;border-radius:.25rem;color:#495057;display:inline-block;font-size:.9rem;font-weight:400;height:2.375rem;line-height:1.6;padding:.375rem 1.75rem .375rem .75rem;vertical-align:middle;width:100%}.custom-select:focus{border-color:#87b7e3;box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:0}.custom-select:focus::-ms-value{background-color:#fff;color:#495057}.custom-select[multiple],.custom-select[size]:not([size="1"]){background-image:none;height:auto;padding-right:.75rem}.custom-select:disabled{background-color:#e9ecef;color:#6c757d}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.custom-select-sm{font-size:.7875rem;height:1.9375rem;padding-bottom:.25rem;padding-left:.5rem;padding-top:.25rem}.custom-select-lg{font-size:1.125rem;height:3rem;padding-bottom:.5rem;padding-left:1rem;padding-top:.5rem}.custom-file{display:inline-block;margin-bottom:0}.custom-file,.custom-file-input{height:2.375rem;position:relative;width:100%}.custom-file-input{margin:0;opacity:0;overflow:hidden;z-index:2}.custom-file-input:focus~.custom-file-label{border-color:#87b7e3;box-shadow:0 0 0 .2rem rgba(44,120,191,.25)}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label:after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]:after{content:attr(data-browse)}.custom-file-label{background-color:#fff;border:1px solid #ced4da;border-radius:.25rem;font-weight:400;height:2.375rem;left:0;overflow:hidden;z-index:1}.custom-file-label,.custom-file-label:after{color:#495057;line-height:1.6;padding:.375rem .75rem;position:absolute;right:0;top:0}.custom-file-label:after{background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0;bottom:0;content:"Browse";display:block;height:calc(1.6em + .75rem);z-index:3}.custom-range{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;height:1.4rem;padding:0;width:100%}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px rgba(247,251,253,.471),0 0 0 .2rem rgba(44,120,191,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px rgba(247,251,253,.471),0 0 0 .2rem rgba(44,120,191,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px rgba(247,251,253,.471),0 0 0 .2rem rgba(44,120,191,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:#2c78bf;border:0;border-radius:1rem;height:1rem;margin-top:-.25rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b1d0ed}.custom-range::-webkit-slider-runnable-track{background-color:#dee2e6;border-color:transparent;border-radius:1rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:#2c78bf;border:0;border-radius:1rem;height:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b1d0ed}.custom-range::-moz-range-track{background-color:#dee2e6;border-color:transparent;border-radius:1rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-ms-thumb{appearance:none;background-color:#2c78bf;border:0;border-radius:1rem;height:1rem;margin-left:.2rem;margin-right:.2rem;margin-top:0;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#b1d0ed}.custom-range::-ms-track{background-color:transparent;border-color:transparent;border-width:.5rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-ms-fill-lower,.custom-range::-ms-fill-upper{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label:before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.custom-control-label:before,.custom-file-label,.custom-select{transition:none}}.nav{display:flex;flex-wrap:wrap;list-style:none;margin-bottom:0;padding-left:0}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;cursor:default;pointer-events:none}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem;margin-bottom:-1px}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{background-color:transparent;border-color:transparent;color:#6c757d}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{background-color:rgba(247,251,253,.471);border-color:#dee2e6 #dee2e6 rgba(247,251,253,.471);color:#495057}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{background-color:#2c78bf;color:#fff}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{padding:.5rem 1rem;position:relative}.navbar,.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.navbar-brand{display:inline-block;font-size:1.125rem;line-height:inherit;margin-right:1rem;padding-bottom:.32rem;padding-top:.32rem;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:flex;flex-direction:column;list-style:none;margin-bottom:0;padding-left:0}.navbar-nav .nav-link{padding-left:0;padding-right:0}.navbar-nav .dropdown-menu{float:none;position:static}.navbar-text{display:inline-block;padding-bottom:.5rem;padding-top:.5rem}.navbar-collapse{align-items:center;flex-basis:100%;flex-grow:1}.navbar-toggler{background-color:transparent;border:1px solid transparent;border-radius:.25rem;font-size:1.125rem;line-height:1;padding:.25rem .75rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{background:50%/100% 100% no-repeat;content:"";display:inline-block;height:1.5em;vertical-align:middle;width:1.5em}.navbar-nav-scroll{max-height:75vh;overflow-y:auto}@media(max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-left:0;padding-right:0}}@media(min-width:576px){.navbar-expand-sm{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{flex-wrap:nowrap}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media(max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-left:0;padding-right:0}}@media(min-width:768px){.navbar-expand-md{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{flex-wrap:nowrap}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media(max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-left:0;padding-right:0}}@media(min-width:992px){.navbar-expand-lg{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{flex-wrap:nowrap}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media(max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-left:0;padding-right:0}}@media(min-width:1200px){.navbar-expand-xl{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{flex-wrap:nowrap}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-left:0;padding-right:0}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{flex-wrap:nowrap}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.5)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand,.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:hsla(0,0%,100%,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:hsla(0,0%,100%,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{border-color:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")}.navbar-dark .navbar-text{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{word-wrap:break-word;background-clip:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.125);border-radius:.25rem;display:flex;flex-direction:column;min-width:0;position:relative}.card>hr{margin-left:0;margin-right:0}.card>.list-group{border-bottom:inherit;border-top:inherit}.card>.list-group:first-child{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px);border-top-width:0}.card>.list-group:last-child{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px);border-bottom-width:0}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{background-color:#fff;border-bottom:1px solid rgba(0,0,0,.125);margin-bottom:0;padding:.75rem 1.25rem}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{background-color:#fff;border-top:1px solid rgba(0,0,0,.125);padding:.75rem 1.25rem}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{border-bottom:0;margin-bottom:-.75rem}.card-header-pills,.card-header-tabs{margin-left:-.625rem;margin-right:-.625rem}.card-img-overlay{border-radius:calc(.25rem - 1px);bottom:0;left:0;padding:1.25rem;position:absolute;right:0;top:0}.card-img,.card-img-bottom,.card-img-top{flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media(min-width:576px){.card-deck{display:flex;flex-flow:row wrap;margin-left:-15px;margin-right:-15px}.card-deck .card{flex:1 0 0%;margin-bottom:0;margin-left:15px;margin-right:15px}}.card-group>.card{margin-bottom:15px}@media(min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{border-left:0;margin-left:0}.card-group>.card:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media(min-width:576px){.card-columns{-moz-column-count:3;column-count:3;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion{overflow-anchor:none}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{background-color:#e9ecef;border-radius:.25rem;display:flex;flex-wrap:wrap;list-style:none;margin-bottom:1rem;padding:.75rem 1rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item:before{color:#6c757d;content:"/";float:left;padding-right:.5rem}.breadcrumb-item+.breadcrumb-item:hover:before{text-decoration:underline;text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{border-radius:.25rem;display:flex;list-style:none;padding-left:0}.page-link{background-color:#fff;border:1px solid #dee2e6;color:#2c78bf;display:block;line-height:1.25;margin-left:-1px;padding:.5rem .75rem;position:relative}.page-link:hover{background-color:#e9ecef;border-color:#dee2e6;color:#1e5181;text-decoration:none;z-index:2}.page-link:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:0;z-index:3}.page-item:first-child .page-link{border-bottom-left-radius:.25rem;border-top-left-radius:.25rem;margin-left:0}.page-item:last-child .page-link{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.page-item.active .page-link{background-color:#2c78bf;border-color:#2c78bf;color:#fff;z-index:3}.page-item.disabled .page-link{background-color:#fff;border-color:#dee2e6;color:#6c757d;cursor:auto;pointer-events:none}.pagination-lg .page-link{font-size:1.125rem;line-height:1.5;padding:.75rem 1.5rem}.pagination-lg .page-item:first-child .page-link{border-bottom-left-radius:.3rem;border-top-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-bottom-right-radius:.3rem;border-top-right-radius:.3rem}.pagination-sm .page-link{font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.pagination-sm .page-item:first-child .page-link{border-bottom-left-radius:.2rem;border-top-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-bottom-right-radius:.2rem;border-top-right-radius:.2rem}.badge{border-radius:.25rem;display:inline-block;font-size:75%;font-weight:700;line-height:1;padding:.25em .4em;text-align:center;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;vertical-align:baseline;white-space:nowrap}@media(prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{border-radius:10rem;padding-left:.6em;padding-right:.6em}.badge-primary{background-color:#2c78bf;color:#fff}a.badge-primary:focus,a.badge-primary:hover{background-color:#225e96;color:#fff}a.badge-primary.focus,a.badge-primary:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.5);outline:0}.badge-secondary{background-color:#6c757d;color:#fff}a.badge-secondary:focus,a.badge-secondary:hover{background-color:#545b62;color:#fff}a.badge-secondary.focus,a.badge-secondary:focus{box-shadow:0 0 0 .2rem hsla(208,7%,46%,.5);outline:0}.badge-success{background-color:#28a745;color:#fff}a.badge-success:focus,a.badge-success:hover{background-color:#1e7e34;color:#fff}a.badge-success.focus,a.badge-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5);outline:0}.badge-info{background-color:#17a2b8;color:#fff}a.badge-info:focus,a.badge-info:hover{background-color:#117a8b;color:#fff}a.badge-info.focus,a.badge-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5);outline:0}.badge-warning{background-color:#ffc107;color:#212529}a.badge-warning:focus,a.badge-warning:hover{background-color:#d39e00;color:#212529}a.badge-warning.focus,a.badge-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5);outline:0}.badge-danger{background-color:#dc3545;color:#fff}a.badge-danger:focus,a.badge-danger:hover{background-color:#bd2130;color:#fff}a.badge-danger.focus,a.badge-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5);outline:0}.badge-light{background-color:#f8f9fa;color:#212529}a.badge-light:focus,a.badge-light:hover{background-color:#dae0e5;color:#212529}a.badge-light.focus,a.badge-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5);outline:0}.badge-dark{background-color:#212529;color:#fff}a.badge-dark:focus,a.badge-dark:hover{background-color:#0a0c0d;color:#fff}a.badge-dark.focus,a.badge-dark:focus{box-shadow:0 0 0 .2rem rgba(33,37,41,.5);outline:0}.badge-muted{background-color:#697179;color:#fff}a.badge-muted:focus,a.badge-muted:hover{background-color:#51585e;color:#fff}a.badge-muted.focus,a.badge-muted:focus{box-shadow:0 0 0 .2rem hsla(210,7%,44%,.5);outline:0}.jumbotron{background-color:#e9ecef;border-radius:.3rem;margin-bottom:2rem;padding:2rem 1rem}@media(min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{border-radius:0;padding-left:0;padding-right:0}.alert{border:1px solid transparent;border-radius:.25rem;margin-bottom:1rem;padding:.75rem 1.25rem;position:relative}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3.85rem}.alert-dismissible .close{color:inherit;padding:.75rem 1.25rem;position:absolute;right:0;top:0;z-index:2}.alert-primary{background-color:#d5e4f2;border-color:#c4d9ed;color:#173e63}.alert-primary hr{border-top-color:#b0cce7}.alert-primary .alert-link{color:#0d243a}.alert-secondary{background-color:#e2e3e5;border-color:#d6d8db;color:#383d41}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{background-color:#d4edda;border-color:#c3e6cb;color:#155724}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{background-color:#d1ecf1;border-color:#bee5eb;color:#0c5460}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{background-color:#fff3cd;border-color:#ffeeba;color:#856404}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{background-color:#f8d7da;border-color:#f5c6cb;color:#721c24}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{background-color:#fefefe;border-color:#fdfdfe;color:#818182}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{background-color:#d3d3d4;border-color:#c1c2c3;color:#111315}.alert-dark hr{border-top-color:#b4b5b6}.alert-dark .alert-link{color:#000}.alert-muted{background-color:#e1e3e4;border-color:#d5d7d9;color:#373b3f}.alert-muted hr{border-top-color:#c8cacd}.alert-muted .alert-link{color:#1f2224}@-webkit-keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}.progress{background-color:#e9ecef;border-radius:.25rem;font-size:.675rem;height:1rem;line-height:0}.progress,.progress-bar{display:flex;overflow:hidden}.progress-bar{background-color:#2c78bf;color:#fff;flex-direction:column;justify-content:center;text-align:center;transition:width .6s ease;white-space:nowrap}@media(prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media(prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{align-items:flex-start;display:flex}.media-body{flex:1}.list-group{border-radius:.25rem;display:flex;flex-direction:column;margin-bottom:0;padding-left:0}.list-group-item-action{color:#495057;text-align:inherit;width:100%}.list-group-item-action:focus,.list-group-item-action:hover{background-color:#f8f9fa;color:#495057;text-decoration:none;z-index:1}.list-group-item-action:active{background-color:#e9ecef;color:#212529}.list-group-item{background-color:#fff;border:1px solid rgba(0,0,0,.125);display:block;padding:.75rem 1.25rem;position:relative}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{background-color:#fff;color:#6c757d;pointer-events:none}.list-group-item.active{background-color:#2c78bf;border-color:#2c78bf;color:#fff;z-index:2}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{border-top-width:1px;margin-top:-1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}@media(min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-md>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{background-color:#c4d9ed;color:#173e63}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{background-color:#b0cce7;color:#173e63}.list-group-item-primary.list-group-item-action.active{background-color:#173e63;border-color:#173e63;color:#fff}.list-group-item-secondary{background-color:#d6d8db;color:#383d41}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{background-color:#c8cbcf;color:#383d41}.list-group-item-secondary.list-group-item-action.active{background-color:#383d41;border-color:#383d41;color:#fff}.list-group-item-success{background-color:#c3e6cb;color:#155724}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{background-color:#b1dfbb;color:#155724}.list-group-item-success.list-group-item-action.active{background-color:#155724;border-color:#155724;color:#fff}.list-group-item-info{background-color:#bee5eb;color:#0c5460}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{background-color:#abdde5;color:#0c5460}.list-group-item-info.list-group-item-action.active{background-color:#0c5460;border-color:#0c5460;color:#fff}.list-group-item-warning{background-color:#ffeeba;color:#856404}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{background-color:#ffe8a1;color:#856404}.list-group-item-warning.list-group-item-action.active{background-color:#856404;border-color:#856404;color:#fff}.list-group-item-danger{background-color:#f5c6cb;color:#721c24}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{background-color:#f1b0b7;color:#721c24}.list-group-item-danger.list-group-item-action.active{background-color:#721c24;border-color:#721c24;color:#fff}.list-group-item-light{background-color:#fdfdfe;color:#818182}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{background-color:#ececf6;color:#818182}.list-group-item-light.list-group-item-action.active{background-color:#818182;border-color:#818182;color:#fff}.list-group-item-dark{background-color:#c1c2c3;color:#111315}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{background-color:#b4b5b6;color:#111315}.list-group-item-dark.list-group-item-action.active{background-color:#111315;border-color:#111315;color:#fff}.list-group-item-muted{background-color:#d5d7d9;color:#373b3f}.list-group-item-muted.list-group-item-action:focus,.list-group-item-muted.list-group-item-action:hover{background-color:#c8cacd;color:#373b3f}.list-group-item-muted.list-group-item-action.active{background-color:#373b3f;border-color:#373b3f;color:#fff}.close{color:#000;float:right;font-size:1.35rem;font-weight:700;line-height:1;opacity:.5;text-shadow:0 1px 0 #fff}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{background-color:transparent;border:0;padding:0}a.close.disabled{pointer-events:none}.toast{background-clip:padding-box;background-color:hsla(0,0%,100%,.85);border:1px solid rgba(0,0,0,.1);border-radius:.25rem;box-shadow:0 .25rem .75rem rgba(0,0,0,.1);flex-basis:350px;font-size:.875rem;max-width:350px;opacity:0}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{align-items:center;background-clip:padding-box;background-color:hsla(0,0%,100%,.85);border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px);color:#6c757d;display:flex;padding:.25rem .75rem}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{display:none;height:100%;left:0;outline:0;overflow:hidden;position:fixed;top:0;width:100%;z-index:1050}.modal-dialog{margin:.5rem;pointer-events:none;position:relative;width:auto}.modal.fade .modal-dialog{transform:translateY(-50px);transition:transform .3s ease-out}@media(prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{align-items:center;display:flex;min-height:calc(100% - 1rem)}.modal-dialog-centered:before{content:"";display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-dialog-centered.modal-dialog-scrollable{flex-direction:column;height:100%;justify-content:center}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable:before{content:none}.modal-content{background-clip:padding-box;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;display:flex;flex-direction:column;outline:0;pointer-events:auto;position:relative;width:100%}.modal-backdrop{background-color:#000;height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:1040}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{align-items:flex-start;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px);display:flex;justify-content:space-between;padding:1rem}.modal-header .close{margin:-1rem -1rem -1rem auto;padding:1rem}.modal-title{line-height:1.6;margin-bottom:0}.modal-body{flex:1 1 auto;padding:1rem;position:relative}.modal-footer{align-items:center;border-bottom-left-radius:calc(.3rem - 1px);border-bottom-right-radius:calc(.3rem - 1px);border-top:1px solid #dee2e6;display:flex;flex-wrap:wrap;justify-content:flex-end;padding:.75rem}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{height:50px;overflow:scroll;position:absolute;top:-9999px;width:50px}@media(min-width:576px){.modal-dialog{margin:1.75rem auto;max-width:500px}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered:before{height:calc(100vh - 3.5rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-sm{max-width:300px}}@media(min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media(min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{word-wrap:break-word;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.7875rem;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.6;margin:0;opacity:0;position:absolute;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;z-index:1070}.tooltip.show{opacity:.9}.tooltip .arrow{display:block;height:.4rem;position:absolute;width:.8rem}.tooltip .arrow:before{border-color:transparent;border-style:solid;content:"";position:absolute}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow:before,.bs-tooltip-top .arrow:before{border-top-color:#000;border-width:.4rem .4rem 0;top:0}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{height:.8rem;left:0;width:.4rem}.bs-tooltip-auto[x-placement^=right] .arrow:before,.bs-tooltip-right .arrow:before{border-right-color:#000;border-width:.4rem .4rem .4rem 0;right:0}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.bs-tooltip-bottom .arrow:before{border-bottom-color:#000;border-width:0 .4rem .4rem;bottom:0}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{height:.8rem;right:0;width:.4rem}.bs-tooltip-auto[x-placement^=left] .arrow:before,.bs-tooltip-left .arrow:before{border-left-color:#000;border-width:.4rem 0 .4rem .4rem;left:0}.tooltip-inner{background-color:#000;border-radius:.25rem;color:#fff;max-width:200px;padding:.25rem .5rem;text-align:center}.popover{word-wrap:break-word;background-clip:padding-box;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.7875rem;font-style:normal;font-weight:400;left:0;letter-spacing:normal;line-break:auto;line-height:1.6;max-width:276px;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;top:0;white-space:normal;word-break:normal;word-spacing:normal;z-index:1060}.popover,.popover .arrow{display:block;position:absolute}.popover .arrow{height:.5rem;margin:0 .3rem;width:1rem}.popover .arrow:after,.popover .arrow:before{border-color:transparent;border-style:solid;content:"";display:block;position:absolute}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow:before,.bs-popover-top>.arrow:before{border-top-color:rgba(0,0,0,.25);border-width:.5rem .5rem 0;bottom:0}.bs-popover-auto[x-placement^=top]>.arrow:after,.bs-popover-top>.arrow:after{border-top-color:#fff;border-width:.5rem .5rem 0;bottom:1px}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{height:1rem;left:calc(-.5rem - 1px);margin:.3rem 0;width:.5rem}.bs-popover-auto[x-placement^=right]>.arrow:before,.bs-popover-right>.arrow:before{border-right-color:rgba(0,0,0,.25);border-width:.5rem .5rem .5rem 0;left:0}.bs-popover-auto[x-placement^=right]>.arrow:after,.bs-popover-right>.arrow:after{border-right-color:#fff;border-width:.5rem .5rem .5rem 0;left:1px}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow:before,.bs-popover-bottom>.arrow:before{border-bottom-color:rgba(0,0,0,.25);border-width:0 .5rem .5rem;top:0}.bs-popover-auto[x-placement^=bottom]>.arrow:after,.bs-popover-bottom>.arrow:after{border-bottom-color:#fff;border-width:0 .5rem .5rem;top:1px}.bs-popover-auto[x-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{border-bottom:1px solid #f7f7f7;content:"";display:block;left:50%;margin-left:-.5rem;position:absolute;top:0;width:1rem}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{height:1rem;margin:.3rem 0;right:calc(-.5rem - 1px);width:.5rem}.bs-popover-auto[x-placement^=left]>.arrow:before,.bs-popover-left>.arrow:before{border-left-color:rgba(0,0,0,.25);border-width:.5rem 0 .5rem .5rem;right:0}.bs-popover-auto[x-placement^=left]>.arrow:after,.bs-popover-left>.arrow:after{border-left-color:#fff;border-width:.5rem 0 .5rem .5rem;right:1px}.popover-header{background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px);font-size:.9rem;margin-bottom:0;padding:.5rem .75rem}.popover-header:empty{display:none}.popover-body{color:#212529;padding:.5rem .75rem}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{overflow:hidden;position:relative;width:100%}.carousel-inner:after{clear:both;content:"";display:block}.carousel-item{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:none;float:left;margin-right:-100%;position:relative;transition:transform .6s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transform:none;transition-property:opacity}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{opacity:1;z-index:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{opacity:0;transition:opacity 0s .6s;z-index:0}@media(prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{align-items:center;background:none;border:0;bottom:0;color:#fff;display:flex;justify-content:center;opacity:.5;padding:0;position:absolute;text-align:center;top:0;transition:opacity .15s ease;width:15%;z-index:1}@media(prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;opacity:.9;outline:0;text-decoration:none}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{background:50%/100% 100% no-repeat;display:inline-block;height:20px;width:20px}.carousel-control-prev-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8'%3E%3Cpath d='m5.25 0-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3E%3C/svg%3E")}.carousel-control-next-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8'%3E%3Cpath d='m2.75 0-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3E%3C/svg%3E")}.carousel-indicators{bottom:0;display:flex;justify-content:center;left:0;list-style:none;margin-left:15%;margin-right:15%;padding-left:0;position:absolute;right:0;z-index:15}.carousel-indicators li{background-clip:padding-box;background-color:#fff;border-bottom:10px solid transparent;border-top:10px solid transparent;box-sizing:content-box;cursor:pointer;flex:0 1 auto;height:3px;margin-left:3px;margin-right:3px;opacity:.5;text-indent:-999px;transition:opacity .6s ease;width:30px}@media(prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{bottom:20px;color:#fff;left:15%;padding-bottom:20px;padding-top:20px;position:absolute;right:15%;text-align:center;z-index:10}@-webkit-keyframes spinner-border{to{transform:rotate(1turn)}}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite;border:.25em solid;border-radius:50%;border-right:.25em solid transparent;display:inline-block;height:2rem;vertical-align:-.125em;width:2rem}.spinner-border-sm{border-width:.2em;height:1rem;width:1rem}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite;background-color:currentColor;border-radius:50%;display:inline-block;height:2rem;opacity:0;vertical-align:-.125em;width:2rem}.spinner-grow-sm{height:1rem;width:1rem}@media(prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{-webkit-animation-duration:1.5s;animation-duration:1.5s}}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#2c78bf!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#225e96!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#212529!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#0a0c0d!important}.bg-muted{background-color:#697179!important}a.bg-muted:focus,a.bg-muted:hover,button.bg-muted:focus,button.bg-muted:hover{background-color:#51585e!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#2c78bf!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#212529!important}.border-muted{border-color:#697179!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important}.rounded-right,.rounded-top{border-top-right-radius:.25rem!important}.rounded-bottom,.rounded-right{border-bottom-right-radius:.25rem!important}.rounded-bottom,.rounded-left{border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix:after{clear:both;content:"";display:block}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}@media(min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}}@media(min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}}@media(min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}}@media(min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}}.embed-responsive{display:block;overflow:hidden;padding:0;position:relative;width:100%}.embed-responsive:before{content:"";display:block}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{border:0;bottom:0;height:100%;left:0;position:absolute;top:0;width:100%}.embed-responsive-21by9:before{padding-top:42.85714286%}.embed-responsive-16by9:before{padding-top:56.25%}.embed-responsive-4by3:before{padding-top:75%}.embed-responsive-1by1:before{padding-top:100%}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}@media(min-width:576px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}}@media(min-width:768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}}@media(min-width:992px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}}@media(min-width:1200px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media(min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media(min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media(min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media(min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{top:0}.fixed-bottom,.fixed-top{left:0;position:fixed;right:0;z-index:1030}.fixed-bottom{bottom:0}@supports((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;overflow:visible;position:static;white-space:normal;width:auto}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media(min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media(min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media(min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media(min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.stretched-link:after{background-color:transparent;bottom:0;content:"";left:0;pointer-events:auto;position:absolute;right:0;top:0;z-index:1}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media(min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media(min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media(min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media(min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#2c78bf!important}a.text-primary:focus,a.text-primary:hover{color:#1e5181!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}a.text-dark:focus,a.text-dark:hover{color:#000!important}.text-muted{color:#697179!important}a.text-muted:focus,a.text-muted:hover{color:#454b50!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:hsla(0,0%,100%,.5)!important}.text-hide{background-color:transparent;border:0;color:transparent;font:0/0 a;text-shadow:none}.text-decoration-none{text-decoration:none!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,:after,:before{box-shadow:none!important;text-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]:after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd}blockquote,img,pre,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}.container,body{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{border-color:#dee2e6;color:inherit}}body,html{min-height:100vh}body{display:flex;flex-flow:column}#content{margin-bottom:auto!important}body,button,input,textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.navbar-laravel{background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.04)}.bg-pixelfed{background:#10c5f8;background:linear-gradient(to bottom right,#6736dd,#10c5f8)}@media(min-width:1200px){.container{max-width:935px}}.text-dark{color:#212529!important}.settings-nav .active .nav-link{font-weight:700}.card-disabled{background-color:#f5f5f5;opacity:.4}.card-img-top{height:auto}.card.status-container .status-photo{margin:auto!important}@media(min-width:768px){.card.status-container .status-comments{border-bottom:1px solid rgba(0,0,0,.1);height:200px;overflow-y:scroll}}.no-caret.dropdown-toggle{text-decoration:none!important}.no-caret.dropdown-toggle:after{display:none}.notification-page .profile-link{color:#212529;font-weight:700}.notification-page .list-group-item:first-child{border-top:none}.nav-topbar{border-top:1px solid #dee2e6}.nav-topbar .nav-item{margin:-1px 1.5rem 0}.nav-topbar .nav-link{border:1px solid transparent;color:#dee2e6;padding:.75rem 0}.nav-topbar .nav-link:focus,.nav-topbar .nav-link:hover{border-top-color:#dee2e6}.nav-topbar .nav-link.disabled{background-color:transparent;border-color:transparent;color:#dee2e6}.nav-topbar .nav-item.show .nav-link,.nav-topbar .nav-link.active{border-top-color:#6c757d;color:#6c757d}.nav-topbar .dropdown-menu{margin-top:-1px}.info-overlay{position:relative}.info-overlay .info-overlay-text{display:none;position:absolute}.info-overlay:hover .info-overlay-text{display:flex}@media(max-width:576px){.info-overlay:hover .info-overlay-text h5{font-size:12px}}.info-overlay-text,.info-overlay-text-label{background-color:rgba(0,0,0,.5);height:100%;width:100%}.info-overlay-text-label{display:flex;position:absolute}.info-overlay-text-label h5{z-index:2}.info-overlay:hover .info-overlay-text-label{display:none}.font-weight-lighter{font-weight:300!important}.font-weight-ultralight{font-weight:200!important}.square{position:relative;width:100%}.square:after{content:"";display:block;padding-bottom:100%}.square-content{background-position:50%;background-repeat:no-repeat;background-size:cover;height:100%;position:absolute;width:100%}@media(max-width:768px){.border-md-left-0{border-left:0!important}.card.status-container .status-comments{border-top:1px solid rgba(0,0,0,.1)}.sticky-md-bottom{bottom:0;position:-webkit-sticky;position:sticky;z-index:1020}}@media(max-width:576px){.card-md-border-0{border-radius:0!important;border-width:0!important}.card-md-rounded-0{border-radius:0!important;border-width:1px 0}}@-webkit-keyframes loading-bar{0%{background-position:0 0}to{background-position:100vw 0}}@keyframes loading-bar{0%{background-position:0 0}to{background-position:100vw 0}}.loading-page{-webkit-animation:loading-bar 3s linear infinite;animation:loading-bar 3s linear infinite;background-image:linear-gradient(90deg,#6736dd,#10c5f8,#10c5f8,#6736dd);height:.25rem;width:100vw}.liked{position:relative;z-index:1}.liked:after{-webkit-animation:liking 1.5s;animation:liking 1.5s;color:transparent;content:"";left:50%;position:absolute;top:0;z-index:-1}@-webkit-keyframes liking{0%{color:#ebf70e;font-size:0;top:.25rem;transform:rotate(0deg)}75%{font-size:2.8rem;left:-.55rem;opacity:1;top:-.55rem;transform:rotate(1turn)}to{font-size:0;left:.9rem;top:2.5rem;transform:rotate(1turn)}}@keyframes liking{0%{color:#ebf70e;font-size:0;top:.25rem;transform:rotate(0deg)}75%{font-size:2.8rem;left:-.55rem;opacity:1;top:-.55rem;transform:rotate(1turn)}to{font-size:0;left:.9rem;top:2.5rem;transform:rotate(1turn)}}.max-hide-overflow{max-height:500px;overflow-y:hidden}@media(min-width:0){.max-hide-overflow{max-height:600px!important}}@media(min-width:768px){.max-hide-overflow{max-height:800px!important}}@media(min-width:1200px){.max-hide-overflow{max-height:1000px!important}}.notification-image{background-position:50%;background-size:cover;height:32px;width:32px}.status-photo img{max-height:calc(100vh - 6rem);-o-object-fit:contain;object-fit:contain;width:100%}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}@-webkit-keyframes fadeInDown{0%{opacity:0;transform:translateY(-1.25em)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-1.25em)}to{opacity:1;transform:translateY(0)}}.details-animated[open]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:fadeInDown;animation-name:fadeInDown}.card{border:none;box-shadow:0 2px 6px 0 rgba(0,0,0,.2)}.card .comment-submit{border-radius:0 3px 3px 0;bottom:12px;display:none;position:absolute;right:20px;text-align:center;width:60px}.touch .card input[name=comment]{padding-right:70px}.touch .card .comment-submit{display:block}.box-shadow{box-shadow:0 2px 6px 0 rgba(0,0,0,.2)}.border-left-primary{border-left:3px solid #007bff}.settings-nav .nav-item.active .nav-link{font-weight:700!important}details summary::-webkit-details-marker{display:none!important}.details-animated>summary{background-color:#ecf0f1;display:flex;flex-flow:column;justify-content:center;padding-bottom:50px;padding-top:50px;text-align:center}@media(min-width:720px){.details-animated>summary{min-height:600px}}.details-animated[open]>summary{display:none!important}.profile-avatar img{-o-object-fit:cover;object-fit:cover}.tt-menu{border-radius:0 0 .25rem .25rem!important;padding:0!important}.tt-dataset .alert{border:0!important;border-radius:0!important}.input-elevated{background:#fff;border:none;border-radius:5px;box-shadow:0 2px 4px 0 rgba(0,0,0,.08);font-size:16px;line-height:1.5;padding:.5em 1em .5em .5em}.input-elevated::-moz-placeholder{color:#838d99}.input-elevated:-ms-input-placeholder{color:#838d99}.input-elevated::placeholder{color:#838d99}.input-elevated:focus{box-shadow:0 4px 10px 0 rgba(0,0,0,.16);outline:none}.icon-wrapper{background:#10c5f8;background:linear-gradient(to bottom right,#6736dd,#10c5f8);border-radius:50%;display:inline-flex;padding:14px}.border-left-blue{border-left:3px solid #10c5f8}.b-dropdown,.b-dropdown>button{padding:0!important}.lds-ring{display:inline-block;height:64px;position:relative;width:64px}.lds-ring div{-webkit-animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border:6px solid transparent;border-radius:50%;border-top-color:#6c757d;box-sizing:border-box;display:block;height:51px;margin:6px;position:absolute;width:51px}.lds-ring div:first-child{-webkit-animation-delay:-.45s;animation-delay:-.45s}.lds-ring div:nth-child(2){-webkit-animation-delay:-.3s;animation-delay:-.3s}.lds-ring div:nth-child(3){-webkit-animation-delay:-.15s;animation-delay:-.15s}@-webkit-keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.navbar .nav-notification.dropdown-toggle:after{display:none}.navbar .dropdown .nav-notification-dropdown{max-height:300px;overflow-y:scroll;padding-bottom:0;padding-top:0;width:500px}.nav-notification-dropdown .loader{padding-bottom:5rem;padding-top:5rem}.timeline-sidenav.nav-pills .nav-link{color:#6c757d}.timeline-sidenav.nav-pills .nav-link:hover{background:rgba(0,0,0,.04)}.timeline-sidenav.nav-pills .nav-link.active,.timeline-sidenav.nav-pills .show>.nav-link{background:transparent;border:1px solid #08d;color:#08d}.messages-page .bg-primary.text-white a{color:#fff}.notification-tooltip .tooltip-inner{font-weight:700}#previewAvatar img{height:auto;max-width:100%}.img-thumbnail{box-sizing:content-box}.media-drawer-filters img{-o-object-fit:contain;object-fit:contain}.reply-container .post-thumbnail{-o-object-fit:cover;object-fit:cover}#l-modal .modal-body,#s-modal .modal-body{height:60vh;overflow-y:scroll}#l-modal .modal-content,#s-modal .modal-content{border-radius:0}.btn-outline-lighter,.text-lighter{color:#b8c2cc!important}.btn-outline-lighter{border-color:#b8c2cc!important}.cursor-pointer{cursor:pointer}.tooltip-notification .tooltip-inner{border-radius:.25rem;color:#fff;max-width:200px;padding:3px 8px;text-align:center}.carousel-control-next-icon,.carousel-control-prev-icon{filter:drop-shadow(0 0 1px black)}.VueCarousel-dot--active:focus,.VueCarousel-dot:focus,.VueCarousel-navigation-button:focus,.VueCarousel:focus{outline:0!important}.status-content>p:first-child{display:inline}.follow-modal{max-width:400px!important}.square-content img{-o-object-fit:cover!important;object-fit:cover!important}.square .square-content canvas{height:100%;width:100%}.tribute-container{border:1px solid #ccc;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.13);display:block;height:auto;left:0;max-height:300px;max-width:500px;min-width:120px;overflow:auto;position:absolute;top:0;z-index:999999}.tribute-container ul{background:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.13);border-radius:4px;list-style:none;margin:2px 0 0;overflow:hidden;padding:0}.tribute-container li{color:#000;cursor:pointer;font-size:14px;overflow-x:hidden!important;padding:5px 15px}.tribute-container li.highlight,.tribute-container li:hover{background:#2c78bf;color:#fff}.tribute-container li.no-match{cursor:default}.tribute-container .menu-highlighted{font-weight:700}.container.slim{max-width:680px;padding:0 15px;width:auto} + */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#2c78bf;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#212529;--muted:#697179;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:sans-serif;line-height:1.15}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{background-color:rgba(247,251,253,.471);color:#212529;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.9rem;font-weight:400;line-height:1.6;margin:0;text-align:left}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;margin-top:0}p{margin-bottom:1rem;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{background-color:transparent;color:#2c78bf;text-decoration:none}a:hover{color:#1e5181;text-decoration:underline}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{-ms-overflow-style:scrollbar;margin-bottom:1rem;margin-top:0;overflow:auto}figure{margin:0 0 1rem}img{border-style:none}img,svg{vertical-align:middle}svg{overflow:hidden}table{border-collapse:collapse}caption{caption-side:bottom;color:#6c757d;padding-bottom:.75rem;padding-top:.75rem;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5rem;line-height:inherit;margin-bottom:.5rem;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{cursor:pointer;display:list-item}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-weight:500;line-height:1.2;margin-bottom:.5rem}.h1,h1{font-size:2.25rem}.h2,h2{font-size:1.8rem}.h3,h3{font-size:1.575rem}.h4,h4{font-size:1.35rem}.h5,h5{font-size:1.125rem}.h6,h6{font-size:.9rem}.lead{font-size:1.125rem;font-weight:300}.display-1{font-size:6rem}.display-1,.display-2{font-weight:300;line-height:1.2}.display-2{font-size:5.5rem}.display-3{font-size:4.5rem}.display-3,.display-4{font-weight:300;line-height:1.2}.display-4{font-size:3.5rem}hr{border:0;border-top:1px solid rgba(0,0,0,.1);margin-bottom:1rem;margin-top:1rem}.small,small{font-size:80%;font-weight:400}.mark,mark{background-color:#fcf8e3;padding:.2em}.list-inline,.list-unstyled{list-style:none;padding-left:0}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{font-size:1.125rem;margin-bottom:1rem}.blockquote-footer{color:#6c757d;display:block;font-size:80%}.blockquote-footer:before{content:"— "}.img-fluid,.img-thumbnail{height:auto;max-width:100%}.img-thumbnail{background-color:rgba(247,251,253,.471);border:1px solid #dee2e6;border-radius:.25rem;padding:.25rem}.figure{display:inline-block}.figure-img{line-height:1;margin-bottom:.5rem}.figure-caption{color:#6c757d;font-size:90%}code{word-wrap:break-word;color:#e83e8c;font-size:87.5%}a>code{color:inherit}kbd{background-color:#212529;border-radius:.2rem;color:#fff;font-size:87.5%;padding:.2rem .4rem}kbd kbd{font-size:100%;font-weight:700;padding:0}pre{color:#212529;display:block;font-size:87.5%}pre code{color:inherit;font-size:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;width:100%}@media(min-width:576px){.container,.container-sm{max-width:540px}}@media(min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media(min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media(min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:flex;flex-wrap:wrap;margin-left:-15px;margin-right:-15px}.no-gutters{margin-left:0;margin-right:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-left:0;padding-right:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{padding-left:15px;padding-right:15px;position:relative;width:100%}.col{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-1>*{flex:0 0 100%;max-width:100%}.row-cols-2>*{flex:0 0 50%;max-width:50%}.row-cols-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-4>*{flex:0 0 25%;max-width:25%}.row-cols-5>*{flex:0 0 20%;max-width:20%}.row-cols-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-auto{flex:0 0 auto;max-width:100%;width:auto}.col-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-3{flex:0 0 25%;max-width:25%}.col-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-6{flex:0 0 50%;max-width:50%}.col-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-9{flex:0 0 75%;max-width:75%}.col-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-12{flex:0 0 100%;max-width:100%}.order-first{order:-1}.order-last{order:13}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}@media(min-width:576px){.col-sm{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-sm-1>*{flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-sm-auto{flex:0 0 auto;max-width:100%;width:auto}.col-sm-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-sm-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-sm-3{flex:0 0 25%;max-width:25%}.col-sm-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-sm-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-sm-6{flex:0 0 50%;max-width:50%}.col-sm-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-sm-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-sm-9{flex:0 0 75%;max-width:75%}.col-sm-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-sm-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-sm-12{flex:0 0 100%;max-width:100%}.order-sm-first{order:-1}.order-sm-last{order:13}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}}@media(min-width:768px){.col-md{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-md-1>*{flex:0 0 100%;max-width:100%}.row-cols-md-2>*{flex:0 0 50%;max-width:50%}.row-cols-md-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-md-4>*{flex:0 0 25%;max-width:25%}.row-cols-md-5>*{flex:0 0 20%;max-width:20%}.row-cols-md-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-md-auto{flex:0 0 auto;max-width:100%;width:auto}.col-md-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-md-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-md-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-md-6{flex:0 0 50%;max-width:50%}.col-md-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-md-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-md-9{flex:0 0 75%;max-width:75%}.col-md-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-md-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-md-12{flex:0 0 100%;max-width:100%}.order-md-first{order:-1}.order-md-last{order:13}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}}@media(min-width:992px){.col-lg{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-lg-1>*{flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-lg-auto{flex:0 0 auto;max-width:100%;width:auto}.col-lg-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-lg-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-lg-3{flex:0 0 25%;max-width:25%}.col-lg-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-lg-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-lg-6{flex:0 0 50%;max-width:50%}.col-lg-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-lg-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-lg-9{flex:0 0 75%;max-width:75%}.col-lg-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-lg-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-lg-12{flex:0 0 100%;max-width:100%}.order-lg-first{order:-1}.order-lg-last{order:13}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}}@media(min-width:1200px){.col-xl{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-xl-1>*{flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{flex:0 0 33.3333333333%;max-width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-xl-auto{flex:0 0 auto;max-width:100%;width:auto}.col-xl-1{flex:0 0 8.33333333%;max-width:8.33333333%}.col-xl-2{flex:0 0 16.66666667%;max-width:16.66666667%}.col-xl-3{flex:0 0 25%;max-width:25%}.col-xl-4{flex:0 0 33.33333333%;max-width:33.33333333%}.col-xl-5{flex:0 0 41.66666667%;max-width:41.66666667%}.col-xl-6{flex:0 0 50%;max-width:50%}.col-xl-7{flex:0 0 58.33333333%;max-width:58.33333333%}.col-xl-8{flex:0 0 66.66666667%;max-width:66.66666667%}.col-xl-9{flex:0 0 75%;max-width:75%}.col-xl-10{flex:0 0 83.33333333%;max-width:83.33333333%}.col-xl-11{flex:0 0 91.66666667%;max-width:91.66666667%}.col-xl-12{flex:0 0 100%;max-width:100%}.order-xl-first{order:-1}.order-xl-last{order:13}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}}.table{color:#212529;margin-bottom:1rem;width:100%}.table td,.table th{border-top:1px solid #dee2e6;padding:.75rem;vertical-align:top}.table thead th{border-bottom:2px solid #dee2e6;vertical-align:bottom}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered,.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{background-color:rgba(0,0,0,.075);color:#212529}.table-primary,.table-primary>td,.table-primary>th{background-color:#c4d9ed}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#91b9de}.table-hover .table-primary:hover,.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#b0cce7}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover,.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover,.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover,.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover,.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover,.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover,.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c1c2c3}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#8c8e90}.table-hover .table-dark:hover,.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b4b5b6}.table-muted,.table-muted>td,.table-muted>th{background-color:#d5d7d9}.table-muted tbody+tbody,.table-muted td,.table-muted th,.table-muted thead th{border-color:#b1b5b9}.table-hover .table-muted:hover,.table-hover .table-muted:hover>td,.table-hover .table-muted:hover>th{background-color:#c8cacd}.table-active,.table-active>td,.table-active>th,.table-hover .table-active:hover,.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{background-color:#343a40;border-color:#454d55;color:#fff}.table .thead-light th{background-color:#e9ecef;border-color:#dee2e6;color:#495057}.table-dark{background-color:#343a40;color:#fff}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:hsla(0,0%,100%,.05)}.table-dark.table-hover tbody tr:hover{background-color:hsla(0,0%,100%,.075);color:#fff}@media(max-width:575.98px){.table-responsive-sm{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-sm>.table-bordered{border:0}}@media(max-width:767.98px){.table-responsive-md{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-md>.table-bordered{border:0}}@media(max-width:991.98px){.table-responsive-lg{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-lg>.table-bordered{border:0}}@media(max-width:1199.98px){.table-responsive-xl{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}.table-responsive>.table-bordered{border:0}.form-control{background-clip:padding-box;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem;color:#495057;display:block;font-size:.9rem;font-weight:400;height:2.375rem;line-height:1.6;padding:.375rem .75rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:focus{background-color:#fff;border-color:#87b7e3;box-shadow:0 0 0 .2rem rgba(44,120,191,.25);color:#495057;outline:0}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control:-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{-webkit-appearance:none;-moz-appearance:none;appearance:none}select.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}select.form-control:focus::-ms-value{background-color:#fff;color:#495057}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{font-size:inherit;line-height:1.6;margin-bottom:0;padding-bottom:calc(.375rem + 1px);padding-top:calc(.375rem + 1px)}.col-form-label-lg{font-size:1.125rem;line-height:1.5;padding-bottom:calc(.5rem + 1px);padding-top:calc(.5rem + 1px)}.col-form-label-sm{font-size:.7875rem;line-height:1.5;padding-bottom:calc(.25rem + 1px);padding-top:calc(.25rem + 1px)}.form-control-plaintext{background-color:transparent;border:solid transparent;border-width:1px 0;color:#212529;display:block;font-size:.9rem;line-height:1.6;margin-bottom:0;padding:.375rem 0;width:100%}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-left:0;padding-right:0}.form-control-sm{border-radius:.2rem;font-size:.7875rem;height:1.9375rem;line-height:1.5;padding:.25rem .5rem}.form-control-lg{border-radius:.3rem;font-size:1.125rem;height:3rem;line-height:1.5;padding:.5rem 1rem}select.form-control[multiple],select.form-control[size],textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:flex;flex-wrap:wrap;margin-left:-5px;margin-right:-5px}.form-row>.col,.form-row>[class*=col-]{padding-left:5px;padding-right:5px}.form-check{display:block;padding-left:1.25rem;position:relative}.form-check-input{margin-left:-1.25rem;margin-top:.3rem;position:absolute}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{align-items:center;display:inline-flex;margin-right:.75rem;padding-left:0}.form-check-inline .form-check-input{margin-left:0;margin-right:.3125rem;margin-top:0;position:static}.valid-feedback{color:#28a745;display:none;font-size:80%;margin-top:.25rem;width:100%}.valid-tooltip{background-color:rgba(40,167,69,.9);border-radius:.25rem;color:#fff;display:none;font-size:.7875rem;left:0;line-height:1.6;margin-top:.1rem;max-width:100%;padding:.25rem .5rem;position:absolute;top:100%;z-index:5}.form-row>.col>.valid-tooltip,.form-row>[class*=col-]>.valid-tooltip{left:5px}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%2328a745' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");background-position:right calc(.4em + .1875rem) center;background-repeat:no-repeat;background-size:calc(.8em + .375rem) calc(.8em + .375rem);border-color:#28a745;padding-right:calc(1.6em + .75rem)!important}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.was-validated select.form-control:valid,select.form-control.is-valid{background-position:right 1.5rem center;padding-right:3rem!important}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{background-position:top calc(.4em + .1875rem) right calc(.4em + .1875rem);padding-right:calc(1.6em + .75rem)}.custom-select.is-valid,.was-validated .custom-select:valid{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%2328a745' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E") center right 1.75rem/calc(.8em + .375rem) calc(.8em + .375rem) no-repeat;border-color:#28a745;padding-right:calc(.75em + 2.3125rem)!important}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label:before,.was-validated .custom-control-input:valid~.custom-control-label:before{border-color:#28a745}.custom-control-input.is-valid:checked~.custom-control-label:before,.was-validated .custom-control-input:valid:checked~.custom-control-label:before{background-color:#34ce57;border-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label:before,.was-validated .custom-control-input:valid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label:before{border-color:#28a745}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.invalid-feedback{color:#dc3545;display:none;font-size:80%;margin-top:.25rem;width:100%}.invalid-tooltip{background-color:rgba(220,53,69,.9);border-radius:.25rem;color:#fff;display:none;font-size:.7875rem;left:0;line-height:1.6;margin-top:.1rem;max-width:100%;padding:.25rem .5rem;position:absolute;top:100%;z-index:5}.form-row>.col>.invalid-tooltip,.form-row>[class*=col-]>.invalid-tooltip{left:5px}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E");background-position:right calc(.4em + .1875rem) center;background-repeat:no-repeat;background-size:calc(.8em + .375rem) calc(.8em + .375rem);border-color:#dc3545;padding-right:calc(1.6em + .75rem)!important}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.was-validated select.form-control:invalid,select.form-control.is-invalid{background-position:right 1.5rem center;padding-right:3rem!important}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{background-position:top calc(.4em + .1875rem) right calc(.4em + .1875rem);padding-right:calc(1.6em + .75rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E") center right 1.75rem/calc(.8em + .375rem) calc(.8em + .375rem) no-repeat;border-color:#dc3545;padding-right:calc(.75em + 2.3125rem)!important}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label:before,.was-validated .custom-control-input:invalid~.custom-control-label:before{border-color:#dc3545}.custom-control-input.is-invalid:checked~.custom-control-label:before,.was-validated .custom-control-input:invalid:checked~.custom-control-label:before{background-color:#e4606d;border-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label:before{border-color:#dc3545}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-inline{align-items:center;display:flex;flex-flow:row wrap}.form-inline .form-check{width:100%}@media(min-width:576px){.form-inline label{justify-content:center}.form-inline .form-group,.form-inline label{align-items:center;display:flex;margin-bottom:0}.form-inline .form-group{flex:0 0 auto;flex-flow:row wrap}.form-inline .form-control{display:inline-block;vertical-align:middle;width:auto}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{align-items:center;display:flex;justify-content:center;padding-left:0;width:auto}.form-inline .form-check-input{flex-shrink:0;margin-left:0;margin-right:.25rem;margin-top:0;position:relative}.form-inline .custom-control{align-items:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{background-color:transparent;border:1px solid transparent;border-radius:.25rem;color:#212529;display:inline-block;font-size:.9rem;font-weight:400;line-height:1.6;padding:.375rem .75rem;text-align:center;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}@media(prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:0}.btn.disabled,.btn:disabled{opacity:.65}.btn:not(:disabled):not(.disabled){cursor:pointer}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-primary.focus,.btn-primary:focus,.btn-primary:hover{background-color:#2564a0;border-color:#225e96;color:#fff}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem rgba(76,140,201,.5)}.btn-primary.disabled,.btn-primary:disabled{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{background-color:#225e96;border-color:#20578b;color:#fff}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(76,140,201,.5)}.btn-secondary{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-secondary.focus,.btn-secondary:focus,.btn-secondary:hover{background-color:#5a6268;border-color:#545b62;color:#fff}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 0 0 .2rem hsla(208,6%,54%,.5)}.btn-secondary.disabled,.btn-secondary:disabled{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{background-color:#545b62;border-color:#4e555b;color:#fff}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(208,6%,54%,.5)}.btn-success{background-color:#28a745;border-color:#28a745;color:#fff}.btn-success.focus,.btn-success:focus,.btn-success:hover{background-color:#218838;border-color:#1e7e34;color:#fff}.btn-success.focus,.btn-success:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-success.disabled,.btn-success:disabled{background-color:#28a745;border-color:#28a745;color:#fff}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{background-color:#1e7e34;border-color:#1c7430;color:#fff}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-info{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-info.focus,.btn-info:focus,.btn-info:hover{background-color:#138496;border-color:#117a8b;color:#fff}.btn-info.focus,.btn-info:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-info.disabled,.btn-info:disabled{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{background-color:#117a8b;border-color:#10707f;color:#fff}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-warning{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-warning.focus,.btn-warning:focus,.btn-warning:hover{background-color:#e0a800;border-color:#d39e00;color:#212529}.btn-warning.focus,.btn-warning:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-warning.disabled,.btn-warning:disabled{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{background-color:#d39e00;border-color:#c69500;color:#212529}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-danger{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-danger.focus,.btn-danger:focus,.btn-danger:hover{background-color:#c82333;border-color:#bd2130;color:#fff}.btn-danger.focus,.btn-danger:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{background-color:#bd2130;border-color:#b21f2d;color:#fff}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-light{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-light.focus,.btn-light:focus,.btn-light:hover{background-color:#e2e6ea;border-color:#dae0e5;color:#212529}.btn-light.focus,.btn-light:focus{box-shadow:0 0 0 .2rem hsla(220,4%,85%,.5)}.btn-light.disabled,.btn-light:disabled{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{background-color:#dae0e5;border-color:#d3d9df;color:#212529}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(220,4%,85%,.5)}.btn-dark{background-color:#212529;border-color:#212529;color:#fff}.btn-dark.focus,.btn-dark:focus,.btn-dark:hover{background-color:#101214;border-color:#0a0c0d;color:#fff}.btn-dark.focus,.btn-dark:focus{box-shadow:0 0 0 .2rem rgba(66,70,73,.5)}.btn-dark.disabled,.btn-dark:disabled{background-color:#212529;border-color:#212529;color:#fff}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{background-color:#0a0c0d;border-color:#050506;color:#fff}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(66,70,73,.5)}.btn-muted{background-color:#697179;border-color:#697179;color:#fff}.btn-muted.focus,.btn-muted:focus,.btn-muted:hover{background-color:#575e65;border-color:#51585e;color:#fff}.btn-muted.focus,.btn-muted:focus{box-shadow:0 0 0 .2rem hsla(212,5%,53%,.5)}.btn-muted.disabled,.btn-muted:disabled{background-color:#697179;border-color:#697179;color:#fff}.btn-muted:not(:disabled):not(.disabled).active,.btn-muted:not(:disabled):not(.disabled):active,.show>.btn-muted.dropdown-toggle{background-color:#51585e;border-color:#4b5157;color:#fff}.btn-muted:not(:disabled):not(.disabled).active:focus,.btn-muted:not(:disabled):not(.disabled):active:focus,.show>.btn-muted.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(212,5%,53%,.5)}.btn-outline-primary{border-color:#2c78bf;color:#2c78bf}.btn-outline-primary:hover{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{background-color:transparent;color:#2c78bf}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.5)}.btn-outline-secondary{border-color:#6c757d;color:#6c757d}.btn-outline-secondary:hover{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem hsla(208,7%,46%,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{background-color:transparent;color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(208,7%,46%,.5)}.btn-outline-success{border-color:#28a745;color:#28a745}.btn-outline-success:hover{background-color:#28a745;border-color:#28a745;color:#fff}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{background-color:transparent;color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{background-color:#28a745;border-color:#28a745;color:#fff}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-info{border-color:#17a2b8;color:#17a2b8}.btn-outline-info:hover{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{background-color:transparent;color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-warning{border-color:#ffc107;color:#ffc107}.btn-outline-warning:hover{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{background-color:transparent;color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{background-color:#ffc107;border-color:#ffc107;color:#212529}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-danger{border-color:#dc3545;color:#dc3545}.btn-outline-danger:hover{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{background-color:transparent;color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{background-color:#dc3545;border-color:#dc3545;color:#fff}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-light{border-color:#f8f9fa;color:#f8f9fa}.btn-outline-light:hover{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{background-color:transparent;color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{background-color:#f8f9fa;border-color:#f8f9fa;color:#212529}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-dark{border-color:#212529;color:#212529}.btn-outline-dark:hover{background-color:#212529;border-color:#212529;color:#fff}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem rgba(33,37,41,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{background-color:transparent;color:#212529}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{background-color:#212529;border-color:#212529;color:#fff}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(33,37,41,.5)}.btn-outline-muted{border-color:#697179;color:#697179}.btn-outline-muted:hover{background-color:#697179;border-color:#697179;color:#fff}.btn-outline-muted.focus,.btn-outline-muted:focus{box-shadow:0 0 0 .2rem hsla(210,7%,44%,.5)}.btn-outline-muted.disabled,.btn-outline-muted:disabled{background-color:transparent;color:#697179}.btn-outline-muted:not(:disabled):not(.disabled).active,.btn-outline-muted:not(:disabled):not(.disabled):active,.show>.btn-outline-muted.dropdown-toggle{background-color:#697179;border-color:#697179;color:#fff}.btn-outline-muted:not(:disabled):not(.disabled).active:focus,.btn-outline-muted:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-muted.dropdown-toggle:focus{box-shadow:0 0 0 .2rem hsla(210,7%,44%,.5)}.btn-link{color:#2c78bf;font-weight:400;text-decoration:none}.btn-link:hover{color:#1e5181}.btn-link.focus,.btn-link:focus,.btn-link:hover{text-decoration:underline}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{border-radius:.3rem;font-size:1.125rem;line-height:1.5;padding:.5rem 1rem}.btn-group-sm>.btn,.btn-sm{border-radius:.2rem;font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media(prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;position:relative;transition:height .35s ease}@media(prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{border-bottom:0;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:.3em solid;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{background-clip:padding-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;color:#212529;display:none;float:left;font-size:.9rem;left:0;list-style:none;margin:.125rem 0 0;min-width:10rem;padding:.5rem 0;position:absolute;text-align:left;top:100%;z-index:1000}.dropdown-menu-left{left:0;right:auto}.dropdown-menu-right{left:auto;right:0}@media(min-width:576px){.dropdown-menu-sm-left{left:0;right:auto}.dropdown-menu-sm-right{left:auto;right:0}}@media(min-width:768px){.dropdown-menu-md-left{left:0;right:auto}.dropdown-menu-md-right{left:auto;right:0}}@media(min-width:992px){.dropdown-menu-lg-left{left:0;right:auto}.dropdown-menu-lg-right{left:auto;right:0}}@media(min-width:1200px){.dropdown-menu-xl-left{left:0;right:auto}.dropdown-menu-xl-right{left:auto;right:0}}.dropup .dropdown-menu{bottom:100%;margin-bottom:.125rem;margin-top:0;top:auto}.dropup .dropdown-toggle:after{border-bottom:.3em solid;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:0;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-menu{left:100%;margin-left:.125rem;margin-top:0;right:auto;top:0}.dropright .dropdown-toggle:after{border-bottom:.3em solid transparent;border-left:.3em solid;border-right:0;border-top:.3em solid transparent;content:"";display:inline-block;margin-left:.255em;vertical-align:.255em}.dropright .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-toggle:after{vertical-align:0}.dropleft .dropdown-menu{left:auto;margin-right:.125rem;margin-top:0;right:100%;top:0}.dropleft .dropdown-toggle:after{content:"";display:inline-block;display:none;margin-left:.255em;vertical-align:.255em}.dropleft .dropdown-toggle:before{border-bottom:.3em solid transparent;border-right:.3em solid;border-top:.3em solid transparent;content:"";display:inline-block;margin-right:.255em;vertical-align:.255em}.dropleft .dropdown-toggle:empty:after{margin-left:0}.dropleft .dropdown-toggle:before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top]{bottom:auto;right:auto}.dropdown-divider{border-top:1px solid #e9ecef;height:0;margin:.5rem 0;overflow:hidden}.dropdown-item{background-color:transparent;border:0;clear:both;color:#212529;display:block;font-weight:400;padding:.25rem 1.5rem;text-align:inherit;white-space:nowrap;width:100%}.dropdown-item:focus,.dropdown-item:hover{background-color:#e9ecef;color:#16181b;text-decoration:none}.dropdown-item.active,.dropdown-item:active{background-color:#2c78bf;color:#fff;text-decoration:none}.dropdown-item.disabled,.dropdown-item:disabled{background-color:transparent;color:#adb5bd;pointer-events:none}.dropdown-menu.show{display:block}.dropdown-header{color:#6c757d;display:block;font-size:.7875rem;margin-bottom:0;padding:.5rem 1.5rem;white-space:nowrap}.dropdown-item-text{color:#212529;display:block;padding:.25rem 1.5rem}.btn-group,.btn-group-vertical{display:inline-flex;position:relative;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{flex:1 1 auto;position:relative}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.dropdown-toggle-split{padding-left:.5625rem;padding-right:.5625rem}.dropdown-toggle-split:after,.dropright .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropleft .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-left:.375rem;padding-right:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-left:.75rem;padding-right:.75rem}.btn-group-vertical{align-items:flex-start;flex-direction:column;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-left-radius:0;border-bottom-right-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{clip:rect(0,0,0,0);pointer-events:none;position:absolute}.input-group{align-items:stretch;display:flex;flex-wrap:wrap;position:relative;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{flex:1 1 auto;margin-bottom:0;min-width:0;position:relative;width:1%}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group>.custom-file{align-items:center;display:flex}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label:after{border-bottom-right-radius:0;border-top-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-bottom-left-radius:0;border-top-left-radius:0}.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label,.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label:after,.input-group.has-validation>.custom-select:nth-last-child(n+3),.input-group.has-validation>.form-control:nth-last-child(n+3),.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label,.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label:after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.input-group-append,.input-group-prepend{display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{align-items:center;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem;color:#495057;display:flex;font-size:.9rem;font-weight:400;line-height:1.6;margin-bottom:0;padding:.375rem .75rem;text-align:center;white-space:nowrap}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:3rem}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{border-radius:.3rem;font-size:1.125rem;line-height:1.5;padding:.5rem 1rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:1.9375rem}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{border-radius:.2rem;font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.btn,.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.input-group-text,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.btn,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-bottom-right-radius:0;border-top-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-bottom-left-radius:0;border-top-left-radius:0}.custom-control{color-adjust:exact;display:block;min-height:1.44rem;padding-left:1.5rem;position:relative;-webkit-print-color-adjust:exact;z-index:1}.custom-control-inline{display:inline-flex;margin-right:1rem}.custom-control-input{height:1.22rem;left:0;opacity:0;position:absolute;width:1rem;z-index:-1}.custom-control-input:checked~.custom-control-label:before{background-color:#2c78bf;border-color:#2c78bf;color:#fff}.custom-control-input:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(44,120,191,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label:before{border-color:#87b7e3}.custom-control-input:not(:disabled):active~.custom-control-label:before{background-color:#b1d0ed;border-color:#b1d0ed;color:#fff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label:before,.custom-control-input[disabled]~.custom-control-label:before{background-color:#e9ecef}.custom-control-label{margin-bottom:0;position:relative;vertical-align:top}.custom-control-label:before{background-color:#dee2e6;border:1px solid #adb5bd;pointer-events:none}.custom-control-label:after,.custom-control-label:before{content:"";display:block;height:1rem;left:-1.5rem;position:absolute;top:.22rem;width:1rem}.custom-control-label:after{background:50%/50% 50% no-repeat}.custom-checkbox .custom-control-label:before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='%23fff' d='m6.564.75-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:before{background-color:#2c78bf;border-color:#2c78bf}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-radio .custom-control-label:before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label:before{border-radius:.5rem;left:-2.25rem;pointer-events:all;width:1.75rem}.custom-switch .custom-control-label:after{background-color:#adb5bd;border-radius:.5rem;height:calc(1rem - 4px);left:calc(-2.25rem + 2px);top:calc(.22rem + 2px);transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:calc(1rem - 4px)}@media(prefers-reduced-motion:reduce){.custom-switch .custom-control-label:after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label:after{background-color:#dee2e6;transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(44,120,191,.5)}.custom-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right .75rem center/8px 10px no-repeat;border:1px solid #ced4da;border-radius:.25rem;color:#495057;display:inline-block;font-size:.9rem;font-weight:400;height:2.375rem;line-height:1.6;padding:.375rem 1.75rem .375rem .75rem;vertical-align:middle;width:100%}.custom-select:focus{border-color:#87b7e3;box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:0}.custom-select:focus::-ms-value{background-color:#fff;color:#495057}.custom-select[multiple],.custom-select[size]:not([size="1"]){background-image:none;height:auto;padding-right:.75rem}.custom-select:disabled{background-color:#e9ecef;color:#6c757d}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.custom-select-sm{font-size:.7875rem;height:1.9375rem;padding-bottom:.25rem;padding-left:.5rem;padding-top:.25rem}.custom-select-lg{font-size:1.125rem;height:3rem;padding-bottom:.5rem;padding-left:1rem;padding-top:.5rem}.custom-file{display:inline-block;margin-bottom:0}.custom-file,.custom-file-input{height:2.375rem;position:relative;width:100%}.custom-file-input{margin:0;opacity:0;overflow:hidden;z-index:2}.custom-file-input:focus~.custom-file-label{border-color:#87b7e3;box-shadow:0 0 0 .2rem rgba(44,120,191,.25)}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label:after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]:after{content:attr(data-browse)}.custom-file-label{background-color:#fff;border:1px solid #ced4da;border-radius:.25rem;font-weight:400;height:2.375rem;left:0;overflow:hidden;z-index:1}.custom-file-label,.custom-file-label:after{color:#495057;line-height:1.6;padding:.375rem .75rem;position:absolute;right:0;top:0}.custom-file-label:after{background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0;bottom:0;content:"Browse";display:block;height:calc(1.6em + .75rem);z-index:3}.custom-range{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;height:1.4rem;padding:0;width:100%}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px rgba(247,251,253,.471),0 0 0 .2rem rgba(44,120,191,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px rgba(247,251,253,.471),0 0 0 .2rem rgba(44,120,191,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px rgba(247,251,253,.471),0 0 0 .2rem rgba(44,120,191,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:#2c78bf;border:0;border-radius:1rem;height:1rem;margin-top:-.25rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b1d0ed}.custom-range::-webkit-slider-runnable-track{background-color:#dee2e6;border-color:transparent;border-radius:1rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:#2c78bf;border:0;border-radius:1rem;height:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b1d0ed}.custom-range::-moz-range-track{background-color:#dee2e6;border-color:transparent;border-radius:1rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-ms-thumb{appearance:none;background-color:#2c78bf;border:0;border-radius:1rem;height:1rem;margin-left:.2rem;margin-right:.2rem;margin-top:0;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:1rem}@media(prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#b1d0ed}.custom-range::-ms-track{background-color:transparent;border-color:transparent;border-width:.5rem;color:transparent;cursor:pointer;height:.5rem;width:100%}.custom-range::-ms-fill-lower,.custom-range::-ms-fill-upper{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label:before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.custom-control-label:before,.custom-file-label,.custom-select{transition:none}}.nav{display:flex;flex-wrap:wrap;list-style:none;margin-bottom:0;padding-left:0}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;cursor:default;pointer-events:none}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem;margin-bottom:-1px}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{background-color:transparent;border-color:transparent;color:#6c757d}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{background-color:rgba(247,251,253,.471);border-color:#dee2e6 #dee2e6 rgba(247,251,253,.471);color:#495057}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{background-color:#2c78bf;color:#fff}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{padding:.5rem 1rem;position:relative}.navbar,.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.navbar-brand{display:inline-block;font-size:1.125rem;line-height:inherit;margin-right:1rem;padding-bottom:.32rem;padding-top:.32rem;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:flex;flex-direction:column;list-style:none;margin-bottom:0;padding-left:0}.navbar-nav .nav-link{padding-left:0;padding-right:0}.navbar-nav .dropdown-menu{float:none;position:static}.navbar-text{display:inline-block;padding-bottom:.5rem;padding-top:.5rem}.navbar-collapse{align-items:center;flex-basis:100%;flex-grow:1}.navbar-toggler{background-color:transparent;border:1px solid transparent;border-radius:.25rem;font-size:1.125rem;line-height:1;padding:.25rem .75rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{background:50%/100% 100% no-repeat;content:"";display:inline-block;height:1.5em;vertical-align:middle;width:1.5em}.navbar-nav-scroll{max-height:75vh;overflow-y:auto}@media(max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-left:0;padding-right:0}}@media(min-width:576px){.navbar-expand-sm{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{flex-wrap:nowrap}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media(max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-left:0;padding-right:0}}@media(min-width:768px){.navbar-expand-md{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{flex-wrap:nowrap}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media(max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-left:0;padding-right:0}}@media(min-width:992px){.navbar-expand-lg{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{flex-wrap:nowrap}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media(max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-left:0;padding-right:0}}@media(min-width:1200px){.navbar-expand-xl{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{flex-wrap:nowrap}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-left:0;padding-right:0}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{flex-wrap:nowrap}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.5)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand,.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:hsla(0,0%,100%,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:hsla(0,0%,100%,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{border-color:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")}.navbar-dark .navbar-text{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{word-wrap:break-word;background-clip:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.125);border-radius:.25rem;display:flex;flex-direction:column;min-width:0;position:relative}.card>hr{margin-left:0;margin-right:0}.card>.list-group{border-bottom:inherit;border-top:inherit}.card>.list-group:first-child{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px);border-top-width:0}.card>.list-group:last-child{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px);border-bottom-width:0}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{background-color:#fff;border-bottom:1px solid rgba(0,0,0,.125);margin-bottom:0;padding:.75rem 1.25rem}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{background-color:#fff;border-top:1px solid rgba(0,0,0,.125);padding:.75rem 1.25rem}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{border-bottom:0;margin-bottom:-.75rem}.card-header-pills,.card-header-tabs{margin-left:-.625rem;margin-right:-.625rem}.card-img-overlay{border-radius:calc(.25rem - 1px);bottom:0;left:0;padding:1.25rem;position:absolute;right:0;top:0}.card-img,.card-img-bottom,.card-img-top{flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media(min-width:576px){.card-deck{display:flex;flex-flow:row wrap;margin-left:-15px;margin-right:-15px}.card-deck .card{flex:1 0 0%;margin-bottom:0;margin-left:15px;margin-right:15px}}.card-group>.card{margin-bottom:15px}@media(min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{border-left:0;margin-left:0}.card-group>.card:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media(min-width:576px){.card-columns{-moz-column-count:3;column-count:3;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion{overflow-anchor:none}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{background-color:#e9ecef;border-radius:.25rem;display:flex;flex-wrap:wrap;list-style:none;margin-bottom:1rem;padding:.75rem 1rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item:before{color:#6c757d;content:"/";float:left;padding-right:.5rem}.breadcrumb-item+.breadcrumb-item:hover:before{text-decoration:underline;text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{border-radius:.25rem;display:flex;list-style:none;padding-left:0}.page-link{background-color:#fff;border:1px solid #dee2e6;color:#2c78bf;display:block;line-height:1.25;margin-left:-1px;padding:.5rem .75rem;position:relative}.page-link:hover{background-color:#e9ecef;border-color:#dee2e6;color:#1e5181;text-decoration:none;z-index:2}.page-link:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.25);outline:0;z-index:3}.page-item:first-child .page-link{border-bottom-left-radius:.25rem;border-top-left-radius:.25rem;margin-left:0}.page-item:last-child .page-link{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.page-item.active .page-link{background-color:#2c78bf;border-color:#2c78bf;color:#fff;z-index:3}.page-item.disabled .page-link{background-color:#fff;border-color:#dee2e6;color:#6c757d;cursor:auto;pointer-events:none}.pagination-lg .page-link{font-size:1.125rem;line-height:1.5;padding:.75rem 1.5rem}.pagination-lg .page-item:first-child .page-link{border-bottom-left-radius:.3rem;border-top-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-bottom-right-radius:.3rem;border-top-right-radius:.3rem}.pagination-sm .page-link{font-size:.7875rem;line-height:1.5;padding:.25rem .5rem}.pagination-sm .page-item:first-child .page-link{border-bottom-left-radius:.2rem;border-top-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-bottom-right-radius:.2rem;border-top-right-radius:.2rem}.badge{border-radius:.25rem;display:inline-block;font-size:75%;font-weight:700;line-height:1;padding:.25em .4em;text-align:center;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;vertical-align:baseline;white-space:nowrap}@media(prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{border-radius:10rem;padding-left:.6em;padding-right:.6em}.badge-primary{background-color:#2c78bf;color:#fff}a.badge-primary:focus,a.badge-primary:hover{background-color:#225e96;color:#fff}a.badge-primary.focus,a.badge-primary:focus{box-shadow:0 0 0 .2rem rgba(44,120,191,.5);outline:0}.badge-secondary{background-color:#6c757d;color:#fff}a.badge-secondary:focus,a.badge-secondary:hover{background-color:#545b62;color:#fff}a.badge-secondary.focus,a.badge-secondary:focus{box-shadow:0 0 0 .2rem hsla(208,7%,46%,.5);outline:0}.badge-success{background-color:#28a745;color:#fff}a.badge-success:focus,a.badge-success:hover{background-color:#1e7e34;color:#fff}a.badge-success.focus,a.badge-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5);outline:0}.badge-info{background-color:#17a2b8;color:#fff}a.badge-info:focus,a.badge-info:hover{background-color:#117a8b;color:#fff}a.badge-info.focus,a.badge-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5);outline:0}.badge-warning{background-color:#ffc107;color:#212529}a.badge-warning:focus,a.badge-warning:hover{background-color:#d39e00;color:#212529}a.badge-warning.focus,a.badge-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5);outline:0}.badge-danger{background-color:#dc3545;color:#fff}a.badge-danger:focus,a.badge-danger:hover{background-color:#bd2130;color:#fff}a.badge-danger.focus,a.badge-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5);outline:0}.badge-light{background-color:#f8f9fa;color:#212529}a.badge-light:focus,a.badge-light:hover{background-color:#dae0e5;color:#212529}a.badge-light.focus,a.badge-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5);outline:0}.badge-dark{background-color:#212529;color:#fff}a.badge-dark:focus,a.badge-dark:hover{background-color:#0a0c0d;color:#fff}a.badge-dark.focus,a.badge-dark:focus{box-shadow:0 0 0 .2rem rgba(33,37,41,.5);outline:0}.badge-muted{background-color:#697179;color:#fff}a.badge-muted:focus,a.badge-muted:hover{background-color:#51585e;color:#fff}a.badge-muted.focus,a.badge-muted:focus{box-shadow:0 0 0 .2rem hsla(210,7%,44%,.5);outline:0}.jumbotron{background-color:#e9ecef;border-radius:.3rem;margin-bottom:2rem;padding:2rem 1rem}@media(min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{border-radius:0;padding-left:0;padding-right:0}.alert{border:1px solid transparent;border-radius:.25rem;margin-bottom:1rem;padding:.75rem 1.25rem;position:relative}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3.85rem}.alert-dismissible .close{color:inherit;padding:.75rem 1.25rem;position:absolute;right:0;top:0;z-index:2}.alert-primary{background-color:#d5e4f2;border-color:#c4d9ed;color:#173e63}.alert-primary hr{border-top-color:#b0cce7}.alert-primary .alert-link{color:#0d243a}.alert-secondary{background-color:#e2e3e5;border-color:#d6d8db;color:#383d41}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{background-color:#d4edda;border-color:#c3e6cb;color:#155724}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{background-color:#d1ecf1;border-color:#bee5eb;color:#0c5460}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{background-color:#fff3cd;border-color:#ffeeba;color:#856404}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{background-color:#f8d7da;border-color:#f5c6cb;color:#721c24}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{background-color:#fefefe;border-color:#fdfdfe;color:#818182}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{background-color:#d3d3d4;border-color:#c1c2c3;color:#111315}.alert-dark hr{border-top-color:#b4b5b6}.alert-dark .alert-link{color:#000}.alert-muted{background-color:#e1e3e4;border-color:#d5d7d9;color:#373b3f}.alert-muted hr{border-top-color:#c8cacd}.alert-muted .alert-link{color:#1f2224}@-webkit-keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}.progress{background-color:#e9ecef;border-radius:.25rem;font-size:.675rem;height:1rem;line-height:0}.progress,.progress-bar{display:flex;overflow:hidden}.progress-bar{background-color:#2c78bf;color:#fff;flex-direction:column;justify-content:center;text-align:center;transition:width .6s ease;white-space:nowrap}@media(prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media(prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{align-items:flex-start;display:flex}.media-body{flex:1}.list-group{border-radius:.25rem;display:flex;flex-direction:column;margin-bottom:0;padding-left:0}.list-group-item-action{color:#495057;text-align:inherit;width:100%}.list-group-item-action:focus,.list-group-item-action:hover{background-color:#f8f9fa;color:#495057;text-decoration:none;z-index:1}.list-group-item-action:active{background-color:#e9ecef;color:#212529}.list-group-item{background-color:#fff;border:1px solid rgba(0,0,0,.125);display:block;padding:.75rem 1.25rem;position:relative}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{background-color:#fff;color:#6c757d;pointer-events:none}.list-group-item.active{background-color:#2c78bf;border-color:#2c78bf;color:#fff;z-index:2}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{border-top-width:1px;margin-top:-1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}@media(min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-md>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}@media(min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-bottom-left-radius:0;border-top-right-radius:.25rem}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-left-width:0;border-top-width:1px}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{border-left-width:1px;margin-left:-1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{background-color:#c4d9ed;color:#173e63}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{background-color:#b0cce7;color:#173e63}.list-group-item-primary.list-group-item-action.active{background-color:#173e63;border-color:#173e63;color:#fff}.list-group-item-secondary{background-color:#d6d8db;color:#383d41}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{background-color:#c8cbcf;color:#383d41}.list-group-item-secondary.list-group-item-action.active{background-color:#383d41;border-color:#383d41;color:#fff}.list-group-item-success{background-color:#c3e6cb;color:#155724}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{background-color:#b1dfbb;color:#155724}.list-group-item-success.list-group-item-action.active{background-color:#155724;border-color:#155724;color:#fff}.list-group-item-info{background-color:#bee5eb;color:#0c5460}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{background-color:#abdde5;color:#0c5460}.list-group-item-info.list-group-item-action.active{background-color:#0c5460;border-color:#0c5460;color:#fff}.list-group-item-warning{background-color:#ffeeba;color:#856404}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{background-color:#ffe8a1;color:#856404}.list-group-item-warning.list-group-item-action.active{background-color:#856404;border-color:#856404;color:#fff}.list-group-item-danger{background-color:#f5c6cb;color:#721c24}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{background-color:#f1b0b7;color:#721c24}.list-group-item-danger.list-group-item-action.active{background-color:#721c24;border-color:#721c24;color:#fff}.list-group-item-light{background-color:#fdfdfe;color:#818182}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{background-color:#ececf6;color:#818182}.list-group-item-light.list-group-item-action.active{background-color:#818182;border-color:#818182;color:#fff}.list-group-item-dark{background-color:#c1c2c3;color:#111315}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{background-color:#b4b5b6;color:#111315}.list-group-item-dark.list-group-item-action.active{background-color:#111315;border-color:#111315;color:#fff}.list-group-item-muted{background-color:#d5d7d9;color:#373b3f}.list-group-item-muted.list-group-item-action:focus,.list-group-item-muted.list-group-item-action:hover{background-color:#c8cacd;color:#373b3f}.list-group-item-muted.list-group-item-action.active{background-color:#373b3f;border-color:#373b3f;color:#fff}.close{color:#000;float:right;font-size:1.35rem;font-weight:700;line-height:1;opacity:.5;text-shadow:0 1px 0 #fff}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{background-color:transparent;border:0;padding:0}a.close.disabled{pointer-events:none}.toast{background-clip:padding-box;background-color:hsla(0,0%,100%,.85);border:1px solid rgba(0,0,0,.1);border-radius:.25rem;box-shadow:0 .25rem .75rem rgba(0,0,0,.1);flex-basis:350px;font-size:.875rem;max-width:350px;opacity:0}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{align-items:center;background-clip:padding-box;background-color:hsla(0,0%,100%,.85);border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px);color:#6c757d;display:flex;padding:.25rem .75rem}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{display:none;height:100%;left:0;outline:0;overflow:hidden;position:fixed;top:0;width:100%;z-index:1050}.modal-dialog{margin:.5rem;pointer-events:none;position:relative;width:auto}.modal.fade .modal-dialog{transform:translateY(-50px);transition:transform .3s ease-out}@media(prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{align-items:center;display:flex;min-height:calc(100% - 1rem)}.modal-dialog-centered:before{content:"";display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-dialog-centered.modal-dialog-scrollable{flex-direction:column;height:100%;justify-content:center}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable:before{content:none}.modal-content{background-clip:padding-box;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;display:flex;flex-direction:column;outline:0;pointer-events:auto;position:relative;width:100%}.modal-backdrop{background-color:#000;height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:1040}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{align-items:flex-start;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px);display:flex;justify-content:space-between;padding:1rem}.modal-header .close{margin:-1rem -1rem -1rem auto;padding:1rem}.modal-title{line-height:1.6;margin-bottom:0}.modal-body{flex:1 1 auto;padding:1rem;position:relative}.modal-footer{align-items:center;border-bottom-left-radius:calc(.3rem - 1px);border-bottom-right-radius:calc(.3rem - 1px);border-top:1px solid #dee2e6;display:flex;flex-wrap:wrap;justify-content:flex-end;padding:.75rem}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{height:50px;overflow:scroll;position:absolute;top:-9999px;width:50px}@media(min-width:576px){.modal-dialog{margin:1.75rem auto;max-width:500px}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered:before{height:calc(100vh - 3.5rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-sm{max-width:300px}}@media(min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media(min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{word-wrap:break-word;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.7875rem;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.6;margin:0;opacity:0;position:absolute;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;z-index:1070}.tooltip.show{opacity:.9}.tooltip .arrow{display:block;height:.4rem;position:absolute;width:.8rem}.tooltip .arrow:before{border-color:transparent;border-style:solid;content:"";position:absolute}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow:before,.bs-tooltip-top .arrow:before{border-top-color:#000;border-width:.4rem .4rem 0;top:0}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{height:.8rem;left:0;width:.4rem}.bs-tooltip-auto[x-placement^=right] .arrow:before,.bs-tooltip-right .arrow:before{border-right-color:#000;border-width:.4rem .4rem .4rem 0;right:0}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.bs-tooltip-bottom .arrow:before{border-bottom-color:#000;border-width:0 .4rem .4rem;bottom:0}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{height:.8rem;right:0;width:.4rem}.bs-tooltip-auto[x-placement^=left] .arrow:before,.bs-tooltip-left .arrow:before{border-left-color:#000;border-width:.4rem 0 .4rem .4rem;left:0}.tooltip-inner{background-color:#000;border-radius:.25rem;color:#fff;max-width:200px;padding:.25rem .5rem;text-align:center}.popover{word-wrap:break-word;background-clip:padding-box;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.7875rem;font-style:normal;font-weight:400;left:0;letter-spacing:normal;line-break:auto;line-height:1.6;max-width:276px;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;top:0;white-space:normal;word-break:normal;word-spacing:normal;z-index:1060}.popover,.popover .arrow{display:block;position:absolute}.popover .arrow{height:.5rem;margin:0 .3rem;width:1rem}.popover .arrow:after,.popover .arrow:before{border-color:transparent;border-style:solid;content:"";display:block;position:absolute}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow:before,.bs-popover-top>.arrow:before{border-top-color:rgba(0,0,0,.25);border-width:.5rem .5rem 0;bottom:0}.bs-popover-auto[x-placement^=top]>.arrow:after,.bs-popover-top>.arrow:after{border-top-color:#fff;border-width:.5rem .5rem 0;bottom:1px}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{height:1rem;left:calc(-.5rem - 1px);margin:.3rem 0;width:.5rem}.bs-popover-auto[x-placement^=right]>.arrow:before,.bs-popover-right>.arrow:before{border-right-color:rgba(0,0,0,.25);border-width:.5rem .5rem .5rem 0;left:0}.bs-popover-auto[x-placement^=right]>.arrow:after,.bs-popover-right>.arrow:after{border-right-color:#fff;border-width:.5rem .5rem .5rem 0;left:1px}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow:before,.bs-popover-bottom>.arrow:before{border-bottom-color:rgba(0,0,0,.25);border-width:0 .5rem .5rem;top:0}.bs-popover-auto[x-placement^=bottom]>.arrow:after,.bs-popover-bottom>.arrow:after{border-bottom-color:#fff;border-width:0 .5rem .5rem;top:1px}.bs-popover-auto[x-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{border-bottom:1px solid #f7f7f7;content:"";display:block;left:50%;margin-left:-.5rem;position:absolute;top:0;width:1rem}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{height:1rem;margin:.3rem 0;right:calc(-.5rem - 1px);width:.5rem}.bs-popover-auto[x-placement^=left]>.arrow:before,.bs-popover-left>.arrow:before{border-left-color:rgba(0,0,0,.25);border-width:.5rem 0 .5rem .5rem;right:0}.bs-popover-auto[x-placement^=left]>.arrow:after,.bs-popover-left>.arrow:after{border-left-color:#fff;border-width:.5rem 0 .5rem .5rem;right:1px}.popover-header{background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px);font-size:.9rem;margin-bottom:0;padding:.5rem .75rem}.popover-header:empty{display:none}.popover-body{color:#212529;padding:.5rem .75rem}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{overflow:hidden;position:relative;width:100%}.carousel-inner:after{clear:both;content:"";display:block}.carousel-item{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:none;float:left;margin-right:-100%;position:relative;transition:transform .6s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transform:none;transition-property:opacity}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{opacity:1;z-index:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{opacity:0;transition:opacity 0s .6s;z-index:0}@media(prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{align-items:center;background:none;border:0;bottom:0;color:#fff;display:flex;justify-content:center;opacity:.5;padding:0;position:absolute;text-align:center;top:0;transition:opacity .15s ease;width:15%;z-index:1}@media(prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;opacity:.9;outline:0;text-decoration:none}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{background:50%/100% 100% no-repeat;display:inline-block;height:20px;width:20px}.carousel-control-prev-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8'%3E%3Cpath d='m5.25 0-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3E%3C/svg%3E")}.carousel-control-next-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8'%3E%3Cpath d='m2.75 0-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3E%3C/svg%3E")}.carousel-indicators{bottom:0;display:flex;justify-content:center;left:0;list-style:none;margin-left:15%;margin-right:15%;padding-left:0;position:absolute;right:0;z-index:15}.carousel-indicators li{background-clip:padding-box;background-color:#fff;border-bottom:10px solid transparent;border-top:10px solid transparent;box-sizing:content-box;cursor:pointer;flex:0 1 auto;height:3px;margin-left:3px;margin-right:3px;opacity:.5;text-indent:-999px;transition:opacity .6s ease;width:30px}@media(prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{bottom:20px;color:#fff;left:15%;padding-bottom:20px;padding-top:20px;position:absolute;right:15%;text-align:center;z-index:10}@-webkit-keyframes spinner-border{to{transform:rotate(1turn)}}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite;border:.25em solid;border-radius:50%;border-right:.25em solid transparent;display:inline-block;height:2rem;vertical-align:-.125em;width:2rem}.spinner-border-sm{border-width:.2em;height:1rem;width:1rem}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite;background-color:currentColor;border-radius:50%;display:inline-block;height:2rem;opacity:0;vertical-align:-.125em;width:2rem}.spinner-grow-sm{height:1rem;width:1rem}@media(prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{-webkit-animation-duration:1.5s;animation-duration:1.5s}}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#2c78bf!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#225e96!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#212529!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#0a0c0d!important}.bg-muted{background-color:#697179!important}a.bg-muted:focus,a.bg-muted:hover,button.bg-muted:focus,button.bg-muted:hover{background-color:#51585e!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#2c78bf!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#212529!important}.border-muted{border-color:#697179!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important}.rounded-right,.rounded-top{border-top-right-radius:.25rem!important}.rounded-bottom,.rounded-right{border-bottom-right-radius:.25rem!important}.rounded-bottom,.rounded-left{border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix:after{clear:both;content:"";display:block}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}@media(min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}}@media(min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}}@media(min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}}@media(min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}}.embed-responsive{display:block;overflow:hidden;padding:0;position:relative;width:100%}.embed-responsive:before{content:"";display:block}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{border:0;bottom:0;height:100%;left:0;position:absolute;top:0;width:100%}.embed-responsive-21by9:before{padding-top:42.85714286%}.embed-responsive-16by9:before{padding-top:56.25%}.embed-responsive-4by3:before{padding-top:75%}.embed-responsive-1by1:before{padding-top:100%}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}@media(min-width:576px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}}@media(min-width:768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}}@media(min-width:992px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}}@media(min-width:1200px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media(min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media(min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media(min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media(min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{top:0}.fixed-bottom,.fixed-top{left:0;position:fixed;right:0;z-index:1030}.fixed-bottom{bottom:0}@supports((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;overflow:visible;position:static;white-space:normal;width:auto}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media(min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media(min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media(min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media(min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.stretched-link:after{background-color:transparent;bottom:0;content:"";left:0;pointer-events:auto;position:absolute;right:0;top:0;z-index:1}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media(min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media(min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media(min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media(min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#2c78bf!important}a.text-primary:focus,a.text-primary:hover{color:#1e5181!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}a.text-dark:focus,a.text-dark:hover{color:#000!important}.text-muted{color:#697179!important}a.text-muted:focus,a.text-muted:hover{color:#454b50!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:hsla(0,0%,100%,.5)!important}.text-hide{background-color:transparent;border:0;color:transparent;font:0/0 a;text-shadow:none}.text-decoration-none{text-decoration:none!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,:after,:before{box-shadow:none!important;text-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]:after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd}blockquote,img,pre,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}.container,body{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{border-color:#dee2e6;color:inherit}}body,html{min-height:100vh}body{display:flex;flex-flow:column}#content{margin-bottom:auto!important}body,button,input,textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.navbar-laravel{background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.04)}.bg-pixelfed{background:#10c5f8;background:linear-gradient(to bottom right,#6736dd,#10c5f8)}@media(min-width:1200px){.container{max-width:935px}}.text-dark{color:#212529!important}.settings-nav .active .nav-link{font-weight:700}.card-disabled{background-color:#f5f5f5;opacity:.4}.card-img-top{height:auto}.card.status-container .status-photo{margin:auto!important}@media(min-width:768px){.card.status-container .status-comments{border-bottom:1px solid rgba(0,0,0,.1);height:200px;overflow-y:scroll}}.no-caret.dropdown-toggle{text-decoration:none!important}.no-caret.dropdown-toggle:after{display:none}.notification-page .profile-link{color:#212529;font-weight:700}.notification-page .list-group-item:first-child{border-top:none}.nav-topbar{border-top:1px solid #dee2e6}.nav-topbar .nav-item{margin:-1px 1.5rem 0}.nav-topbar .nav-link{border:1px solid transparent;color:#dee2e6;padding:.75rem 0}.nav-topbar .nav-link:focus,.nav-topbar .nav-link:hover{border-top-color:#dee2e6}.nav-topbar .nav-link.disabled{background-color:transparent;border-color:transparent;color:#dee2e6}.nav-topbar .nav-item.show .nav-link,.nav-topbar .nav-link.active{border-top-color:#6c757d;color:#6c757d}.nav-topbar .dropdown-menu{margin-top:-1px}.info-overlay{position:relative}.info-overlay .info-overlay-text{display:none;position:absolute}.info-overlay:hover .info-overlay-text{display:flex}@media(max-width:576px){.info-overlay:hover .info-overlay-text h5{font-size:12px}}.info-overlay-text,.info-overlay-text-label{background-color:rgba(0,0,0,.5);height:100%;width:100%}.info-overlay-text-label{display:flex;position:absolute}.info-overlay-text-label h5{z-index:2}.info-overlay:hover .info-overlay-text-label{display:none}.font-weight-lighter{font-weight:300!important}.font-weight-ultralight{font-weight:200!important}.square{position:relative;width:100%}.square:after{content:"";display:block;padding-bottom:100%}.square-content{background-position:50%;background-repeat:no-repeat;background-size:cover;height:100%;position:absolute;width:100%}@media(max-width:768px){.border-md-left-0{border-left:0!important}.card.status-container .status-comments{border-top:1px solid rgba(0,0,0,.1)}.sticky-md-bottom{bottom:0;position:-webkit-sticky;position:sticky;z-index:1020}}@media(max-width:576px){.card-md-border-0{border-radius:0!important;border-width:0!important}.card-md-rounded-0{border-radius:0!important;border-width:1px 0}}@-webkit-keyframes loading-bar{0%{background-position:0 0}to{background-position:100vw 0}}@keyframes loading-bar{0%{background-position:0 0}to{background-position:100vw 0}}.loading-page{-webkit-animation:loading-bar 3s linear infinite;animation:loading-bar 3s linear infinite;background-image:linear-gradient(90deg,#6736dd,#10c5f8,#10c5f8,#6736dd);height:.25rem;width:100vw}.liked{position:relative;z-index:1}.liked:after{-webkit-animation:liking 1.5s;animation:liking 1.5s;color:transparent;content:"";left:50%;position:absolute;top:0;z-index:-1}@-webkit-keyframes liking{0%{color:#ebf70e;font-size:0;top:.25rem;transform:rotate(0deg)}75%{font-size:2.8rem;left:-.55rem;opacity:1;top:-.55rem;transform:rotate(1turn)}to{font-size:0;left:.9rem;top:2.5rem;transform:rotate(1turn)}}@keyframes liking{0%{color:#ebf70e;font-size:0;top:.25rem;transform:rotate(0deg)}75%{font-size:2.8rem;left:-.55rem;opacity:1;top:-.55rem;transform:rotate(1turn)}to{font-size:0;left:.9rem;top:2.5rem;transform:rotate(1turn)}}.max-hide-overflow{max-height:500px;overflow-y:hidden}@media(min-width:0){.max-hide-overflow{max-height:600px!important}}@media(min-width:768px){.max-hide-overflow{max-height:800px!important}}@media(min-width:1200px){.max-hide-overflow{max-height:1000px!important}}.notification-image{background-position:50%;background-size:cover;height:32px;width:32px}.status-photo img{max-height:calc(100vh - 6rem);-o-object-fit:contain;object-fit:contain;width:100%}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}@-webkit-keyframes fadeInDown{0%{opacity:0;transform:translateY(-1.25em)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-1.25em)}to{opacity:1;transform:translateY(0)}}.details-animated[open]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:fadeInDown;animation-name:fadeInDown}.card{border:none;box-shadow:0 2px 6px 0 rgba(0,0,0,.2)}.card .comment-submit{border-radius:0 3px 3px 0;bottom:12px;display:none;position:absolute;right:20px;text-align:center;width:60px}.touch .card input[name=comment]{padding-right:70px}.touch .card .comment-submit{display:block}.box-shadow{box-shadow:0 2px 6px 0 rgba(0,0,0,.2)}.border-left-primary{border-left:3px solid #007bff}.settings-nav .nav-item.active .nav-link{font-weight:700!important}details summary::-webkit-details-marker{display:none!important}.details-animated>summary{background-color:#ecf0f1;display:flex;flex-flow:column;justify-content:center;padding-bottom:50px;padding-top:50px;text-align:center}@media(min-width:720px){.details-animated>summary{min-height:600px}}.details-animated[open]>summary{display:none!important}.profile-avatar img{-o-object-fit:cover;object-fit:cover}.tt-menu{border-radius:0 0 .25rem .25rem!important;padding:0!important}.tt-dataset .alert{border:0!important;border-radius:0!important}.input-elevated{background:#fff;border:none;border-radius:5px;box-shadow:0 2px 4px 0 rgba(0,0,0,.08);font-size:16px;line-height:1.5;padding:.5em 1em .5em .5em}.input-elevated::-moz-placeholder{color:#838d99}.input-elevated:-ms-input-placeholder{color:#838d99}.input-elevated::placeholder{color:#838d99}.input-elevated:focus{box-shadow:0 4px 10px 0 rgba(0,0,0,.16);outline:none}.icon-wrapper{background:#10c5f8;background:linear-gradient(to bottom right,#6736dd,#10c5f8);border-radius:50%;display:inline-flex;padding:14px}.border-left-blue{border-left:3px solid #10c5f8}.b-dropdown,.b-dropdown>button{padding:0!important}.lds-ring{display:inline-block;height:64px;position:relative;width:64px}.lds-ring div{-webkit-animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border:6px solid transparent;border-radius:50%;border-top-color:#6c757d;box-sizing:border-box;display:block;height:51px;margin:6px;position:absolute;width:51px}.lds-ring div:first-child{-webkit-animation-delay:-.45s;animation-delay:-.45s}.lds-ring div:nth-child(2){-webkit-animation-delay:-.3s;animation-delay:-.3s}.lds-ring div:nth-child(3){-webkit-animation-delay:-.15s;animation-delay:-.15s}@-webkit-keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.navbar .nav-notification.dropdown-toggle:after{display:none}.navbar .dropdown .nav-notification-dropdown{max-height:300px;overflow-y:scroll;padding-bottom:0;padding-top:0;width:500px}.nav-notification-dropdown .loader{padding-bottom:5rem;padding-top:5rem}.timeline-sidenav.nav-pills .nav-link{color:#6c757d}.timeline-sidenav.nav-pills .nav-link:hover{background:rgba(0,0,0,.04)}.timeline-sidenav.nav-pills .nav-link.active,.timeline-sidenav.nav-pills .show>.nav-link{background:transparent;border:1px solid #08d;color:#08d}.messages-page .bg-primary.text-white a{color:#fff}.notification-tooltip .tooltip-inner{font-weight:700}#previewAvatar img{height:auto;max-width:100%}.img-thumbnail{box-sizing:content-box}.media-drawer-filters img{-o-object-fit:contain;object-fit:contain}.reply-container .post-thumbnail{-o-object-fit:cover;object-fit:cover}#l-modal .modal-body,#s-modal .modal-body{height:60vh;overflow-y:scroll}#l-modal .modal-content,#s-modal .modal-content{border-radius:0}.btn-outline-lighter,.text-lighter{color:#b8c2cc!important}.btn-outline-lighter{border-color:#b8c2cc!important}.cursor-pointer{cursor:pointer}.tooltip-notification .tooltip-inner{border-radius:.25rem;color:#fff;max-width:200px;padding:3px 8px;text-align:center}.carousel-control-next-icon,.carousel-control-prev-icon{filter:drop-shadow(0 0 1px black)}.VueCarousel-dot--active:focus,.VueCarousel-dot:focus,.VueCarousel-navigation-button:focus,.VueCarousel:focus{outline:0!important}.status-content>p:first-child{display:inline}.follow-modal{max-width:400px!important}.square-content img{-o-object-fit:cover!important;object-fit:cover!important}.square .square-content canvas{height:100%;width:100%}.tribute-container{border:1px solid #ccc;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.13);display:block;height:auto;left:0;max-height:300px;max-width:500px;min-width:120px;overflow:auto;position:absolute;top:0;z-index:999999}.tribute-container ul{background:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.13);border-radius:4px;list-style:none;margin:2px 0 0;overflow:hidden;padding:0}.tribute-container li{color:#000;cursor:pointer;font-size:14px;overflow-x:hidden!important;padding:5px 15px}.tribute-container li.highlight,.tribute-container li:hover{background:#2c78bf;color:#fff}.tribute-container li.no-match{cursor:default}.tribute-container .menu-highlighted{font-weight:700}.content-label-wrapper div:not(.content-label){height:100%}.content-label-text{width:80%}@media(min-width:768px){.content-label-text{width:50%}}.container.slim{max-width:680px;padding:0 15px;width:auto} diff --git a/public/css/spa.css b/public/css/spa.css index 3bf685143..44163c8f1 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} +@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%}} diff --git a/public/js/compose-mh8cayo8d.js b/public/js/compose-mh8cayo8d.js deleted file mode 100644 index 864b2d891..000000000 --- a/public/js/compose-mh8cayo8d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[509],{31453:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var s=i(42755),a=i(88231),o=i(14205),n=i(64439);const l={components:{drawer:s.default,sidebar:a.default,"compose-desktop":o.default,"compose-modal":n.default},data:function(){return{isLoaded:!1,profile:void 0,showNew:!1}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0;var t=new URLSearchParams(window.location.search);t.has("fl")&&"v6"==t.get("fl")&&(this.showNew=!0)},methods:{closeModal:function(){this.$router.push("/i/web")}}}},61043:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r});var s=i(17652),a=(i(89620),i(29655)),o=(i(14348),i(15235));function n(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i=e.config.uploader.album_limit)return swal("Oops!","Posts can have up to "+e.config.uploader.album_limit+" photos or videos, you cannot add any more.","error"),void(e.uploading=!1);if(0==e.config.uploader.media_types.split(",").includes(t.type))return swal("Invalid File Type","You can only upload the following mime types: "+e.config.uploader.media_types,"error"),void(e.uploading=!1);var s=new FormData;s.append("file",t);var a={onUploadProgress:function(t){var i=Math.round(100*t.loaded/t.total);e.uploadProgress=i}};axios.post("/api/compose/v0/media/upload",s,a).then((function(t){var i=t.data;i.edit={brightness:100,contrast:100,saturation:100},e.uploadProgress=100,e.ids.push(t.data.id),e.crops.push({}),e.media.push(i),2!=e.media.map((function(t){return t.mime})).filter((function(t,e,i){return i.indexOf(t)===e})).length?(e.uploading=!1,e.$nextTick((function(){e.compareEdits(i.edit,e.edit)||(e.media[e.mediaIndex].edit=e.edit,e.edit=i.edit),e.tab="crop",e.mediaIndex=e.media.length-1}))):swal("Oops!","Your post must contain a single photo or video or multiple photos","error")})).catch((function(i){switch(i.response.status){case 451:e.uploading=!1,t.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),e.page=2;break;case 429:e.uploading=!1,t.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),e.page=2;break;default:e.uploading=!1,t.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),e.page=2}})),t.value=null,e.uploadProgress=0}))},dragOverHandler:function(t){t.preventDefault()}},watch:{edit:{handler:function(t,e){this.previewFilters()},deep:!0}}}},49144:(t,e,i)=>{i.r(e),i.d(e,{default:()=>c});var s=i(17652),a=(i(89620),i(29655)),o=(i(14348),i(15235)),n=i(19755);function l(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i10&&(t.licenseTitle=t.availableLicenses.filter((function(e){return e.id==t.licenseId})).map((function(t){return t.title}))[0]),t.fetchProfile()}))},mounted:function(){this.mediaWatcher()},methods:{timeAgo:function(t){return App.util.format.timeAgo(t)},fetchProfile:function(){var t=this,e={public:"Public",private:"Followers Only",unlisted:"Unlisted"};if(window._sharedData.curUser.id){if(this.profile=window._sharedData.curUser,this.composeSettings&&this.composeSettings.hasOwnProperty("default_scope")&&this.composeSettings.default_scope){var i=this.composeSettings.default_scope;this.visibility=i,this.visibilityTag=e[i]}1==this.profile.locked&&(this.visibility="private",this.visibilityTag="Followers Only")}else axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(i){if(window._sharedData.currentUser=i.data,t.profile=i.data,t.composeSettings&&t.composeSettings.hasOwnProperty("default_scope")&&t.composeSettings.default_scope){var s=t.composeSettings.default_scope;t.visibility=s,t.visibilityTag=e[s]}1==t.profile.locked&&(t.visibility="private",t.visibilityTag="Followers Only")})).catch((function(t){}))},addMedia:function(t){var e=n(t.target);e.attr("disabled",""),n('.file-input[name="media"]').trigger("click"),e.blur(),e.removeAttr("disabled")},addText:function(t){this.pageTitle="New Text Post",this.page="addText",this.textMode=!0,this.mode="text"},mediaWatcher:function(){var t=this;n(document).on("change","#pf-dz",(function(e){t.mediaUpload()}))},mediaUpload:function(){var t=this;t.uploading=!0;var e=document.querySelector("#pf-dz");e.files.length||(t.uploading=!1),Array.prototype.forEach.call(e.files,(function(e,i){if(t.media&&t.media.length+i>=t.config.uploader.album_limit)return swal("Error","You can only upload "+t.config.uploader.album_limit+" photos per album","error"),t.uploading=!1,void(t.page=2);var s=e.type,a=t.config.uploader.media_types.split(",");if(-1==n.inArray(s,a))return swal("Invalid File Type","The file you are trying to add is not a valid mime type. Please upload a "+t.config.uploader.media_types+" only.","error"),t.uploading=!1,void(t.page=2);var o=new FormData;o.append("file",e);var l={onUploadProgress:function(e){var i=Math.round(100*e.loaded/e.total);t.uploadProgress=i}};axios.post("/api/compose/v0/media/upload",o,l).then((function(e){t.uploadProgress=100,t.ids.push(e.data.id),t.media.push(e.data),t.uploading=!1,setTimeout((function(){t.page=3}),300)})).catch((function(i){switch(i.response.status){case 451:t.uploading=!1,e.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),t.page=2;break;case 429:t.uploading=!1,e.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),t.page=2;break;default:t.uploading=!1,e.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),t.page=2}})),e.value=null,t.uploadProgress=0}))},toggleFilter:function(t,e){this.media[this.carouselCursor].filter_class=e,this.currentFilter=e},deleteMedia:function(){var t=this;if(0!=window.confirm("Are you sure you want to delete this media?")){var e=this.media[this.carouselCursor].id;axios.delete("/api/compose/v0/media/delete",{params:{id:e}}).then((function(e){t.ids.splice(t.carouselCursor,1),t.media.splice(t.carouselCursor,1),0==t.media.length?(t.ids=[],t.media=[],t.carouselCursor=0):t.carouselCursor=0})).catch((function(t){swal("Whoops!","An error occured when attempting to delete this, please try again","error")}))}},compose:function(){var t=this,e=this.composeState;if(100==this.uploadProgress&&0!=this.ids.length)if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(e){case"publish":if(!0===this.composeSettings.media_descriptions)if(this.media.filter((function(t){return!t.hasOwnProperty("alt")||t.alt.length<2})).length)return void swal("Missing media descriptions","You have enabled mandatory media descriptions. Please add media descriptions under Advanced settings to proceed. For more information, please see the media settings page.","warning");if(0==this.media.length)return void swal("Whoops!","You need to add media before you can save this!","warning");"Add optional caption..."==this.composeText&&(this.composeText="");var i={media:this.media,caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames,optimize_media:this.optimizeMedia,license:this.licenseId,video:this.video};return this.collectionsSelected.length&&(i.collections=this.collectionsSelected.map((function(e){return t.collections[e].id}))),void axios.post("/api/compose/v0/publish",i).then((function(t){"/i/web/compose"===location.pathname&&t.data&&t.data.length?location.href="/i/web/post/"+t.data.split("/").slice(-1)[0]:location.href=t.data})).catch((function(t){if(t.response){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}else swal("Oops, something went wrong!",t.message,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void n("#composeModal").modal("hide")}},composeTextPost:function(){var t=this.composeState;if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(t){case"publish":var e={caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames};return void axios.post("/api/compose/v0/publish/text",e).then((function(t){var e=t.data;window.location.href=e})).catch((function(t){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void n("#composeModal").modal("hide")}},closeModal:function(){n("#composeModal").modal("hide"),this.$emit("close")},goBack:function(){switch(this.pageTitle="",this.mode){case"photo":switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page=3:this.page--}break;case"video":this.page,this.page="video-2";break;default:switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page="text"==this.mode?"addText":3:"text"==this.mode||this.page--}}},nextPage:function(){switch(this.pageTitle="",this.page){case 1:this.page=2;break;case"cropPhoto":this.pageLoading=!0;var t=this;this.$refs.cropper.getCroppedCanvas({maxWidth:4096,maxHeight:4096,fillColor:"#fff",imageSmoothingEnabled:!1,imageSmoothingQuality:"high"}).toBlob((function(e){t.mediaCropped=!0;var i=new FormData;i.append("file",e),i.append("id",t.ids[t.carouselCursor]);axios.post("/api/compose/v0/media/update",i).then((function(e){t.media[t.carouselCursor].url=e.data.url,t.pageLoading=!1,t.page=2})).catch((function(t){}))}));break;case 2:this.currentFilter?window.confirm("Are you sure you want to apply this filter?")&&(this.applyFilterToMedia(),this.page++):this.page++;break;case 3:this.page++}},rotate:function(){this.$refs.cropper.rotate(90)},changeAspect:function(t){this.cropper.aspectRatio=t,this.$refs.cropper.setAspectRatio(t)},showTagCard:function(){this.pageTitle="Tag People",this.page="tagPeople"},showTagHelpCard:function(){this.pageTitle="About Tag People",this.page="tagPeopleHelp"},showLocationCard:function(){this.pageTitle="Add Location",this.page="addLocation"},showAdvancedSettingsCard:function(){this.pageTitle="Advanced Settings",this.page="advancedSettings"},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){switch(this.place=t,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showVisibilityCard:function(){this.pageTitle="Post Visibility",this.page="visibility"},showAddToStoryCard:function(){this.pageTitle="Add to Story",this.page="addToStory"},showCropPhotoCard:function(){this.pageTitle="Edit Photo",this.page="cropPhoto"},toggleVisibility:function(t){switch(this.visibility=t,this.visibilityTag={public:"Public",private:"Followers Only",unlisted:"Unlisted"}[t],this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showMediaDescriptionsCard:function(){this.pageTitle="Media Descriptions",this.page="altText"},showAddToCollectionsCard:function(){this.pageTitle="Add to Collection",this.page="addToCollection"},showSchedulePostCard:function(){this.pageTitle="Schedule Post",this.page="schedulePost"},showEditMediaCard:function(){this.pageTitle="Edit Media",this.page="editMedia"},fetchCameraRollDrafts:function(){var t=this;axios.get("/api/pixelfed/local/drafts").then((function(e){t.cameraRollMedia=e.data}))},applyFilterToMedia:function(){var t=navigator.userAgent.toLowerCase();if(-1!=t.indexOf("firefox")||-1!=t.indexOf("chrome"))for(var e=this.media,i=null,s=document.getElementById("pr_canvas"),a=s.getContext("2d"),o=document.getElementById("pr_img"),n=null,l=e.length-1;l>=0;l--)(i=e[l]).filter_class&&(o.src=i.url,o.addEventListener("load",(function(t){s.width=o.width,s.height=o.height,a.filter=App.util.filterCss[i.filter_class],a.drawImage(o,0,0,o.width,o.height),a.save(),s.toBlob((function(t){(n=new FormData).append("file",t),n.append("id",i.id),axios.post("/api/compose/v0/media/update",n).then((function(t){})).catch((function(t){}))}))}),i.mime,.9),a.clearRect(0,0,o.width,o.height));else swal("Oops!","Your browser does not support the filter feature.","error")},tagSearch:function(t){if(t.length<1)return[];var e=this;return axios.get("/api/compose/v0/search/tag",{params:{q:t}}).then((function(t){if(t.data.length)return t.data.filter((function(t){return 0==e.taggedUsernames.filter((function(e){return e.id==t.id})).length}))}))},getTagResultValue:function(t){return"@"+t.name},onTagSubmitLocation:function(t){this.taggedUsernames.filter((function(e){return e.id==t.id})).length||(this.taggedUsernames.push(t),this.$refs.autocomplete.value="")},untagUsername:function(t){this.taggedUsernames.splice(t,1)},showTextOptions:function(){this.page="textOptions",this.pageTitle="Text Post Options"},showLicenseCard:function(){this.pageTitle="Select a License",this.page="licensePicker"},toggleLicense:function(t){var e=this;switch(this.licenseId=t.id,this.licenseId>10?this.licenseTitle=this.availableLicenses.filter((function(t){return t.id==e.licenseId})).map((function(t){return t.title}))[0]:this.licenseTitle=null,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},newPoll:function(){this.page="poll"},savePollOption:function(){-1==this.pollOptions.indexOf(this.pollOptionModel)?(this.pollOptions.push(this.pollOptionModel),this.pollOptionModel=null):this.pollOptionModel=null},deletePollOption:function(t){this.pollOptions.splice(t,1)},postNewPoll:function(){var t=this;this.postingPoll=!0,axios.post("/api/compose/v0/poll",{caption:this.composeText,cw:!1,visibility:this.visibility,comments_disabled:!1,expiry:this.pollExpiry,pollOptions:this.pollOptions}).then((function(e){if(!e.data.hasOwnProperty("url"))return swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error"),void(t.postingPoll=!1);window.location.href=e.data.url})).catch((function(e){if(console.log(e.response.data.error),e.response.data.hasOwnProperty("error")&&"Duplicate detected."==e.response.data.error)return t.postingPoll=!1,void swal("Oops!","The poll you are trying to create is similar to an existing poll you created. Please make the poll question (caption) unique.","error");t.postingPoll=!1,swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error")}))},filesize:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){return filesize(1024*t,{round:0})})),showCollectionCard:function(){this.pageTitle="Add to Collection(s)",this.page="addToCollection",this.collectionsLoaded||this.fetchCollections()},fetchCollections:function(){var t=this;axios.get("/api/local/profile/collections/".concat(this.profile.id)).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.collectionsCanLoadMore=9==e.data.length,t.collectionsPage++}))},toggleCollectionItem:function(t){if(this.collectionsSelected.includes(t))this.collectionsSelected=this.collectionsSelected.filter((function(e){return e!=t}));else{if(7==this.collectionsSelected.length)return void swal("Oops!","You can only share to 5 collections.","info");this.collectionsSelected.push(t)}},clearSelectedCollections:function(){this.collectionsSelected=[],this.pageTitle="Compose",this.page=3},loadMoreCollections:function(){var t=this;this.collectionsCanLoadMore=!1,axios.get("/api/local/profile/collections/".concat(this.profile.id),{params:{page:this.collectionsPage}}).then((function(e){var i,s=t.collections.map((function(t){return t.id})),a=e.data.filter((function(t){return!s.includes(t.id)}));a&&a.length&&((i=t.collections).push.apply(i,l(a)),t.collectionsPage++,t.collectionsCanLoadMore=!0)}))}}}},36198:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(23645),a=i.n(s)()((function(t){return t[1]}));a.push([t.id,'.compose-desktop .tab-flex[data-v-7250b55e]{align-items:center;display:flex;justify-content:center;min-height:600px}.compose-desktop .tab[data-v-7250b55e]{min-height:600px}.compose-desktop .crop-dimension-btn[data-v-7250b55e]{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px;padding-left:0;text-decoration:none;width:100%}.compose-desktop .crop-dimension-btn-label[data-v-7250b55e]{align-items:center;color:#212529;display:flex}.compose-desktop .crop-dimension-btn-label-icon[data-v-7250b55e]{margin-right:10px;text-align:center;width:40px}.compose-desktop .crop-dimension-btn-label-name[data-v-7250b55e]{font-size:.99rem;font-weight:300}.compose-desktop .crop-dimension-btn.active .crop-dimension-btn-indicator i[data-v-7250b55e]{color:#2c78bf!important}.compose-desktop .crop-dimension-btn.active .crop-dimension-btn-indicator .fa-circle[data-v-7250b55e]:before{content:""}.compose-desktop .crop-dimension-btn[disabled=disabled] .crop-dimension-btn-indicator[data-v-7250b55e],.compose-desktop .crop-dimension-btn[disabled=disabled] .crop-dimension-btn-label[data-v-7250b55e]{color:#b8c2cc!important}.compose-desktop .hide-scroll[data-v-7250b55e]{-ms-overflow-style:none;overflow-y:scroll;scrollbar-width:none}.compose-desktop .hide-scroll[data-v-7250b55e]::-webkit-scrollbar{display:none}.compose-desktop .no-focus[data-v-7250b55e]{border-color:none;box-shadow:none;outline:0}.compose-desktop .list-btn[data-v-7250b55e]{align-items:center;background-color:#fff;border:1px solid rgba(0,0,0,.125);border-left:0;border-right:0;display:flex;justify-content:space-between;padding:.75rem 1.25rem;position:relative}.compose-desktop .list-btn[data-v-7250b55e]:not(:first-child){border-top:0}.compose-desktop .list-btn .lead[data-v-7250b55e]{font-size:1rem}.compose-desktop .list-btn.active[data-v-7250b55e]{background-color:#f3f4f6}.compose-desktop .list-btn.active .lead[data-v-7250b55e]{font-weight:500}.compose-desktop .settings-tab[data-v-7250b55e]{border-radius:0;display:flex;flex-direction:column;flex-grow:1;margin-bottom:0;margin-left:-1rem;margin-top:-17px;max-height:600px;overflow-y:auto;padding-left:0}.compose-desktop .media-square[data-v-7250b55e]{border:1px solid #dee2e6;border-radius:.25rem;cursor:pointer;height:70px;margin:auto .5rem;-o-object-fit:cover;object-fit:cover;width:70px}.compose-desktop .media-square.active[data-v-7250b55e]{border:3px solid var(--primary);padding:2px}.compose-desktop .media-square.activeold[data-v-7250b55e]{border:3px dashed #bfdbfe;padding:2px}.compose-desktop .media-add-square[data-v-7250b55e]{right:0}.compose-desktop .media-add-square[data-v-7250b55e],.compose-desktop .media-remove-square[data-v-7250b55e]{align-items:center;display:flex;height:70px;justify-content:center;position:-webkit-sticky;position:sticky;text-decoration:none;top:0;width:30px}.compose-desktop .media-remove-square[data-v-7250b55e]{left:0}.compose-desktop .media-remove-square .fa-minus-circle[data-v-7250b55e]{color:#b8c2cc!important}.compose-desktop .media-thumbs[data-v-7250b55e]{-ms-overflow-style:none;display:flex;height:auto;justify-content:center;margin-top:1rem;max-width:500px;overflow-y:auto;position:relative;scrollbar-width:none;width:100%}.compose-desktop .media-thumbs[data-v-7250b55e]::-webkit-scrollbar{display:none}.compose-desktop .edit-nav-tab[data-v-7250b55e]{border-bottom:1px solid #dee2e6!important;color:#b8c2cc;cursor:pointer;font-weight:400;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.compose-desktop .edit-nav-tab.active[data-v-7250b55e]{border-bottom:1px solid #000!important;color:#212529;font-weight:700}',""]);const o=a},74180:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(23645),a=i.n(s)()((function(t){return t[1]}));a.push([t.id,".compose-modal-component .media-drawer-filters{flex-wrap:unset;overflow-x:scroll}.compose-modal-component .media-drawer-filters::-webkit-scrollbar{background:transparent;width:0}.compose-modal-component .media-drawer-filters .nav-link{min-width:100px;padding-bottom:1rem;padding-top:1rem}.compose-modal-component .media-drawer-filters .active{color:#fff;font-weight:700}@media(hover:none)and (pointer:coarse){.compose-modal-component .media-drawer-filters::-webkit-scrollbar{display:none}}.compose-modal-component .no-focus{border-color:none;box-shadow:none;outline:0}.compose-modal-component a.list-group-item{text-decoration:none}.compose-modal-component a.list-group-item:hover{background-color:#f8f9fa;text-decoration:none}.compose-modal-component .compose-action:hover{background-color:#f8f9fa;cursor:pointer}.compose-modal-component .collections-list-group{max-height:500px;overflow-y:auto}.compose-modal-component .collections-list-group .list-group-item.active{background-color:#dbeafe!important;border-color:#60a5fa!important;color:#212529}",""]);const o=a},12932:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var s=i(93379),a=i.n(s),o=i(36198),n={insert:"head",singleton:!1};a()(o.default,n);const l=o.default.locals||{}},9206:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var s=i(93379),a=i.n(s),o=i(74180),n={insert:"head",singleton:!1};a()(o.default,n);const l=o.default.locals||{}},55763:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(1378),a=i(55489),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);const n=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,null,null).exports},14205:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(85065),a=i(89997),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);i(39871);const n=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,"7250b55e",null).exports},64439:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(40616),a=i(10594),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);i(18884);const n=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,null,null).exports},55489:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(31453),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},89997:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(61043),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},10594:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(49144),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},39871:(t,e,i)=>{i.r(e);var s=i(12932),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},18884:(t,e,i)=>{i.r(e);var s=i(9206),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},1378:(t,e,i)=>{i.r(e);var s=i(73908),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},85065:(t,e,i)=>{i.r(e);var s=i(95827),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},40616:(t,e,i)=>{i.r(e);var s=i(5247),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},73908:(t,e,i)=>{i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"web-wrapper"},[t.isLoaded?i("div",{staticClass:"container-fluid mt-3"},[i("div",{staticClass:"row"},[i("div",{staticClass:"col-md-3 d-md-block"},[i("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),i("div",{staticClass:"col-md-8"},[t.showNew?i("div",[i("compose-desktop")],1):i("div",{staticClass:"row"},[i("div",{staticClass:"col-12 col-md-8 offset-md-1"},[i("compose-modal",{on:{close:t.closeModal}})],1)])])]),t._v(" "),i("drawer")],1):t._e()])},a=[]},95827:(t,e,i)=>{i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"compose-desktop"},[i("input",{ref:"dz",staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",name:"media",accept:t.config.uploader.media_types},on:{change:t.uploadMedia}}),t._v(" "),i("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),i("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),i("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"},on:{drop:function(e){return t.dropHandler(e)},dragover:function(e){return t.dragOverHandler(e)}}},[i("div",{staticClass:"card-header",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},["home"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[t._m(0),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Compose")]),t._v(" "),t._m(1)]):t._e(),t._v(" "),"crop"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Crop")]),t._v(" "),t._m(2)]):t._e(),t._v(" "),"edit"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Edit")]),t._v(" "),t._m(3)]):t._e(),t._v(" "),"caption"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Compose")]),t._v(" "),t._m(4)]):t._e(),t._v(" "),"alt-text"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Alt Text")]),t._v(" "),t._m(5)]):t._e(),t._v(" "),"settings"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v(t._s(t.settingsTitle))]),t._v(" "),t._m(6)]):t._e()]),t._v(" "),t.uploading?i("div",{staticClass:"card-body p-0 d-flex justify-content-center align-items-center",staticStyle:{height:"600px"}},[i("div",{staticClass:"text-center"},[i("b-spinner"),t._v(" "),i("p",[t._v(t._s(t.$t("post.uploading"))+"...")])],1)]):i("div",{staticClass:"card-body p-0"},["home"==t.tab?i("div",[i("div",{staticClass:"tab-flex"},[i("div",{staticClass:"d-flex justify-content-between align-items-center"},[t._m(7),t._v(" "),i("span",{staticClass:"font-weight-bold mx-4"},[t._v("or")]),t._v(" "),i("button",{staticClass:"btn btn-light shadow text-center mx-4 p-3",staticStyle:{"border-radius":"18px"},on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-upload fa-3x my-3 text-lighter"}),t._v(" "),i("p",{staticClass:"font-weight-bold text-dark mb-0"},[t._v("Browse from my device")])])])]),t._v(" "),i("div",{staticClass:"text-center"},[i("p",{staticClass:"text-muted"},[t._v("Photos and videos can be up to "),i("strong",[t._v(t._s(t.maxFileSize))]),t._v(" in size, and must be one of the following formats:\n\t\t\t\t\t\t"),t._l(t.config.uploader.media_types.split(","),(function(e){return i("span",{staticClass:"mr-1"},[i("kbd",[t._v(t._s(e.split("/")[1]))])])}))],2)])]):t._e(),t._v(" "),"crop"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[t.activeCrop?i("vue-cropper",{ref:"croppa",staticClass:"p-0 img-fluid",attrs:{aspectRatio:t.cropRatios[t.cropRatio],viewMode:3,dragMode:"move",autoCropArea:1,guides:!1,highlight:!1,cropBoxMovable:!1,cropBoxResizable:!1,toggleDragModeOnDblclick:!1,src:t.media[t.mediaIndex].url,data:t.crops[t.mediaIndex]},on:{crop:t.onCropEnd,zoom:t.onCropEnd}}):i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}})],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("div",[i("h5",{staticClass:"font-weight-bold mb-3"},[t._v("Select a Crop")]),t._v(" "),t._m(8),t._v(" "),i("button",{staticClass:"btn crop-dimension-btn",class:{active:1==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(1)}}},[t._m(9),t._v(" "),t._m(10)]),t._v(" "),i("button",{staticClass:"btn crop-dimension-btn",class:{active:2==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(2)}}},[t._m(11),t._v(" "),t._m(12)]),t._v(" "),i("button",{staticClass:"btn crop-dimension-btn",class:{active:3==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(3)}}},[t._m(13),t._v(" "),t._m(14)])]),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",on:{click:t.cropMedia}},[t._v("Next")])])])]):t._e(),t._v(" "),"edit"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}})])]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("nav",{staticClass:"nav nav-fill text-uppercase",staticStyle:{"margin-left":"-16px"}},[i("div",{staticClass:"nav-link edit-nav-tab",class:{active:"filters"==t.editTab},on:{click:function(e){return t.toggleEditTab("filters")}}},[t._v("\n\t\t\t\t\t\t\tFilters\n\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"nav-link edit-nav-tab",class:{active:"edit"==t.editTab},on:{click:function(e){return t.toggleEditTab("edit")}}},[t._v("\n\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t")])]),t._v(" "),"filters"==t.editTab?i("div",{staticClass:"row pr-3 hide-scroll mt-2",staticStyle:{height:"450px","overflow-y":"auto"}},[i("div",{staticClass:"col-4 mb-3",on:{click:function(e){return t.selectFilter(null)}}},[i("p",{staticClass:"font-weight-bold text-center small mb-1",class:[null==t.activeFilter?"text-dark":"text-lighter"]},[t._v("Original")]),t._v(" "),i("span",{staticClass:"border rounded d-block overflow-hidden",class:[null==t.activeFilter?"shadow-lg":""]},[t._m(15)])]),t._v(" "),t._l(t.filters,(function(e,s){return i("div",{staticClass:"col-4 mb-3",on:{click:function(e){return t.selectFilter(s)}}},[i("p",{staticClass:"font-weight-bold text-center small mb-1",class:[t.activeFilter==s?"text-dark":"text-lighter"]},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e[0])+"\n\t\t\t\t\t\t\t")]),t._v(" "),i("span",{staticClass:"border rounded d-block overflow-hidden",class:[t.activeFilter==s?"shadow-lg":""]},[i("span",{staticClass:"d-block",class:e[1]},[i("img",{staticStyle:{width:"100%",height:"auto"},attrs:{src:"https://pixelfed.test/storage/m/_v2/321493203255693312/f98697a52-a34568/N3fVbXluhhaO/qmqOrgXvjyWVa7GyTHYP6Vs9ZNskrQ4YNbdks2DZ.jpg"}})])])])}))],2):t._e(),t._v(" "),"edit"==t.editTab?i("div",{staticClass:"settings-tab hide-scroll mt-0"},[i("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[i("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tBrightness\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.brightness,callback:function(e){t.$set(t.edit,"brightness",e)},expression:"edit.brightness"}})],1),t._v(" "),i("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.brightness-100)+"\n\t\t\t\t\t\t\t")])]),t._v(" "),i("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[i("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tContrast\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.contrast,callback:function(e){t.$set(t.edit,"contrast",e)},expression:"edit.contrast"}})],1),t._v(" "),i("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.contrast-100)+"\n\t\t\t\t\t\t\t")])]),t._v(" "),i("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[i("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tSaturation\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.saturation,callback:function(e){t.$set(t.edit,"saturation",e)},expression:"edit.saturation"}})],1),t._v(" "),i("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.saturation-100)+"\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",on:{click:t.applyEdit}},[t._v("Next")])])])]):t._e(),t._v(" "),"caption"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},[t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),t._v(" "),i("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("div",{staticClass:"pr-3"},[i("div",{staticClass:"media align-items-center mb-3"},[i("img",{staticClass:"rounded-circle mr-3",attrs:{src:t.profile.avatar,width:"30",height:"30"}}),t._v(" "),i("div",{staticClass:"media-body lead font-weight-bold"},[t._v(t._s(t.profile.username))])]),t._v(" "),i("div",{staticClass:"form-group mb-3"},[i("div",{staticClass:"border rounded"},[i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 no-focus",staticStyle:{resize:"none","border-radius":"8px"},attrs:{rows:"3",placeholder:"Add an optional caption...",maxlength:"1000"},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("div",{staticClass:"text-lighter p-2 d-flex align-items-end justify-content-between"},[i("div",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.composeText?t.composeText.length:0)),i("span",{staticStyle:{margin:"auto 2px"}},[t._v("/")]),t._v("1000\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),t._m(16)])],1)]),t._v(" "),t._m(17)]),t._v(" "),i("div",{staticClass:"list-group ml-n3 rounded-0 flex-grow-1"},[i("div",{staticClass:"list-btn"},[i("div",{staticClass:"lead mb-0"},[t._v("Sensitive")]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleSensitive}},[i("i",{staticClass:"fal no-focus fa-2x",class:[t.sensitive?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editAltText}},[i("div",{staticClass:"lead mb-0"},[t._v("Accessibility")]),t._v(" "),i("div",{staticClass:"text-lighter"},[i("i",{staticClass:"fal fa-lg",class:[t.media.filter((function(t){return t&&t.description&&t.description.length})).length?"fa-check-circle text-success":"fa-chevron-right"]})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.advancedSettings}},[i("div",{staticClass:"lead mb-0"},[t._v("Advanced Settings")]),t._v(" "),t._m(18)]),t._v(" "),t.collections.length&&t.collectionsSelected.length?i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editCollection}},[i("div",{staticClass:"lead mb-0"},[t._v("Sharing to "+t._s(t.collectionsSelected.length)+" collections")]),t._v(" "),t._m(19)]):t._e()]),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",attrs:{disabled:t.isPosting},on:{click:t.sharePost}},[t.isPosting?i("b-spinner",{attrs:{small:""}}):i("span",[t._v(t._s(t.$t("common.share")))])],1)])])]):t._e(),t._v(" "),"alt-text"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},[t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),t._v(" "),i("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("div",{staticClass:"pr-3"},[i("p",{staticClass:"lead mt-3 pb-3"},[t._v("Describe your media for alt text that is used by people with limited vision")]),t._v(" "),i("div",{staticClass:"form-group mb-3"},[i("div",{staticClass:"border rounded"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.mediaIndex].description,expression:"media[mediaIndex].description"}],staticClass:"form-control border-0 no-focus",staticStyle:{resize:"none","border-radius":"8px"},attrs:{rows:"3",placeholder:"Add alt text here...",maxlength:"1000"},domProps:{value:t.media[t.mediaIndex].description},on:{input:function(e){e.target.composing||t.$set(t.media[t.mediaIndex],"description",e.target.value)}}}),t._v(" "),i("div",{staticClass:"text-lighter p-2 d-flex align-items-end justify-content-between"},[i("div",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.media[t.mediaIndex].description?t.media[t.mediaIndex].description.length:0)),i("span",{staticStyle:{margin:"auto 2px"}},[t._v("/")]),t._v("1000\n\t\t\t\t\t\t\t\t\t")])])])])]),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-light font-weight-bold btn-block py-1",on:{click:function(e){return t.goBack()}}},[t._v("Back")])])])]):t._e(),t._v(" "),"settings"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),0)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},["home"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editAudience}},[i("div",{staticClass:"lead mb-0"},[t._v("Audience")]),t._v(" "),i("div",{staticClass:"text-lighter"},[i("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0 text-capitalize"},[t._v(t._s(t.composeScope))]),t._v(" "),i("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),i("div",{staticClass:"list-btn"},[i("div",{staticClass:"lead mb-0"},[t._v("Disable Comments")]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleDisableComments}},[i("i",{staticClass:"fal no-focus fa-2x",class:[t.composeDisabledComments?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editLicense}},[i("div",{staticClass:"lead mb-0"},[t._v("License")]),t._v(" "),i("div",{staticClass:"text-lighter"},[i("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.licenseIndex>=2?t.availableLicenses[t.licenseIndex].title:t.availableLicenses[t.licenseIndex].name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editMedia}},[i("div",{staticClass:"lead mb-0"},[t._v("Media")]),t._v(" "),t._m(20)]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editSchedule}},[i("div",{staticClass:"lead mb-0"},[t._v("Schedule")]),t._v(" "),i("div",{staticClass:"text-lighter"},[t.schedule.enabled?i("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.getScheduleDate())+"\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),i("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editCollection}},[i("div",{staticClass:"lead mb-0"},[t._v("Share to Collection")]),t._v(" "),t._m(21)])]):t._e(),t._v(" "),"audience"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("button",{staticClass:"list-btn",class:{active:"public"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("public")}}},[i("div",{staticClass:"lead mb-0"},[t._v("Public")]),t._v(" "),t._m(22)]),t._v(" "),i("button",{staticClass:"list-btn",class:{active:"unlisted"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("unlisted")}}},[i("div",{staticClass:"lead mb-0"},[t._v("Unlisted")]),t._v(" "),t._m(23)]),t._v(" "),i("button",{staticClass:"list-btn",class:{active:"followers"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("followers")}}},[i("div",{staticClass:"lead mb-0"},[t._v("Followers Only")]),t._v(" "),t._m(24)])]):t._e(),t._v(" "),"license"==t.settingsTab?i("div",{staticClass:"settings-tab"},t._l(t.availableLicenses,(function(e,s){return i("button",{staticClass:"list-btn",class:{active:t.licenseIndex==s},attrs:{type:"button"},on:{click:function(e){return t.setLicense(s)}}},[i("div",{staticClass:"lead mb-0"},[t._v(t._s(e.name))]),t._v(" "),t._m(25,!0)])})),0):t._e(),t._v(" "),"media"==t.settingsTab?i("div",{staticClass:"settings-tab"},[t._m(26),t._v(" "),t._m(27)]):t._e(),t._v(" "),"schedule"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("div",{staticClass:"list-btn"},[i("div",{staticClass:"lead mb-0"},[t._v("Schedule Post")]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleSchedule}},[i("i",{staticClass:"fal no-focus fa-2x",class:[t.schedule.enabled?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),i("div",{staticClass:"list-btn"},[t._m(28),t._v(" "),i("b-form-datepicker",{attrs:{min:t.schedule.minDate,max:t.schedule.maxDate,"date-format-options":{year:"numeric",month:"long",day:"2-digit"}},model:{value:t.schedule.date,callback:function(e){t.$set(t.schedule,"date",e)},expression:"schedule.date"}})],1),t._v(" "),i("div",{staticClass:"list-btn"},[t._m(29),t._v(" "),i("b-form-timepicker",{attrs:{locale:"en"},model:{value:t.schedule.time,callback:function(e){t.$set(t.schedule,"time",e)},expression:"schedule.time"}})],1),t._v(" "),i("div",{staticClass:"list-btn border-bottom-0"},[i("div",[i("p",{staticClass:"small text-muted mb-0"},[t._v("You can set a date up to 2 months away.")]),t._v(" "),i("p",{staticClass:"small text-muted"},[t._v("Date & time relative to "),i("strong",[t._v(t._s(t.schedule.tz))]),t._v(" timezone.")])])])]):t._e(),t._v(" "),"collection"==t.settingsTab?i("div",[t.collectionsLoaded?i("div",{staticClass:"settings-tab"},[t.collectionsSelected.length?i("div",{staticClass:"list-btn justify-content-center py-2 bg-light",staticStyle:{position:"sticky",top:"0","z-index":"1"}},[i("div",{staticClass:"text-center"},[i("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.collectionsSelected.length)+" "+t._s(1==t.collectionsSelected.length?"collection":"collections")+" selected\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),5==t.collectionsSelected.length?i("p",{staticClass:"mb-0 small text-muted"},[t._v("5 collections max can be shared to")]):t._e()])]):t._e(),t._v(" "),t._l(t.collections,(function(e,s){return i("button",{staticClass:"list-btn",class:{"border-bottom-0":t.collections.length>=8&&s==t.collections.length-1&&!t.collectionsCanLoadMore},attrs:{type:"button",disabled:5==t.collectionsSelected.length&&-1==t.collectionsSelected.indexOf(e.id)},on:{click:function(i){return t.addToCollections(e.id)}}},[i("div",{staticClass:"media"},[i("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:e.thumb,width:"65",height:"65"}}),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"lead mb-0"},[t._v(t._s(e.title))]),t._v(" "),i("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(e.description||"No description available"))]),t._v(" "),i("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[i("span",[t._v(t._s(e.post_count)+" posts")]),t._v(" "),i("span",[t._v("·")]),t._v(" "),i("span",[t._v("Created "+t._s(t.timeago(e.published_at))+" ago")])])])]),t._v(" "),i("div",{staticClass:"text-lighter"},[-1==t.collectionsSelected.indexOf(e.id)?i("i",{staticClass:"fal fa-circle fa-lg"}):i("i",{staticClass:"far fa-dot-circle fa-lg text-success"})])])})),t._v(" "),t.collectionsCanLoadMore?i("button",{staticClass:"list-btn border-bottom-0 justify-content-center py-4",attrs:{type:"button"},on:{click:t.collectionsLoadMore}},[i("i",{staticClass:"fal fa-plus-circle fa-2x"})]):t._e()],2):i("div",[i("b-spinner")],1)]):t._e(),t._v(" "),"group"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("div",{staticClass:"list-btn"},[t._v("\n\t\t\t\t\t\t\tGroups here\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"tag"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("div",{staticClass:"list-btn"},[t._v("\n\t\t\t\t\t\t\tTag ppl\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-light font-weight-bold btn-block py-1",on:{click:function(e){return t.goBack()}}},[t._v("Back")])])])]):t._e()])])])},a=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card card-body shadow-none text-center mx-4",staticStyle:{"border-radius":"18px"}},[i("i",{staticClass:"fal fa-image fa-3x my-3 text-lighter"}),t._v(" "),i("p",{staticClass:"font-weight-bold text-dark mb-0"},[t._v("Drag photos or videos here")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("button",{staticClass:"btn crop-dimension-btn active"},[i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-image fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Original")])]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-indicator"},[i("i",{staticClass:"far fa-circle fa-lg text-lighter"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-square fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Square (1:1)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-rectangle-portrait fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Portrait (4:5)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-rectangle-landscape fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Landscape (16:9)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("img",{staticStyle:{width:"100%",height:"auto"},attrs:{src:"https://pixelfed.test/storage/m/_v2/321493203255693312/f98697a52-a34568/N3fVbXluhhaO/qmqOrgXvjyWVa7GyTHYP6Vs9ZNskrQ4YNbdks2DZ.jpg"}})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-lighter"},[i("span",[i("i",{staticClass:"fal fa-at",staticStyle:{"font-size":"20px"}})]),t._v(" "),i("span",{staticClass:"ml-2"},[i("i",{staticClass:"fal fa-hashtag",staticStyle:{"font-size":"20px"}})]),t._v(" "),i("span",{staticClass:"ml-2"},[i("i",{staticClass:"fal fa-smile",staticStyle:{"font-size":"20px"}})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"form-group",staticStyle:{position:"relative"}},[i("input",{staticClass:"form-control",staticStyle:{"padding-left":"35px",height:"45px","font-size":"15px","border-radius":"8px"},attrs:{type:"text",placeholder:"Add Location",disabled:""}}),t._v(" "),i("span",{staticStyle:{left:"13px",top:"50%",transform:"translateY(-50%)",position:"absolute"}},[i("i",{staticClass:"fal fa-map-marker-alt text-lighter"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"list-btn"},[i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0"},[t._v("Disable media optimization")]),t._v(" "),i("p",{staticClass:"small mb-0 text-muted"},[t._v("Prevents image optimization that may degrade quality. Only available for single photo posts.")])]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",attrs:{disabled:""}},[i("i",{staticClass:"fal fa-toggle-off text-lighter no-focus fa-2x"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"list-btn"},[i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0"},[t._v("Strip EXIF")]),t._v(" "),i("p",{staticClass:"small mb-0 text-muted"},[t._v("Strips all EXIF data that may leak location information.")])]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",attrs:{disabled:""}},[i("i",{staticClass:"fal fa-toggle-on text-danger no-focus fa-2x"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0 mr-4"},[t._v("Date")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0 mr-4"},[t._v("Time")])])}]},5247:(t,e,i)=>{i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"compose-modal-component"},[i("input",{staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",id:"pf-dz",name:"media",multiple:"",accept:t.config.uploader.media_types}}),t._v(" "),i("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),i("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),i("div",{staticClass:"timeline"},[t.uploading?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100 bg-light py-3",staticStyle:{"border-bottom":"1px solid #f1f1f1"}},[i("div",{staticClass:"p-5 mt-2"},[i("b-progress",{attrs:{value:t.uploadProgress,max:100,striped:"",animated:!0}}),t._v(" "),i("p",{staticClass:"text-center mb-0 font-weight-bold"},[t._v("Uploading ... ("+t._s(t.uploadProgress)+"%)")])],1)])]):"cameraRoll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[t._m(0),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[t.cameraRollMedia.length>0?i("div",{staticClass:"row p-0 m-0"},t._l(t.cameraRollMedia,(function(t,e){return i("div",{class:[0==e?"col-12 p-0":"col-3 p-0"]},[i("div",{staticClass:"card info-overlay p-0 rounded-0 shadow-none border"},[i("div",{staticClass:"square"},[i("img",{staticClass:"square-content",attrs:{src:t.preview_url}})])])])})),0):i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[i("span",{staticClass:"w-100 h-100"},[i("button",{staticClass:"btn btn-primary",attrs:{type:"button"}},[t._v("Upload")]),t._v(" "),i("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.fetchCameraRollDrafts()}}},[t._v("Load Camera Roll")])])])])])]):"poll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[t._m(1),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tNew Poll\n\t\t\t\t\t")]),t._v(" "),t.postingPoll?i("span",[t._m(2)]):!t.postingPoll&&t.pollOptions.length>1&&t.composeText.length?i("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:t.postNewPoll}},[i("span",[t._v("Create Poll")])]):i("span",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\tCreate Poll\n\t\t\t\t\t")])]),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{staticClass:"rounded-circle",attrs:{src:t.profile.avatar,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a poll question..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\tPoll Options\n\t\t\t\t\t\t")]),t._v(" "),t.pollOptions.length<4?i("div",{staticClass:"form-group mb-4"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptionModel,expression:"pollOptionModel"}],staticClass:"form-control rounded-pill",attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptionModel},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.savePollOption.apply(null,arguments)},input:function(e){e.target.composing||(t.pollOptionModel=e.target.value)}}})]):t._e(),t._v(" "),t._l(t.pollOptions,(function(e,s){return i("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[i("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(s+1)+".")]),t._v(" "),t.pollOptions[s].length<50?i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control rounded-pill",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}):i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{placeholder:"Add a poll option, press enter to save",rows:"3"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}),t._v(" "),i("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(s)}}},[i("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),i("hr"),t._v(" "),i("div",{staticClass:"d-flex justify-content-between"},[i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Expiry\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.pollExpiry,expression:"pollExpiry"}],staticClass:"form-control rounded-pill",staticStyle:{width:"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.pollExpiry=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),i("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),i("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),i("option",{attrs:{value:"10080"}},[t._v("7 days")])])])]),t._v(" "),i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Visibility\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.visibility,expression:"visibility"}],staticClass:"form-control rounded-pill",staticStyle:{"max-width":"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.visibility=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),i("option",{attrs:{value:"private"}},[t._v("Followers Only")])])])])])],2)])])]):i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("div",[1==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[i("i",{staticClass:"fas fa-times fa-lg"}),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):2==t.page?i("span",[t.config.uploader.album_limit>t.media.length?i("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold",attrs:{id:"cm-add-media-btn"},on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-plus"})]):i("button",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold",attrs:{disabled:""}},[i("i",{staticClass:"fas fa-plus"})]),t._v(" "),i("b-tooltip",{attrs:{target:"cm-add-media-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\t\tUpload another photo or video\n\t\t\t\t\t\t\t")])],1):3==t.page?i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3 d-flex align-items-center",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg mr-2"}),t._v(" "),i("span",{staticClass:"btn btn-outline-secondary btn-sm px-2 py-0 disabled",attrs:{disabled:""}},[t._v(t._s(t.media.length))])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg"})])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]),t._v(" "),2==t.page?i("div",[1==t.media.length?i("a",{staticClass:"text-center text-dark",attrs:{href:"#",title:"Crop & Resize",id:"cm-crop-btn"},on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-crop-alt fa-lg"})]):t._e(),t._v(" "),i("b-tooltip",{attrs:{target:"cm-crop-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\tCrop & Resize\n\t\t\t\t\t\t")])],1):t._e(),t._v(" "),i("div",[t.pageLoading?i("span",[t._m(3)]):i("span",[!t.pageLoading&&t.page>1&&t.page<=2||1==t.page&&0!=t.ids.length||"cropPhoto"==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.nextPage.apply(null,arguments)}}},[t._v("Next")]):t._e(),t._v(" "),t.pageLoading||3!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"addText"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.composeTextPost()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"video-2"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")])])])]),t._v(" "),i("div",{staticClass:"card-body p-0 border-top"},["licensePicker"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"list-group list-group-flush"},t._l(t.availableLicenses,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer",class:{"text-primary":t.licenseId===e.id,"font-weight-bold":t.licenseId===e.id},on:{click:function(i){return t.toggleLicense(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t")])})),0)]):t._e(),t._v(" "),"textOptions"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}}):t._e(),t._v(" "),"addText"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"mt-2"},[i("div",{staticClass:"media px-3"},[i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Body")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",staticStyle:{"font-size":"18px",resize:"none"},attrs:{rows:"7",placeholder:"What's happening?"},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),i("div",{staticClass:"border-bottom"}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0 font-weight-bold"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))]),t._v(" "),i("p",{staticClass:"mb-0 mt-2"},[i("a",{staticClass:"btn btn-primary rounded-pill mr-2",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTextOptions()}}},[i("i",{staticClass:"fas fa-palette px-3 text-white"})]),t._v(" "),i("a",{staticClass:"btn rounded-pill mx-3 d-inline-flex align-items-center",class:[t.nsfw?"btn-danger":"btn-outline-lighter"],staticStyle:{height:"37px"},attrs:{href:"#",title:"Mark as sensitive/not safe for work"},on:{click:function(e){e.preventDefault(),t.nsfw=!t.nsfw}}},[i("i",{staticClass:"far fa-flag px-3"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"})]),t._v(" "),i("a",{staticClass:"btn btn-outline-lighter rounded-pill d-inline-flex align-items-center",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-eye mr-2"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"},[t._v(t._s(t.visibilityTag))])])])])])])])]):t._e(),t._v(" "),1==t.page?i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center",staticStyle:{"min-height":"400px"}},[i("div",{staticClass:"text-center"},[0==t.media.length?i("div",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark"},[i("div",{staticClass:"card-body py-2",on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("div",{staticClass:"media"},[t._m(4),t._v(" "),i("div",{staticClass:"media-body text-left"},[t._m(5),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share up to "+t._s(t.config.uploader.album_limit)+" photos or videos")]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.config.uploader.media_types.split(",").map((function(t){return t.split("/")[1]})).join(", ")))]),t._v(" allowed up to "),i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.filesize(t.config.uploader.max_photo_size)))])])])])])]):t._e(),t._v(" "),t._e(),t._v(" "),1==t.config.features.stories?i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/stories/new"}},[t._m(7)]):t._e(),t._v(" "),t._e(),t._v(" "),t._m(9),t._v(" "),t._m(10)])]):t._e(),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"w-100 h-100"},[t.ids.length>0?i("div",[i("vue-cropper",{ref:"cropper",attrs:{relativeZoom:t.cropper.zoom,aspectRatio:t.cropper.aspectRatio,viewMode:t.cropper.viewMode,zoomable:t.cropper.zoomable,rotatable:!0,src:t.media[t.carouselCursor].url}})],1):t._e()]):t._e(),t._v(" "),2==t.page?i("div",{staticClass:"w-100 h-100"},[1==t.media.length?i("div",[i("div",{staticStyle:{display:"flex","min-height":"420px","align-items":"center"},attrs:{slot:"img"},slot:"img"},[i("img",{class:"d-block img-fluid w-100 "+[t.media[t.carouselCursor].filter_class?t.media[t.carouselCursor].filter_class:""],attrs:{src:t.media[t.carouselCursor].url,alt:t.media[t.carouselCursor].description,title:t.media[t.carouselCursor].description}})]),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):t.media.length>1?i("div",{staticClass:"d-flex-inline px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")]),t._v(" "),t._l(t.media,(function(e,s){return i("li",{staticClass:"nav-item mx-md-4"},[i("div",{staticClass:"nav-link",staticStyle:{display:"block",width:"300px",height:"300px"},on:{click:function(e){t.carouselCursor=s}}},[i("span",{class:[e.filter_class?e.filter_class:""]},[i("span",{class:"rounded border "+[s==t.carouselCursor?" border-primary shadow":""],style:"display:block;padding:5px;width:100%;height:100%;background-image: url("+e.url+");background-size:cover;border-width:3px !important;"})])]),t._v(" "),s==t.carouselCursor?i("div",{staticClass:"text-center mb-0 small text-lighter font-weight-bold pt-2"},[i("span",{staticClass:"cursor-pointer",on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[t._v("Crop")]),t._v(" "),i("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return e.preventDefault(),t.showEditMediaCard()}}},[t._v("Edit")]),t._v(" "),i("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.deleteMedia()}}},[t._v("Delete")])]):t._e()])})),t._v(" "),i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")])],2),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):i("div",[i("p",{staticClass:"mb-0 p-5 text-center font-weight-bold"},[t._v("An error occured, please refresh the page.")])])]):t._e(),t._v(" "),3==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a caption..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(11),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showTagCard()}}},[t._v("Tag people")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showCollectionCard()}}},[t._m(12),t._v(" "),i("span",{staticClass:"float-right"},[t.collectionsSelected.length?i("span",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px 5px","text-transform":"uppercase"},attrs:{href:"#",disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.collectionsSelected.length)+"\n\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t._m(13)])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[i("span",[t._v("Add license")]),t._v(" "),i("span",{staticClass:"float-right"},[t.licenseTitle?i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[t._v(t._s(t.licenseTitle))]):t._e(),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[t.place?i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",{staticClass:"text-lighter"},[t._v("Location:")]),t._v(" "+t._s(t.place.name)+", "+t._s(t.place.country)+"\n\t\t\t\t\t\t\t\t"),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-2",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLocationCard()}}},[t._v("Edit")]),t._v(" "),i("a",{staticClass:"btn btn-outline-secondary btn-sm small",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.place=!1}}},[t._v("Remove")])])]):i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLocationCard()}}},[t._v("Add location")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticStyle:{"min-height":"200px"}},[i("p",{staticClass:"px-4 mb-0 py-2 small font-weight-bold text-muted cursor-pointer",on:{click:function(e){return t.showAdvancedSettingsCard()}}},[t._v("Advanced settings")])])]):t._e(),t._v(" "),"tagPeople"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("autocomplete",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],ref:"autocomplete",attrs:{search:t.tagSearch,placeholder:"@pixelfed","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),i("p",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],staticClass:"font-weight-bold text-muted small"},[t._v("You can tag "+t._s(10-t.taggedUsernames.length)+" more "+t._s(9==t.taggedUsernames.length?"person":"people")+"!")]),t._v(" "),i("p",{staticClass:"font-weight-bold text-center mt-3"},[t._v("Tagged People")]),t._v(" "),i("div",{staticClass:"list-group"},[t._l(t.taggedUsernames,(function(e,s){return i("div",{staticClass:"list-group-item d-flex justify-content-between"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-2 rounded-circle border",attrs:{src:e.avatar,width:"24px",height:"24px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.name))])])]),t._v(" "),i("div",{staticClass:"custom-control custom-switch"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.privacy,expression:"tag.privacy"}],staticClass:"custom-control-input disabled",attrs:{type:"checkbox",id:"cci-tagged-privacy-switch"+s,disabled:""},domProps:{checked:Array.isArray(e.privacy)?t._i(e.privacy,null)>-1:e.privacy},on:{change:function(i){var s=e.privacy,a=i.target,o=!!a.checked;if(Array.isArray(s)){var n=t._i(s,null);a.checked?n<0&&t.$set(e,"privacy",s.concat([null])):n>-1&&t.$set(e,"privacy",s.slice(0,n).concat(s.slice(n+1)))}else t.$set(e,"privacy",o)}}}),t._v(" "),i("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"cci-tagged-privacy-switch"+s}},[t._v(t._s(e.privacy?"Public":"Private"))]),t._v(" "),i("a",{staticClass:"ml-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.untagUsername(s)}}},[i("i",{staticClass:"fas fa-times text-muted"})])])])})),t._v(" "),0==t.taggedUsernames.length?i("div",{staticClass:"list-group-item p-3"},[i("p",{staticClass:"text-center mb-0 font-weight-bold text-lighter"},[t._v("Search usernames to tag.")])]):t._e()],2),t._v(" "),i("p",{staticClass:"font-weight-bold text-center small text-muted pt-3 mb-0"},[t._v("When you tag someone, they are sent a notification."),i("br"),t._v("For more information on tagging, "),i("a",{staticClass:"text-primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTagHelpCard()}}},[t._v("click here")]),t._v(".")])],1):t._e(),t._v(" "),"tagPeopleHelp"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0 text-center py-3 px-2 lead"},[t._v("Tagging someone is like mentioning them, with the option to make it private between you.")]),t._v(" "),i("p",{staticClass:"mb-3 py-3 px-2 font-weight-lighter"},[t._v("\n\t\t\t\t\t\t\tYou can choose to tag someone in public or private mode. Public mode will allow others to see who you tagged in the post and private mode tagged users will not be shown to others.\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"addLocation"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0"},[t._v("Add Location")]),t._v(" "),i("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}})],1):t._e(),t._v(" "),"advancedSettings"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[i("div",{staticClass:"list-group-item d-flex justify-content-between"},[t._m(14),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.commentsDisabled,expression:"commentsDisabled"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asdisablecomments"},domProps:{checked:Array.isArray(t.commentsDisabled)?t._i(t.commentsDisabled,null)>-1:t.commentsDisabled},on:{change:function(e){var i=t.commentsDisabled,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.commentsDisabled=i.concat([null])):o>-1&&(t.commentsDisabled=i.slice(0,o).concat(i.slice(o+1)))}else t.commentsDisabled=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asdisablecomments"}})])])]),t._v(" "),i("a",{staticClass:"list-group-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showMediaDescriptionsCard()}}},[t._m(15)])])]):t._e(),t._v(" "),"visibility"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"public"==t.visibility},on:{click:function(e){return t.toggleVisibility("public")}}},[t._v("\n\t\t\t\t\t\t\t\tPublic\n\t\t\t\t\t\t\t")]),t._v(" "),t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"unlisted"==t.visibility},on:{click:function(e){return t.toggleVisibility("unlisted")}}},[t._v("\n\t\t\t\t\t\t\t\tUnlisted\n\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"private"==t.visibility},on:{click:function(e){return t.toggleVisibility("private")}}},[t._v("\n\t\t\t\t\t\t\t\tFollowers Only\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),"altText"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t._l(t.media,(function(e,s){return i("div",[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.alt,expression:"m.alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:t.maxAltTextLength,rows:"4"},domProps:{value:e.alt},on:{input:function(i){i.target.composing||t.$set(e,"alt",i.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(e.alt?e.alt.length:0)+"/"+t._s(t.maxAltTextLength))])])]),t._v(" "),i("hr")])})),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])],2):t._e(),t._v(" "),"addToCollection"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t.collectionsLoaded&&t.collections.length?i("div",{staticClass:"list-group mb-3 collections-list-group"},[t._l(t.collections,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer compose-action border",class:{active:t.collectionsSelected.includes(s)},on:{click:function(e){return t.toggleCollectionItem(s)}}},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.thumb,alt:"",width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("h5",{staticClass:"mt-0"},[t._v(t._s(e.title))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(e.post_count)+" Posts - Created "+t._s(t.timeAgo(e.published_at))+" ago")])])])])})),t._v(" "),t.collectionsCanLoadMore?i("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-3",on:{click:t.loadMoreCollections}},[t._v("\n\t\t\t\t\t\t\t\tLoad more\n\t\t\t\t\t\t\t")]):t._e()],2):t._e(),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.clearSelectedCollections()}}},[t._v("Clear")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"schedulePost"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"mediaMetadata"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"addToStory"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"editMedia"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:t.media[t.carouselCursor].preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("Media Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.carouselCursor].alt,expression:"media[carouselCursor].alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:"140"},domProps:{value:t.media[t.carouselCursor].alt},on:{input:function(e){e.target.composing||t.$set(t.media[t.carouselCursor],"alt",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-muted mb-0 d-flex justify-content-between"},[i("span",[t._v("Describe your photo for people with visual impairments.")]),t._v(" "),i("span",[t._v(t._s(t.media[t.carouselCursor].alt?t.media[t.carouselCursor].alt.length:0)+"/140")])])]),t._v(" "),i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("License")]),t._v(" "),i("select",{directives:[{name:"model",rawName:"v-model",value:t.licenseId,expression:"licenseId"}],staticClass:"form-control",on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.licenseId=e.target.multiple?i:i[0]}}},t._l(t.availableLicenses,(function(e,s){return i("option",{domProps:{value:e.id,selected:e.id==t.licenseId}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t\t")])})),0)])])]),t._v(" "),i("hr"),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"video-2"==t.page?i("div",{staticClass:"w-100 h-100"},[t.video.title.length?i("div",{staticClass:"border-bottom"},[i("div",{staticClass:"media p-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"100px",height:"70px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"font-weight-bold mb-1"},[t._v(t._s(t.video.title?t.video.title.slice(0,70):"Untitled"))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(t.video.description?t.video.description.slice(0,90):"No description"))])])])]):t._e(),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(16),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[t._v("Add license")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("div",{staticClass:"form-group"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Title")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.video.title,expression:"video.title"}],staticClass:"form-control",attrs:{placeholder:"Add a good title"},domProps:{value:t.video.title},on:{input:function(e){e.target.composing||t.$set(t.video,"title",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.title.length)+"/70")])]),t._v(" "),i("div",{staticClass:"form-group mb-0"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.video.description,expression:"video.description"}],staticClass:"form-control",attrs:{placeholder:"Add an optional description",maxlength:"5000",rows:"5"},domProps:{value:t.video.description},on:{input:function(e){e.target.composing||t.$set(t.video,"description",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.description.length)+"/5000")])])])]):t._e()]),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"card-footer bg-white d-flex justify-content-between"},[i("div",[i("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"},on:{click:t.rotate}},[i("i",{staticClass:"fas fa-redo"})])]),t._v(" "),i("div",[i("div",{staticClass:"d-inline-block button-group"},[i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==16/9?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(16/9)}}},[t._v("16:9")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==4/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(4/3)}}},[t._v("4:3")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1.5==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1.5)}}},[t._v("3:2")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1)}}},[t._v("1:1")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==2/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(2/3)}}},[t._v("2:3")])])])]):t._e()])])])])},a=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("span",{staticClass:"pr-3"},[i("i",{staticClass:"fas fa-cog fa-lg text-muted"})]),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tCamera Roll\n\t\t\t\t\t")]),t._v(" "),i("span",{staticClass:"text-primary font-weight-bold"},[t._v("Upload")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"pr-3"},[e("i",{staticClass:"fas fa-info-circle fa-lg text-primary"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%","background-color":"#008DF5"}},[e("i",{staticClass:"fal fa-bolt text-white fa-lg"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Post")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"far fa-edit text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Text Post")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share a text only post")])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fas fa-history text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Story")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Add to your story")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"fas fa-poll-h text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Poll")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Create a poll")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/collections/create"}},[i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fal fa-images text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Collection")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("New collection of posts")])])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"py-3"},[i("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v("Help")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span",[t._v("Add to Collection "),i("span",{staticClass:"ml-2 badge badge-primary"},[t._v("NEW")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-decoration-none"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Turn off commenting")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Disables comments for this post, you can change this later.")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("div",[i("div",{staticClass:"text-dark"},[t._v("Media Descriptions")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Describe your photos for people with visual impairments.")])]),t._v(" "),i("div",[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])}]}}]); \ No newline at end of file diff --git a/public/js/compose-ojtjadoml.js b/public/js/compose-ojtjadoml.js new file mode 100644 index 000000000..d842d6821 --- /dev/null +++ b/public/js/compose-ojtjadoml.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[500],{31453:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var s=i(42755),a=i(88231),o=i(14205),n=i(64439);const l={components:{drawer:s.default,sidebar:a.default,"compose-desktop":o.default,"compose-modal":n.default},data:function(){return{isLoaded:!1,profile:void 0,showNew:!1}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0;var t=new URLSearchParams(window.location.search);t.has("fl")&&"v6"==t.get("fl")&&(this.showNew=!0)},methods:{closeModal:function(){this.$router.push("/i/web")}}}},61043:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r});var s=i(17652),a=(i(89620),i(29655)),o=(i(14348),i(15235));function n(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i=e.config.uploader.album_limit)return swal("Oops!","Posts can have up to "+e.config.uploader.album_limit+" photos or videos, you cannot add any more.","error"),void(e.uploading=!1);if(0==e.config.uploader.media_types.split(",").includes(t.type))return swal("Invalid File Type","You can only upload the following mime types: "+e.config.uploader.media_types,"error"),void(e.uploading=!1);var s=new FormData;s.append("file",t);var a={onUploadProgress:function(t){var i=Math.round(100*t.loaded/t.total);e.uploadProgress=i}};axios.post("/api/compose/v0/media/upload",s,a).then((function(t){var i=t.data;i.edit={brightness:100,contrast:100,saturation:100},e.uploadProgress=100,e.ids.push(t.data.id),e.crops.push({}),e.media.push(i),2!=e.media.map((function(t){return t.mime})).filter((function(t,e,i){return i.indexOf(t)===e})).length?(e.uploading=!1,e.$nextTick((function(){e.compareEdits(i.edit,e.edit)||(e.media[e.mediaIndex].edit=e.edit,e.edit=i.edit),e.tab="crop",e.mediaIndex=e.media.length-1}))):swal("Oops!","Your post must contain a single photo or video or multiple photos","error")})).catch((function(i){switch(i.response.status){case 451:e.uploading=!1,t.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),e.page=2;break;case 429:e.uploading=!1,t.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),e.page=2;break;default:e.uploading=!1,t.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),e.page=2}})),t.value=null,e.uploadProgress=0}))},dragOverHandler:function(t){t.preventDefault()}},watch:{edit:{handler:function(t,e){this.previewFilters()},deep:!0}}}},49144:(t,e,i)=>{i.r(e),i.d(e,{default:()=>c});var s=i(17652),a=(i(89620),i(29655)),o=(i(14348),i(15235)),n=i(19755);function l(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i10&&(t.licenseTitle=t.availableLicenses.filter((function(e){return e.id==t.licenseId})).map((function(t){return t.title}))[0]),t.fetchProfile()}))},mounted:function(){this.mediaWatcher()},methods:{timeAgo:function(t){return App.util.format.timeAgo(t)},fetchProfile:function(){var t=this,e={public:"Public",private:"Followers Only",unlisted:"Unlisted"};if(window._sharedData.curUser.id){if(this.profile=window._sharedData.curUser,this.composeSettings&&this.composeSettings.hasOwnProperty("default_scope")&&this.composeSettings.default_scope){var i=this.composeSettings.default_scope;this.visibility=i,this.visibilityTag=e[i]}1==this.profile.locked&&(this.visibility="private",this.visibilityTag="Followers Only")}else axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(i){if(window._sharedData.currentUser=i.data,t.profile=i.data,t.composeSettings&&t.composeSettings.hasOwnProperty("default_scope")&&t.composeSettings.default_scope){var s=t.composeSettings.default_scope;t.visibility=s,t.visibilityTag=e[s]}1==t.profile.locked&&(t.visibility="private",t.visibilityTag="Followers Only")})).catch((function(t){}))},addMedia:function(t){var e=n(t.target);e.attr("disabled",""),n('.file-input[name="media"]').trigger("click"),e.blur(),e.removeAttr("disabled")},addText:function(t){this.pageTitle="New Text Post",this.page="addText",this.textMode=!0,this.mode="text"},mediaWatcher:function(){var t=this;n(document).on("change","#pf-dz",(function(e){t.mediaUpload()}))},mediaUpload:function(){var t=this;t.uploading=!0;var e=document.querySelector("#pf-dz");e.files.length||(t.uploading=!1),Array.prototype.forEach.call(e.files,(function(e,i){if(t.media&&t.media.length+i>=t.config.uploader.album_limit)return swal("Error","You can only upload "+t.config.uploader.album_limit+" photos per album","error"),t.uploading=!1,void(t.page=2);var s=e.type,a=t.config.uploader.media_types.split(",");if(-1==n.inArray(s,a))return swal("Invalid File Type","The file you are trying to add is not a valid mime type. Please upload a "+t.config.uploader.media_types+" only.","error"),t.uploading=!1,void(t.page=2);var o=new FormData;o.append("file",e);var l={onUploadProgress:function(e){var i=Math.round(100*e.loaded/e.total);t.uploadProgress=i}};axios.post("/api/compose/v0/media/upload",o,l).then((function(e){t.uploadProgress=100,t.ids.push(e.data.id),t.media.push(e.data),t.uploading=!1,setTimeout((function(){t.page=3}),300)})).catch((function(i){switch(i.response.status){case 451:t.uploading=!1,e.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),t.page=2;break;case 429:t.uploading=!1,e.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),t.page=2;break;default:t.uploading=!1,e.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),t.page=2}})),e.value=null,t.uploadProgress=0}))},toggleFilter:function(t,e){this.media[this.carouselCursor].filter_class=e,this.currentFilter=e},deleteMedia:function(){var t=this;if(0!=window.confirm("Are you sure you want to delete this media?")){var e=this.media[this.carouselCursor].id;axios.delete("/api/compose/v0/media/delete",{params:{id:e}}).then((function(e){t.ids.splice(t.carouselCursor,1),t.media.splice(t.carouselCursor,1),0==t.media.length?(t.ids=[],t.media=[],t.carouselCursor=0):t.carouselCursor=0})).catch((function(t){swal("Whoops!","An error occured when attempting to delete this, please try again","error")}))}},compose:function(){var t=this,e=this.composeState;if(100==this.uploadProgress&&0!=this.ids.length)if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(e){case"publish":if(!0===this.composeSettings.media_descriptions)if(this.media.filter((function(t){return!t.hasOwnProperty("alt")||t.alt.length<2})).length)return void swal("Missing media descriptions","You have enabled mandatory media descriptions. Please add media descriptions under Advanced settings to proceed. For more information, please see the media settings page.","warning");if(0==this.media.length)return void swal("Whoops!","You need to add media before you can save this!","warning");"Add optional caption..."==this.composeText&&(this.composeText="");var i={media:this.media,caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames,optimize_media:this.optimizeMedia,license:this.licenseId,video:this.video,spoiler_text:this.spoilerText};return this.collectionsSelected.length&&(i.collections=this.collectionsSelected.map((function(e){return t.collections[e].id}))),void axios.post("/api/compose/v0/publish",i).then((function(t){"/i/web/compose"===location.pathname&&t.data&&t.data.length?location.href="/i/web/post/"+t.data.split("/").slice(-1)[0]:location.href=t.data})).catch((function(t){if(t.response){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}else swal("Oops, something went wrong!",t.message,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void n("#composeModal").modal("hide")}},composeTextPost:function(){var t=this.composeState;if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(t){case"publish":var e={caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames};return void axios.post("/api/compose/v0/publish/text",e).then((function(t){var e=t.data;window.location.href=e})).catch((function(t){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void n("#composeModal").modal("hide")}},closeModal:function(){n("#composeModal").modal("hide"),this.$emit("close")},goBack:function(){switch(this.pageTitle="",this.mode){case"photo":switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page=3:this.page--}break;case"video":this.page,this.page="video-2";break;default:switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page="text"==this.mode?"addText":3:"text"==this.mode||this.page--}}},nextPage:function(){switch(this.pageTitle="",this.page){case 1:this.page=2;break;case"cropPhoto":this.pageLoading=!0;var t=this;this.$refs.cropper.getCroppedCanvas({maxWidth:4096,maxHeight:4096,fillColor:"#fff",imageSmoothingEnabled:!1,imageSmoothingQuality:"high"}).toBlob((function(e){t.mediaCropped=!0;var i=new FormData;i.append("file",e),i.append("id",t.ids[t.carouselCursor]);axios.post("/api/compose/v0/media/update",i).then((function(e){t.media[t.carouselCursor].url=e.data.url,t.pageLoading=!1,t.page=2})).catch((function(t){}))}));break;case 2:this.currentFilter?window.confirm("Are you sure you want to apply this filter?")&&(this.applyFilterToMedia(),this.page++):this.page++;break;case 3:this.page++}},rotate:function(){this.$refs.cropper.rotate(90)},changeAspect:function(t){this.cropper.aspectRatio=t,this.$refs.cropper.setAspectRatio(t)},showTagCard:function(){this.pageTitle="Tag People",this.page="tagPeople"},showTagHelpCard:function(){this.pageTitle="About Tag People",this.page="tagPeopleHelp"},showLocationCard:function(){this.pageTitle="Add Location",this.page="addLocation"},showAdvancedSettingsCard:function(){this.pageTitle="Advanced Settings",this.page="advancedSettings"},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){switch(this.place=t,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showVisibilityCard:function(){this.pageTitle="Post Visibility",this.page="visibility"},showAddToStoryCard:function(){this.pageTitle="Add to Story",this.page="addToStory"},showCropPhotoCard:function(){this.pageTitle="Edit Photo",this.page="cropPhoto"},toggleVisibility:function(t){switch(this.visibility=t,this.visibilityTag={public:"Public",private:"Followers Only",unlisted:"Unlisted"}[t],this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showMediaDescriptionsCard:function(){this.pageTitle="Media Descriptions",this.page="altText"},showAddToCollectionsCard:function(){this.pageTitle="Add to Collection",this.page="addToCollection"},showSchedulePostCard:function(){this.pageTitle="Schedule Post",this.page="schedulePost"},showEditMediaCard:function(){this.pageTitle="Edit Media",this.page="editMedia"},fetchCameraRollDrafts:function(){var t=this;axios.get("/api/pixelfed/local/drafts").then((function(e){t.cameraRollMedia=e.data}))},applyFilterToMedia:function(){var t=navigator.userAgent.toLowerCase();if(-1!=t.indexOf("firefox")||-1!=t.indexOf("chrome"))for(var e=this.media,i=null,s=document.getElementById("pr_canvas"),a=s.getContext("2d"),o=document.getElementById("pr_img"),n=null,l=e.length-1;l>=0;l--)(i=e[l]).filter_class&&(o.src=i.url,o.addEventListener("load",(function(t){s.width=o.width,s.height=o.height,a.filter=App.util.filterCss[i.filter_class],a.drawImage(o,0,0,o.width,o.height),a.save(),s.toBlob((function(t){(n=new FormData).append("file",t),n.append("id",i.id),axios.post("/api/compose/v0/media/update",n).then((function(t){})).catch((function(t){}))}))}),i.mime,.9),a.clearRect(0,0,o.width,o.height));else swal("Oops!","Your browser does not support the filter feature.","error")},tagSearch:function(t){if(t.length<1)return[];var e=this;return axios.get("/api/compose/v0/search/tag",{params:{q:t}}).then((function(t){if(t.data.length)return t.data.filter((function(t){return 0==e.taggedUsernames.filter((function(e){return e.id==t.id})).length}))}))},getTagResultValue:function(t){return"@"+t.name},onTagSubmitLocation:function(t){this.taggedUsernames.filter((function(e){return e.id==t.id})).length||(this.taggedUsernames.push(t),this.$refs.autocomplete.value="")},untagUsername:function(t){this.taggedUsernames.splice(t,1)},showTextOptions:function(){this.page="textOptions",this.pageTitle="Text Post Options"},showLicenseCard:function(){this.pageTitle="Select a License",this.page="licensePicker"},toggleLicense:function(t){var e=this;switch(this.licenseId=t.id,this.licenseId>10?this.licenseTitle=this.availableLicenses.filter((function(t){return t.id==e.licenseId})).map((function(t){return t.title}))[0]:this.licenseTitle=null,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},newPoll:function(){this.page="poll"},savePollOption:function(){-1==this.pollOptions.indexOf(this.pollOptionModel)?(this.pollOptions.push(this.pollOptionModel),this.pollOptionModel=null):this.pollOptionModel=null},deletePollOption:function(t){this.pollOptions.splice(t,1)},postNewPoll:function(){var t=this;this.postingPoll=!0,axios.post("/api/compose/v0/poll",{caption:this.composeText,cw:!1,visibility:this.visibility,comments_disabled:!1,expiry:this.pollExpiry,pollOptions:this.pollOptions}).then((function(e){if(!e.data.hasOwnProperty("url"))return swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error"),void(t.postingPoll=!1);window.location.href=e.data.url})).catch((function(e){if(console.log(e.response.data.error),e.response.data.hasOwnProperty("error")&&"Duplicate detected."==e.response.data.error)return t.postingPoll=!1,void swal("Oops!","The poll you are trying to create is similar to an existing poll you created. Please make the poll question (caption) unique.","error");t.postingPoll=!1,swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error")}))},filesize:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){return filesize(1024*t,{round:0})})),showCollectionCard:function(){this.pageTitle="Add to Collection(s)",this.page="addToCollection",this.collectionsLoaded||this.fetchCollections()},fetchCollections:function(){var t=this;axios.get("/api/local/profile/collections/".concat(this.profile.id)).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.collectionsCanLoadMore=9==e.data.length,t.collectionsPage++}))},toggleCollectionItem:function(t){if(this.collectionsSelected.includes(t))this.collectionsSelected=this.collectionsSelected.filter((function(e){return e!=t}));else{if(7==this.collectionsSelected.length)return void swal("Oops!","You can only share to 5 collections.","info");this.collectionsSelected.push(t)}},clearSelectedCollections:function(){this.collectionsSelected=[],this.pageTitle="Compose",this.page=3},loadMoreCollections:function(){var t=this;this.collectionsCanLoadMore=!1,axios.get("/api/local/profile/collections/".concat(this.profile.id),{params:{page:this.collectionsPage}}).then((function(e){var i,s=t.collections.map((function(t){return t.id})),a=e.data.filter((function(t){return!s.includes(t.id)}));a&&a.length&&((i=t.collections).push.apply(i,l(a)),t.collectionsPage++,t.collectionsCanLoadMore=!0)}))}}}},36198:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(23645),a=i.n(s)()((function(t){return t[1]}));a.push([t.id,'.compose-desktop .tab-flex[data-v-7250b55e]{align-items:center;display:flex;justify-content:center;min-height:600px}.compose-desktop .tab[data-v-7250b55e]{min-height:600px}.compose-desktop .crop-dimension-btn[data-v-7250b55e]{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px;padding-left:0;text-decoration:none;width:100%}.compose-desktop .crop-dimension-btn-label[data-v-7250b55e]{align-items:center;color:#212529;display:flex}.compose-desktop .crop-dimension-btn-label-icon[data-v-7250b55e]{margin-right:10px;text-align:center;width:40px}.compose-desktop .crop-dimension-btn-label-name[data-v-7250b55e]{font-size:.99rem;font-weight:300}.compose-desktop .crop-dimension-btn.active .crop-dimension-btn-indicator i[data-v-7250b55e]{color:#2c78bf!important}.compose-desktop .crop-dimension-btn.active .crop-dimension-btn-indicator .fa-circle[data-v-7250b55e]:before{content:""}.compose-desktop .crop-dimension-btn[disabled=disabled] .crop-dimension-btn-indicator[data-v-7250b55e],.compose-desktop .crop-dimension-btn[disabled=disabled] .crop-dimension-btn-label[data-v-7250b55e]{color:#b8c2cc!important}.compose-desktop .hide-scroll[data-v-7250b55e]{-ms-overflow-style:none;overflow-y:scroll;scrollbar-width:none}.compose-desktop .hide-scroll[data-v-7250b55e]::-webkit-scrollbar{display:none}.compose-desktop .no-focus[data-v-7250b55e]{border-color:none;box-shadow:none;outline:0}.compose-desktop .list-btn[data-v-7250b55e]{align-items:center;background-color:#fff;border:1px solid rgba(0,0,0,.125);border-left:0;border-right:0;display:flex;justify-content:space-between;padding:.75rem 1.25rem;position:relative}.compose-desktop .list-btn[data-v-7250b55e]:not(:first-child){border-top:0}.compose-desktop .list-btn .lead[data-v-7250b55e]{font-size:1rem}.compose-desktop .list-btn.active[data-v-7250b55e]{background-color:#f3f4f6}.compose-desktop .list-btn.active .lead[data-v-7250b55e]{font-weight:500}.compose-desktop .settings-tab[data-v-7250b55e]{border-radius:0;display:flex;flex-direction:column;flex-grow:1;margin-bottom:0;margin-left:-1rem;margin-top:-17px;max-height:600px;overflow-y:auto;padding-left:0}.compose-desktop .media-square[data-v-7250b55e]{border:1px solid #dee2e6;border-radius:.25rem;cursor:pointer;height:70px;margin:auto .5rem;-o-object-fit:cover;object-fit:cover;width:70px}.compose-desktop .media-square.active[data-v-7250b55e]{border:3px solid var(--primary);padding:2px}.compose-desktop .media-square.activeold[data-v-7250b55e]{border:3px dashed #bfdbfe;padding:2px}.compose-desktop .media-add-square[data-v-7250b55e]{right:0}.compose-desktop .media-add-square[data-v-7250b55e],.compose-desktop .media-remove-square[data-v-7250b55e]{align-items:center;display:flex;height:70px;justify-content:center;position:-webkit-sticky;position:sticky;text-decoration:none;top:0;width:30px}.compose-desktop .media-remove-square[data-v-7250b55e]{left:0}.compose-desktop .media-remove-square .fa-minus-circle[data-v-7250b55e]{color:#b8c2cc!important}.compose-desktop .media-thumbs[data-v-7250b55e]{-ms-overflow-style:none;display:flex;height:auto;justify-content:center;margin-top:1rem;max-width:500px;overflow-y:auto;position:relative;scrollbar-width:none;width:100%}.compose-desktop .media-thumbs[data-v-7250b55e]::-webkit-scrollbar{display:none}.compose-desktop .edit-nav-tab[data-v-7250b55e]{border-bottom:1px solid #dee2e6!important;color:#b8c2cc;cursor:pointer;font-weight:400;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.compose-desktop .edit-nav-tab.active[data-v-7250b55e]{border-bottom:1px solid #000!important;color:#212529;font-weight:700}',""]);const o=a},74180:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(23645),a=i.n(s)()((function(t){return t[1]}));a.push([t.id,".compose-modal-component .media-drawer-filters{flex-wrap:unset;overflow-x:scroll}.compose-modal-component .media-drawer-filters::-webkit-scrollbar{background:transparent;width:0}.compose-modal-component .media-drawer-filters .nav-link{min-width:100px;padding-bottom:1rem;padding-top:1rem}.compose-modal-component .media-drawer-filters .active{color:#fff;font-weight:700}@media(hover:none)and (pointer:coarse){.compose-modal-component .media-drawer-filters::-webkit-scrollbar{display:none}}.compose-modal-component .no-focus{border-color:none;box-shadow:none;outline:0}.compose-modal-component a.list-group-item{text-decoration:none}.compose-modal-component a.list-group-item:hover{background-color:#f8f9fa;text-decoration:none}.compose-modal-component .compose-action:hover{background-color:#f8f9fa;cursor:pointer}.compose-modal-component .collections-list-group{max-height:500px;overflow-y:auto}.compose-modal-component .collections-list-group .list-group-item.active{background-color:#dbeafe!important;border-color:#60a5fa!important;color:#212529}",""]);const o=a},12932:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var s=i(93379),a=i.n(s),o=i(36198),n={insert:"head",singleton:!1};a()(o.default,n);const l=o.default.locals||{}},9206:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var s=i(93379),a=i.n(s),o=i(74180),n={insert:"head",singleton:!1};a()(o.default,n);const l=o.default.locals||{}},55763:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(1378),a=i(55489),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);const n=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,null,null).exports},14205:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(85065),a=i(89997),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);i(39871);const n=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,"7250b55e",null).exports},64439:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(29158),a=i(10594),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);i(18884);const n=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,null,null).exports},55489:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(31453),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},89997:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(61043),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},10594:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(49144),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},39871:(t,e,i)=>{i.r(e);var s=i(12932),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},18884:(t,e,i)=>{i.r(e);var s=i(9206),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},1378:(t,e,i)=>{i.r(e);var s=i(73908),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},85065:(t,e,i)=>{i.r(e);var s=i(95827),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},29158:(t,e,i)=>{i.r(e);var s=i(34212),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},73908:(t,e,i)=>{i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"web-wrapper"},[t.isLoaded?i("div",{staticClass:"container-fluid mt-3"},[i("div",{staticClass:"row"},[i("div",{staticClass:"col-md-3 d-md-block"},[i("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),i("div",{staticClass:"col-md-8"},[t.showNew?i("div",[i("compose-desktop")],1):i("div",{staticClass:"row"},[i("div",{staticClass:"col-12 col-md-8 offset-md-1"},[i("compose-modal",{on:{close:t.closeModal}})],1)])])]),t._v(" "),i("drawer")],1):t._e()])},a=[]},95827:(t,e,i)=>{i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"compose-desktop"},[i("input",{ref:"dz",staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",name:"media",accept:t.config.uploader.media_types},on:{change:t.uploadMedia}}),t._v(" "),i("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),i("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),i("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"},on:{drop:function(e){return t.dropHandler(e)},dragover:function(e){return t.dragOverHandler(e)}}},[i("div",{staticClass:"card-header",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},["home"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[t._m(0),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Compose")]),t._v(" "),t._m(1)]):t._e(),t._v(" "),"crop"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Crop")]),t._v(" "),t._m(2)]):t._e(),t._v(" "),"edit"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Edit")]),t._v(" "),t._m(3)]):t._e(),t._v(" "),"caption"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Compose")]),t._v(" "),t._m(4)]):t._e(),t._v(" "),"alt-text"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Alt Text")]),t._v(" "),t._m(5)]):t._e(),t._v(" "),"settings"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v(t._s(t.settingsTitle))]),t._v(" "),t._m(6)]):t._e()]),t._v(" "),t.uploading?i("div",{staticClass:"card-body p-0 d-flex justify-content-center align-items-center",staticStyle:{height:"600px"}},[i("div",{staticClass:"text-center"},[i("b-spinner"),t._v(" "),i("p",[t._v(t._s(t.$t("post.uploading"))+"...")])],1)]):i("div",{staticClass:"card-body p-0"},["home"==t.tab?i("div",[i("div",{staticClass:"tab-flex"},[i("div",{staticClass:"d-flex justify-content-between align-items-center"},[t._m(7),t._v(" "),i("span",{staticClass:"font-weight-bold mx-4"},[t._v("or")]),t._v(" "),i("button",{staticClass:"btn btn-light shadow text-center mx-4 p-3",staticStyle:{"border-radius":"18px"},on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-upload fa-3x my-3 text-lighter"}),t._v(" "),i("p",{staticClass:"font-weight-bold text-dark mb-0"},[t._v("Browse from my device")])])])]),t._v(" "),i("div",{staticClass:"text-center"},[i("p",{staticClass:"text-muted"},[t._v("Photos and videos can be up to "),i("strong",[t._v(t._s(t.maxFileSize))]),t._v(" in size, and must be one of the following formats:\n\t\t\t\t\t\t"),t._l(t.config.uploader.media_types.split(","),(function(e){return i("span",{staticClass:"mr-1"},[i("kbd",[t._v(t._s(e.split("/")[1]))])])}))],2)])]):t._e(),t._v(" "),"crop"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[t.activeCrop?i("vue-cropper",{ref:"croppa",staticClass:"p-0 img-fluid",attrs:{aspectRatio:t.cropRatios[t.cropRatio],viewMode:3,dragMode:"move",autoCropArea:1,guides:!1,highlight:!1,cropBoxMovable:!1,cropBoxResizable:!1,toggleDragModeOnDblclick:!1,src:t.media[t.mediaIndex].url,data:t.crops[t.mediaIndex]},on:{crop:t.onCropEnd,zoom:t.onCropEnd}}):i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}})],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("div",[i("h5",{staticClass:"font-weight-bold mb-3"},[t._v("Select a Crop")]),t._v(" "),t._m(8),t._v(" "),i("button",{staticClass:"btn crop-dimension-btn",class:{active:1==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(1)}}},[t._m(9),t._v(" "),t._m(10)]),t._v(" "),i("button",{staticClass:"btn crop-dimension-btn",class:{active:2==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(2)}}},[t._m(11),t._v(" "),t._m(12)]),t._v(" "),i("button",{staticClass:"btn crop-dimension-btn",class:{active:3==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(3)}}},[t._m(13),t._v(" "),t._m(14)])]),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",on:{click:t.cropMedia}},[t._v("Next")])])])]):t._e(),t._v(" "),"edit"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}})])]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("nav",{staticClass:"nav nav-fill text-uppercase",staticStyle:{"margin-left":"-16px"}},[i("div",{staticClass:"nav-link edit-nav-tab",class:{active:"filters"==t.editTab},on:{click:function(e){return t.toggleEditTab("filters")}}},[t._v("\n\t\t\t\t\t\t\tFilters\n\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"nav-link edit-nav-tab",class:{active:"edit"==t.editTab},on:{click:function(e){return t.toggleEditTab("edit")}}},[t._v("\n\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t")])]),t._v(" "),"filters"==t.editTab?i("div",{staticClass:"row pr-3 hide-scroll mt-2",staticStyle:{height:"450px","overflow-y":"auto"}},[i("div",{staticClass:"col-4 mb-3",on:{click:function(e){return t.selectFilter(null)}}},[i("p",{staticClass:"font-weight-bold text-center small mb-1",class:[null==t.activeFilter?"text-dark":"text-lighter"]},[t._v("Original")]),t._v(" "),i("span",{staticClass:"border rounded d-block overflow-hidden",class:[null==t.activeFilter?"shadow-lg":""]},[t._m(15)])]),t._v(" "),t._l(t.filters,(function(e,s){return i("div",{staticClass:"col-4 mb-3",on:{click:function(e){return t.selectFilter(s)}}},[i("p",{staticClass:"font-weight-bold text-center small mb-1",class:[t.activeFilter==s?"text-dark":"text-lighter"]},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e[0])+"\n\t\t\t\t\t\t\t")]),t._v(" "),i("span",{staticClass:"border rounded d-block overflow-hidden",class:[t.activeFilter==s?"shadow-lg":""]},[i("span",{staticClass:"d-block",class:e[1]},[i("img",{staticStyle:{width:"100%",height:"auto"},attrs:{src:"https://pixelfed.test/storage/m/_v2/321493203255693312/f98697a52-a34568/N3fVbXluhhaO/qmqOrgXvjyWVa7GyTHYP6Vs9ZNskrQ4YNbdks2DZ.jpg"}})])])])}))],2):t._e(),t._v(" "),"edit"==t.editTab?i("div",{staticClass:"settings-tab hide-scroll mt-0"},[i("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[i("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tBrightness\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.brightness,callback:function(e){t.$set(t.edit,"brightness",e)},expression:"edit.brightness"}})],1),t._v(" "),i("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.brightness-100)+"\n\t\t\t\t\t\t\t")])]),t._v(" "),i("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[i("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tContrast\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.contrast,callback:function(e){t.$set(t.edit,"contrast",e)},expression:"edit.contrast"}})],1),t._v(" "),i("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.contrast-100)+"\n\t\t\t\t\t\t\t")])]),t._v(" "),i("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[i("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tSaturation\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.saturation,callback:function(e){t.$set(t.edit,"saturation",e)},expression:"edit.saturation"}})],1),t._v(" "),i("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.saturation-100)+"\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",on:{click:t.applyEdit}},[t._v("Next")])])])]):t._e(),t._v(" "),"caption"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},[t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),t._v(" "),i("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("div",{staticClass:"pr-3"},[i("div",{staticClass:"media align-items-center mb-3"},[i("img",{staticClass:"rounded-circle mr-3",attrs:{src:t.profile.avatar,width:"30",height:"30"}}),t._v(" "),i("div",{staticClass:"media-body lead font-weight-bold"},[t._v(t._s(t.profile.username))])]),t._v(" "),i("div",{staticClass:"form-group mb-3"},[i("div",{staticClass:"border rounded"},[i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 no-focus",staticStyle:{resize:"none","border-radius":"8px"},attrs:{rows:"3",placeholder:"Add an optional caption...",maxlength:"1000"},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("div",{staticClass:"text-lighter p-2 d-flex align-items-end justify-content-between"},[i("div",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.composeText?t.composeText.length:0)),i("span",{staticStyle:{margin:"auto 2px"}},[t._v("/")]),t._v("1000\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),t._m(16)])],1)]),t._v(" "),t._m(17)]),t._v(" "),i("div",{staticClass:"list-group ml-n3 rounded-0 flex-grow-1"},[i("div",{staticClass:"list-btn"},[i("div",{staticClass:"lead mb-0"},[t._v("Sensitive")]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleSensitive}},[i("i",{staticClass:"fal no-focus fa-2x",class:[t.sensitive?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editAltText}},[i("div",{staticClass:"lead mb-0"},[t._v("Accessibility")]),t._v(" "),i("div",{staticClass:"text-lighter"},[i("i",{staticClass:"fal fa-lg",class:[t.media.filter((function(t){return t&&t.description&&t.description.length})).length?"fa-check-circle text-success":"fa-chevron-right"]})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.advancedSettings}},[i("div",{staticClass:"lead mb-0"},[t._v("Advanced Settings")]),t._v(" "),t._m(18)]),t._v(" "),t.collections.length&&t.collectionsSelected.length?i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editCollection}},[i("div",{staticClass:"lead mb-0"},[t._v("Sharing to "+t._s(t.collectionsSelected.length)+" collections")]),t._v(" "),t._m(19)]):t._e()]),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",attrs:{disabled:t.isPosting},on:{click:t.sharePost}},[t.isPosting?i("b-spinner",{attrs:{small:""}}):i("span",[t._v(t._s(t.$t("common.share")))])],1)])])]):t._e(),t._v(" "),"alt-text"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},[t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),t._v(" "),i("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("div",{staticClass:"pr-3"},[i("p",{staticClass:"lead mt-3 pb-3"},[t._v("Describe your media for alt text that is used by people with limited vision")]),t._v(" "),i("div",{staticClass:"form-group mb-3"},[i("div",{staticClass:"border rounded"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.mediaIndex].description,expression:"media[mediaIndex].description"}],staticClass:"form-control border-0 no-focus",staticStyle:{resize:"none","border-radius":"8px"},attrs:{rows:"3",placeholder:"Add alt text here...",maxlength:"1000"},domProps:{value:t.media[t.mediaIndex].description},on:{input:function(e){e.target.composing||t.$set(t.media[t.mediaIndex],"description",e.target.value)}}}),t._v(" "),i("div",{staticClass:"text-lighter p-2 d-flex align-items-end justify-content-between"},[i("div",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.media[t.mediaIndex].description?t.media[t.mediaIndex].description.length:0)),i("span",{staticStyle:{margin:"auto 2px"}},[t._v("/")]),t._v("1000\n\t\t\t\t\t\t\t\t\t")])])])])]),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-light font-weight-bold btn-block py-1",on:{click:function(e){return t.goBack()}}},[t._v("Back")])])])]):t._e(),t._v(" "),"settings"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),0)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},["home"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editAudience}},[i("div",{staticClass:"lead mb-0"},[t._v("Audience")]),t._v(" "),i("div",{staticClass:"text-lighter"},[i("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0 text-capitalize"},[t._v(t._s(t.composeScope))]),t._v(" "),i("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),i("div",{staticClass:"list-btn"},[i("div",{staticClass:"lead mb-0"},[t._v("Disable Comments")]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleDisableComments}},[i("i",{staticClass:"fal no-focus fa-2x",class:[t.composeDisabledComments?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editLicense}},[i("div",{staticClass:"lead mb-0"},[t._v("License")]),t._v(" "),i("div",{staticClass:"text-lighter"},[i("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.licenseIndex>=2?t.availableLicenses[t.licenseIndex].title:t.availableLicenses[t.licenseIndex].name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editMedia}},[i("div",{staticClass:"lead mb-0"},[t._v("Media")]),t._v(" "),t._m(20)]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editSchedule}},[i("div",{staticClass:"lead mb-0"},[t._v("Schedule")]),t._v(" "),i("div",{staticClass:"text-lighter"},[t.schedule.enabled?i("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.getScheduleDate())+"\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),i("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editCollection}},[i("div",{staticClass:"lead mb-0"},[t._v("Share to Collection")]),t._v(" "),t._m(21)])]):t._e(),t._v(" "),"audience"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("button",{staticClass:"list-btn",class:{active:"public"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("public")}}},[i("div",{staticClass:"lead mb-0"},[t._v("Public")]),t._v(" "),t._m(22)]),t._v(" "),i("button",{staticClass:"list-btn",class:{active:"unlisted"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("unlisted")}}},[i("div",{staticClass:"lead mb-0"},[t._v("Unlisted")]),t._v(" "),t._m(23)]),t._v(" "),i("button",{staticClass:"list-btn",class:{active:"followers"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("followers")}}},[i("div",{staticClass:"lead mb-0"},[t._v("Followers Only")]),t._v(" "),t._m(24)])]):t._e(),t._v(" "),"license"==t.settingsTab?i("div",{staticClass:"settings-tab"},t._l(t.availableLicenses,(function(e,s){return i("button",{staticClass:"list-btn",class:{active:t.licenseIndex==s},attrs:{type:"button"},on:{click:function(e){return t.setLicense(s)}}},[i("div",{staticClass:"lead mb-0"},[t._v(t._s(e.name))]),t._v(" "),t._m(25,!0)])})),0):t._e(),t._v(" "),"media"==t.settingsTab?i("div",{staticClass:"settings-tab"},[t._m(26),t._v(" "),t._m(27)]):t._e(),t._v(" "),"schedule"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("div",{staticClass:"list-btn"},[i("div",{staticClass:"lead mb-0"},[t._v("Schedule Post")]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleSchedule}},[i("i",{staticClass:"fal no-focus fa-2x",class:[t.schedule.enabled?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),i("div",{staticClass:"list-btn"},[t._m(28),t._v(" "),i("b-form-datepicker",{attrs:{min:t.schedule.minDate,max:t.schedule.maxDate,"date-format-options":{year:"numeric",month:"long",day:"2-digit"}},model:{value:t.schedule.date,callback:function(e){t.$set(t.schedule,"date",e)},expression:"schedule.date"}})],1),t._v(" "),i("div",{staticClass:"list-btn"},[t._m(29),t._v(" "),i("b-form-timepicker",{attrs:{locale:"en"},model:{value:t.schedule.time,callback:function(e){t.$set(t.schedule,"time",e)},expression:"schedule.time"}})],1),t._v(" "),i("div",{staticClass:"list-btn border-bottom-0"},[i("div",[i("p",{staticClass:"small text-muted mb-0"},[t._v("You can set a date up to 2 months away.")]),t._v(" "),i("p",{staticClass:"small text-muted"},[t._v("Date & time relative to "),i("strong",[t._v(t._s(t.schedule.tz))]),t._v(" timezone.")])])])]):t._e(),t._v(" "),"collection"==t.settingsTab?i("div",[t.collectionsLoaded?i("div",{staticClass:"settings-tab"},[t.collectionsSelected.length?i("div",{staticClass:"list-btn justify-content-center py-2 bg-light",staticStyle:{position:"sticky",top:"0","z-index":"1"}},[i("div",{staticClass:"text-center"},[i("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.collectionsSelected.length)+" "+t._s(1==t.collectionsSelected.length?"collection":"collections")+" selected\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),5==t.collectionsSelected.length?i("p",{staticClass:"mb-0 small text-muted"},[t._v("5 collections max can be shared to")]):t._e()])]):t._e(),t._v(" "),t._l(t.collections,(function(e,s){return i("button",{staticClass:"list-btn",class:{"border-bottom-0":t.collections.length>=8&&s==t.collections.length-1&&!t.collectionsCanLoadMore},attrs:{type:"button",disabled:5==t.collectionsSelected.length&&-1==t.collectionsSelected.indexOf(e.id)},on:{click:function(i){return t.addToCollections(e.id)}}},[i("div",{staticClass:"media"},[i("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:e.thumb,width:"65",height:"65"}}),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"lead mb-0"},[t._v(t._s(e.title))]),t._v(" "),i("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(e.description||"No description available"))]),t._v(" "),i("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[i("span",[t._v(t._s(e.post_count)+" posts")]),t._v(" "),i("span",[t._v("·")]),t._v(" "),i("span",[t._v("Created "+t._s(t.timeago(e.published_at))+" ago")])])])]),t._v(" "),i("div",{staticClass:"text-lighter"},[-1==t.collectionsSelected.indexOf(e.id)?i("i",{staticClass:"fal fa-circle fa-lg"}):i("i",{staticClass:"far fa-dot-circle fa-lg text-success"})])])})),t._v(" "),t.collectionsCanLoadMore?i("button",{staticClass:"list-btn border-bottom-0 justify-content-center py-4",attrs:{type:"button"},on:{click:t.collectionsLoadMore}},[i("i",{staticClass:"fal fa-plus-circle fa-2x"})]):t._e()],2):i("div",[i("b-spinner")],1)]):t._e(),t._v(" "),"group"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("div",{staticClass:"list-btn"},[t._v("\n\t\t\t\t\t\t\tGroups here\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"tag"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("div",{staticClass:"list-btn"},[t._v("\n\t\t\t\t\t\t\tTag ppl\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-light font-weight-bold btn-block py-1",on:{click:function(e){return t.goBack()}}},[t._v("Back")])])])]):t._e()])])])},a=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card card-body shadow-none text-center mx-4",staticStyle:{"border-radius":"18px"}},[i("i",{staticClass:"fal fa-image fa-3x my-3 text-lighter"}),t._v(" "),i("p",{staticClass:"font-weight-bold text-dark mb-0"},[t._v("Drag photos or videos here")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("button",{staticClass:"btn crop-dimension-btn active"},[i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-image fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Original")])]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-indicator"},[i("i",{staticClass:"far fa-circle fa-lg text-lighter"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-square fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Square (1:1)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-rectangle-portrait fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Portrait (4:5)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-rectangle-landscape fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Landscape (16:9)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("img",{staticStyle:{width:"100%",height:"auto"},attrs:{src:"https://pixelfed.test/storage/m/_v2/321493203255693312/f98697a52-a34568/N3fVbXluhhaO/qmqOrgXvjyWVa7GyTHYP6Vs9ZNskrQ4YNbdks2DZ.jpg"}})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-lighter"},[i("span",[i("i",{staticClass:"fal fa-at",staticStyle:{"font-size":"20px"}})]),t._v(" "),i("span",{staticClass:"ml-2"},[i("i",{staticClass:"fal fa-hashtag",staticStyle:{"font-size":"20px"}})]),t._v(" "),i("span",{staticClass:"ml-2"},[i("i",{staticClass:"fal fa-smile",staticStyle:{"font-size":"20px"}})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"form-group",staticStyle:{position:"relative"}},[i("input",{staticClass:"form-control",staticStyle:{"padding-left":"35px",height:"45px","font-size":"15px","border-radius":"8px"},attrs:{type:"text",placeholder:"Add Location",disabled:""}}),t._v(" "),i("span",{staticStyle:{left:"13px",top:"50%",transform:"translateY(-50%)",position:"absolute"}},[i("i",{staticClass:"fal fa-map-marker-alt text-lighter"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"list-btn"},[i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0"},[t._v("Disable media optimization")]),t._v(" "),i("p",{staticClass:"small mb-0 text-muted"},[t._v("Prevents image optimization that may degrade quality. Only available for single photo posts.")])]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",attrs:{disabled:""}},[i("i",{staticClass:"fal fa-toggle-off text-lighter no-focus fa-2x"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"list-btn"},[i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0"},[t._v("Strip EXIF")]),t._v(" "),i("p",{staticClass:"small mb-0 text-muted"},[t._v("Strips all EXIF data that may leak location information.")])]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",attrs:{disabled:""}},[i("i",{staticClass:"fal fa-toggle-on text-danger no-focus fa-2x"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0 mr-4"},[t._v("Date")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0 mr-4"},[t._v("Time")])])}]},34212:(t,e,i)=>{i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"compose-modal-component"},[i("input",{staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",id:"pf-dz",name:"media",multiple:"",accept:t.config.uploader.media_types}}),t._v(" "),i("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),i("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),i("div",{staticClass:"timeline"},[t.uploading?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100 bg-light py-3",staticStyle:{"border-bottom":"1px solid #f1f1f1"}},[i("div",{staticClass:"p-5 mt-2"},[i("b-progress",{attrs:{value:t.uploadProgress,max:100,striped:"",animated:!0}}),t._v(" "),i("p",{staticClass:"text-center mb-0 font-weight-bold"},[t._v("Uploading ... ("+t._s(t.uploadProgress)+"%)")])],1)])]):"cameraRoll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[t._m(0),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[t.cameraRollMedia.length>0?i("div",{staticClass:"row p-0 m-0"},t._l(t.cameraRollMedia,(function(t,e){return i("div",{class:[0==e?"col-12 p-0":"col-3 p-0"]},[i("div",{staticClass:"card info-overlay p-0 rounded-0 shadow-none border"},[i("div",{staticClass:"square"},[i("img",{staticClass:"square-content",attrs:{src:t.preview_url}})])])])})),0):i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[i("span",{staticClass:"w-100 h-100"},[i("button",{staticClass:"btn btn-primary",attrs:{type:"button"}},[t._v("Upload")]),t._v(" "),i("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.fetchCameraRollDrafts()}}},[t._v("Load Camera Roll")])])])])])]):"poll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[t._m(1),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tNew Poll\n\t\t\t\t\t")]),t._v(" "),t.postingPoll?i("span",[t._m(2)]):!t.postingPoll&&t.pollOptions.length>1&&t.composeText.length?i("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:t.postNewPoll}},[i("span",[t._v("Create Poll")])]):i("span",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\tCreate Poll\n\t\t\t\t\t")])]),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{staticClass:"rounded-circle",attrs:{src:t.profile.avatar,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a poll question..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\tPoll Options\n\t\t\t\t\t\t")]),t._v(" "),t.pollOptions.length<4?i("div",{staticClass:"form-group mb-4"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptionModel,expression:"pollOptionModel"}],staticClass:"form-control rounded-pill",attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptionModel},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.savePollOption.apply(null,arguments)},input:function(e){e.target.composing||(t.pollOptionModel=e.target.value)}}})]):t._e(),t._v(" "),t._l(t.pollOptions,(function(e,s){return i("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[i("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(s+1)+".")]),t._v(" "),t.pollOptions[s].length<50?i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control rounded-pill",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}):i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{placeholder:"Add a poll option, press enter to save",rows:"3"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}),t._v(" "),i("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(s)}}},[i("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),i("hr"),t._v(" "),i("div",{staticClass:"d-flex justify-content-between"},[i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Expiry\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.pollExpiry,expression:"pollExpiry"}],staticClass:"form-control rounded-pill",staticStyle:{width:"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.pollExpiry=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),i("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),i("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),i("option",{attrs:{value:"10080"}},[t._v("7 days")])])])]),t._v(" "),i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Visibility\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.visibility,expression:"visibility"}],staticClass:"form-control rounded-pill",staticStyle:{"max-width":"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.visibility=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),i("option",{attrs:{value:"private"}},[t._v("Followers Only")])])])])])],2)])])]):i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("div",[1==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[i("i",{staticClass:"fas fa-times fa-lg"}),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):2==t.page?i("span",[t.config.uploader.album_limit>t.media.length?i("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold",attrs:{id:"cm-add-media-btn"},on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-plus"})]):i("button",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold",attrs:{disabled:""}},[i("i",{staticClass:"fas fa-plus"})]),t._v(" "),i("b-tooltip",{attrs:{target:"cm-add-media-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\t\tUpload another photo or video\n\t\t\t\t\t\t\t")])],1):3==t.page?i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3 d-flex align-items-center",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg mr-2"}),t._v(" "),i("span",{staticClass:"btn btn-outline-secondary btn-sm px-2 py-0 disabled",attrs:{disabled:""}},[t._v(t._s(t.media.length))])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg"})])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]),t._v(" "),2==t.page?i("div",[1==t.media.length?i("a",{staticClass:"text-center text-dark",attrs:{href:"#",title:"Crop & Resize",id:"cm-crop-btn"},on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-crop-alt fa-lg"})]):t._e(),t._v(" "),i("b-tooltip",{attrs:{target:"cm-crop-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\tCrop & Resize\n\t\t\t\t\t\t")])],1):t._e(),t._v(" "),i("div",[t.pageLoading?i("span",[t._m(3)]):i("span",[!t.pageLoading&&t.page>1&&t.page<=2||1==t.page&&0!=t.ids.length||"cropPhoto"==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.nextPage.apply(null,arguments)}}},[t._v("Next")]):t._e(),t._v(" "),t.pageLoading||3!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"addText"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.composeTextPost()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"video-2"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")])])])]),t._v(" "),i("div",{staticClass:"card-body p-0 border-top"},["licensePicker"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"list-group list-group-flush"},t._l(t.availableLicenses,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer",class:{"text-primary":t.licenseId===e.id,"font-weight-bold":t.licenseId===e.id},on:{click:function(i){return t.toggleLicense(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t")])})),0)]):t._e(),t._v(" "),"textOptions"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}}):t._e(),t._v(" "),"addText"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"mt-2"},[i("div",{staticClass:"media px-3"},[i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Body")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",staticStyle:{"font-size":"18px",resize:"none"},attrs:{rows:"7",placeholder:"What's happening?"},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),i("div",{staticClass:"border-bottom"}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0 font-weight-bold"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))]),t._v(" "),i("p",{staticClass:"mb-0 mt-2"},[i("a",{staticClass:"btn btn-primary rounded-pill mr-2",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTextOptions()}}},[i("i",{staticClass:"fas fa-palette px-3 text-white"})]),t._v(" "),i("a",{staticClass:"btn rounded-pill mx-3 d-inline-flex align-items-center",class:[t.nsfw?"btn-danger":"btn-outline-lighter"],staticStyle:{height:"37px"},attrs:{href:"#",title:"Mark as sensitive/not safe for work"},on:{click:function(e){e.preventDefault(),t.nsfw=!t.nsfw}}},[i("i",{staticClass:"far fa-flag px-3"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"})]),t._v(" "),i("a",{staticClass:"btn btn-outline-lighter rounded-pill d-inline-flex align-items-center",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-eye mr-2"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"},[t._v(t._s(t.visibilityTag))])])])])])])])]):t._e(),t._v(" "),1==t.page?i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center",staticStyle:{"min-height":"400px"}},[i("div",{staticClass:"text-center"},[0==t.media.length?i("div",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark"},[i("div",{staticClass:"card-body py-2",on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("div",{staticClass:"media"},[t._m(4),t._v(" "),i("div",{staticClass:"media-body text-left"},[t._m(5),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share up to "+t._s(t.config.uploader.album_limit)+" photos or videos")]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.config.uploader.media_types.split(",").map((function(t){return t.split("/")[1]})).join(", ")))]),t._v(" allowed up to "),i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.filesize(t.config.uploader.max_photo_size)))])])])])])]):t._e(),t._v(" "),t._e(),t._v(" "),1==t.config.features.stories?i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/stories/new"}},[t._m(7)]):t._e(),t._v(" "),t._e(),t._v(" "),t._m(9),t._v(" "),t._m(10)])]):t._e(),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"w-100 h-100"},[t.ids.length>0?i("div",[i("vue-cropper",{ref:"cropper",attrs:{relativeZoom:t.cropper.zoom,aspectRatio:t.cropper.aspectRatio,viewMode:t.cropper.viewMode,zoomable:t.cropper.zoomable,rotatable:!0,src:t.media[t.carouselCursor].url}})],1):t._e()]):t._e(),t._v(" "),2==t.page?i("div",{staticClass:"w-100 h-100"},[1==t.media.length?i("div",[i("div",{staticStyle:{display:"flex","min-height":"420px","align-items":"center"},attrs:{slot:"img"},slot:"img"},[i("img",{class:"d-block img-fluid w-100 "+[t.media[t.carouselCursor].filter_class?t.media[t.carouselCursor].filter_class:""],attrs:{src:t.media[t.carouselCursor].url,alt:t.media[t.carouselCursor].description,title:t.media[t.carouselCursor].description}})]),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):t.media.length>1?i("div",{staticClass:"d-flex-inline px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")]),t._v(" "),t._l(t.media,(function(e,s){return i("li",{staticClass:"nav-item mx-md-4"},[i("div",{staticClass:"nav-link",staticStyle:{display:"block",width:"300px",height:"300px"},on:{click:function(e){t.carouselCursor=s}}},[i("span",{class:[e.filter_class?e.filter_class:""]},[i("span",{class:"rounded border "+[s==t.carouselCursor?" border-primary shadow":""],style:"display:block;padding:5px;width:100%;height:100%;background-image: url("+e.url+");background-size:cover;border-width:3px !important;"})])]),t._v(" "),s==t.carouselCursor?i("div",{staticClass:"text-center mb-0 small text-lighter font-weight-bold pt-2"},[i("span",{staticClass:"cursor-pointer",on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[t._v("Crop")]),t._v(" "),i("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return e.preventDefault(),t.showEditMediaCard()}}},[t._v("Edit")]),t._v(" "),i("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.deleteMedia()}}},[t._v("Delete")])]):t._e()])})),t._v(" "),i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")])],2),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):i("div",[i("p",{staticClass:"mb-0 p-5 text-center font-weight-bold"},[t._v("An error occured, please refresh the page.")])])]):t._e(),t._v(" "),3==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a caption..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"border-bottom px-4 mb-0 py-2"},[i("div",{staticClass:"d-flex justify-content-between"},[t._m(11),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),t.nsfw?i("div",[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.spoilerText,expression:"spoilerText"}],staticClass:"form-control mt-3",attrs:{placeholder:"Add an optional content warning or spoiler text",maxlength:"140"},domProps:{value:t.spoilerText},on:{input:function(e){e.target.composing||(t.spoilerText=e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.spoilerTextLength)+"/140")])]):t._e()]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showTagCard()}}},[t._v("Tag people")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showCollectionCard()}}},[t._m(12),t._v(" "),i("span",{staticClass:"float-right"},[t.collectionsSelected.length?i("span",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px 5px","text-transform":"uppercase"},attrs:{href:"#",disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.collectionsSelected.length)+"\n\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t._m(13)])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[i("span",[t._v("Add license")]),t._v(" "),i("span",{staticClass:"float-right"},[t.licenseTitle?i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[t._v(t._s(t.licenseTitle))]):t._e(),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[t.place?i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",{staticClass:"text-lighter"},[t._v("Location:")]),t._v(" "+t._s(t.place.name)+", "+t._s(t.place.country)+"\n\t\t\t\t\t\t\t\t"),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-2",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLocationCard()}}},[t._v("Edit")]),t._v(" "),i("a",{staticClass:"btn btn-outline-secondary btn-sm small",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.place=!1}}},[t._v("Remove")])])]):i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLocationCard()}}},[t._v("Add location")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticStyle:{"min-height":"200px"}},[i("p",{staticClass:"px-4 mb-0 py-2 small font-weight-bold text-muted cursor-pointer",on:{click:function(e){return t.showAdvancedSettingsCard()}}},[t._v("Advanced settings")])])]):t._e(),t._v(" "),"tagPeople"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("autocomplete",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],ref:"autocomplete",attrs:{search:t.tagSearch,placeholder:"@pixelfed","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),i("p",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],staticClass:"font-weight-bold text-muted small"},[t._v("You can tag "+t._s(10-t.taggedUsernames.length)+" more "+t._s(9==t.taggedUsernames.length?"person":"people")+"!")]),t._v(" "),i("p",{staticClass:"font-weight-bold text-center mt-3"},[t._v("Tagged People")]),t._v(" "),i("div",{staticClass:"list-group"},[t._l(t.taggedUsernames,(function(e,s){return i("div",{staticClass:"list-group-item d-flex justify-content-between"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-2 rounded-circle border",attrs:{src:e.avatar,width:"24px",height:"24px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.name))])])]),t._v(" "),i("div",{staticClass:"custom-control custom-switch"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.privacy,expression:"tag.privacy"}],staticClass:"custom-control-input disabled",attrs:{type:"checkbox",id:"cci-tagged-privacy-switch"+s,disabled:""},domProps:{checked:Array.isArray(e.privacy)?t._i(e.privacy,null)>-1:e.privacy},on:{change:function(i){var s=e.privacy,a=i.target,o=!!a.checked;if(Array.isArray(s)){var n=t._i(s,null);a.checked?n<0&&t.$set(e,"privacy",s.concat([null])):n>-1&&t.$set(e,"privacy",s.slice(0,n).concat(s.slice(n+1)))}else t.$set(e,"privacy",o)}}}),t._v(" "),i("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"cci-tagged-privacy-switch"+s}},[t._v(t._s(e.privacy?"Public":"Private"))]),t._v(" "),i("a",{staticClass:"ml-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.untagUsername(s)}}},[i("i",{staticClass:"fas fa-times text-muted"})])])])})),t._v(" "),0==t.taggedUsernames.length?i("div",{staticClass:"list-group-item p-3"},[i("p",{staticClass:"text-center mb-0 font-weight-bold text-lighter"},[t._v("Search usernames to tag.")])]):t._e()],2),t._v(" "),i("p",{staticClass:"font-weight-bold text-center small text-muted pt-3 mb-0"},[t._v("When you tag someone, they are sent a notification."),i("br"),t._v("For more information on tagging, "),i("a",{staticClass:"text-primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTagHelpCard()}}},[t._v("click here")]),t._v(".")])],1):t._e(),t._v(" "),"tagPeopleHelp"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0 text-center py-3 px-2 lead"},[t._v("Tagging someone is like mentioning them, with the option to make it private between you.")]),t._v(" "),i("p",{staticClass:"mb-3 py-3 px-2 font-weight-lighter"},[t._v("\n\t\t\t\t\t\t\tYou can choose to tag someone in public or private mode. Public mode will allow others to see who you tagged in the post and private mode tagged users will not be shown to others.\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"addLocation"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0"},[t._v("Add Location")]),t._v(" "),i("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}})],1):t._e(),t._v(" "),"advancedSettings"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[i("div",{staticClass:"list-group-item d-flex justify-content-between"},[t._m(14),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.commentsDisabled,expression:"commentsDisabled"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asdisablecomments"},domProps:{checked:Array.isArray(t.commentsDisabled)?t._i(t.commentsDisabled,null)>-1:t.commentsDisabled},on:{change:function(e){var i=t.commentsDisabled,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.commentsDisabled=i.concat([null])):o>-1&&(t.commentsDisabled=i.slice(0,o).concat(i.slice(o+1)))}else t.commentsDisabled=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asdisablecomments"}})])])]),t._v(" "),i("a",{staticClass:"list-group-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showMediaDescriptionsCard()}}},[t._m(15)])])]):t._e(),t._v(" "),"visibility"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"public"==t.visibility},on:{click:function(e){return t.toggleVisibility("public")}}},[t._v("\n\t\t\t\t\t\t\t\tPublic\n\t\t\t\t\t\t\t")]),t._v(" "),t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"unlisted"==t.visibility},on:{click:function(e){return t.toggleVisibility("unlisted")}}},[t._v("\n\t\t\t\t\t\t\t\tUnlisted\n\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"private"==t.visibility},on:{click:function(e){return t.toggleVisibility("private")}}},[t._v("\n\t\t\t\t\t\t\t\tFollowers Only\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),"altText"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t._l(t.media,(function(e,s){return i("div",[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.alt,expression:"m.alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:t.maxAltTextLength,rows:"4"},domProps:{value:e.alt},on:{input:function(i){i.target.composing||t.$set(e,"alt",i.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(e.alt?e.alt.length:0)+"/"+t._s(t.maxAltTextLength))])])]),t._v(" "),i("hr")])})),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])],2):t._e(),t._v(" "),"addToCollection"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t.collectionsLoaded&&t.collections.length?i("div",{staticClass:"list-group mb-3 collections-list-group"},[t._l(t.collections,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer compose-action border",class:{active:t.collectionsSelected.includes(s)},on:{click:function(e){return t.toggleCollectionItem(s)}}},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.thumb,alt:"",width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("h5",{staticClass:"mt-0"},[t._v(t._s(e.title))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(e.post_count)+" Posts - Created "+t._s(t.timeAgo(e.published_at))+" ago")])])])])})),t._v(" "),t.collectionsCanLoadMore?i("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-3",on:{click:t.loadMoreCollections}},[t._v("\n\t\t\t\t\t\t\t\tLoad more\n\t\t\t\t\t\t\t")]):t._e()],2):t._e(),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.clearSelectedCollections()}}},[t._v("Clear")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"schedulePost"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"mediaMetadata"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"addToStory"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"editMedia"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:t.media[t.carouselCursor].preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("Media Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.carouselCursor].alt,expression:"media[carouselCursor].alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:"140"},domProps:{value:t.media[t.carouselCursor].alt},on:{input:function(e){e.target.composing||t.$set(t.media[t.carouselCursor],"alt",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-muted mb-0 d-flex justify-content-between"},[i("span",[t._v("Describe your photo for people with visual impairments.")]),t._v(" "),i("span",[t._v(t._s(t.media[t.carouselCursor].alt?t.media[t.carouselCursor].alt.length:0)+"/140")])])]),t._v(" "),i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("License")]),t._v(" "),i("select",{directives:[{name:"model",rawName:"v-model",value:t.licenseId,expression:"licenseId"}],staticClass:"form-control",on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.licenseId=e.target.multiple?i:i[0]}}},t._l(t.availableLicenses,(function(e,s){return i("option",{domProps:{value:e.id,selected:e.id==t.licenseId}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t\t")])})),0)])])]),t._v(" "),i("hr"),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"video-2"==t.page?i("div",{staticClass:"w-100 h-100"},[t.video.title.length?i("div",{staticClass:"border-bottom"},[i("div",{staticClass:"media p-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"100px",height:"70px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"font-weight-bold mb-1"},[t._v(t._s(t.video.title?t.video.title.slice(0,70):"Untitled"))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(t.video.description?t.video.description.slice(0,90):"No description"))])])])]):t._e(),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(16),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[t._v("Add license")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("div",{staticClass:"form-group"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Title")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.video.title,expression:"video.title"}],staticClass:"form-control",attrs:{placeholder:"Add a good title"},domProps:{value:t.video.title},on:{input:function(e){e.target.composing||t.$set(t.video,"title",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.title.length)+"/70")])]),t._v(" "),i("div",{staticClass:"form-group mb-0"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.video.description,expression:"video.description"}],staticClass:"form-control",attrs:{placeholder:"Add an optional description",maxlength:"5000",rows:"5"},domProps:{value:t.video.description},on:{input:function(e){e.target.composing||t.$set(t.video,"description",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.description.length)+"/5000")])])])]):t._e()]),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"card-footer bg-white d-flex justify-content-between"},[i("div",[i("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"},on:{click:t.rotate}},[i("i",{staticClass:"fas fa-redo"})])]),t._v(" "),i("div",[i("div",{staticClass:"d-inline-block button-group"},[i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==16/9?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(16/9)}}},[t._v("16:9")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==4/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(4/3)}}},[t._v("4:3")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1.5==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1.5)}}},[t._v("3:2")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1)}}},[t._v("1:1")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==2/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(2/3)}}},[t._v("2:3")])])])]):t._e()])])])])},a=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("span",{staticClass:"pr-3"},[i("i",{staticClass:"fas fa-cog fa-lg text-muted"})]),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tCamera Roll\n\t\t\t\t\t")]),t._v(" "),i("span",{staticClass:"text-primary font-weight-bold"},[t._v("Upload")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"pr-3"},[e("i",{staticClass:"fas fa-info-circle fa-lg text-primary"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%","background-color":"#008DF5"}},[e("i",{staticClass:"fal fa-bolt text-white fa-lg"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Post")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"far fa-edit text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Text Post")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share a text only post")])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fas fa-history text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Story")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Add to your story")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"fas fa-poll-h text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Poll")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Create a poll")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/collections/create"}},[i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fal fa-images text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Collection")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("New collection of posts")])])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"py-3"},[i("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v("Help")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span",[t._v("Add to Collection "),i("span",{staticClass:"ml-2 badge badge-primary"},[t._v("NEW")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-decoration-none"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Turn off commenting")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Disables comments for this post, you can change this later.")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("div",[i("div",{staticClass:"text-dark"},[t._v("Media Descriptions")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Describe your photos for people with visual impairments.")])]),t._v(" "),i("div",[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])}]}}]); \ No newline at end of file diff --git a/public/js/compose.js b/public/js/compose.js index d2d6ef224..4b9ec6322 100644 --- a/public/js/compose.js +++ b/public/js/compose.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[416],{49144:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>c});var s=i(17652),a=(i(89620),i(29655)),o=(i(14348),i(15235)),l=i(19755);function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i10&&(t.licenseTitle=t.availableLicenses.filter((function(e){return e.id==t.licenseId})).map((function(t){return t.title}))[0]),t.fetchProfile()}))},mounted:function(){this.mediaWatcher()},methods:{timeAgo:function(t){return App.util.format.timeAgo(t)},fetchProfile:function(){var t=this,e={public:"Public",private:"Followers Only",unlisted:"Unlisted"};if(window._sharedData.curUser.id){if(this.profile=window._sharedData.curUser,this.composeSettings&&this.composeSettings.hasOwnProperty("default_scope")&&this.composeSettings.default_scope){var i=this.composeSettings.default_scope;this.visibility=i,this.visibilityTag=e[i]}1==this.profile.locked&&(this.visibility="private",this.visibilityTag="Followers Only")}else axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(i){if(window._sharedData.currentUser=i.data,t.profile=i.data,t.composeSettings&&t.composeSettings.hasOwnProperty("default_scope")&&t.composeSettings.default_scope){var s=t.composeSettings.default_scope;t.visibility=s,t.visibilityTag=e[s]}1==t.profile.locked&&(t.visibility="private",t.visibilityTag="Followers Only")})).catch((function(t){}))},addMedia:function(t){var e=l(t.target);e.attr("disabled",""),l('.file-input[name="media"]').trigger("click"),e.blur(),e.removeAttr("disabled")},addText:function(t){this.pageTitle="New Text Post",this.page="addText",this.textMode=!0,this.mode="text"},mediaWatcher:function(){var t=this;l(document).on("change","#pf-dz",(function(e){t.mediaUpload()}))},mediaUpload:function(){var t=this;t.uploading=!0;var e=document.querySelector("#pf-dz");e.files.length||(t.uploading=!1),Array.prototype.forEach.call(e.files,(function(e,i){if(t.media&&t.media.length+i>=t.config.uploader.album_limit)return swal("Error","You can only upload "+t.config.uploader.album_limit+" photos per album","error"),t.uploading=!1,void(t.page=2);var s=e.type,a=t.config.uploader.media_types.split(",");if(-1==l.inArray(s,a))return swal("Invalid File Type","The file you are trying to add is not a valid mime type. Please upload a "+t.config.uploader.media_types+" only.","error"),t.uploading=!1,void(t.page=2);var o=new FormData;o.append("file",e);var n={onUploadProgress:function(e){var i=Math.round(100*e.loaded/e.total);t.uploadProgress=i}};axios.post("/api/compose/v0/media/upload",o,n).then((function(e){t.uploadProgress=100,t.ids.push(e.data.id),t.media.push(e.data),t.uploading=!1,setTimeout((function(){t.page=3}),300)})).catch((function(i){switch(i.response.status){case 451:t.uploading=!1,e.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),t.page=2;break;case 429:t.uploading=!1,e.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),t.page=2;break;default:t.uploading=!1,e.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),t.page=2}})),e.value=null,t.uploadProgress=0}))},toggleFilter:function(t,e){this.media[this.carouselCursor].filter_class=e,this.currentFilter=e},deleteMedia:function(){var t=this;if(0!=window.confirm("Are you sure you want to delete this media?")){var e=this.media[this.carouselCursor].id;axios.delete("/api/compose/v0/media/delete",{params:{id:e}}).then((function(e){t.ids.splice(t.carouselCursor,1),t.media.splice(t.carouselCursor,1),0==t.media.length?(t.ids=[],t.media=[],t.carouselCursor=0):t.carouselCursor=0})).catch((function(t){swal("Whoops!","An error occured when attempting to delete this, please try again","error")}))}},compose:function(){var t=this,e=this.composeState;if(100==this.uploadProgress&&0!=this.ids.length)if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(e){case"publish":if(!0===this.composeSettings.media_descriptions)if(this.media.filter((function(t){return!t.hasOwnProperty("alt")||t.alt.length<2})).length)return void swal("Missing media descriptions","You have enabled mandatory media descriptions. Please add media descriptions under Advanced settings to proceed. For more information, please see the media settings page.","warning");if(0==this.media.length)return void swal("Whoops!","You need to add media before you can save this!","warning");"Add optional caption..."==this.composeText&&(this.composeText="");var i={media:this.media,caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames,optimize_media:this.optimizeMedia,license:this.licenseId,video:this.video};return this.collectionsSelected.length&&(i.collections=this.collectionsSelected.map((function(e){return t.collections[e].id}))),void axios.post("/api/compose/v0/publish",i).then((function(t){"/i/web/compose"===location.pathname&&t.data&&t.data.length?location.href="/i/web/post/"+t.data.split("/").slice(-1)[0]:location.href=t.data})).catch((function(t){if(t.response){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}else swal("Oops, something went wrong!",t.message,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void l("#composeModal").modal("hide")}},composeTextPost:function(){var t=this.composeState;if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(t){case"publish":var e={caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames};return void axios.post("/api/compose/v0/publish/text",e).then((function(t){var e=t.data;window.location.href=e})).catch((function(t){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void l("#composeModal").modal("hide")}},closeModal:function(){l("#composeModal").modal("hide"),this.$emit("close")},goBack:function(){switch(this.pageTitle="",this.mode){case"photo":switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page=3:this.page--}break;case"video":this.page,this.page="video-2";break;default:switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page="text"==this.mode?"addText":3:"text"==this.mode||this.page--}}},nextPage:function(){switch(this.pageTitle="",this.page){case 1:this.page=2;break;case"cropPhoto":this.pageLoading=!0;var t=this;this.$refs.cropper.getCroppedCanvas({maxWidth:4096,maxHeight:4096,fillColor:"#fff",imageSmoothingEnabled:!1,imageSmoothingQuality:"high"}).toBlob((function(e){t.mediaCropped=!0;var i=new FormData;i.append("file",e),i.append("id",t.ids[t.carouselCursor]);axios.post("/api/compose/v0/media/update",i).then((function(e){t.media[t.carouselCursor].url=e.data.url,t.pageLoading=!1,t.page=2})).catch((function(t){}))}));break;case 2:this.currentFilter?window.confirm("Are you sure you want to apply this filter?")&&(this.applyFilterToMedia(),this.page++):this.page++;break;case 3:this.page++}},rotate:function(){this.$refs.cropper.rotate(90)},changeAspect:function(t){this.cropper.aspectRatio=t,this.$refs.cropper.setAspectRatio(t)},showTagCard:function(){this.pageTitle="Tag People",this.page="tagPeople"},showTagHelpCard:function(){this.pageTitle="About Tag People",this.page="tagPeopleHelp"},showLocationCard:function(){this.pageTitle="Add Location",this.page="addLocation"},showAdvancedSettingsCard:function(){this.pageTitle="Advanced Settings",this.page="advancedSettings"},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){switch(this.place=t,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showVisibilityCard:function(){this.pageTitle="Post Visibility",this.page="visibility"},showAddToStoryCard:function(){this.pageTitle="Add to Story",this.page="addToStory"},showCropPhotoCard:function(){this.pageTitle="Edit Photo",this.page="cropPhoto"},toggleVisibility:function(t){switch(this.visibility=t,this.visibilityTag={public:"Public",private:"Followers Only",unlisted:"Unlisted"}[t],this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showMediaDescriptionsCard:function(){this.pageTitle="Media Descriptions",this.page="altText"},showAddToCollectionsCard:function(){this.pageTitle="Add to Collection",this.page="addToCollection"},showSchedulePostCard:function(){this.pageTitle="Schedule Post",this.page="schedulePost"},showEditMediaCard:function(){this.pageTitle="Edit Media",this.page="editMedia"},fetchCameraRollDrafts:function(){var t=this;axios.get("/api/pixelfed/local/drafts").then((function(e){t.cameraRollMedia=e.data}))},applyFilterToMedia:function(){var t=navigator.userAgent.toLowerCase();if(-1!=t.indexOf("firefox")||-1!=t.indexOf("chrome"))for(var e=this.media,i=null,s=document.getElementById("pr_canvas"),a=s.getContext("2d"),o=document.getElementById("pr_img"),l=null,n=e.length-1;n>=0;n--)(i=e[n]).filter_class&&(o.src=i.url,o.addEventListener("load",(function(t){s.width=o.width,s.height=o.height,a.filter=App.util.filterCss[i.filter_class],a.drawImage(o,0,0,o.width,o.height),a.save(),s.toBlob((function(t){(l=new FormData).append("file",t),l.append("id",i.id),axios.post("/api/compose/v0/media/update",l).then((function(t){})).catch((function(t){}))}))}),i.mime,.9),a.clearRect(0,0,o.width,o.height));else swal("Oops!","Your browser does not support the filter feature.","error")},tagSearch:function(t){if(t.length<1)return[];var e=this;return axios.get("/api/compose/v0/search/tag",{params:{q:t}}).then((function(t){if(t.data.length)return t.data.filter((function(t){return 0==e.taggedUsernames.filter((function(e){return e.id==t.id})).length}))}))},getTagResultValue:function(t){return"@"+t.name},onTagSubmitLocation:function(t){this.taggedUsernames.filter((function(e){return e.id==t.id})).length||(this.taggedUsernames.push(t),this.$refs.autocomplete.value="")},untagUsername:function(t){this.taggedUsernames.splice(t,1)},showTextOptions:function(){this.page="textOptions",this.pageTitle="Text Post Options"},showLicenseCard:function(){this.pageTitle="Select a License",this.page="licensePicker"},toggleLicense:function(t){var e=this;switch(this.licenseId=t.id,this.licenseId>10?this.licenseTitle=this.availableLicenses.filter((function(t){return t.id==e.licenseId})).map((function(t){return t.title}))[0]:this.licenseTitle=null,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},newPoll:function(){this.page="poll"},savePollOption:function(){-1==this.pollOptions.indexOf(this.pollOptionModel)?(this.pollOptions.push(this.pollOptionModel),this.pollOptionModel=null):this.pollOptionModel=null},deletePollOption:function(t){this.pollOptions.splice(t,1)},postNewPoll:function(){var t=this;this.postingPoll=!0,axios.post("/api/compose/v0/poll",{caption:this.composeText,cw:!1,visibility:this.visibility,comments_disabled:!1,expiry:this.pollExpiry,pollOptions:this.pollOptions}).then((function(e){if(!e.data.hasOwnProperty("url"))return swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error"),void(t.postingPoll=!1);window.location.href=e.data.url})).catch((function(e){if(console.log(e.response.data.error),e.response.data.hasOwnProperty("error")&&"Duplicate detected."==e.response.data.error)return t.postingPoll=!1,void swal("Oops!","The poll you are trying to create is similar to an existing poll you created. Please make the poll question (caption) unique.","error");t.postingPoll=!1,swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error")}))},filesize:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){return filesize(1024*t,{round:0})})),showCollectionCard:function(){this.pageTitle="Add to Collection(s)",this.page="addToCollection",this.collectionsLoaded||this.fetchCollections()},fetchCollections:function(){var t=this;axios.get("/api/local/profile/collections/".concat(this.profile.id)).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.collectionsCanLoadMore=9==e.data.length,t.collectionsPage++}))},toggleCollectionItem:function(t){if(this.collectionsSelected.includes(t))this.collectionsSelected=this.collectionsSelected.filter((function(e){return e!=t}));else{if(7==this.collectionsSelected.length)return void swal("Oops!","You can only share to 5 collections.","info");this.collectionsSelected.push(t)}},clearSelectedCollections:function(){this.collectionsSelected=[],this.pageTitle="Compose",this.page=3},loadMoreCollections:function(){var t=this;this.collectionsCanLoadMore=!1,axios.get("/api/local/profile/collections/".concat(this.profile.id),{params:{page:this.collectionsPage}}).then((function(e){var i,s=t.collections.map((function(t){return t.id})),a=e.data.filter((function(t){return!s.includes(t.id)}));a&&a.length&&((i=t.collections).push.apply(i,n(a)),t.collectionsPage++,t.collectionsCanLoadMore=!0)}))}}}},52356:(t,e,i)=>{Vue.component("compose-modal",i(64439).default)},74180:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>o});var s=i(23645),a=i.n(s)()((function(t){return t[1]}));a.push([t.id,".compose-modal-component .media-drawer-filters{flex-wrap:unset;overflow-x:scroll}.compose-modal-component .media-drawer-filters::-webkit-scrollbar{background:transparent;width:0}.compose-modal-component .media-drawer-filters .nav-link{min-width:100px;padding-bottom:1rem;padding-top:1rem}.compose-modal-component .media-drawer-filters .active{color:#fff;font-weight:700}@media(hover:none)and (pointer:coarse){.compose-modal-component .media-drawer-filters::-webkit-scrollbar{display:none}}.compose-modal-component .no-focus{border-color:none;box-shadow:none;outline:0}.compose-modal-component a.list-group-item{text-decoration:none}.compose-modal-component a.list-group-item:hover{background-color:#f8f9fa;text-decoration:none}.compose-modal-component .compose-action:hover{background-color:#f8f9fa;cursor:pointer}.compose-modal-component .collections-list-group{max-height:500px;overflow-y:auto}.compose-modal-component .collections-list-group .list-group-item.active{background-color:#dbeafe!important;border-color:#60a5fa!important;color:#212529}",""]);const o=a},9206:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>n});var s=i(93379),a=i.n(s),o=i(74180),l={insert:"head",singleton:!1};a()(o.default,l);const n=o.default.locals||{}},64439:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>l});var s=i(40616),a=i(10594),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);i(18884);const l=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,null,null).exports},10594:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>o});var s=i(49144),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},18884:(t,e,i)=>{"use strict";i.r(e);var s=i(9206),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},40616:(t,e,i)=>{"use strict";i.r(e);var s=i(5247),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},5247:(t,e,i)=>{"use strict";i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"compose-modal-component"},[i("input",{staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",id:"pf-dz",name:"media",multiple:"",accept:t.config.uploader.media_types}}),t._v(" "),i("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),i("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),i("div",{staticClass:"timeline"},[t.uploading?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100 bg-light py-3",staticStyle:{"border-bottom":"1px solid #f1f1f1"}},[i("div",{staticClass:"p-5 mt-2"},[i("b-progress",{attrs:{value:t.uploadProgress,max:100,striped:"",animated:!0}}),t._v(" "),i("p",{staticClass:"text-center mb-0 font-weight-bold"},[t._v("Uploading ... ("+t._s(t.uploadProgress)+"%)")])],1)])]):"cameraRoll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[t._m(0),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[t.cameraRollMedia.length>0?i("div",{staticClass:"row p-0 m-0"},t._l(t.cameraRollMedia,(function(t,e){return i("div",{class:[0==e?"col-12 p-0":"col-3 p-0"]},[i("div",{staticClass:"card info-overlay p-0 rounded-0 shadow-none border"},[i("div",{staticClass:"square"},[i("img",{staticClass:"square-content",attrs:{src:t.preview_url}})])])])})),0):i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[i("span",{staticClass:"w-100 h-100"},[i("button",{staticClass:"btn btn-primary",attrs:{type:"button"}},[t._v("Upload")]),t._v(" "),i("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.fetchCameraRollDrafts()}}},[t._v("Load Camera Roll")])])])])])]):"poll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[t._m(1),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tNew Poll\n\t\t\t\t\t")]),t._v(" "),t.postingPoll?i("span",[t._m(2)]):!t.postingPoll&&t.pollOptions.length>1&&t.composeText.length?i("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:t.postNewPoll}},[i("span",[t._v("Create Poll")])]):i("span",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\tCreate Poll\n\t\t\t\t\t")])]),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{staticClass:"rounded-circle",attrs:{src:t.profile.avatar,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a poll question..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\tPoll Options\n\t\t\t\t\t\t")]),t._v(" "),t.pollOptions.length<4?i("div",{staticClass:"form-group mb-4"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptionModel,expression:"pollOptionModel"}],staticClass:"form-control rounded-pill",attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptionModel},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.savePollOption.apply(null,arguments)},input:function(e){e.target.composing||(t.pollOptionModel=e.target.value)}}})]):t._e(),t._v(" "),t._l(t.pollOptions,(function(e,s){return i("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[i("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(s+1)+".")]),t._v(" "),t.pollOptions[s].length<50?i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control rounded-pill",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}):i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{placeholder:"Add a poll option, press enter to save",rows:"3"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}),t._v(" "),i("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(s)}}},[i("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),i("hr"),t._v(" "),i("div",{staticClass:"d-flex justify-content-between"},[i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Expiry\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.pollExpiry,expression:"pollExpiry"}],staticClass:"form-control rounded-pill",staticStyle:{width:"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.pollExpiry=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),i("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),i("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),i("option",{attrs:{value:"10080"}},[t._v("7 days")])])])]),t._v(" "),i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Visibility\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.visibility,expression:"visibility"}],staticClass:"form-control rounded-pill",staticStyle:{"max-width":"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.visibility=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),i("option",{attrs:{value:"private"}},[t._v("Followers Only")])])])])])],2)])])]):i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("div",[1==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[i("i",{staticClass:"fas fa-times fa-lg"}),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):2==t.page?i("span",[t.config.uploader.album_limit>t.media.length?i("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold",attrs:{id:"cm-add-media-btn"},on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-plus"})]):i("button",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold",attrs:{disabled:""}},[i("i",{staticClass:"fas fa-plus"})]),t._v(" "),i("b-tooltip",{attrs:{target:"cm-add-media-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\t\tUpload another photo or video\n\t\t\t\t\t\t\t")])],1):3==t.page?i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3 d-flex align-items-center",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg mr-2"}),t._v(" "),i("span",{staticClass:"btn btn-outline-secondary btn-sm px-2 py-0 disabled",attrs:{disabled:""}},[t._v(t._s(t.media.length))])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg"})])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]),t._v(" "),2==t.page?i("div",[1==t.media.length?i("a",{staticClass:"text-center text-dark",attrs:{href:"#",title:"Crop & Resize",id:"cm-crop-btn"},on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-crop-alt fa-lg"})]):t._e(),t._v(" "),i("b-tooltip",{attrs:{target:"cm-crop-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\tCrop & Resize\n\t\t\t\t\t\t")])],1):t._e(),t._v(" "),i("div",[t.pageLoading?i("span",[t._m(3)]):i("span",[!t.pageLoading&&t.page>1&&t.page<=2||1==t.page&&0!=t.ids.length||"cropPhoto"==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.nextPage.apply(null,arguments)}}},[t._v("Next")]):t._e(),t._v(" "),t.pageLoading||3!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"addText"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.composeTextPost()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"video-2"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")])])])]),t._v(" "),i("div",{staticClass:"card-body p-0 border-top"},["licensePicker"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"list-group list-group-flush"},t._l(t.availableLicenses,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer",class:{"text-primary":t.licenseId===e.id,"font-weight-bold":t.licenseId===e.id},on:{click:function(i){return t.toggleLicense(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t")])})),0)]):t._e(),t._v(" "),"textOptions"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}}):t._e(),t._v(" "),"addText"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"mt-2"},[i("div",{staticClass:"media px-3"},[i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Body")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",staticStyle:{"font-size":"18px",resize:"none"},attrs:{rows:"7",placeholder:"What's happening?"},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),i("div",{staticClass:"border-bottom"}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0 font-weight-bold"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))]),t._v(" "),i("p",{staticClass:"mb-0 mt-2"},[i("a",{staticClass:"btn btn-primary rounded-pill mr-2",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTextOptions()}}},[i("i",{staticClass:"fas fa-palette px-3 text-white"})]),t._v(" "),i("a",{staticClass:"btn rounded-pill mx-3 d-inline-flex align-items-center",class:[t.nsfw?"btn-danger":"btn-outline-lighter"],staticStyle:{height:"37px"},attrs:{href:"#",title:"Mark as sensitive/not safe for work"},on:{click:function(e){e.preventDefault(),t.nsfw=!t.nsfw}}},[i("i",{staticClass:"far fa-flag px-3"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"})]),t._v(" "),i("a",{staticClass:"btn btn-outline-lighter rounded-pill d-inline-flex align-items-center",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-eye mr-2"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"},[t._v(t._s(t.visibilityTag))])])])])])])])]):t._e(),t._v(" "),1==t.page?i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center",staticStyle:{"min-height":"400px"}},[i("div",{staticClass:"text-center"},[0==t.media.length?i("div",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark"},[i("div",{staticClass:"card-body py-2",on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("div",{staticClass:"media"},[t._m(4),t._v(" "),i("div",{staticClass:"media-body text-left"},[t._m(5),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share up to "+t._s(t.config.uploader.album_limit)+" photos or videos")]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.config.uploader.media_types.split(",").map((function(t){return t.split("/")[1]})).join(", ")))]),t._v(" allowed up to "),i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.filesize(t.config.uploader.max_photo_size)))])])])])])]):t._e(),t._v(" "),t._e(),t._v(" "),1==t.config.features.stories?i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/stories/new"}},[t._m(7)]):t._e(),t._v(" "),t._e(),t._v(" "),t._m(9),t._v(" "),t._m(10)])]):t._e(),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"w-100 h-100"},[t.ids.length>0?i("div",[i("vue-cropper",{ref:"cropper",attrs:{relativeZoom:t.cropper.zoom,aspectRatio:t.cropper.aspectRatio,viewMode:t.cropper.viewMode,zoomable:t.cropper.zoomable,rotatable:!0,src:t.media[t.carouselCursor].url}})],1):t._e()]):t._e(),t._v(" "),2==t.page?i("div",{staticClass:"w-100 h-100"},[1==t.media.length?i("div",[i("div",{staticStyle:{display:"flex","min-height":"420px","align-items":"center"},attrs:{slot:"img"},slot:"img"},[i("img",{class:"d-block img-fluid w-100 "+[t.media[t.carouselCursor].filter_class?t.media[t.carouselCursor].filter_class:""],attrs:{src:t.media[t.carouselCursor].url,alt:t.media[t.carouselCursor].description,title:t.media[t.carouselCursor].description}})]),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):t.media.length>1?i("div",{staticClass:"d-flex-inline px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")]),t._v(" "),t._l(t.media,(function(e,s){return i("li",{staticClass:"nav-item mx-md-4"},[i("div",{staticClass:"nav-link",staticStyle:{display:"block",width:"300px",height:"300px"},on:{click:function(e){t.carouselCursor=s}}},[i("span",{class:[e.filter_class?e.filter_class:""]},[i("span",{class:"rounded border "+[s==t.carouselCursor?" border-primary shadow":""],style:"display:block;padding:5px;width:100%;height:100%;background-image: url("+e.url+");background-size:cover;border-width:3px !important;"})])]),t._v(" "),s==t.carouselCursor?i("div",{staticClass:"text-center mb-0 small text-lighter font-weight-bold pt-2"},[i("span",{staticClass:"cursor-pointer",on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[t._v("Crop")]),t._v(" "),i("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return e.preventDefault(),t.showEditMediaCard()}}},[t._v("Edit")]),t._v(" "),i("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.deleteMedia()}}},[t._v("Delete")])]):t._e()])})),t._v(" "),i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")])],2),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):i("div",[i("p",{staticClass:"mb-0 p-5 text-center font-weight-bold"},[t._v("An error occured, please refresh the page.")])])]):t._e(),t._v(" "),3==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a caption..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(11),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showTagCard()}}},[t._v("Tag people")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showCollectionCard()}}},[t._m(12),t._v(" "),i("span",{staticClass:"float-right"},[t.collectionsSelected.length?i("span",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px 5px","text-transform":"uppercase"},attrs:{href:"#",disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.collectionsSelected.length)+"\n\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t._m(13)])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[i("span",[t._v("Add license")]),t._v(" "),i("span",{staticClass:"float-right"},[t.licenseTitle?i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[t._v(t._s(t.licenseTitle))]):t._e(),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[t.place?i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",{staticClass:"text-lighter"},[t._v("Location:")]),t._v(" "+t._s(t.place.name)+", "+t._s(t.place.country)+"\n\t\t\t\t\t\t\t\t"),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-2",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLocationCard()}}},[t._v("Edit")]),t._v(" "),i("a",{staticClass:"btn btn-outline-secondary btn-sm small",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.place=!1}}},[t._v("Remove")])])]):i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLocationCard()}}},[t._v("Add location")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticStyle:{"min-height":"200px"}},[i("p",{staticClass:"px-4 mb-0 py-2 small font-weight-bold text-muted cursor-pointer",on:{click:function(e){return t.showAdvancedSettingsCard()}}},[t._v("Advanced settings")])])]):t._e(),t._v(" "),"tagPeople"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("autocomplete",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],ref:"autocomplete",attrs:{search:t.tagSearch,placeholder:"@pixelfed","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),i("p",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],staticClass:"font-weight-bold text-muted small"},[t._v("You can tag "+t._s(10-t.taggedUsernames.length)+" more "+t._s(9==t.taggedUsernames.length?"person":"people")+"!")]),t._v(" "),i("p",{staticClass:"font-weight-bold text-center mt-3"},[t._v("Tagged People")]),t._v(" "),i("div",{staticClass:"list-group"},[t._l(t.taggedUsernames,(function(e,s){return i("div",{staticClass:"list-group-item d-flex justify-content-between"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-2 rounded-circle border",attrs:{src:e.avatar,width:"24px",height:"24px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.name))])])]),t._v(" "),i("div",{staticClass:"custom-control custom-switch"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.privacy,expression:"tag.privacy"}],staticClass:"custom-control-input disabled",attrs:{type:"checkbox",id:"cci-tagged-privacy-switch"+s,disabled:""},domProps:{checked:Array.isArray(e.privacy)?t._i(e.privacy,null)>-1:e.privacy},on:{change:function(i){var s=e.privacy,a=i.target,o=!!a.checked;if(Array.isArray(s)){var l=t._i(s,null);a.checked?l<0&&t.$set(e,"privacy",s.concat([null])):l>-1&&t.$set(e,"privacy",s.slice(0,l).concat(s.slice(l+1)))}else t.$set(e,"privacy",o)}}}),t._v(" "),i("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"cci-tagged-privacy-switch"+s}},[t._v(t._s(e.privacy?"Public":"Private"))]),t._v(" "),i("a",{staticClass:"ml-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.untagUsername(s)}}},[i("i",{staticClass:"fas fa-times text-muted"})])])])})),t._v(" "),0==t.taggedUsernames.length?i("div",{staticClass:"list-group-item p-3"},[i("p",{staticClass:"text-center mb-0 font-weight-bold text-lighter"},[t._v("Search usernames to tag.")])]):t._e()],2),t._v(" "),i("p",{staticClass:"font-weight-bold text-center small text-muted pt-3 mb-0"},[t._v("When you tag someone, they are sent a notification."),i("br"),t._v("For more information on tagging, "),i("a",{staticClass:"text-primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTagHelpCard()}}},[t._v("click here")]),t._v(".")])],1):t._e(),t._v(" "),"tagPeopleHelp"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0 text-center py-3 px-2 lead"},[t._v("Tagging someone is like mentioning them, with the option to make it private between you.")]),t._v(" "),i("p",{staticClass:"mb-3 py-3 px-2 font-weight-lighter"},[t._v("\n\t\t\t\t\t\t\tYou can choose to tag someone in public or private mode. Public mode will allow others to see who you tagged in the post and private mode tagged users will not be shown to others.\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"addLocation"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0"},[t._v("Add Location")]),t._v(" "),i("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}})],1):t._e(),t._v(" "),"advancedSettings"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[i("div",{staticClass:"list-group-item d-flex justify-content-between"},[t._m(14),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.commentsDisabled,expression:"commentsDisabled"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asdisablecomments"},domProps:{checked:Array.isArray(t.commentsDisabled)?t._i(t.commentsDisabled,null)>-1:t.commentsDisabled},on:{change:function(e){var i=t.commentsDisabled,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.commentsDisabled=i.concat([null])):o>-1&&(t.commentsDisabled=i.slice(0,o).concat(i.slice(o+1)))}else t.commentsDisabled=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asdisablecomments"}})])])]),t._v(" "),i("a",{staticClass:"list-group-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showMediaDescriptionsCard()}}},[t._m(15)])])]):t._e(),t._v(" "),"visibility"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"public"==t.visibility},on:{click:function(e){return t.toggleVisibility("public")}}},[t._v("\n\t\t\t\t\t\t\t\tPublic\n\t\t\t\t\t\t\t")]),t._v(" "),t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"unlisted"==t.visibility},on:{click:function(e){return t.toggleVisibility("unlisted")}}},[t._v("\n\t\t\t\t\t\t\t\tUnlisted\n\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"private"==t.visibility},on:{click:function(e){return t.toggleVisibility("private")}}},[t._v("\n\t\t\t\t\t\t\t\tFollowers Only\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),"altText"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t._l(t.media,(function(e,s){return i("div",[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.alt,expression:"m.alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:t.maxAltTextLength,rows:"4"},domProps:{value:e.alt},on:{input:function(i){i.target.composing||t.$set(e,"alt",i.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(e.alt?e.alt.length:0)+"/"+t._s(t.maxAltTextLength))])])]),t._v(" "),i("hr")])})),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])],2):t._e(),t._v(" "),"addToCollection"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t.collectionsLoaded&&t.collections.length?i("div",{staticClass:"list-group mb-3 collections-list-group"},[t._l(t.collections,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer compose-action border",class:{active:t.collectionsSelected.includes(s)},on:{click:function(e){return t.toggleCollectionItem(s)}}},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.thumb,alt:"",width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("h5",{staticClass:"mt-0"},[t._v(t._s(e.title))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(e.post_count)+" Posts - Created "+t._s(t.timeAgo(e.published_at))+" ago")])])])])})),t._v(" "),t.collectionsCanLoadMore?i("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-3",on:{click:t.loadMoreCollections}},[t._v("\n\t\t\t\t\t\t\t\tLoad more\n\t\t\t\t\t\t\t")]):t._e()],2):t._e(),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.clearSelectedCollections()}}},[t._v("Clear")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"schedulePost"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"mediaMetadata"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"addToStory"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"editMedia"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:t.media[t.carouselCursor].preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("Media Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.carouselCursor].alt,expression:"media[carouselCursor].alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:"140"},domProps:{value:t.media[t.carouselCursor].alt},on:{input:function(e){e.target.composing||t.$set(t.media[t.carouselCursor],"alt",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-muted mb-0 d-flex justify-content-between"},[i("span",[t._v("Describe your photo for people with visual impairments.")]),t._v(" "),i("span",[t._v(t._s(t.media[t.carouselCursor].alt?t.media[t.carouselCursor].alt.length:0)+"/140")])])]),t._v(" "),i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("License")]),t._v(" "),i("select",{directives:[{name:"model",rawName:"v-model",value:t.licenseId,expression:"licenseId"}],staticClass:"form-control",on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.licenseId=e.target.multiple?i:i[0]}}},t._l(t.availableLicenses,(function(e,s){return i("option",{domProps:{value:e.id,selected:e.id==t.licenseId}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t\t")])})),0)])])]),t._v(" "),i("hr"),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"video-2"==t.page?i("div",{staticClass:"w-100 h-100"},[t.video.title.length?i("div",{staticClass:"border-bottom"},[i("div",{staticClass:"media p-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"100px",height:"70px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"font-weight-bold mb-1"},[t._v(t._s(t.video.title?t.video.title.slice(0,70):"Untitled"))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(t.video.description?t.video.description.slice(0,90):"No description"))])])])]):t._e(),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(16),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[t._v("Add license")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("div",{staticClass:"form-group"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Title")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.video.title,expression:"video.title"}],staticClass:"form-control",attrs:{placeholder:"Add a good title"},domProps:{value:t.video.title},on:{input:function(e){e.target.composing||t.$set(t.video,"title",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.title.length)+"/70")])]),t._v(" "),i("div",{staticClass:"form-group mb-0"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.video.description,expression:"video.description"}],staticClass:"form-control",attrs:{placeholder:"Add an optional description",maxlength:"5000",rows:"5"},domProps:{value:t.video.description},on:{input:function(e){e.target.composing||t.$set(t.video,"description",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.description.length)+"/5000")])])])]):t._e()]),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"card-footer bg-white d-flex justify-content-between"},[i("div",[i("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"},on:{click:t.rotate}},[i("i",{staticClass:"fas fa-redo"})])]),t._v(" "),i("div",[i("div",{staticClass:"d-inline-block button-group"},[i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==16/9?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(16/9)}}},[t._v("16:9")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==4/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(4/3)}}},[t._v("4:3")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1.5==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1.5)}}},[t._v("3:2")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1)}}},[t._v("1:1")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==2/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(2/3)}}},[t._v("2:3")])])])]):t._e()])])])])},a=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("span",{staticClass:"pr-3"},[i("i",{staticClass:"fas fa-cog fa-lg text-muted"})]),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tCamera Roll\n\t\t\t\t\t")]),t._v(" "),i("span",{staticClass:"text-primary font-weight-bold"},[t._v("Upload")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"pr-3"},[e("i",{staticClass:"fas fa-info-circle fa-lg text-primary"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%","background-color":"#008DF5"}},[e("i",{staticClass:"fal fa-bolt text-white fa-lg"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Post")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"far fa-edit text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Text Post")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share a text only post")])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fas fa-history text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Story")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Add to your story")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"fas fa-poll-h text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Poll")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Create a poll")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/collections/create"}},[i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fal fa-images text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Collection")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("New collection of posts")])])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"py-3"},[i("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v("Help")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span",[t._v("Add to Collection "),i("span",{staticClass:"ml-2 badge badge-primary"},[t._v("NEW")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-decoration-none"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Turn off commenting")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Disables comments for this post, you can change this later.")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("div",[i("div",{staticClass:"text-dark"},[t._v("Media Descriptions")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Describe your photos for people with visual impairments.")])]),t._v(" "),i("div",[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])}]}},t=>{t.O(0,[898],(()=>{return e=52356,t(t.s=e);var e}));t.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[416],{49144:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>c});var s=i(17652),a=(i(89620),i(29655)),o=(i(14348),i(15235)),l=i(19755);function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i10&&(t.licenseTitle=t.availableLicenses.filter((function(e){return e.id==t.licenseId})).map((function(t){return t.title}))[0]),t.fetchProfile()}))},mounted:function(){this.mediaWatcher()},methods:{timeAgo:function(t){return App.util.format.timeAgo(t)},fetchProfile:function(){var t=this,e={public:"Public",private:"Followers Only",unlisted:"Unlisted"};if(window._sharedData.curUser.id){if(this.profile=window._sharedData.curUser,this.composeSettings&&this.composeSettings.hasOwnProperty("default_scope")&&this.composeSettings.default_scope){var i=this.composeSettings.default_scope;this.visibility=i,this.visibilityTag=e[i]}1==this.profile.locked&&(this.visibility="private",this.visibilityTag="Followers Only")}else axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(i){if(window._sharedData.currentUser=i.data,t.profile=i.data,t.composeSettings&&t.composeSettings.hasOwnProperty("default_scope")&&t.composeSettings.default_scope){var s=t.composeSettings.default_scope;t.visibility=s,t.visibilityTag=e[s]}1==t.profile.locked&&(t.visibility="private",t.visibilityTag="Followers Only")})).catch((function(t){}))},addMedia:function(t){var e=l(t.target);e.attr("disabled",""),l('.file-input[name="media"]').trigger("click"),e.blur(),e.removeAttr("disabled")},addText:function(t){this.pageTitle="New Text Post",this.page="addText",this.textMode=!0,this.mode="text"},mediaWatcher:function(){var t=this;l(document).on("change","#pf-dz",(function(e){t.mediaUpload()}))},mediaUpload:function(){var t=this;t.uploading=!0;var e=document.querySelector("#pf-dz");e.files.length||(t.uploading=!1),Array.prototype.forEach.call(e.files,(function(e,i){if(t.media&&t.media.length+i>=t.config.uploader.album_limit)return swal("Error","You can only upload "+t.config.uploader.album_limit+" photos per album","error"),t.uploading=!1,void(t.page=2);var s=e.type,a=t.config.uploader.media_types.split(",");if(-1==l.inArray(s,a))return swal("Invalid File Type","The file you are trying to add is not a valid mime type. Please upload a "+t.config.uploader.media_types+" only.","error"),t.uploading=!1,void(t.page=2);var o=new FormData;o.append("file",e);var n={onUploadProgress:function(e){var i=Math.round(100*e.loaded/e.total);t.uploadProgress=i}};axios.post("/api/compose/v0/media/upload",o,n).then((function(e){t.uploadProgress=100,t.ids.push(e.data.id),t.media.push(e.data),t.uploading=!1,setTimeout((function(){t.page=3}),300)})).catch((function(i){switch(i.response.status){case 451:t.uploading=!1,e.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),t.page=2;break;case 429:t.uploading=!1,e.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),t.page=2;break;default:t.uploading=!1,e.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),t.page=2}})),e.value=null,t.uploadProgress=0}))},toggleFilter:function(t,e){this.media[this.carouselCursor].filter_class=e,this.currentFilter=e},deleteMedia:function(){var t=this;if(0!=window.confirm("Are you sure you want to delete this media?")){var e=this.media[this.carouselCursor].id;axios.delete("/api/compose/v0/media/delete",{params:{id:e}}).then((function(e){t.ids.splice(t.carouselCursor,1),t.media.splice(t.carouselCursor,1),0==t.media.length?(t.ids=[],t.media=[],t.carouselCursor=0):t.carouselCursor=0})).catch((function(t){swal("Whoops!","An error occured when attempting to delete this, please try again","error")}))}},compose:function(){var t=this,e=this.composeState;if(100==this.uploadProgress&&0!=this.ids.length)if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(e){case"publish":if(!0===this.composeSettings.media_descriptions)if(this.media.filter((function(t){return!t.hasOwnProperty("alt")||t.alt.length<2})).length)return void swal("Missing media descriptions","You have enabled mandatory media descriptions. Please add media descriptions under Advanced settings to proceed. For more information, please see the media settings page.","warning");if(0==this.media.length)return void swal("Whoops!","You need to add media before you can save this!","warning");"Add optional caption..."==this.composeText&&(this.composeText="");var i={media:this.media,caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames,optimize_media:this.optimizeMedia,license:this.licenseId,video:this.video,spoiler_text:this.spoilerText};return this.collectionsSelected.length&&(i.collections=this.collectionsSelected.map((function(e){return t.collections[e].id}))),void axios.post("/api/compose/v0/publish",i).then((function(t){"/i/web/compose"===location.pathname&&t.data&&t.data.length?location.href="/i/web/post/"+t.data.split("/").slice(-1)[0]:location.href=t.data})).catch((function(t){if(t.response){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}else swal("Oops, something went wrong!",t.message,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void l("#composeModal").modal("hide")}},composeTextPost:function(){var t=this.composeState;if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(t){case"publish":var e={caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames};return void axios.post("/api/compose/v0/publish/text",e).then((function(t){var e=t.data;window.location.href=e})).catch((function(t){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void l("#composeModal").modal("hide")}},closeModal:function(){l("#composeModal").modal("hide"),this.$emit("close")},goBack:function(){switch(this.pageTitle="",this.mode){case"photo":switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page=3:this.page--}break;case"video":this.page,this.page="video-2";break;default:switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page="text"==this.mode?"addText":3:"text"==this.mode||this.page--}}},nextPage:function(){switch(this.pageTitle="",this.page){case 1:this.page=2;break;case"cropPhoto":this.pageLoading=!0;var t=this;this.$refs.cropper.getCroppedCanvas({maxWidth:4096,maxHeight:4096,fillColor:"#fff",imageSmoothingEnabled:!1,imageSmoothingQuality:"high"}).toBlob((function(e){t.mediaCropped=!0;var i=new FormData;i.append("file",e),i.append("id",t.ids[t.carouselCursor]);axios.post("/api/compose/v0/media/update",i).then((function(e){t.media[t.carouselCursor].url=e.data.url,t.pageLoading=!1,t.page=2})).catch((function(t){}))}));break;case 2:this.currentFilter?window.confirm("Are you sure you want to apply this filter?")&&(this.applyFilterToMedia(),this.page++):this.page++;break;case 3:this.page++}},rotate:function(){this.$refs.cropper.rotate(90)},changeAspect:function(t){this.cropper.aspectRatio=t,this.$refs.cropper.setAspectRatio(t)},showTagCard:function(){this.pageTitle="Tag People",this.page="tagPeople"},showTagHelpCard:function(){this.pageTitle="About Tag People",this.page="tagPeopleHelp"},showLocationCard:function(){this.pageTitle="Add Location",this.page="addLocation"},showAdvancedSettingsCard:function(){this.pageTitle="Advanced Settings",this.page="advancedSettings"},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){switch(this.place=t,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showVisibilityCard:function(){this.pageTitle="Post Visibility",this.page="visibility"},showAddToStoryCard:function(){this.pageTitle="Add to Story",this.page="addToStory"},showCropPhotoCard:function(){this.pageTitle="Edit Photo",this.page="cropPhoto"},toggleVisibility:function(t){switch(this.visibility=t,this.visibilityTag={public:"Public",private:"Followers Only",unlisted:"Unlisted"}[t],this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showMediaDescriptionsCard:function(){this.pageTitle="Media Descriptions",this.page="altText"},showAddToCollectionsCard:function(){this.pageTitle="Add to Collection",this.page="addToCollection"},showSchedulePostCard:function(){this.pageTitle="Schedule Post",this.page="schedulePost"},showEditMediaCard:function(){this.pageTitle="Edit Media",this.page="editMedia"},fetchCameraRollDrafts:function(){var t=this;axios.get("/api/pixelfed/local/drafts").then((function(e){t.cameraRollMedia=e.data}))},applyFilterToMedia:function(){var t=navigator.userAgent.toLowerCase();if(-1!=t.indexOf("firefox")||-1!=t.indexOf("chrome"))for(var e=this.media,i=null,s=document.getElementById("pr_canvas"),a=s.getContext("2d"),o=document.getElementById("pr_img"),l=null,n=e.length-1;n>=0;n--)(i=e[n]).filter_class&&(o.src=i.url,o.addEventListener("load",(function(t){s.width=o.width,s.height=o.height,a.filter=App.util.filterCss[i.filter_class],a.drawImage(o,0,0,o.width,o.height),a.save(),s.toBlob((function(t){(l=new FormData).append("file",t),l.append("id",i.id),axios.post("/api/compose/v0/media/update",l).then((function(t){})).catch((function(t){}))}))}),i.mime,.9),a.clearRect(0,0,o.width,o.height));else swal("Oops!","Your browser does not support the filter feature.","error")},tagSearch:function(t){if(t.length<1)return[];var e=this;return axios.get("/api/compose/v0/search/tag",{params:{q:t}}).then((function(t){if(t.data.length)return t.data.filter((function(t){return 0==e.taggedUsernames.filter((function(e){return e.id==t.id})).length}))}))},getTagResultValue:function(t){return"@"+t.name},onTagSubmitLocation:function(t){this.taggedUsernames.filter((function(e){return e.id==t.id})).length||(this.taggedUsernames.push(t),this.$refs.autocomplete.value="")},untagUsername:function(t){this.taggedUsernames.splice(t,1)},showTextOptions:function(){this.page="textOptions",this.pageTitle="Text Post Options"},showLicenseCard:function(){this.pageTitle="Select a License",this.page="licensePicker"},toggleLicense:function(t){var e=this;switch(this.licenseId=t.id,this.licenseId>10?this.licenseTitle=this.availableLicenses.filter((function(t){return t.id==e.licenseId})).map((function(t){return t.title}))[0]:this.licenseTitle=null,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},newPoll:function(){this.page="poll"},savePollOption:function(){-1==this.pollOptions.indexOf(this.pollOptionModel)?(this.pollOptions.push(this.pollOptionModel),this.pollOptionModel=null):this.pollOptionModel=null},deletePollOption:function(t){this.pollOptions.splice(t,1)},postNewPoll:function(){var t=this;this.postingPoll=!0,axios.post("/api/compose/v0/poll",{caption:this.composeText,cw:!1,visibility:this.visibility,comments_disabled:!1,expiry:this.pollExpiry,pollOptions:this.pollOptions}).then((function(e){if(!e.data.hasOwnProperty("url"))return swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error"),void(t.postingPoll=!1);window.location.href=e.data.url})).catch((function(e){if(console.log(e.response.data.error),e.response.data.hasOwnProperty("error")&&"Duplicate detected."==e.response.data.error)return t.postingPoll=!1,void swal("Oops!","The poll you are trying to create is similar to an existing poll you created. Please make the poll question (caption) unique.","error");t.postingPoll=!1,swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error")}))},filesize:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){return filesize(1024*t,{round:0})})),showCollectionCard:function(){this.pageTitle="Add to Collection(s)",this.page="addToCollection",this.collectionsLoaded||this.fetchCollections()},fetchCollections:function(){var t=this;axios.get("/api/local/profile/collections/".concat(this.profile.id)).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.collectionsCanLoadMore=9==e.data.length,t.collectionsPage++}))},toggleCollectionItem:function(t){if(this.collectionsSelected.includes(t))this.collectionsSelected=this.collectionsSelected.filter((function(e){return e!=t}));else{if(7==this.collectionsSelected.length)return void swal("Oops!","You can only share to 5 collections.","info");this.collectionsSelected.push(t)}},clearSelectedCollections:function(){this.collectionsSelected=[],this.pageTitle="Compose",this.page=3},loadMoreCollections:function(){var t=this;this.collectionsCanLoadMore=!1,axios.get("/api/local/profile/collections/".concat(this.profile.id),{params:{page:this.collectionsPage}}).then((function(e){var i,s=t.collections.map((function(t){return t.id})),a=e.data.filter((function(t){return!s.includes(t.id)}));a&&a.length&&((i=t.collections).push.apply(i,n(a)),t.collectionsPage++,t.collectionsCanLoadMore=!0)}))}}}},52356:(t,e,i)=>{Vue.component("compose-modal",i(64439).default)},74180:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>o});var s=i(23645),a=i.n(s)()((function(t){return t[1]}));a.push([t.id,".compose-modal-component .media-drawer-filters{flex-wrap:unset;overflow-x:scroll}.compose-modal-component .media-drawer-filters::-webkit-scrollbar{background:transparent;width:0}.compose-modal-component .media-drawer-filters .nav-link{min-width:100px;padding-bottom:1rem;padding-top:1rem}.compose-modal-component .media-drawer-filters .active{color:#fff;font-weight:700}@media(hover:none)and (pointer:coarse){.compose-modal-component .media-drawer-filters::-webkit-scrollbar{display:none}}.compose-modal-component .no-focus{border-color:none;box-shadow:none;outline:0}.compose-modal-component a.list-group-item{text-decoration:none}.compose-modal-component a.list-group-item:hover{background-color:#f8f9fa;text-decoration:none}.compose-modal-component .compose-action:hover{background-color:#f8f9fa;cursor:pointer}.compose-modal-component .collections-list-group{max-height:500px;overflow-y:auto}.compose-modal-component .collections-list-group .list-group-item.active{background-color:#dbeafe!important;border-color:#60a5fa!important;color:#212529}",""]);const o=a},9206:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>n});var s=i(93379),a=i.n(s),o=i(74180),l={insert:"head",singleton:!1};a()(o.default,l);const n=o.default.locals||{}},64439:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>l});var s=i(29158),a=i(10594),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);i(18884);const l=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,null,null).exports},10594:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>o});var s=i(49144),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},18884:(t,e,i)=>{"use strict";i.r(e);var s=i(9206),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},29158:(t,e,i)=>{"use strict";i.r(e);var s=i(34212),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},34212:(t,e,i)=>{"use strict";i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"compose-modal-component"},[i("input",{staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",id:"pf-dz",name:"media",multiple:"",accept:t.config.uploader.media_types}}),t._v(" "),i("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),i("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),i("div",{staticClass:"timeline"},[t.uploading?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100 bg-light py-3",staticStyle:{"border-bottom":"1px solid #f1f1f1"}},[i("div",{staticClass:"p-5 mt-2"},[i("b-progress",{attrs:{value:t.uploadProgress,max:100,striped:"",animated:!0}}),t._v(" "),i("p",{staticClass:"text-center mb-0 font-weight-bold"},[t._v("Uploading ... ("+t._s(t.uploadProgress)+"%)")])],1)])]):"cameraRoll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[t._m(0),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[t.cameraRollMedia.length>0?i("div",{staticClass:"row p-0 m-0"},t._l(t.cameraRollMedia,(function(t,e){return i("div",{class:[0==e?"col-12 p-0":"col-3 p-0"]},[i("div",{staticClass:"card info-overlay p-0 rounded-0 shadow-none border"},[i("div",{staticClass:"square"},[i("img",{staticClass:"square-content",attrs:{src:t.preview_url}})])])])})),0):i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[i("span",{staticClass:"w-100 h-100"},[i("button",{staticClass:"btn btn-primary",attrs:{type:"button"}},[t._v("Upload")]),t._v(" "),i("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.fetchCameraRollDrafts()}}},[t._v("Load Camera Roll")])])])])])]):"poll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[t._m(1),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tNew Poll\n\t\t\t\t\t")]),t._v(" "),t.postingPoll?i("span",[t._m(2)]):!t.postingPoll&&t.pollOptions.length>1&&t.composeText.length?i("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:t.postNewPoll}},[i("span",[t._v("Create Poll")])]):i("span",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\tCreate Poll\n\t\t\t\t\t")])]),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{staticClass:"rounded-circle",attrs:{src:t.profile.avatar,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a poll question..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\tPoll Options\n\t\t\t\t\t\t")]),t._v(" "),t.pollOptions.length<4?i("div",{staticClass:"form-group mb-4"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptionModel,expression:"pollOptionModel"}],staticClass:"form-control rounded-pill",attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptionModel},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.savePollOption.apply(null,arguments)},input:function(e){e.target.composing||(t.pollOptionModel=e.target.value)}}})]):t._e(),t._v(" "),t._l(t.pollOptions,(function(e,s){return i("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[i("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(s+1)+".")]),t._v(" "),t.pollOptions[s].length<50?i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control rounded-pill",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}):i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{placeholder:"Add a poll option, press enter to save",rows:"3"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}),t._v(" "),i("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(s)}}},[i("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),i("hr"),t._v(" "),i("div",{staticClass:"d-flex justify-content-between"},[i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Expiry\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.pollExpiry,expression:"pollExpiry"}],staticClass:"form-control rounded-pill",staticStyle:{width:"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.pollExpiry=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),i("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),i("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),i("option",{attrs:{value:"10080"}},[t._v("7 days")])])])]),t._v(" "),i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Visibility\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.visibility,expression:"visibility"}],staticClass:"form-control rounded-pill",staticStyle:{"max-width":"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.visibility=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),i("option",{attrs:{value:"private"}},[t._v("Followers Only")])])])])])],2)])])]):i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("div",[1==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[i("i",{staticClass:"fas fa-times fa-lg"}),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):2==t.page?i("span",[t.config.uploader.album_limit>t.media.length?i("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold",attrs:{id:"cm-add-media-btn"},on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-plus"})]):i("button",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold",attrs:{disabled:""}},[i("i",{staticClass:"fas fa-plus"})]),t._v(" "),i("b-tooltip",{attrs:{target:"cm-add-media-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\t\tUpload another photo or video\n\t\t\t\t\t\t\t")])],1):3==t.page?i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3 d-flex align-items-center",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg mr-2"}),t._v(" "),i("span",{staticClass:"btn btn-outline-secondary btn-sm px-2 py-0 disabled",attrs:{disabled:""}},[t._v(t._s(t.media.length))])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg"})])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]),t._v(" "),2==t.page?i("div",[1==t.media.length?i("a",{staticClass:"text-center text-dark",attrs:{href:"#",title:"Crop & Resize",id:"cm-crop-btn"},on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-crop-alt fa-lg"})]):t._e(),t._v(" "),i("b-tooltip",{attrs:{target:"cm-crop-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\tCrop & Resize\n\t\t\t\t\t\t")])],1):t._e(),t._v(" "),i("div",[t.pageLoading?i("span",[t._m(3)]):i("span",[!t.pageLoading&&t.page>1&&t.page<=2||1==t.page&&0!=t.ids.length||"cropPhoto"==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.nextPage.apply(null,arguments)}}},[t._v("Next")]):t._e(),t._v(" "),t.pageLoading||3!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"addText"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.composeTextPost()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"video-2"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")])])])]),t._v(" "),i("div",{staticClass:"card-body p-0 border-top"},["licensePicker"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"list-group list-group-flush"},t._l(t.availableLicenses,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer",class:{"text-primary":t.licenseId===e.id,"font-weight-bold":t.licenseId===e.id},on:{click:function(i){return t.toggleLicense(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t")])})),0)]):t._e(),t._v(" "),"textOptions"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}}):t._e(),t._v(" "),"addText"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"mt-2"},[i("div",{staticClass:"media px-3"},[i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Body")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",staticStyle:{"font-size":"18px",resize:"none"},attrs:{rows:"7",placeholder:"What's happening?"},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),i("div",{staticClass:"border-bottom"}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0 font-weight-bold"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))]),t._v(" "),i("p",{staticClass:"mb-0 mt-2"},[i("a",{staticClass:"btn btn-primary rounded-pill mr-2",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTextOptions()}}},[i("i",{staticClass:"fas fa-palette px-3 text-white"})]),t._v(" "),i("a",{staticClass:"btn rounded-pill mx-3 d-inline-flex align-items-center",class:[t.nsfw?"btn-danger":"btn-outline-lighter"],staticStyle:{height:"37px"},attrs:{href:"#",title:"Mark as sensitive/not safe for work"},on:{click:function(e){e.preventDefault(),t.nsfw=!t.nsfw}}},[i("i",{staticClass:"far fa-flag px-3"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"})]),t._v(" "),i("a",{staticClass:"btn btn-outline-lighter rounded-pill d-inline-flex align-items-center",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-eye mr-2"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"},[t._v(t._s(t.visibilityTag))])])])])])])])]):t._e(),t._v(" "),1==t.page?i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center",staticStyle:{"min-height":"400px"}},[i("div",{staticClass:"text-center"},[0==t.media.length?i("div",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark"},[i("div",{staticClass:"card-body py-2",on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("div",{staticClass:"media"},[t._m(4),t._v(" "),i("div",{staticClass:"media-body text-left"},[t._m(5),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share up to "+t._s(t.config.uploader.album_limit)+" photos or videos")]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.config.uploader.media_types.split(",").map((function(t){return t.split("/")[1]})).join(", ")))]),t._v(" allowed up to "),i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.filesize(t.config.uploader.max_photo_size)))])])])])])]):t._e(),t._v(" "),t._e(),t._v(" "),1==t.config.features.stories?i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/stories/new"}},[t._m(7)]):t._e(),t._v(" "),t._e(),t._v(" "),t._m(9),t._v(" "),t._m(10)])]):t._e(),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"w-100 h-100"},[t.ids.length>0?i("div",[i("vue-cropper",{ref:"cropper",attrs:{relativeZoom:t.cropper.zoom,aspectRatio:t.cropper.aspectRatio,viewMode:t.cropper.viewMode,zoomable:t.cropper.zoomable,rotatable:!0,src:t.media[t.carouselCursor].url}})],1):t._e()]):t._e(),t._v(" "),2==t.page?i("div",{staticClass:"w-100 h-100"},[1==t.media.length?i("div",[i("div",{staticStyle:{display:"flex","min-height":"420px","align-items":"center"},attrs:{slot:"img"},slot:"img"},[i("img",{class:"d-block img-fluid w-100 "+[t.media[t.carouselCursor].filter_class?t.media[t.carouselCursor].filter_class:""],attrs:{src:t.media[t.carouselCursor].url,alt:t.media[t.carouselCursor].description,title:t.media[t.carouselCursor].description}})]),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):t.media.length>1?i("div",{staticClass:"d-flex-inline px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")]),t._v(" "),t._l(t.media,(function(e,s){return i("li",{staticClass:"nav-item mx-md-4"},[i("div",{staticClass:"nav-link",staticStyle:{display:"block",width:"300px",height:"300px"},on:{click:function(e){t.carouselCursor=s}}},[i("span",{class:[e.filter_class?e.filter_class:""]},[i("span",{class:"rounded border "+[s==t.carouselCursor?" border-primary shadow":""],style:"display:block;padding:5px;width:100%;height:100%;background-image: url("+e.url+");background-size:cover;border-width:3px !important;"})])]),t._v(" "),s==t.carouselCursor?i("div",{staticClass:"text-center mb-0 small text-lighter font-weight-bold pt-2"},[i("span",{staticClass:"cursor-pointer",on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[t._v("Crop")]),t._v(" "),i("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return e.preventDefault(),t.showEditMediaCard()}}},[t._v("Edit")]),t._v(" "),i("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.deleteMedia()}}},[t._v("Delete")])]):t._e()])})),t._v(" "),i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")])],2),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):i("div",[i("p",{staticClass:"mb-0 p-5 text-center font-weight-bold"},[t._v("An error occured, please refresh the page.")])])]):t._e(),t._v(" "),3==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a caption..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"border-bottom px-4 mb-0 py-2"},[i("div",{staticClass:"d-flex justify-content-between"},[t._m(11),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),t.nsfw?i("div",[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.spoilerText,expression:"spoilerText"}],staticClass:"form-control mt-3",attrs:{placeholder:"Add an optional content warning or spoiler text",maxlength:"140"},domProps:{value:t.spoilerText},on:{input:function(e){e.target.composing||(t.spoilerText=e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.spoilerTextLength)+"/140")])]):t._e()]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showTagCard()}}},[t._v("Tag people")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showCollectionCard()}}},[t._m(12),t._v(" "),i("span",{staticClass:"float-right"},[t.collectionsSelected.length?i("span",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px 5px","text-transform":"uppercase"},attrs:{href:"#",disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.collectionsSelected.length)+"\n\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t._m(13)])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[i("span",[t._v("Add license")]),t._v(" "),i("span",{staticClass:"float-right"},[t.licenseTitle?i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[t._v(t._s(t.licenseTitle))]):t._e(),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[t.place?i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",{staticClass:"text-lighter"},[t._v("Location:")]),t._v(" "+t._s(t.place.name)+", "+t._s(t.place.country)+"\n\t\t\t\t\t\t\t\t"),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-2",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLocationCard()}}},[t._v("Edit")]),t._v(" "),i("a",{staticClass:"btn btn-outline-secondary btn-sm small",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.place=!1}}},[t._v("Remove")])])]):i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLocationCard()}}},[t._v("Add location")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticStyle:{"min-height":"200px"}},[i("p",{staticClass:"px-4 mb-0 py-2 small font-weight-bold text-muted cursor-pointer",on:{click:function(e){return t.showAdvancedSettingsCard()}}},[t._v("Advanced settings")])])]):t._e(),t._v(" "),"tagPeople"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("autocomplete",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],ref:"autocomplete",attrs:{search:t.tagSearch,placeholder:"@pixelfed","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),i("p",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],staticClass:"font-weight-bold text-muted small"},[t._v("You can tag "+t._s(10-t.taggedUsernames.length)+" more "+t._s(9==t.taggedUsernames.length?"person":"people")+"!")]),t._v(" "),i("p",{staticClass:"font-weight-bold text-center mt-3"},[t._v("Tagged People")]),t._v(" "),i("div",{staticClass:"list-group"},[t._l(t.taggedUsernames,(function(e,s){return i("div",{staticClass:"list-group-item d-flex justify-content-between"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-2 rounded-circle border",attrs:{src:e.avatar,width:"24px",height:"24px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.name))])])]),t._v(" "),i("div",{staticClass:"custom-control custom-switch"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.privacy,expression:"tag.privacy"}],staticClass:"custom-control-input disabled",attrs:{type:"checkbox",id:"cci-tagged-privacy-switch"+s,disabled:""},domProps:{checked:Array.isArray(e.privacy)?t._i(e.privacy,null)>-1:e.privacy},on:{change:function(i){var s=e.privacy,a=i.target,o=!!a.checked;if(Array.isArray(s)){var l=t._i(s,null);a.checked?l<0&&t.$set(e,"privacy",s.concat([null])):l>-1&&t.$set(e,"privacy",s.slice(0,l).concat(s.slice(l+1)))}else t.$set(e,"privacy",o)}}}),t._v(" "),i("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"cci-tagged-privacy-switch"+s}},[t._v(t._s(e.privacy?"Public":"Private"))]),t._v(" "),i("a",{staticClass:"ml-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.untagUsername(s)}}},[i("i",{staticClass:"fas fa-times text-muted"})])])])})),t._v(" "),0==t.taggedUsernames.length?i("div",{staticClass:"list-group-item p-3"},[i("p",{staticClass:"text-center mb-0 font-weight-bold text-lighter"},[t._v("Search usernames to tag.")])]):t._e()],2),t._v(" "),i("p",{staticClass:"font-weight-bold text-center small text-muted pt-3 mb-0"},[t._v("When you tag someone, they are sent a notification."),i("br"),t._v("For more information on tagging, "),i("a",{staticClass:"text-primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTagHelpCard()}}},[t._v("click here")]),t._v(".")])],1):t._e(),t._v(" "),"tagPeopleHelp"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0 text-center py-3 px-2 lead"},[t._v("Tagging someone is like mentioning them, with the option to make it private between you.")]),t._v(" "),i("p",{staticClass:"mb-3 py-3 px-2 font-weight-lighter"},[t._v("\n\t\t\t\t\t\t\tYou can choose to tag someone in public or private mode. Public mode will allow others to see who you tagged in the post and private mode tagged users will not be shown to others.\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"addLocation"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0"},[t._v("Add Location")]),t._v(" "),i("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}})],1):t._e(),t._v(" "),"advancedSettings"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[i("div",{staticClass:"list-group-item d-flex justify-content-between"},[t._m(14),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.commentsDisabled,expression:"commentsDisabled"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asdisablecomments"},domProps:{checked:Array.isArray(t.commentsDisabled)?t._i(t.commentsDisabled,null)>-1:t.commentsDisabled},on:{change:function(e){var i=t.commentsDisabled,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.commentsDisabled=i.concat([null])):o>-1&&(t.commentsDisabled=i.slice(0,o).concat(i.slice(o+1)))}else t.commentsDisabled=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asdisablecomments"}})])])]),t._v(" "),i("a",{staticClass:"list-group-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showMediaDescriptionsCard()}}},[t._m(15)])])]):t._e(),t._v(" "),"visibility"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"public"==t.visibility},on:{click:function(e){return t.toggleVisibility("public")}}},[t._v("\n\t\t\t\t\t\t\t\tPublic\n\t\t\t\t\t\t\t")]),t._v(" "),t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"unlisted"==t.visibility},on:{click:function(e){return t.toggleVisibility("unlisted")}}},[t._v("\n\t\t\t\t\t\t\t\tUnlisted\n\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"private"==t.visibility},on:{click:function(e){return t.toggleVisibility("private")}}},[t._v("\n\t\t\t\t\t\t\t\tFollowers Only\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),"altText"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t._l(t.media,(function(e,s){return i("div",[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.alt,expression:"m.alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:t.maxAltTextLength,rows:"4"},domProps:{value:e.alt},on:{input:function(i){i.target.composing||t.$set(e,"alt",i.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(e.alt?e.alt.length:0)+"/"+t._s(t.maxAltTextLength))])])]),t._v(" "),i("hr")])})),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])],2):t._e(),t._v(" "),"addToCollection"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t.collectionsLoaded&&t.collections.length?i("div",{staticClass:"list-group mb-3 collections-list-group"},[t._l(t.collections,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer compose-action border",class:{active:t.collectionsSelected.includes(s)},on:{click:function(e){return t.toggleCollectionItem(s)}}},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.thumb,alt:"",width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("h5",{staticClass:"mt-0"},[t._v(t._s(e.title))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(e.post_count)+" Posts - Created "+t._s(t.timeAgo(e.published_at))+" ago")])])])])})),t._v(" "),t.collectionsCanLoadMore?i("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-3",on:{click:t.loadMoreCollections}},[t._v("\n\t\t\t\t\t\t\t\tLoad more\n\t\t\t\t\t\t\t")]):t._e()],2):t._e(),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.clearSelectedCollections()}}},[t._v("Clear")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"schedulePost"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"mediaMetadata"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"addToStory"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"editMedia"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:t.media[t.carouselCursor].preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("Media Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.carouselCursor].alt,expression:"media[carouselCursor].alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:"140"},domProps:{value:t.media[t.carouselCursor].alt},on:{input:function(e){e.target.composing||t.$set(t.media[t.carouselCursor],"alt",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-muted mb-0 d-flex justify-content-between"},[i("span",[t._v("Describe your photo for people with visual impairments.")]),t._v(" "),i("span",[t._v(t._s(t.media[t.carouselCursor].alt?t.media[t.carouselCursor].alt.length:0)+"/140")])])]),t._v(" "),i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("License")]),t._v(" "),i("select",{directives:[{name:"model",rawName:"v-model",value:t.licenseId,expression:"licenseId"}],staticClass:"form-control",on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.licenseId=e.target.multiple?i:i[0]}}},t._l(t.availableLicenses,(function(e,s){return i("option",{domProps:{value:e.id,selected:e.id==t.licenseId}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t\t")])})),0)])])]),t._v(" "),i("hr"),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"video-2"==t.page?i("div",{staticClass:"w-100 h-100"},[t.video.title.length?i("div",{staticClass:"border-bottom"},[i("div",{staticClass:"media p-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"100px",height:"70px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"font-weight-bold mb-1"},[t._v(t._s(t.video.title?t.video.title.slice(0,70):"Untitled"))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(t.video.description?t.video.description.slice(0,90):"No description"))])])])]):t._e(),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(16),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[t._v("Add license")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("div",{staticClass:"form-group"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Title")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.video.title,expression:"video.title"}],staticClass:"form-control",attrs:{placeholder:"Add a good title"},domProps:{value:t.video.title},on:{input:function(e){e.target.composing||t.$set(t.video,"title",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.title.length)+"/70")])]),t._v(" "),i("div",{staticClass:"form-group mb-0"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.video.description,expression:"video.description"}],staticClass:"form-control",attrs:{placeholder:"Add an optional description",maxlength:"5000",rows:"5"},domProps:{value:t.video.description},on:{input:function(e){e.target.composing||t.$set(t.video,"description",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.description.length)+"/5000")])])])]):t._e()]),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"card-footer bg-white d-flex justify-content-between"},[i("div",[i("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"},on:{click:t.rotate}},[i("i",{staticClass:"fas fa-redo"})])]),t._v(" "),i("div",[i("div",{staticClass:"d-inline-block button-group"},[i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==16/9?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(16/9)}}},[t._v("16:9")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==4/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(4/3)}}},[t._v("4:3")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1.5==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1.5)}}},[t._v("3:2")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1)}}},[t._v("1:1")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==2/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(2/3)}}},[t._v("2:3")])])])]):t._e()])])])])},a=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("span",{staticClass:"pr-3"},[i("i",{staticClass:"fas fa-cog fa-lg text-muted"})]),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tCamera Roll\n\t\t\t\t\t")]),t._v(" "),i("span",{staticClass:"text-primary font-weight-bold"},[t._v("Upload")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"pr-3"},[e("i",{staticClass:"fas fa-info-circle fa-lg text-primary"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%","background-color":"#008DF5"}},[e("i",{staticClass:"fal fa-bolt text-white fa-lg"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Post")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"far fa-edit text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Text Post")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share a text only post")])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fas fa-history text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Story")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Add to your story")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"fas fa-poll-h text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Poll")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Create a poll")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/collections/create"}},[i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fal fa-images text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Collection")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("New collection of posts")])])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"py-3"},[i("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v("Help")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span",[t._v("Add to Collection "),i("span",{staticClass:"ml-2 badge badge-primary"},[t._v("NEW")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-decoration-none"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Turn off commenting")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Disables comments for this post, you can change this later.")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("div",[i("div",{staticClass:"text-dark"},[t._v("Media Descriptions")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Describe your photos for people with visual impairments.")])]),t._v(" "),i("div",[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])}]}},t=>{t.O(0,[898],(()=>{return e=52356,t(t.s=e);var e}));t.O()}]); \ No newline at end of file diff --git a/public/js/daci-mh8cayo8d.js b/public/js/daci-mh8cayo8d.js deleted file mode 100644 index 8291a0f15..000000000 --- a/public/js/daci-mh8cayo8d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[1],{2079:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(42755),o=s(88231),a=s(99247);const n={components:{drawer:i.default,sidebar:o.default,"status-card":a.default},data:function(){return{isLoaded:!0,isLoading:!0,profile:window._sharedData.user,feed:[],popular:[],popularLoaded:!1,breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"Account Insights",active:!0}]}},mounted:function(){this.fetchConfig()},methods:{fetchConfig:function(){var t=this;axios.get("/api/pixelfed/v2/discover/meta").then((function(e){0==e.data.insights.enabled&&t.$router.push("/i/web/discover"),t.fetchPopular()}))},fetchPopular:function(){var t=this;axios.get("/api/pixelfed/v2/discover/account-insights").then((function(e){t.popular=e.data.filter((function(t){return t.favourites_count})),t.popularLoaded=!0}))},formatCount:function(t){return App.util.format.count(t)},timeago:function(t){return App.util.format.timeAgo(t)},gotoPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(26535),o=s(74338),a=s(37846),n=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"post-content":a.default,"post-header":o.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(15235),o=s(80979),a=s(22583),n=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:o.default,ProfileHoverCard:a.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(80979);const o={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:i.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,i.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(22583);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":i.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(26535),o=s(22583);const a={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"profile-hover-card":o.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.status.account.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(80979),o=s(20629);function a(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function n(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:i.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.profile.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},75853:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".discover-insights-component .bg-stellar[data-v-65e1644a]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-insights-component .bg-midnight[data-v-65e1644a]{background:#232526;background:linear-gradient(90deg,#414345,#232526)}.discover-insights-component .font-default[data-v-65e1644a]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-insights-component .active[data-v-65e1644a]{font-weight:700}.discover-insights-component .media-photo[data-v-65e1644a]{border-radius:8px;height:70px;margin-right:2rem;-o-object-fit:cover;object-fit:cover;width:70px}.discover-insights-component .media-caption[data-v-65e1644a]{font-size:17px;letter-spacing:-.3px;opacity:.7}",""]);const a=o},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const a=o},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const a=o},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const a=o},962:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(75853),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(90998),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(25506),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(84582),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},15021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(12291),o=s(44035),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(16348);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"65e1644a",null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(10326),o=s(41081),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(43956);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(99220),o=s(55862),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(42659);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(66339),o=s(63106),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(50309),o=s(78789),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(81690),o=s(18988),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(84177),o=s(8622),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(26385),o=s(36875),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(17386),o=s(20516),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(54856),o=s(81498),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(60970);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},44035:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(2079),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(77366),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(25356),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(90427),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(27830),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(86609),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(42325),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(98844),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(66286),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(50371),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},16348:(t,e,s)=>{s.r(e);var i=s(962),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},43956:(t,e,s)=>{s.r(e);var i=s(94901),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},42659:(t,e,s)=>{s.r(e);var i=s(61191),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},60970:(t,e,s)=>{s.r(e);var i=s(56823),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},12291:(t,e,s)=>{s.r(e);var i=s(40355),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},10326:(t,e,s)=>{s.r(e);var i=s(8954),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},99220:(t,e,s)=>{s.r(e);var i=s(90215),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},66339:(t,e,s)=>{s.r(e);var i=s(49209),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},50309:(t,e,s)=>{s.r(e);var i=s(64084),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},81690:(t,e,s)=>{s.r(e);var i=s(85892),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},84177:(t,e,s)=>{s.r(e);var i=s(24514),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},26385:(t,e,s)=>{s.r(e);var i=s(64295),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},17386:(t,e,s)=>{s.r(e);var i=s(20512),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},54856:(t,e,s)=>{s.r(e);var i=s(79409),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},40355:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"discover-insights-component"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("Account Insights")]),t._v(" "),s("p",{staticClass:"font-default lead"},[t._v("A brief overview of your account")]),t._v(" "),s("hr"),t._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-6 mb-3"},[s("div",{staticClass:"card bg-midnight"},[s("div",{staticClass:"card-body font-default text-white"},[s("h1",{staticClass:"display-4 mb-n2"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),s("p",{staticClass:"primary lead mb-0 font-weight-bold"},[t._v("Posts")])])])]),t._v(" "),s("div",{staticClass:"col-12 col-md-6 mb-3"},[s("div",{staticClass:"card bg-midnight"},[s("div",{staticClass:"card-body font-default text-white"},[s("h1",{staticClass:"display-4 mb-n2"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),s("p",{staticClass:"primary lead mb-0 font-weight-bold"},[t._v("Followers")])])])])]),t._v(" "),t.profile.statuses_count?s("div",{staticClass:"card my-3 bg-midnight"},[s("div",{staticClass:"card-header bg-dark border-bottom border-primary text-white font-default lead"},[t._v("Popular Posts")]),t._v(" "),t.popularLoaded?s("ul",{staticClass:"list-group list-group-flush font-default text-white"},t._l(t.popular,(function(e){return s("li",{staticClass:"list-group-item bg-midnight"},[s("div",{staticClass:"media align-items-center"},[e.media_attachments.length?s("img",{staticClass:"media-photo shadow",attrs:{src:e.media_attachments[0].url,onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0'"}}):t._e(),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"media-caption mb-0"},[t._v(t._s(e.content_text.slice(0,40)))]),t._v(" "),s("p",{staticClass:"mb-0"},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.favourites_count)+" Likes")]),t._v(" "),s("span",{staticClass:"mx-2"},[t._v("·")]),t._v(" "),s("span",{staticClass:"text-muted"},[t._v("Posted "+t._s(t.timeago(e.created_at))+" ago")])])]),t._v(" "),s("button",{staticClass:"btn btn-primary primary font-weight-bold rounded-pill",on:{click:function(s){return t.gotoPost(e)}}},[t._v("View")])])])})),0):s("div",{staticClass:"card-body text-white"},[s("b-spinner")],1)]):t._e()],1)])]):t._e()])},o=[]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},o=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===i?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},o=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},o=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},o=[]},85892:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},o=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},o=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},o=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},o=[]}}]); \ No newline at end of file diff --git a/public/js/daci-ojtjadoml.js b/public/js/daci-ojtjadoml.js new file mode 100644 index 000000000..c1463ea14 --- /dev/null +++ b/public/js/daci-ojtjadoml.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[97],{2079:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(42755),o=s(88231),a=s(99247);const n={components:{drawer:i.default,sidebar:o.default,"status-card":a.default},data:function(){return{isLoaded:!0,isLoading:!0,profile:window._sharedData.user,feed:[],popular:[],popularLoaded:!1,breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"Account Insights",active:!0}]}},mounted:function(){this.fetchConfig()},methods:{fetchConfig:function(){var t=this;axios.get("/api/pixelfed/v2/discover/meta").then((function(e){0==e.data.insights.enabled&&t.$router.push("/i/web/discover"),t.fetchPopular()}))},fetchPopular:function(){var t=this;axios.get("/api/pixelfed/v2/discover/account-insights").then((function(e){t.popular=e.data.filter((function(t){return t.favourites_count})),t.popularLoaded=!0}))},formatCount:function(t){return App.util.format.count(t)},timeago:function(t){return App.util.format.timeAgo(t)},gotoPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(26535),o=s(74338),a=s(37846),n=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"post-content":a.default,"post-header":o.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(15235),o=s(80979),a=s(22583),n=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:o.default,ProfileHoverCard:a.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(80979);const o={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:i.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,i.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(22583);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":i.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(26535),o=s(22583);const a={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"profile-hover-card":o.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.status.account.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(80979),o=s(20629);function a(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function n(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:i.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.profile.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},75853:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".discover-insights-component .bg-stellar[data-v-65e1644a]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-insights-component .bg-midnight[data-v-65e1644a]{background:#232526;background:linear-gradient(90deg,#414345,#232526)}.discover-insights-component .font-default[data-v-65e1644a]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-insights-component .active[data-v-65e1644a]{font-weight:700}.discover-insights-component .media-photo[data-v-65e1644a]{border-radius:8px;height:70px;margin-right:2rem;-o-object-fit:cover;object-fit:cover;width:70px}.discover-insights-component .media-caption[data-v-65e1644a]{font-size:17px;letter-spacing:-.3px;opacity:.7}",""]);const a=o},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const a=o},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const a=o},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const a=o},962:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(75853),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(90998),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(25506),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(84582),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},15021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(12291),o=s(44035),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(16348);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"65e1644a",null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(10326),o=s(41081),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(43956);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(99220),o=s(55862),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(42659);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(66339),o=s(63106),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(50309),o=s(78789),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(39875),o=s(18988),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(84177),o=s(8622),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(26385),o=s(36875),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(17386),o=s(20516),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(54856),o=s(81498),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(60970);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},44035:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(2079),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(77366),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(25356),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(90427),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(27830),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(86609),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(42325),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(98844),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(66286),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(50371),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},16348:(t,e,s)=>{s.r(e);var i=s(962),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},43956:(t,e,s)=>{s.r(e);var i=s(94901),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},42659:(t,e,s)=>{s.r(e);var i=s(61191),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},60970:(t,e,s)=>{s.r(e);var i=s(56823),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},12291:(t,e,s)=>{s.r(e);var i=s(40355),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},10326:(t,e,s)=>{s.r(e);var i=s(8954),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},99220:(t,e,s)=>{s.r(e);var i=s(90215),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},66339:(t,e,s)=>{s.r(e);var i=s(49209),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},50309:(t,e,s)=>{s.r(e);var i=s(64084),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},39875:(t,e,s)=>{s.r(e);var i=s(53458),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},84177:(t,e,s)=>{s.r(e);var i=s(24514),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},26385:(t,e,s)=>{s.r(e);var i=s(64295),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},17386:(t,e,s)=>{s.r(e);var i=s(20512),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},54856:(t,e,s)=>{s.r(e);var i=s(79409),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},40355:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"discover-insights-component"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("Account Insights")]),t._v(" "),s("p",{staticClass:"font-default lead"},[t._v("A brief overview of your account")]),t._v(" "),s("hr"),t._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-6 mb-3"},[s("div",{staticClass:"card bg-midnight"},[s("div",{staticClass:"card-body font-default text-white"},[s("h1",{staticClass:"display-4 mb-n2"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),s("p",{staticClass:"primary lead mb-0 font-weight-bold"},[t._v("Posts")])])])]),t._v(" "),s("div",{staticClass:"col-12 col-md-6 mb-3"},[s("div",{staticClass:"card bg-midnight"},[s("div",{staticClass:"card-body font-default text-white"},[s("h1",{staticClass:"display-4 mb-n2"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),s("p",{staticClass:"primary lead mb-0 font-weight-bold"},[t._v("Followers")])])])])]),t._v(" "),t.profile.statuses_count?s("div",{staticClass:"card my-3 bg-midnight"},[s("div",{staticClass:"card-header bg-dark border-bottom border-primary text-white font-default lead"},[t._v("Popular Posts")]),t._v(" "),t.popularLoaded?s("ul",{staticClass:"list-group list-group-flush font-default text-white"},t._l(t.popular,(function(e){return s("li",{staticClass:"list-group-item bg-midnight"},[s("div",{staticClass:"media align-items-center"},[e.media_attachments.length?s("img",{staticClass:"media-photo shadow",attrs:{src:e.media_attachments[0].url,onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0'"}}):t._e(),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"media-caption mb-0"},[t._v(t._s(e.content_text.slice(0,40)))]),t._v(" "),s("p",{staticClass:"mb-0"},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.favourites_count)+" Likes")]),t._v(" "),s("span",{staticClass:"mx-2"},[t._v("·")]),t._v(" "),s("span",{staticClass:"text-muted"},[t._v("Posted "+t._s(t.timeago(e.created_at))+" ago")])])]),t._v(" "),s("button",{staticClass:"btn btn-primary primary font-weight-bold rounded-pill",on:{click:function(s){return t.gotoPost(e)}}},[t._v("View")])])])})),0):s("div",{staticClass:"card-body text-white"},[s("b-spinner")],1)]):t._e()],1)])]):t._e()])},o=[]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},o=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===i?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},o=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},o=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},o=[]},53458:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},o=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},o=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},o=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},o=[]}}]); \ No newline at end of file diff --git a/public/js/dffc-mh8cayo8d.js b/public/js/dffc-ojtjadoml.js similarity index 78% rename from public/js/dffc-mh8cayo8d.js rename to public/js/dffc-ojtjadoml.js index 38cf370f2..50e4f6926 100644 --- a/public/js/dffc-mh8cayo8d.js +++ b/public/js/dffc-ojtjadoml.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[120],{32232:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(42755),o=s(88231),n=s(99247),a=s(22583);const r={components:{drawer:i.default,sidebar:o.default,"status-card":n.default,"profile-card":a.default},data:function(){return{isLoaded:!0,isLoading:!0,profile:window._sharedData.user,feed:[],popular:[],popularAccounts:[],popularLoaded:!1,breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"Find Friends",active:!0}]}},mounted:function(){this.fetchConfig()},methods:{fetchConfig:function(){var t=this;axios.get("/api/pixelfed/v2/discover/meta").then((function(e){0==e.data.friends.enabled?t.$router.push("/i/web/discover"):t.fetchPopularAccounts()})).catch((function(e){t.isLoading=!1}))},fetchPopular:function(){var t=this;axios.get("/api/pixelfed/v2/discover/account-insights").then((function(e){t.popular=e.data,t.popularLoaded=!0,t.isLoading=!1})).catch((function(e){t.isLoading=!1}))},formatCount:function(t){return App.util.format.count(t)},timeago:function(t){return App.util.format.timeAgo(t)},fetchPopularAccounts:function(){var t=this;axios.get("/api/pixelfed/discover/accounts/popular").then((function(e){t.popularAccounts=e.data,t.isLoading=!1})).catch((function(e){t.isLoading=!1}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/follow").then((function(t){e.newlyFollowed++,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count+1})}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/unfollow").then((function(t){e.newlyFollowed--,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count-1})}))}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(26535),o=s(74338),n=s(37846),a=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"post-content":n.default,"post-header":o.default,"post-reactions":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(15235),o=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:o.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(80979);const o={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:i.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,i.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(22583);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":i.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(26535),o=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"profile-hover-card":o.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.status.account.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(80979),o=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:i.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.profile.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},60679:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".discover-find-friends-component .bg-stellar{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-find-friends-component .bg-midnight{background:#232526;background:linear-gradient(90deg,#414345,#232526)}.discover-find-friends-component .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-find-friends-component .active{font-weight:700}.discover-find-friends-component .profile-hover-card-inner{width:100%}.discover-find-friends-component .profile-hover-card-inner .d-flex{max-width:100%!important}",""]);const n=o},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=o},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=o},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=o},17745:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),n=s(60679),a={insert:"head",singleton:!1};o()(n.default,a);const r=n.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),n=s(90998),a={insert:"head",singleton:!1};o()(n.default,a);const r=n.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),n=s(25506),a={insert:"head",singleton:!1};o()(n.default,a);const r=n.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),n=s(84582),a={insert:"head",singleton:!1};o()(n.default,a);const r=n.default.locals||{}},66897:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(69506),o=s(19628),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);s(66006);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(10326),o=s(41081),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);s(43956);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(99220),o=s(55862),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);s(42659);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(66339),o=s(63106),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(50309),o=s(78789),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(81690),o=s(18988),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(84177),o=s(8622),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(26385),o=s(36875),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(17386),o=s(20516),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(54856),o=s(81498),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);s(60970);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19628:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(32232),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(77366),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(25356),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(90427),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(27830),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(86609),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(42325),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(98844),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(66286),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(50371),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},66006:(t,e,s)=>{s.r(e);var i=s(17745),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},43956:(t,e,s)=>{s.r(e);var i=s(94901),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},42659:(t,e,s)=>{s.r(e);var i=s(61191),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},60970:(t,e,s)=>{s.r(e);var i=s(56823),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},69506:(t,e,s)=>{s.r(e);var i=s(59053),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},10326:(t,e,s)=>{s.r(e);var i=s(8954),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},99220:(t,e,s)=>{s.r(e);var i=s(90215),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},66339:(t,e,s)=>{s.r(e);var i=s(49209),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},50309:(t,e,s)=>{s.r(e);var i=s(64084),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},81690:(t,e,s)=>{s.r(e);var i=s(85892),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},84177:(t,e,s)=>{s.r(e);var i=s(24514),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},26385:(t,e,s)=>{s.r(e);var i=s(64295),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},17386:(t,e,s)=>{s.r(e);var i=s(20512),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},54856:(t,e,s)=>{s.r(e);var i=s(79409),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},59053:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"discover-find-friends-component"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("Find Friends")]),t._v(" "),s("hr"),t._v(" "),t.isLoading?s("b-spinner"):t._e(),t._v(" "),t.isLoading?t._e():s("div",{staticClass:"row justify-content-center"},t._l(t.popularAccounts,(function(e,i){return s("div",{staticClass:"col-12 col-lg-10 mb-3"},[s("div",{staticClass:"card shadow-sm border-0 rounded-px"},[s("div",{staticClass:"card-body p-2"},[s("profile-card",{key:"pfc"+i,staticClass:"w-100",attrs:{profile:e},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)])])})),0)],1)])]):t._e()])},o=[]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},o=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===i?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},o=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},o=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},o=[]},85892:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},o=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},o=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},o=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},o=[]}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[340],{32232:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(42755),o=s(88231),n=s(99247),a=s(22583);const r={components:{drawer:i.default,sidebar:o.default,"status-card":n.default,"profile-card":a.default},data:function(){return{isLoaded:!0,isLoading:!0,profile:window._sharedData.user,feed:[],popular:[],popularAccounts:[],popularLoaded:!1,breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"Find Friends",active:!0}]}},mounted:function(){this.fetchConfig()},methods:{fetchConfig:function(){var t=this;axios.get("/api/pixelfed/v2/discover/meta").then((function(e){0==e.data.friends.enabled?t.$router.push("/i/web/discover"):t.fetchPopularAccounts()})).catch((function(e){t.isLoading=!1}))},fetchPopular:function(){var t=this;axios.get("/api/pixelfed/v2/discover/account-insights").then((function(e){t.popular=e.data,t.popularLoaded=!0,t.isLoading=!1})).catch((function(e){t.isLoading=!1}))},formatCount:function(t){return App.util.format.count(t)},timeago:function(t){return App.util.format.timeAgo(t)},fetchPopularAccounts:function(){var t=this;axios.get("/api/pixelfed/discover/accounts/popular").then((function(e){t.popularAccounts=e.data,t.isLoading=!1})).catch((function(e){t.isLoading=!1}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/follow").then((function(t){e.newlyFollowed++,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count+1})}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/unfollow").then((function(t){e.newlyFollowed--,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count-1})}))}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(26535),o=s(74338),n=s(37846),a=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"post-content":n.default,"post-header":o.default,"post-reactions":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(15235),o=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:o.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(80979);const o={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:i.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,i.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(22583);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":i.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(26535),o=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"profile-hover-card":o.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.status.account.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(80979),o=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:i.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.profile.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},60679:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".discover-find-friends-component .bg-stellar{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-find-friends-component .bg-midnight{background:#232526;background:linear-gradient(90deg,#414345,#232526)}.discover-find-friends-component .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-find-friends-component .active{font-weight:700}.discover-find-friends-component .profile-hover-card-inner{width:100%}.discover-find-friends-component .profile-hover-card-inner .d-flex{max-width:100%!important}",""]);const n=o},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=o},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=o},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=o},17745:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),n=s(60679),a={insert:"head",singleton:!1};o()(n.default,a);const r=n.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),n=s(90998),a={insert:"head",singleton:!1};o()(n.default,a);const r=n.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),n=s(25506),a={insert:"head",singleton:!1};o()(n.default,a);const r=n.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),n=s(84582),a={insert:"head",singleton:!1};o()(n.default,a);const r=n.default.locals||{}},66897:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(69506),o=s(19628),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);s(66006);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(10326),o=s(41081),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);s(43956);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(99220),o=s(55862),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);s(42659);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(66339),o=s(63106),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(50309),o=s(78789),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(39875),o=s(18988),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(84177),o=s(8622),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(26385),o=s(36875),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(17386),o=s(20516),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(54856),o=s(81498),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);s(60970);const a=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19628:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(32232),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(77366),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(25356),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(90427),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(27830),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(86609),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(42325),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(98844),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(66286),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(50371),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=i.default},66006:(t,e,s)=>{s.r(e);var i=s(17745),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},43956:(t,e,s)=>{s.r(e);var i=s(94901),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},42659:(t,e,s)=>{s.r(e);var i=s(61191),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},60970:(t,e,s)=>{s.r(e);var i=s(56823),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},69506:(t,e,s)=>{s.r(e);var i=s(59053),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},10326:(t,e,s)=>{s.r(e);var i=s(8954),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},99220:(t,e,s)=>{s.r(e);var i=s(90215),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},66339:(t,e,s)=>{s.r(e);var i=s(49209),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},50309:(t,e,s)=>{s.r(e);var i=s(64084),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},39875:(t,e,s)=>{s.r(e);var i=s(53458),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},84177:(t,e,s)=>{s.r(e);var i=s(24514),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},26385:(t,e,s)=>{s.r(e);var i=s(64295),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},17386:(t,e,s)=>{s.r(e);var i=s(20512),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},54856:(t,e,s)=>{s.r(e);var i=s(79409),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},59053:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"discover-find-friends-component"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("Find Friends")]),t._v(" "),s("hr"),t._v(" "),t.isLoading?s("b-spinner"):t._e(),t._v(" "),t.isLoading?t._e():s("div",{staticClass:"row justify-content-center"},t._l(t.popularAccounts,(function(e,i){return s("div",{staticClass:"col-12 col-lg-10 mb-3"},[s("div",{staticClass:"card shadow-sm border-0 rounded-px"},[s("div",{staticClass:"card-body p-2"},[s("profile-card",{key:"pfc"+i,staticClass:"w-100",attrs:{profile:e},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)])])})),0)],1)])]):t._e()])},o=[]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},o=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===i?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},o=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},o=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},o=[]},53458:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},o=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},o=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},o=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},o=[]}}]); \ No newline at end of file diff --git a/public/js/direct.js b/public/js/direct.js index 3101bf060..13dfac951 100644 --- a/public/js/direct.js +++ b/public/js/direct.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[522],{3611:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var s=a(29655),i=(a(14348),a(19755));const n={components:{Autocomplete:s.default},data:function(){return{config:window.App.config,loaded:!1,profile:{},page:"browse",pages:["browse","add","read"],tab:"inbox",tabs:["inbox","sent","filtered"],inboxPage:1,sentPage:1,filteredPage:1,threads:[],thread:!1,threadIndex:!1,replyText:"",composeUsername:"",ctxContext:null,ctxIndex:null,uploading:!1,uploadProgress:null,messages:{inbox:[],sent:[],filtered:[]},newType:"select",composeLoading:!1}},mounted:function(){var t=this;this.fetchProfile();var e=this;axios.get("/api/direct/browse",{params:{a:"inbox"}}).then((function(a){e.loaded=!0,t.threads=a.data,t.messages.inbox=a.data}))},updated:function(){i('[data-toggle="tooltip"]').tooltip()},methods:{fetchProfile:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,window._sharedData.curUser=e.data,window.App.util.navatar()}))},goto:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"browse";this.page=t},loadMessage:function(t){var e="/account/direct/t/"+t;window.location.href=e},truncate:function(t){return _.truncate(t)},switchTab:function(t){var e=this;switch(t){case"inbox":this.messages.inbox.length;break;case"sent":0==this.messages.sent.length&&axios.get("/api/direct/browse",{params:{a:"sent"}}).then((function(t){e.loaded=!0,e.threads=t.data,e.messages.sent=t.data}));break;case"filtered":0==this.messages.filtered.length&&axios.get("/api/direct/browse",{params:{a:"filtered"}}).then((function(t){e.loaded=!0,e.threads=t.data,e.messages.filtered=t.data}))}this.tab=t},composeSearch:function(t){if(t.length<1)return[];return axios.post("/api/direct/lookup",{q:t}).then((function(t){return t.data}))},getTagResultValue:function(t){return t.local?"@"+t.name:t.name},onTagSubmitLocation:function(t){this.composeLoading=!0,window.location.href="/account/direct/t/"+t.id},messagePagination:function(t,e){var a=this;"inbox"==t&&(this.inboxPage="prev"==e?this.inboxPage-1:this.inboxPage+1,axios.get("/api/direct/browse",{params:{a:"inbox",page:this.inboxPage}}).then((function(t){self.loaded=!0,a.threads=t.data,a.messages.inbox=t.data}))),"sent"==t&&(this.sentPage="prev"==e?this.sentPage-1:this.sentPage+1,axios.get("/api/direct/browse",{params:{a:"sent",page:this.sentPage}}).then((function(t){self.loaded=!0,a.threads=t.data,a.messages.sent=t.data}))),"filtered"==t&&(this.filteredPage="prev"==e?this.filteredPage-1:this.filteredPage+1,axios.get("/api/direct/browse",{params:{a:"filtered",page:this.filteredPage}}).then((function(t){self.loaded=!0,a.threads=t.data,a.messages.filtered=t.data})))}}}},10690:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var s=a(19755);function i(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,s=new Array(e);a{Vue.component("direct-component",a(5573).default),Vue.component("direct-message",a(36066).default)},13914:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var s=a(23645),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".reply-btn[data-v-8f1cc6ce]{border-radius:0 3px 3px 0;bottom:54px;position:absolute;right:20px;text-align:center;width:90px}.media-body .bg-primary[data-v-8f1cc6ce]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important}.pill-to[data-v-8f1cc6ce]{background:#edf2f7;margin-right:3rem}.pill-from[data-v-8f1cc6ce],.pill-to[data-v-8f1cc6ce]{border-radius:20px!important;font-weight:500;margin-bottom:.25rem;padding:.5rem 1rem}.pill-from[data-v-8f1cc6ce]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important;color:#fff!important;margin-left:3rem;text-align:right!important}.chat-msg[data-v-8f1cc6ce]:hover{background:#f7fbfd}.no-focus[data-v-8f1cc6ce]:focus{box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;outline:none!important;outline-width:0!important}.emoji-msg[data-v-8f1cc6ce]{font-size:4rem!important;line-height:30px!important;margin-top:10px!important}.larger-text[data-v-8f1cc6ce]{font-size:22px}",""]);const n=i},18675:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(13914),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},5573:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var s=a(41772),i=a(44439),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,"07ed533f",null).exports},36066:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var s=a(18203),i=a(7650),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(31604);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,"8f1cc6ce",null).exports},44439:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var s=a(3611),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},7650:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var s=a(10690),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},31604:(t,e,a)=>{"use strict";a.r(e);var s=a(18675),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},41772:(t,e,a)=>{"use strict";a.r(e);var s=a(17373),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},18203:(t,e,a)=>{"use strict";a.r(e);var s=a(70507),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},17373:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.loaded&&"browse"==t.page?a("div",{staticClass:"container messages-page p-0 p-md-2 mt-n4",staticStyle:{"min-height":"50vh"}},[a("div",{staticClass:"col-12 col-md-8 offset-md-2 p-0 px-md-2"},[a("div",{staticClass:"card shadow-none border mt-4"},[a("div",{staticClass:"card-header bg-white py-4"},[a("span",{staticClass:"h4 font-weight-bold mb-0"},[t._v("Direct Messages")]),t._v(" "),a("span",{staticClass:"float-right"},[a("a",{staticClass:"btn btn-outline-primary font-weight-bold py-0 rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto("add")}}},[t._v("New Message")])])]),t._v(" "),a("div",{staticClass:"card-header bg-white"},[a("ul",{staticClass:"nav nav-pills nav-fill"},[a("li",{staticClass:"nav-item"},[a("a",{class:["inbox"==t.tab?"nav-link px-4 font-weight-bold rounded-pill active":"nav-link px-4 font-weight-bold rounded-pill"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("inbox")}}},[t._v("Inbox")])]),t._v(" "),a("li",{staticClass:"nav-item"},[a("a",{class:["sent"==t.tab?"nav-link px-4 font-weight-bold rounded-pill active":"nav-link px-4 font-weight-bold rounded-pill"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("sent")}}},[t._v("Sent")])]),t._v(" "),a("li",{staticClass:"nav-item"},[a("a",{class:["filtered"==t.tab?"nav-link px-4 font-weight-bold rounded-pill active":"nav-link px-4 font-weight-bold rounded-pill"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("filtered")}}},[t._v("Filtered")])])])]),t._v(" "),"inbox"==t.tab?a("ul",{staticClass:"list-group list-group-flush"},[t.messages.inbox.length?t._l(t.messages.inbox,(function(e,s){return a("div",{key:"dm_inbox"+s},[a("a",{staticClass:"list-group-item text-dark text-decoration-none border-left-0 border-right-0 border-top-0",attrs:{href:"/account/direct/t/"+e.id}},[a("div",{staticClass:"media d-flex align-items-center"},[t._o(a("img",{staticClass:"mr-3 rounded-circle img-thumbnail",attrs:{src:e.avatar,width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),0,"dm_inbox"+s),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"mb-0"},[a("span",{staticClass:"font-weight-bold text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"pl-1 text-muted small text-truncate",staticStyle:{"font-weight":"500"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.isLocal?"@"+e.username:e.username)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),a("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"13px","font-weight":"500"}},[t._m(0,!0),t._v(" "),a("span",{staticClass:"pl-1 pr-3"},[t._v("\n\t\t\t\t\t\t\t\t\t\tReceived\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.timeAgo)+"\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),t._m(1,!0)])])])})):a("div",{staticClass:"list-group-item d-flex justify-content-center align-items-center",staticStyle:{"min-height":"40vh"}},[a("p",{staticClass:"lead mb-0"},[t._v("No messages found :(")])])],2):t._e(),t._v(" "),"sent"==t.tab?a("ul",{staticClass:"list-group list-group-flush"},[t.messages.sent.length?t._l(t.messages.sent,(function(e,s){return a("div",{key:"dm_sent"+s},[a("a",{staticClass:"list-group-item text-dark text-decoration-none border-left-0 border-right-0 border-top-0",attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.loadMessage(e.id)}}},[a("div",{staticClass:"media d-flex align-items-center"},[t._o(a("img",{staticClass:"mr-3 rounded-circle img-thumbnail",attrs:{src:e.avatar,width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),1,"dm_sent"+s),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"mb-0"},[a("span",{staticClass:"font-weight-bold text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"pl-1 text-muted small text-truncate",staticStyle:{"font-weight":"500"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.isLocal?"@"+e.username:e.username)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),a("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"13px","font-weight":"500"}},[t._m(2,!0),t._v(" "),a("span",{staticClass:"pl-1 pr-3"},[t._v("\n\t\t\t\t\t\t\t\t\t\tDelivered\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.timeAgo)+"\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),t._m(3,!0)])])])})):a("div",{staticClass:"list-group-item d-flex justify-content-center align-items-center",staticStyle:{"min-height":"40vh"}},[a("p",{staticClass:"lead mb-0"},[t._v("No messages found :(")])])],2):t._e(),t._v(" "),"filtered"==t.tab?a("ul",{staticClass:"list-group list-group-flush"},[t.messages.filtered.length?t._l(t.messages.filtered,(function(e,s){return a("div",{key:"dm_filtered"+s},[a("a",{staticClass:"list-group-item text-dark text-decoration-none border-left-0 border-right-0 border-top-0",attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.loadMessage(e.id)}}},[a("div",{staticClass:"media d-flex align-items-center"},[t._o(a("img",{staticClass:"mr-3 rounded-circle img-thumbnail",attrs:{src:e.avatar,width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),2,"dm_filtered"+s),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"mb-0"},[a("span",{staticClass:"font-weight-bold text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"pl-1 text-muted small text-truncate",staticStyle:{"font-weight":"500"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.isLocal?"@"+e.username:e.username)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),a("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"13px","font-weight":"500"}},[t._m(4,!0),t._v(" "),a("span",{staticClass:"pl-1 pr-3"},[t._v("\n\t\t\t\t\t\t\t\t\t\tFiltered\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.timeAgo)+"\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),t._m(5,!0)])])])})):a("div",{staticClass:"list-group-item d-flex justify-content-center align-items-center",staticStyle:{"min-height":"40vh"}},[a("p",{staticClass:"lead mb-0"},[t._v("No messages found :(")])])],2):t._e()]),t._v(" "),"inbox"==t.tab?a("div",{staticClass:"mt-3 text-center"},[a("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:1==t.inboxPage},on:{click:function(e){return t.messagePagination("inbox","prev")}}},[t._v("Prev")]),t._v(" "),a("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:8!=t.messages.inbox.length},on:{click:function(e){return t.messagePagination("inbox","next")}}},[t._v("Next")])]):t._e(),t._v(" "),"sent"==t.tab?a("div",{staticClass:"mt-3 text-center"},[a("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:1==t.sentPage},on:{click:function(e){return t.messagePagination("sent","prev")}}},[t._v("Prev")]),t._v(" "),a("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:8!=t.messages.sent.length},on:{click:function(e){return t.messagePagination("sent","next")}}},[t._v("Next")])]):t._e(),t._v(" "),"filtered"==t.tab?a("div",{staticClass:"mt-3 text-center"},[a("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:1==t.filteredPage},on:{click:function(e){return t.messagePagination("filtered","prev")}}},[t._v("Prev")]),t._v(" "),a("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:8!=t.messages.filtered.length},on:{click:function(e){return t.messagePagination("filtered","next")}}},[t._v("Next")])]):t._e()])]):t._e(),t._v(" "),t.loaded&&"add"==t.page?a("div",{staticClass:"container messages-page p-0 p-md-2 mt-n4",staticStyle:{"min-height":"60vh"}},[a("div",{staticClass:"col-12 col-md-8 offset-md-2 p-0 px-md-2"},[a("div",{staticClass:"card shadow-none border mt-4"},[a("div",{staticClass:"card-header bg-white py-4 d-flex justify-content-between"},[a("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return t.goto("browse")}}},[a("i",{staticClass:"fas fa-chevron-left"})]),t._v(" "),a("span",{staticClass:"h4 font-weight-bold mb-0"},[t._v("New Direct Message")]),t._v(" "),t._m(6)]),t._v(" "),a("div",{staticClass:"card-body d-flex align-items-center justify-content-center",staticStyle:{height:"60vh"}},[a("div",[a("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Select Recipient")]),t._v(" "),a("autocomplete",{ref:"autocomplete",attrs:{search:t.composeSearch,disabled:t.composeLoading,placeholder:"@dansup","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),a("div",{staticStyle:{width:"300px"}})],1)])])])]):t._e()])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"far fa-comment text-primary"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"float-right"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"far fa-paper-plane text-primary"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"float-right"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fas fa-shield-alt",staticStyle:{color:"#fd9426"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"float-right"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fas fa-chevron-right text-white"})])}]},70507:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.loaded&&"read"==t.page?a("div",{staticClass:"container messages-page p-0 p-md-2 mt-n4",staticStyle:{"min-height":"60vh"}},[a("div",{staticClass:"col-12 col-md-8 offset-md-2 p-0 px-md-2"},[a("div",{staticClass:"card shadow-none border mt-4"},[a("div",{staticClass:"card-header bg-white d-flex justify-content-between align-items-center"},[t._m(0),t._v(" "),a("span",[a("div",{staticClass:"media"},[a("img",{staticClass:"mr-3 rounded-circle img-thumbnail",attrs:{src:t.thread.avatar,width:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"mb-0"},[a("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.thread.name))])]),t._v(" "),a("p",{staticClass:"mb-0"},[t.thread.isLocal?a("a",{staticClass:"text-decoration-none text-muted",attrs:{href:"/"+t.thread.username}},[t._v("@"+t._s(t.thread.username))]):a("a",{staticClass:"text-decoration-none text-muted",attrs:{href:"/"+t.thread.username}},[t._v(t._s(t.thread.username))])])])])]),t._v(" "),a("span",[a("a",{staticClass:"text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showOptions()}}},[a("i",{staticClass:"fas fa-cog fa-lg"})])])]),t._v(" "),a("ul",{staticClass:"list-group list-group-flush dm-wrapper",staticStyle:{height:"60vh","overflow-y":"scroll"}},[a("li",{staticClass:"list-group-item border-0"},[a("p",{staticClass:"text-center small text-muted"},[t._v("\n\t\t\t\t\t\t\tConversation with "),a("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.thread.username))])]),t._v(" "),a("hr")]),t._v(" "),t.showLoadMore&&t.thread.messages&&t.thread.messages.length>5?a("li",{staticClass:"list-group-item border-0 mt-n4"},[a("p",{staticClass:"text-center small text-muted"},[t.loadingMessages?a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",attrs:{disabled:""}},[t._v("Loading...")]):a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",on:{click:function(e){return t.loadOlderMessages()}}},[t._v("Load Older Messages")])])]):t._e(),t._v(" "),t._l(t.thread.messages,(function(e,s){return a("li",{staticClass:"list-group-item border-0 chat-msg cursor-pointer",on:{click:function(a){return t.openCtxMenu(e,s)}}},[e.isAuthor?a("div",{staticClass:"media d-inline-flex float-right mb-0 mr-2"},[a("div",{staticClass:"media-body"},["photo"==e.type?a("p",{staticClass:"pill-from p-0 shadow"},[a("img",{staticStyle:{"border-radius":"20px"},attrs:{src:e.media,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}})]):"link"==e.type?a("div",{staticClass:"media d-inline-flex float-right mb-0 cursor-pointer"},[a("div",{staticClass:"media-body"},[a("div",{staticClass:"card mb-2 rounded border shadow",staticStyle:{width:"240px"},attrs:{title:e.text}},[a("div",{staticClass:"card-body p-0"},[a("div",{staticClass:"media d-flex align-items-center"},[e.meta.local?a("div",{staticClass:"bg-primary mr-3 border-right p-3"},[a("i",{staticClass:"fas fa-link text-white fa-2x"})]):a("div",{staticClass:"bg-light mr-3 border-right p-3"},[a("i",{staticClass:"fas fa-link text-lighter fa-2x"})]),t._v(" "),a("div",{staticClass:"media-body text-muted small text-truncate pr-2 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.meta.local?e.text.substr(8):e.meta.domain)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t")])])])])])]):"video"==e.type?a("p",{staticClass:"pill-from p-0 shadow"},[t._m(2,!0)]):"emoji"==e.type?a("p",{staticClass:"p-0 emoji-msg"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.text)+"\n\t\t\t\t\t\t\t\t")]):"story:react"==e.type?a("p",{staticClass:"pill-from p-0 shadow",staticStyle:{"margin-bottom":"10px",position:"relative",width:"fit-content"}},[a("img",{staticStyle:{"border-radius":"20px"},attrs:{src:e.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),a("span",{staticClass:"badge badge-light rounded-pill border",staticStyle:{"font-size":"20px",position:"absolute",bottom:"-10px",right:"-10px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.meta.reaction)+"\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==e.type?a("span",{staticClass:"p-0",staticStyle:{display:"flex","justify-content":"flex-end","margin-bottom":"10px",position:"relative"}},[a("span",{staticClass:"d-flex align-items-end flex-column"},[a("img",{staticClass:"d-block pill-from p-0 mr-0 pr-0 mb-n1",staticStyle:{"border-radius":"20px"},attrs:{src:e.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),a("span",{staticClass:"pill-from shadow text-break",staticStyle:{width:"fit-content"}},[t._v(t._s(e.meta.caption))])])]):a("p",{class:[t.largerText?"pill-from shadow larger-text text-break":"pill-from shadow text-break"]},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.text)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"story:react"==e.type?a("p",{staticClass:"small text-muted text-right mb-0 mr-0"},[t._v("\n\t\t\t\t\t\t\t\t\tYou reacted to "),a("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.meta.story_username))]),t._v("'s story\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),"story:comment"==e.type?a("p",{staticClass:"small text-muted text-right mb-0 mr-0"},[t._v("\n\t\t\t\t\t\t\t\t\tYou replied to "),a("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.meta.story_username))]),t._v("'s story\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.hideTimestamps?a("p",[t._v(" ")]):a("p",{staticClass:"small text-muted font-weight-bold text-right"},[e.hidden?a("span",{staticClass:"mr-2 small",attrs:{title:"Filtered Message","data-toggle":"tooltip","data-placement":"bottom"}},[a("i",{staticClass:"fas fa-lock"})]):t._e(),t._v(" "+t._s(e.timeAgo)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),t.hideAvatars?t._e():a("img",{staticClass:"ml-3 mt-2 rounded-circle img-thumbnail",attrs:{src:t.profile.avatar,alt:"avatar",width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]):a("div",{staticClass:"media d-inline-flex mb-0"},[t.hideAvatars?t._e():a("img",{staticClass:"mr-3 mt-2 rounded-circle img-thumbnail",attrs:{src:t.thread.avatar,alt:"avatar",width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),t._v(" "),a("div",{staticClass:"media-body"},["photo"==e.type?a("p",{staticClass:"pill-to p-0 shadow"},[a("img",{staticStyle:{"border-radius":"20px"},attrs:{src:e.media,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}})]):"link"==e.type?a("div",{staticClass:"media d-inline-flex mb-0 cursor-pointer"},[a("div",{staticClass:"media-body"},[a("div",{staticClass:"card mb-2 rounded border shadow",staticStyle:{width:"240px"},attrs:{title:e.text}},[a("div",{staticClass:"card-body p-0"},[a("div",{staticClass:"media d-flex align-items-center"},[e.meta.local?a("div",{staticClass:"bg-primary mr-3 border-right p-3"},[a("i",{staticClass:"fas fa-link text-white fa-2x"})]):a("div",{staticClass:"bg-light mr-3 border-right p-3"},[a("i",{staticClass:"fas fa-link text-lighter fa-2x"})]),t._v(" "),a("div",{staticClass:"media-body text-muted small text-truncate pr-2 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.meta.local?e.text.substr(8):e.meta.domain)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t")])])])])])]):"video"==e.type?a("p",{staticClass:"pill-to p-0 shadow"},[t._m(1,!0)]):"emoji"==e.type?a("p",{staticClass:"p-0 emoji-msg"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.text)+"\n\t\t\t\t\t\t\t\t")]):"story:react"==e.type?a("p",{staticClass:"pill-to p-0 shadow",staticStyle:{width:"140px","margin-bottom":"10px",position:"relative"}},[a("img",{staticStyle:{"border-radius":"20px"},attrs:{src:e.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),a("span",{staticClass:"badge badge-light rounded-pill border",staticStyle:{"font-size":"20px",position:"absolute",bottom:"-10px",left:"-10px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.meta.reaction)+"\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==e.type?a("span",{staticClass:"p-0",staticStyle:{display:"flex","justify-content":"flex-start","margin-bottom":"10px",position:"relative"}},[a("span",{},[a("img",{staticClass:"d-block pill-to p-0 mr-0 pr-0 mb-n1",staticStyle:{"border-radius":"20px"},attrs:{src:e.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),a("span",{staticClass:"pill-to shadow text-break",staticStyle:{width:"fit-content"}},[t._v(t._s(e.meta.caption))])])]):a("p",{class:[t.largerText?"pill-to shadow larger-text text-break":"pill-to shadow text-break"]},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.text)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"story:react"==e.type?a("p",{staticClass:"small text-muted mb-0 ml-0"},[a("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.meta.story_actor_username))]),t._v(" reacted your story\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),"story:comment"==e.type?a("p",{staticClass:"small text-muted mb-0 ml-0"},[a("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.meta.story_actor_username))]),t._v(" replied to your story\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.hideTimestamps?a("p",[t._v(" ")]):a("p",{staticClass:"small text-muted font-weight-bold d-flex align-items-center justify-content-start",attrs:{"data-timestamp":"timestamp"}},[e.hidden?a("span",{staticClass:"mr-2 small",attrs:{title:"Filtered Message","data-toggle":"tooltip","data-placement":"bottom"}},[a("i",{staticClass:"fas fa-lock"})]):t._e(),t._v(" "+t._s(e.timeAgo))])])])])}))],2),t._v(" "),a("div",{staticClass:"card-footer bg-white p-0"},[a("form",{staticClass:"border-0 rounded-0 align-middle",attrs:{method:"post",action:"#"}},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control border-0 rounded-0 no-focus",staticStyle:{height:"86px","line-height":"18px","max-height":"80px",resize:"none","padding-right":"115.22px"},attrs:{name:"comment",placeholder:"Reply ...",autocomplete:"off",autocorrect:"off",disabled:t.blocked},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}}),t._v(" "),a("input",{class:[t.replyText.length?"d-inline-block btn btn-sm btn-primary rounded-pill font-weight-bold reply-btn text-decoration-none text-uppercase":"d-inline-block btn btn-sm btn-primary rounded-pill font-weight-bold reply-btn text-decoration-none text-uppercase disabled"],attrs:{type:"button",value:"Send",disabled:0==t.replyText.length},on:{click:function(e){return e.preventDefault(),t.sendMessage.apply(null,arguments)}}})])]),t._v(" "),a("div",{staticClass:"card-footer p-0"},[a("p",{staticClass:"d-flex justify-content-between align-items-center mb-0 px-3 py-1 small"},[a("span",[a("span",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0 px-3 rounded-pill",on:{click:t.uploadMedia}},[a("i",{staticClass:"fas fa-upload mr-1"}),t._v("\n\t\t\t\t\t\t\t\tAdd Photo/Video\n\t\t\t\t\t\t\t")])]),t._v(" "),a("input",{staticClass:"d-none",attrs:{type:"file",id:"uploadMedia",name:"uploadMedia",accept:"image/jpeg,image/png,image/gif,video/mp4"}}),t._v(" "),a("span",{staticClass:"text-muted font-weight-bold"},[t._v(t._s(t.replyText.length)+"/600")])])])])])]):t._e(),t._v(" "),t.loaded&&"options"==t.page?a("div",{staticClass:"container messages-page p-0 p-md-2 mt-n4",staticStyle:{"min-height":"60vh"}},[a("div",{staticClass:"col-12 col-md-8 offset-md-2 p-0 px-md-2"},[a("div",{staticClass:"card shadow-none border mt-4"},[a("div",{staticClass:"card-header bg-white d-flex justify-content-between align-items-center"},[a("span",[a("a",{staticClass:"text-muted",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.page="read"}}},[a("i",{staticClass:"fas fa-chevron-left fa-lg"})])]),t._v(" "),t._m(3),t._v(" "),t._m(4)]),t._v(" "),a("ul",{staticClass:"list-group list-group-flush dm-wrapper",staticStyle:{height:"698px"}},[a("div",{staticClass:"list-group-item media border-bottom"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.hideAvatars,expression:"hideAvatars"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch0"},domProps:{checked:Array.isArray(t.hideAvatars)?t._i(t.hideAvatars,null)>-1:t.hideAvatars},on:{change:function(e){var a=t.hideAvatars,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&(t.hideAvatars=a.concat([null])):n>-1&&(t.hideAvatars=a.slice(0,n).concat(a.slice(n+1)))}else t.hideAvatars=i}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch0"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tHide Avatars\n\t\t\t\t\t\t")])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.hideTimestamps,expression:"hideTimestamps"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch1"},domProps:{checked:Array.isArray(t.hideTimestamps)?t._i(t.hideTimestamps,null)>-1:t.hideTimestamps},on:{change:function(e){var a=t.hideTimestamps,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&(t.hideTimestamps=a.concat([null])):n>-1&&(t.hideTimestamps=a.slice(0,n).concat(a.slice(n+1)))}else t.hideTimestamps=i}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch1"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tHide Timestamps\n\t\t\t\t\t\t")])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.largerText,expression:"largerText"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch2"},domProps:{checked:Array.isArray(t.largerText)?t._i(t.largerText,null)>-1:t.largerText},on:{change:function(e){var a=t.largerText,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&(t.largerText=a.concat([null])):n>-1&&(t.largerText=a.slice(0,n).concat(a.slice(n+1)))}else t.largerText=i}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch2"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tLarger Text\n\t\t\t\t\t\t")])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom d-flex align-items-center"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.mutedNotifications,expression:"mutedNotifications"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch4"},domProps:{checked:Array.isArray(t.mutedNotifications)?t._i(t.mutedNotifications,null)>-1:t.mutedNotifications},on:{change:function(e){var a=t.mutedNotifications,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&(t.mutedNotifications=a.concat([null])):n>-1&&(t.mutedNotifications=a.slice(0,n).concat(a.slice(n+1)))}else t.mutedNotifications=i}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch4"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tMute Notifications \n\t\t\t\t\t\t\t"),a("p",{staticClass:"small mb-0"},[t._v("You will not receive any direct message notifications from "),a("strong",[t._v(t._s(t.thread.username))]),t._v(".")])])])])])])]):t._e(),t._v(" "),a("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[a("div",{staticClass:"list-group text-center"},[t.ctxContext&&"photo"==t.ctxContext.type?a("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-dark",on:{click:function(e){return t.viewOriginal()}}},[t._v("View Original")]):t._e(),t._v(" "),t.ctxContext&&"video"==t.ctxContext.type?a("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-dark",on:{click:function(e){return t.viewOriginal()}}},[t._v("Play")]):t._e(),t._v(" "),t.ctxContext&&"link"==t.ctxContext.type?a("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.clickLink()}}},[a("p",{staticClass:"mb-0",staticStyle:{"font-size":"12px"}},[t._v("\n\t\t\t\tNavigate to \n\t\t\t")]),t._v(" "),a("p",{staticClass:"mb-0 font-weight-bold text-dark"},[t._v("\n\t\t\t\t"+t._s(this.ctxContext.meta.domain)+"\n\t\t\t")])]):t._e(),t._v(" "),!t.ctxContext||"text"!=t.ctxContext.type&&"emoji"!=t.ctxContext.type&&"link"!=t.ctxContext.type?t._e():a("div",{staticClass:"list-group-item rounded cursor-pointer text-dark",on:{click:function(e){return t.copyText()}}},[t._v("Copy")]),t._v(" "),t.ctxContext&&!t.ctxContext.isAuthor?a("div",{staticClass:"list-group-item rounded cursor-pointer text-muted",on:{click:function(e){return t.reportMessage()}}},[t._v("Report")]):t._e(),t._v(" "),t.ctxContext&&t.ctxContext.isAuthor?a("div",{staticClass:"list-group-item rounded cursor-pointer text-muted",on:{click:function(e){return t.deleteMessage()}}},[t._v("Delete")]):t._e(),t._v(" "),a("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])])],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("a",{staticClass:"text-muted",attrs:{href:"/account/direct"}},[e("i",{staticClass:"fas fa-chevron-left fa-lg"})])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{staticClass:"d-block bg-primary d-flex align-items-center justify-content-center",staticStyle:{width:"200px",height:"110px","border-radius":"20px"}},[a("div",{staticClass:"text-center"},[a("p",{staticClass:"mb-1"},[a("i",{staticClass:"fas fa-play fa-2x text-white"})]),t._v(" "),a("p",{staticClass:"mb-0 small font-weight-bold text-white"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tPlay\n\t\t\t\t\t\t\t\t\t\t\t")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{staticClass:"rounded-pill bg-primary d-flex align-items-center justify-content-center",staticStyle:{width:"200px",height:"110px"}},[a("div",{staticClass:"text-center"},[a("p",{staticClass:"mb-1"},[a("i",{staticClass:"fas fa-play fa-2x text-white"})]),t._v(" "),a("p",{staticClass:"mb-0 small font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tPlay\n\t\t\t\t\t\t\t\t\t\t\t")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",[a("p",{staticClass:"mb-0 lead font-weight-bold py-2"},[t._v("Message Settings")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-lighter",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:"Have a nice day!"}},[e("i",{staticClass:"far fa-smile fa-lg"})])}]}},t=>{t.O(0,[898],(()=>{return e=4899,t(t.s=e);var e}));t.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[522],{3611:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var s=a(29655),i=(a(14348),a(19755));const n={components:{Autocomplete:s.default},data:function(){return{config:window.App.config,loaded:!1,profile:{},page:"browse",pages:["browse","add","read"],tab:"inbox",tabs:["inbox","sent","filtered"],inboxPage:1,sentPage:1,filteredPage:1,threads:[],thread:!1,threadIndex:!1,replyText:"",composeUsername:"",ctxContext:null,ctxIndex:null,uploading:!1,uploadProgress:null,messages:{inbox:[],sent:[],filtered:[]},newType:"select",composeLoading:!1}},mounted:function(){var t=this;this.fetchProfile();var e=this;axios.get("/api/direct/browse",{params:{a:"inbox"}}).then((function(a){e.loaded=!0,t.threads=a.data,t.messages.inbox=a.data}))},updated:function(){i('[data-toggle="tooltip"]').tooltip()},methods:{fetchProfile:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,window._sharedData.curUser=e.data,window.App.util.navatar()}))},goto:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"browse";this.page=t},loadMessage:function(t){var e="/account/direct/t/"+t;window.location.href=e},truncate:function(t){return _.truncate(t)},switchTab:function(t){var e=this;switch(t){case"inbox":this.messages.inbox.length;break;case"sent":0==this.messages.sent.length&&axios.get("/api/direct/browse",{params:{a:"sent"}}).then((function(t){e.loaded=!0,e.threads=t.data,e.messages.sent=t.data}));break;case"filtered":0==this.messages.filtered.length&&axios.get("/api/direct/browse",{params:{a:"filtered"}}).then((function(t){e.loaded=!0,e.threads=t.data,e.messages.filtered=t.data}))}this.tab=t},composeSearch:function(t){if(t.length<1)return[];return axios.post("/api/direct/lookup",{q:t}).then((function(t){return t.data}))},getTagResultValue:function(t){return t.local?"@"+t.name:t.name},onTagSubmitLocation:function(t){this.composeLoading=!0,window.location.href="/account/direct/t/"+t.id},messagePagination:function(t,e){var a=this;"inbox"==t&&(this.inboxPage="prev"==e?this.inboxPage-1:this.inboxPage+1,axios.get("/api/direct/browse",{params:{a:"inbox",page:this.inboxPage}}).then((function(t){self.loaded=!0,a.threads=t.data,a.messages.inbox=t.data}))),"sent"==t&&(this.sentPage="prev"==e?this.sentPage-1:this.sentPage+1,axios.get("/api/direct/browse",{params:{a:"sent",page:this.sentPage}}).then((function(t){self.loaded=!0,a.threads=t.data,a.messages.sent=t.data}))),"filtered"==t&&(this.filteredPage="prev"==e?this.filteredPage-1:this.filteredPage+1,axios.get("/api/direct/browse",{params:{a:"filtered",page:this.filteredPage}}).then((function(t){self.loaded=!0,a.threads=t.data,a.messages.filtered=t.data})))}}}},10690:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var s=a(19755);function i(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,s=new Array(e);a{Vue.component("direct-component",a(5573).default),Vue.component("direct-message",a(36066).default)},13914:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var s=a(23645),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".reply-btn[data-v-8f1cc6ce]{border-radius:0 3px 3px 0;bottom:54px;position:absolute;right:20px;text-align:center;width:90px}.media-body .bg-primary[data-v-8f1cc6ce]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important}.pill-to[data-v-8f1cc6ce]{background:#edf2f7;margin-right:3rem}.pill-from[data-v-8f1cc6ce],.pill-to[data-v-8f1cc6ce]{border-radius:20px!important;font-weight:500;margin-bottom:.25rem;padding:.5rem 1rem}.pill-from[data-v-8f1cc6ce]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important;color:#fff!important;margin-left:3rem;text-align:right!important}.chat-msg[data-v-8f1cc6ce]:hover{background:#f7fbfd}.no-focus[data-v-8f1cc6ce]:focus{box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;outline:none!important;outline-width:0!important}.emoji-msg[data-v-8f1cc6ce]{font-size:4rem!important;line-height:30px!important;margin-top:10px!important}.larger-text[data-v-8f1cc6ce]{font-size:22px}",""]);const n=i},18675:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(13914),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},5573:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var s=a(53355),i=a(44439),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,"45828156",null).exports},36066:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var s=a(18203),i=a(7650),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(31604);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,"8f1cc6ce",null).exports},44439:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var s=a(3611),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},7650:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var s=a(10690),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},31604:(t,e,a)=>{"use strict";a.r(e);var s=a(18675),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},53355:(t,e,a)=>{"use strict";a.r(e);var s=a(105),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},18203:(t,e,a)=>{"use strict";a.r(e);var s=a(70507),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},105:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.loaded&&"browse"==t.page?a("div",{staticClass:"container messages-page p-0 p-md-2 mt-n4",staticStyle:{"min-height":"50vh"}},[a("div",{staticClass:"col-12 col-md-8 offset-md-2 p-0 px-md-2"},[a("div",{staticClass:"card shadow-none border mt-4"},[a("div",{staticClass:"card-header bg-white py-4"},[a("span",{staticClass:"h4 font-weight-bold mb-0"},[t._v("Direct Messages")]),t._v(" "),a("span",{staticClass:"float-right"},[a("a",{staticClass:"btn btn-outline-primary font-weight-bold py-0 rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto("add")}}},[t._v("New Message")])])]),t._v(" "),a("div",{staticClass:"card-header bg-white"},[a("ul",{staticClass:"nav nav-pills nav-fill"},[a("li",{staticClass:"nav-item"},[a("a",{class:["inbox"==t.tab?"nav-link px-4 font-weight-bold rounded-pill active":"nav-link px-4 font-weight-bold rounded-pill"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("inbox")}}},[t._v("Inbox")])]),t._v(" "),a("li",{staticClass:"nav-item"},[a("a",{class:["sent"==t.tab?"nav-link px-4 font-weight-bold rounded-pill active":"nav-link px-4 font-weight-bold rounded-pill"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("sent")}}},[t._v("Sent")])]),t._v(" "),a("li",{staticClass:"nav-item"},[a("a",{class:["filtered"==t.tab?"nav-link px-4 font-weight-bold rounded-pill active":"nav-link px-4 font-weight-bold rounded-pill"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("filtered")}}},[t._v("Filtered")])])])]),t._v(" "),"inbox"==t.tab?a("ul",{staticClass:"list-group list-group-flush"},[t.messages.inbox.length?t._l(t.messages.inbox,(function(e,s){return a("div",{key:"dm_inbox"+s},[a("a",{staticClass:"list-group-item text-dark text-decoration-none border-left-0 border-right-0 border-top-0",attrs:{href:"/account/direct/t/"+e.id}},[a("div",{staticClass:"media d-flex align-items-center"},[t._o(a("img",{staticClass:"mr-3 rounded-circle img-thumbnail",attrs:{src:e.avatar,width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),0,"dm_inbox"+s),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"mb-0"},[a("span",{staticClass:"font-weight-bold text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"pl-1 text-muted small text-truncate",staticStyle:{"font-weight":"500"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.isLocal?"@"+e.username:e.username)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),a("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"13px","font-weight":"500"}},[t._m(0,!0),t._v(" "),a("span",{staticClass:"pl-1 pr-3"},[t._v("\n\t\t\t\t\t\t\t\t\t\tReceived\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.timeAgo)+"\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),t._m(1,!0)])])])})):a("div",{staticClass:"list-group-item d-flex justify-content-center align-items-center",staticStyle:{"min-height":"40vh"}},[a("p",{staticClass:"lead mb-0"},[t._v("No messages found :(")])])],2):t._e(),t._v(" "),"sent"==t.tab?a("ul",{staticClass:"list-group list-group-flush"},[t.messages.sent.length?t._l(t.messages.sent,(function(e,s){return a("div",{key:"dm_sent"+s},[a("a",{staticClass:"list-group-item text-dark text-decoration-none border-left-0 border-right-0 border-top-0",attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.loadMessage(e.id)}}},[a("div",{staticClass:"media d-flex align-items-center"},[t._o(a("img",{staticClass:"mr-3 rounded-circle img-thumbnail",attrs:{src:e.avatar,width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),1,"dm_sent"+s),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"mb-0"},[a("span",{staticClass:"font-weight-bold text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"pl-1 text-muted small text-truncate",staticStyle:{"font-weight":"500"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.isLocal?"@"+e.username:e.username)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),a("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"13px","font-weight":"500"}},[t._m(2,!0),t._v(" "),a("span",{staticClass:"pl-1 pr-3"},[t._v("\n\t\t\t\t\t\t\t\t\t\tDelivered\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.timeAgo)+"\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),t._m(3,!0)])])])})):a("div",{staticClass:"list-group-item d-flex justify-content-center align-items-center",staticStyle:{"min-height":"40vh"}},[a("p",{staticClass:"lead mb-0"},[t._v("No messages found :(")])])],2):t._e(),t._v(" "),"filtered"==t.tab?a("ul",{staticClass:"list-group list-group-flush"},[t.messages.filtered.length?t._l(t.messages.filtered,(function(e,s){return a("div",{key:"dm_filtered"+s},[a("a",{staticClass:"list-group-item text-dark text-decoration-none border-left-0 border-right-0 border-top-0",attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.loadMessage(e.id)}}},[a("div",{staticClass:"media d-flex align-items-center"},[t._o(a("img",{staticClass:"mr-3 rounded-circle img-thumbnail",attrs:{src:e.avatar,width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),2,"dm_filtered"+s),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"mb-0"},[a("span",{staticClass:"font-weight-bold text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"pl-1 text-muted small text-truncate",staticStyle:{"font-weight":"500"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.isLocal?"@"+e.username:e.username)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),a("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"13px","font-weight":"500"}},[t._m(4,!0),t._v(" "),a("span",{staticClass:"pl-1 pr-3"},[t._v("\n\t\t\t\t\t\t\t\t\t\tFiltered\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.timeAgo)+"\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),t._m(5,!0)])])])})):a("div",{staticClass:"list-group-item d-flex justify-content-center align-items-center",staticStyle:{"min-height":"40vh"}},[a("p",{staticClass:"lead mb-0"},[t._v("No messages found :(")])])],2):t._e()]),t._v(" "),"inbox"==t.tab?a("div",{staticClass:"mt-3 text-center"},[a("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:1==t.inboxPage},on:{click:function(e){return t.messagePagination("inbox","prev")}}},[t._v("Prev")]),t._v(" "),a("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:8!=t.messages.inbox.length},on:{click:function(e){return t.messagePagination("inbox","next")}}},[t._v("Next")])]):t._e(),t._v(" "),"sent"==t.tab?a("div",{staticClass:"mt-3 text-center"},[a("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:1==t.sentPage},on:{click:function(e){return t.messagePagination("sent","prev")}}},[t._v("Prev")]),t._v(" "),a("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:8!=t.messages.sent.length},on:{click:function(e){return t.messagePagination("sent","next")}}},[t._v("Next")])]):t._e(),t._v(" "),"filtered"==t.tab?a("div",{staticClass:"mt-3 text-center"},[a("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:1==t.filteredPage},on:{click:function(e){return t.messagePagination("filtered","prev")}}},[t._v("Prev")]),t._v(" "),a("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:8!=t.messages.filtered.length},on:{click:function(e){return t.messagePagination("filtered","next")}}},[t._v("Next")])]):t._e()])]):t._e(),t._v(" "),t.loaded&&"add"==t.page?a("div",{staticClass:"container messages-page p-0 p-md-2 mt-n4",staticStyle:{"min-height":"60vh"}},[a("div",{staticClass:"col-12 col-md-8 offset-md-2 p-0 px-md-2"},[a("div",{staticClass:"card shadow-none border mt-4"},[a("div",{staticClass:"card-header bg-white py-4 d-flex justify-content-between"},[a("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return t.goto("browse")}}},[a("i",{staticClass:"fas fa-chevron-left"})]),t._v(" "),a("span",{staticClass:"h4 font-weight-bold mb-0"},[t._v("New Direct Message")]),t._v(" "),t._m(6)]),t._v(" "),a("div",{staticClass:"card-body d-flex align-items-center justify-content-center",staticStyle:{height:"60vh"}},[a("div",[a("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Select Recipient")]),t._v(" "),a("autocomplete",{ref:"autocomplete",attrs:{search:t.composeSearch,disabled:t.composeLoading,placeholder:"@dansup","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),a("div",{staticStyle:{width:"300px"}})],1)])])])]):t._e()])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"far fa-comment text-primary"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"float-right"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"far fa-paper-plane text-primary"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"float-right"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fas fa-shield-alt",staticStyle:{color:"#fd9426"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"float-right"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fas fa-chevron-right text-white"})])}]},70507:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.loaded&&"read"==t.page?a("div",{staticClass:"container messages-page p-0 p-md-2 mt-n4",staticStyle:{"min-height":"60vh"}},[a("div",{staticClass:"col-12 col-md-8 offset-md-2 p-0 px-md-2"},[a("div",{staticClass:"card shadow-none border mt-4"},[a("div",{staticClass:"card-header bg-white d-flex justify-content-between align-items-center"},[t._m(0),t._v(" "),a("span",[a("div",{staticClass:"media"},[a("img",{staticClass:"mr-3 rounded-circle img-thumbnail",attrs:{src:t.thread.avatar,width:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"mb-0"},[a("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.thread.name))])]),t._v(" "),a("p",{staticClass:"mb-0"},[t.thread.isLocal?a("a",{staticClass:"text-decoration-none text-muted",attrs:{href:"/"+t.thread.username}},[t._v("@"+t._s(t.thread.username))]):a("a",{staticClass:"text-decoration-none text-muted",attrs:{href:"/"+t.thread.username}},[t._v(t._s(t.thread.username))])])])])]),t._v(" "),a("span",[a("a",{staticClass:"text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showOptions()}}},[a("i",{staticClass:"fas fa-cog fa-lg"})])])]),t._v(" "),a("ul",{staticClass:"list-group list-group-flush dm-wrapper",staticStyle:{height:"60vh","overflow-y":"scroll"}},[a("li",{staticClass:"list-group-item border-0"},[a("p",{staticClass:"text-center small text-muted"},[t._v("\n\t\t\t\t\t\t\tConversation with "),a("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.thread.username))])]),t._v(" "),a("hr")]),t._v(" "),t.showLoadMore&&t.thread.messages&&t.thread.messages.length>5?a("li",{staticClass:"list-group-item border-0 mt-n4"},[a("p",{staticClass:"text-center small text-muted"},[t.loadingMessages?a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",attrs:{disabled:""}},[t._v("Loading...")]):a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",on:{click:function(e){return t.loadOlderMessages()}}},[t._v("Load Older Messages")])])]):t._e(),t._v(" "),t._l(t.thread.messages,(function(e,s){return a("li",{staticClass:"list-group-item border-0 chat-msg cursor-pointer",on:{click:function(a){return t.openCtxMenu(e,s)}}},[e.isAuthor?a("div",{staticClass:"media d-inline-flex float-right mb-0 mr-2"},[a("div",{staticClass:"media-body"},["photo"==e.type?a("p",{staticClass:"pill-from p-0 shadow"},[a("img",{staticStyle:{"border-radius":"20px"},attrs:{src:e.media,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}})]):"link"==e.type?a("div",{staticClass:"media d-inline-flex float-right mb-0 cursor-pointer"},[a("div",{staticClass:"media-body"},[a("div",{staticClass:"card mb-2 rounded border shadow",staticStyle:{width:"240px"},attrs:{title:e.text}},[a("div",{staticClass:"card-body p-0"},[a("div",{staticClass:"media d-flex align-items-center"},[e.meta.local?a("div",{staticClass:"bg-primary mr-3 border-right p-3"},[a("i",{staticClass:"fas fa-link text-white fa-2x"})]):a("div",{staticClass:"bg-light mr-3 border-right p-3"},[a("i",{staticClass:"fas fa-link text-lighter fa-2x"})]),t._v(" "),a("div",{staticClass:"media-body text-muted small text-truncate pr-2 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.meta.local?e.text.substr(8):e.meta.domain)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t")])])])])])]):"video"==e.type?a("p",{staticClass:"pill-from p-0 shadow"},[t._m(2,!0)]):"emoji"==e.type?a("p",{staticClass:"p-0 emoji-msg"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.text)+"\n\t\t\t\t\t\t\t\t")]):"story:react"==e.type?a("p",{staticClass:"pill-from p-0 shadow",staticStyle:{"margin-bottom":"10px",position:"relative",width:"fit-content"}},[a("img",{staticStyle:{"border-radius":"20px"},attrs:{src:e.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),a("span",{staticClass:"badge badge-light rounded-pill border",staticStyle:{"font-size":"20px",position:"absolute",bottom:"-10px",right:"-10px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.meta.reaction)+"\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==e.type?a("span",{staticClass:"p-0",staticStyle:{display:"flex","justify-content":"flex-end","margin-bottom":"10px",position:"relative"}},[a("span",{staticClass:"d-flex align-items-end flex-column"},[a("img",{staticClass:"d-block pill-from p-0 mr-0 pr-0 mb-n1",staticStyle:{"border-radius":"20px"},attrs:{src:e.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),a("span",{staticClass:"pill-from shadow text-break",staticStyle:{width:"fit-content"}},[t._v(t._s(e.meta.caption))])])]):a("p",{class:[t.largerText?"pill-from shadow larger-text text-break":"pill-from shadow text-break"]},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.text)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"story:react"==e.type?a("p",{staticClass:"small text-muted text-right mb-0 mr-0"},[t._v("\n\t\t\t\t\t\t\t\t\tYou reacted to "),a("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.meta.story_username))]),t._v("'s story\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),"story:comment"==e.type?a("p",{staticClass:"small text-muted text-right mb-0 mr-0"},[t._v("\n\t\t\t\t\t\t\t\t\tYou replied to "),a("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.meta.story_username))]),t._v("'s story\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.hideTimestamps?a("p",[t._v(" ")]):a("p",{staticClass:"small text-muted font-weight-bold text-right"},[e.hidden?a("span",{staticClass:"mr-2 small",attrs:{title:"Filtered Message","data-toggle":"tooltip","data-placement":"bottom"}},[a("i",{staticClass:"fas fa-lock"})]):t._e(),t._v(" "+t._s(e.timeAgo)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),t.hideAvatars?t._e():a("img",{staticClass:"ml-3 mt-2 rounded-circle img-thumbnail",attrs:{src:t.profile.avatar,alt:"avatar",width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]):a("div",{staticClass:"media d-inline-flex mb-0"},[t.hideAvatars?t._e():a("img",{staticClass:"mr-3 mt-2 rounded-circle img-thumbnail",attrs:{src:t.thread.avatar,alt:"avatar",width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),t._v(" "),a("div",{staticClass:"media-body"},["photo"==e.type?a("p",{staticClass:"pill-to p-0 shadow"},[a("img",{staticStyle:{"border-radius":"20px"},attrs:{src:e.media,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}})]):"link"==e.type?a("div",{staticClass:"media d-inline-flex mb-0 cursor-pointer"},[a("div",{staticClass:"media-body"},[a("div",{staticClass:"card mb-2 rounded border shadow",staticStyle:{width:"240px"},attrs:{title:e.text}},[a("div",{staticClass:"card-body p-0"},[a("div",{staticClass:"media d-flex align-items-center"},[e.meta.local?a("div",{staticClass:"bg-primary mr-3 border-right p-3"},[a("i",{staticClass:"fas fa-link text-white fa-2x"})]):a("div",{staticClass:"bg-light mr-3 border-right p-3"},[a("i",{staticClass:"fas fa-link text-lighter fa-2x"})]),t._v(" "),a("div",{staticClass:"media-body text-muted small text-truncate pr-2 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.meta.local?e.text.substr(8):e.meta.domain)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t")])])])])])]):"video"==e.type?a("p",{staticClass:"pill-to p-0 shadow"},[t._m(1,!0)]):"emoji"==e.type?a("p",{staticClass:"p-0 emoji-msg"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.text)+"\n\t\t\t\t\t\t\t\t")]):"story:react"==e.type?a("p",{staticClass:"pill-to p-0 shadow",staticStyle:{width:"140px","margin-bottom":"10px",position:"relative"}},[a("img",{staticStyle:{"border-radius":"20px"},attrs:{src:e.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),a("span",{staticClass:"badge badge-light rounded-pill border",staticStyle:{"font-size":"20px",position:"absolute",bottom:"-10px",left:"-10px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.meta.reaction)+"\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==e.type?a("span",{staticClass:"p-0",staticStyle:{display:"flex","justify-content":"flex-start","margin-bottom":"10px",position:"relative"}},[a("span",{},[a("img",{staticClass:"d-block pill-to p-0 mr-0 pr-0 mb-n1",staticStyle:{"border-radius":"20px"},attrs:{src:e.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),a("span",{staticClass:"pill-to shadow text-break",staticStyle:{width:"fit-content"}},[t._v(t._s(e.meta.caption))])])]):a("p",{class:[t.largerText?"pill-to shadow larger-text text-break":"pill-to shadow text-break"]},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.text)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"story:react"==e.type?a("p",{staticClass:"small text-muted mb-0 ml-0"},[a("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.meta.story_actor_username))]),t._v(" reacted your story\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),"story:comment"==e.type?a("p",{staticClass:"small text-muted mb-0 ml-0"},[a("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.meta.story_actor_username))]),t._v(" replied to your story\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.hideTimestamps?a("p",[t._v(" ")]):a("p",{staticClass:"small text-muted font-weight-bold d-flex align-items-center justify-content-start",attrs:{"data-timestamp":"timestamp"}},[e.hidden?a("span",{staticClass:"mr-2 small",attrs:{title:"Filtered Message","data-toggle":"tooltip","data-placement":"bottom"}},[a("i",{staticClass:"fas fa-lock"})]):t._e(),t._v(" "+t._s(e.timeAgo))])])])])}))],2),t._v(" "),a("div",{staticClass:"card-footer bg-white p-0"},[a("form",{staticClass:"border-0 rounded-0 align-middle",attrs:{method:"post",action:"#"}},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control border-0 rounded-0 no-focus",staticStyle:{height:"86px","line-height":"18px","max-height":"80px",resize:"none","padding-right":"115.22px"},attrs:{name:"comment",placeholder:"Reply ...",autocomplete:"off",autocorrect:"off",disabled:t.blocked},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}}),t._v(" "),a("input",{class:[t.replyText.length?"d-inline-block btn btn-sm btn-primary rounded-pill font-weight-bold reply-btn text-decoration-none text-uppercase":"d-inline-block btn btn-sm btn-primary rounded-pill font-weight-bold reply-btn text-decoration-none text-uppercase disabled"],attrs:{type:"button",value:"Send",disabled:0==t.replyText.length},on:{click:function(e){return e.preventDefault(),t.sendMessage.apply(null,arguments)}}})])]),t._v(" "),a("div",{staticClass:"card-footer p-0"},[a("p",{staticClass:"d-flex justify-content-between align-items-center mb-0 px-3 py-1 small"},[a("span",[a("span",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0 px-3 rounded-pill",on:{click:t.uploadMedia}},[a("i",{staticClass:"fas fa-upload mr-1"}),t._v("\n\t\t\t\t\t\t\t\tAdd Photo/Video\n\t\t\t\t\t\t\t")])]),t._v(" "),a("input",{staticClass:"d-none",attrs:{type:"file",id:"uploadMedia",name:"uploadMedia",accept:"image/jpeg,image/png,image/gif,video/mp4"}}),t._v(" "),a("span",{staticClass:"text-muted font-weight-bold"},[t._v(t._s(t.replyText.length)+"/600")])])])])])]):t._e(),t._v(" "),t.loaded&&"options"==t.page?a("div",{staticClass:"container messages-page p-0 p-md-2 mt-n4",staticStyle:{"min-height":"60vh"}},[a("div",{staticClass:"col-12 col-md-8 offset-md-2 p-0 px-md-2"},[a("div",{staticClass:"card shadow-none border mt-4"},[a("div",{staticClass:"card-header bg-white d-flex justify-content-between align-items-center"},[a("span",[a("a",{staticClass:"text-muted",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.page="read"}}},[a("i",{staticClass:"fas fa-chevron-left fa-lg"})])]),t._v(" "),t._m(3),t._v(" "),t._m(4)]),t._v(" "),a("ul",{staticClass:"list-group list-group-flush dm-wrapper",staticStyle:{height:"698px"}},[a("div",{staticClass:"list-group-item media border-bottom"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.hideAvatars,expression:"hideAvatars"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch0"},domProps:{checked:Array.isArray(t.hideAvatars)?t._i(t.hideAvatars,null)>-1:t.hideAvatars},on:{change:function(e){var a=t.hideAvatars,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&(t.hideAvatars=a.concat([null])):n>-1&&(t.hideAvatars=a.slice(0,n).concat(a.slice(n+1)))}else t.hideAvatars=i}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch0"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tHide Avatars\n\t\t\t\t\t\t")])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.hideTimestamps,expression:"hideTimestamps"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch1"},domProps:{checked:Array.isArray(t.hideTimestamps)?t._i(t.hideTimestamps,null)>-1:t.hideTimestamps},on:{change:function(e){var a=t.hideTimestamps,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&(t.hideTimestamps=a.concat([null])):n>-1&&(t.hideTimestamps=a.slice(0,n).concat(a.slice(n+1)))}else t.hideTimestamps=i}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch1"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tHide Timestamps\n\t\t\t\t\t\t")])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.largerText,expression:"largerText"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch2"},domProps:{checked:Array.isArray(t.largerText)?t._i(t.largerText,null)>-1:t.largerText},on:{change:function(e){var a=t.largerText,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&(t.largerText=a.concat([null])):n>-1&&(t.largerText=a.slice(0,n).concat(a.slice(n+1)))}else t.largerText=i}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch2"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tLarger Text\n\t\t\t\t\t\t")])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom d-flex align-items-center"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.mutedNotifications,expression:"mutedNotifications"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch4"},domProps:{checked:Array.isArray(t.mutedNotifications)?t._i(t.mutedNotifications,null)>-1:t.mutedNotifications},on:{change:function(e){var a=t.mutedNotifications,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&(t.mutedNotifications=a.concat([null])):n>-1&&(t.mutedNotifications=a.slice(0,n).concat(a.slice(n+1)))}else t.mutedNotifications=i}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch4"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tMute Notifications \n\t\t\t\t\t\t\t"),a("p",{staticClass:"small mb-0"},[t._v("You will not receive any direct message notifications from "),a("strong",[t._v(t._s(t.thread.username))]),t._v(".")])])])])])])]):t._e(),t._v(" "),a("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[a("div",{staticClass:"list-group text-center"},[t.ctxContext&&"photo"==t.ctxContext.type?a("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-dark",on:{click:function(e){return t.viewOriginal()}}},[t._v("View Original")]):t._e(),t._v(" "),t.ctxContext&&"video"==t.ctxContext.type?a("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-dark",on:{click:function(e){return t.viewOriginal()}}},[t._v("Play")]):t._e(),t._v(" "),t.ctxContext&&"link"==t.ctxContext.type?a("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.clickLink()}}},[a("p",{staticClass:"mb-0",staticStyle:{"font-size":"12px"}},[t._v("\n\t\t\t\tNavigate to \n\t\t\t")]),t._v(" "),a("p",{staticClass:"mb-0 font-weight-bold text-dark"},[t._v("\n\t\t\t\t"+t._s(this.ctxContext.meta.domain)+"\n\t\t\t")])]):t._e(),t._v(" "),!t.ctxContext||"text"!=t.ctxContext.type&&"emoji"!=t.ctxContext.type&&"link"!=t.ctxContext.type?t._e():a("div",{staticClass:"list-group-item rounded cursor-pointer text-dark",on:{click:function(e){return t.copyText()}}},[t._v("Copy")]),t._v(" "),t.ctxContext&&!t.ctxContext.isAuthor?a("div",{staticClass:"list-group-item rounded cursor-pointer text-muted",on:{click:function(e){return t.reportMessage()}}},[t._v("Report")]):t._e(),t._v(" "),t.ctxContext&&t.ctxContext.isAuthor?a("div",{staticClass:"list-group-item rounded cursor-pointer text-muted",on:{click:function(e){return t.deleteMessage()}}},[t._v("Delete")]):t._e(),t._v(" "),a("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])])],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("a",{staticClass:"text-muted",attrs:{href:"/account/direct"}},[e("i",{staticClass:"fas fa-chevron-left fa-lg"})])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{staticClass:"d-block bg-primary d-flex align-items-center justify-content-center",staticStyle:{width:"200px",height:"110px","border-radius":"20px"}},[a("div",{staticClass:"text-center"},[a("p",{staticClass:"mb-1"},[a("i",{staticClass:"fas fa-play fa-2x text-white"})]),t._v(" "),a("p",{staticClass:"mb-0 small font-weight-bold text-white"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tPlay\n\t\t\t\t\t\t\t\t\t\t\t")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{staticClass:"rounded-pill bg-primary d-flex align-items-center justify-content-center",staticStyle:{width:"200px",height:"110px"}},[a("div",{staticClass:"text-center"},[a("p",{staticClass:"mb-1"},[a("i",{staticClass:"fas fa-play fa-2x text-white"})]),t._v(" "),a("p",{staticClass:"mb-0 small font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tPlay\n\t\t\t\t\t\t\t\t\t\t\t")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",[a("p",{staticClass:"mb-0 lead font-weight-bold py-2"},[t._v("Message Settings")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-lighter",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:"Have a nice day!"}},[e("i",{staticClass:"far fa-smile fa-lg"})])}]}},t=>{t.O(0,[898],(()=>{return e=4899,t(t.s=e);var e}));t.O()}]); \ No newline at end of file diff --git a/public/js/discover-mh8cayo8d.js b/public/js/discover-ojtjadoml.js similarity index 99% rename from public/js/discover-mh8cayo8d.js rename to public/js/discover-ojtjadoml.js index bff88dd3e..60bcc1682 100644 --- a/public/js/discover-mh8cayo8d.js +++ b/public/js/discover-ojtjadoml.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[902],{1411:(t,e,a)=>{a.r(e),a.d(e,{default:()=>f});var i=a(42755),s=a(88231),n=a(78375),r=a(56899),o=a(92614),l=a(51436),d=a(53343),c=a(89601);const f={components:{drawer:i.default,sidebar:s.default,rightbar:n.default,discover:r.default,"news-slider":o.default,"discover-spotlight":l.default,"daily-trending":d.default,"grid-card":c.default},data:function(){return{isLoaded:!1,profile:void 0,config:{},tab:"index",popularAccounts:[],followingIndex:void 0}},updated:function(){},mounted:function(){this.profile=window._sharedData.user,this.fetchConfig()},methods:{fetchConfig:function(){var t=this;axios.get("/api/pixelfed/v2/discover/meta").then((function(e){t.config=e.data,t.isLoaded=!0,window._sharedData.discoverMeta=e.data}))},fetchPopularAccounts:function(){},followProfile:function(t){var e=this;event.currentTarget.blur(),this.followingIndex=t;var a=this.popularAccounts[t].id;axios.post("/api/v1/accounts/"+a+"/follow").then((function(a){e.followingIndex=void 0,e.popularAccounts.splice(t,1)})).catch((function(t){e.followingIndex=void 0,swal("Oops!","An error occured when attempting to follow this account.","error")}))},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},toggleTab:function(t){this.tab=t,setTimeout((function(){window.scrollTo({top:0,behavior:"smooth"})}),300)},openManageModal:function(){event.currentTarget.blur(),swal("Settings","Discover settings here","info")}}}},20581:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{isLoaded:!1,initialFetch:!1,trending:[]}},mounted:function(){this.initialFetch||this.fetchTrending()},methods:{fetchTrending:function(){var t=this;axios.get("/api/pixelfed/v2/discover/posts/trending",{params:{range:"daily"}}).then((function(e){t.trending=e.data.filter((function(t){return"photo"===t.pf_type})).slice(0,9),t.isLoaded=!0,t.initialFetch=!0}))},gotoPost:function(t){this.$router.push("/i/web/post/"+t)},viewMore:function(){this.$emit("btn-click","trending")}}}},79383:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{isLoaded:!1}},mounted:function(){var t=this;setTimeout((function(){t.isLoaded=!0}),1e3)}}},86453:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={props:{small:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},subtitle:{type:String},title:{type:String},buttonText:{type:String},buttonLink:{type:String},buttonEvent:{type:Boolean,default:!1},iconClass:{type:String}},methods:{handleLink:function(){1!=this.buttonEvent?this.buttonLink&&null!=this.buttonLink?this.$router.push(this.buttonLink):swal("Oops","This is embarassing, we cannot redirect you to the proper page at the moment","warning"):this.$emit("btn-click")}}}},69812:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={}},27908:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={props:{profile:{type:Object}},data:function(){return{loading:!0,trending:[],range:"daily",breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"Trending",active:!0}]}},mounted:function(){this.loadTrending()},methods:{fetchData:function(){var t=this;axios.get("/api/pixelfed/v2/discover/posts").then((function(e){t.posts=e.data.posts.filter((function(t){return null!=t})),t.recommendedLoading=!1}))},loadTrending:function(){var t=this;this.loading=!0,axios.get("/api/pixelfed/v2/discover/posts/trending",{params:{range:this.range}}).then((function(e){var a=e.data.filter((function(t){return null!==t}));t.trending=a.filter((function(t){return 0==t.sensitive})),"daily"==t.range&&0==a.length&&(t.range="yearly",t.loadTrending()),t.loading=!1}))},formatCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},rangeToggle:function(t){event.currentTarget.blur(),this.range=t,this.loadTrending()}}}},97584:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(23645),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,'.card-img[data-v-b270da6e]{position:relative}.card-img img[data-v-b270da6e]{border-radius:10px;height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.card-img[data-v-b270da6e]:after,.card-img[data-v-b270da6e]:before{background:rgba(0,0,0,.2);border-radius:10px;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:2}.card-img .title[data-v-b270da6e]{bottom:5px;color:#fff;font-size:40px;font-weight:700;left:10px;position:absolute;z-index:3}.card-img.big img[data-v-b270da6e]{height:300px}.font-default[data-v-b270da6e]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.bg-stellar[data-v-b270da6e]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.bg-berry[data-v-b270da6e]{background:#5433ff;background:linear-gradient(90deg,#acb6e5,#86fde8)}.bg-midnight[data-v-b270da6e]{background:#232526;background:linear-gradient(90deg,#414345,#232526)}.media-body[data-v-b270da6e]{margin-right:.5rem}.avatar[data-v-b270da6e]{border-radius:15px}.username[data-v-b270da6e]{word-wrap:break-word!important;font-size:14px;line-height:14px;margin-bottom:2px;word-break:break-word!important}.display-name[data-v-b270da6e]{font-size:12px}.display-name[data-v-b270da6e],.follower-count[data-v-b270da6e]{word-wrap:break-word!important;margin-bottom:0;word-break:break-word!important}.follower-count[data-v-b270da6e]{font-size:10px}.follow[data-v-b270da6e]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}',""]);const n=s},98116:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(23645),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".discover-daily-trending .bg-stellar{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-daily-trending .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}",""]);const n=s},51153:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(23645),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".discover-spotlight{overflow:hidden}.discover-spotlight .card-body{min-height:322px}.discover-spotlight .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-spotlight .bg-stellar{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-spotlight .bg-berry{background:#5433ff;background:linear-gradient(90deg,#acb6e5,#86fde8)}.discover-spotlight .bg-midnight{background:#232526;background:linear-gradient(90deg,#414345,#232526)}",""]);const n=s},3540:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(23645),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".discover-grid-card{width:100%}.discover-grid-card-body{background:#f8f9fa;border-radius:8px;color:#212529;overflow:hidden;padding:3rem 3rem 0;text-align:center;width:100%}.discover-grid-card-body .section-copy{margin-bottom:1rem;margin-top:1rem;padding-bottom:1rem;padding-top:1rem}.discover-grid-card-body .section-copy .subtitle{color:#6c757d;font-size:16px;margin-bottom:0}.discover-grid-card-body .section-copy .btn,.discover-grid-card-body .section-copy .subtitle,.discover-grid-card-body .section-copy .title{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-grid-card-body .section-icon{align-items:center;background:#232526;background:linear-gradient(90deg,#414345,#232526);border-radius:21px 21px 0 0;box-shadow:0 .125rem .25rem rgba(0,0,0,.08)!important;display:flex;height:300px;justify-content:center;margin-left:auto;margin-right:auto;width:80%}.discover-grid-card-body .section-icon i{color:#fff;font-size:10rem}.discover-grid-card-body.small .section-icon{height:120px}.discover-grid-card-body.small .section-icon i{font-size:4rem}.discover-grid-card-body.dark{background:#232526;background:linear-gradient(90deg,#414345,#232526);color:#fff}.discover-grid-card-body.dark .section-icon{background:#f8f9fa;color:#fff}.discover-grid-card-body.dark .section-icon i{color:#232526}.discover-grid-card-body.dark .btn-outline-dark{border-color:#f8f9fa;color:#f8f9fa}",""]);const n=s},70741:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(23645),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".discover-news-slider{background-color:#e0f2fe;position:relative}",""]);const n=s},47934:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(23645),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".discover-feed-component .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-feed-component .info-overlay,.discover-feed-component .square-next .info-overlay-text,.discover-feed-component .square-next img{border-radius:15px!important}.discover-feed-component .trending-range .btn:hover:not(.btn-danger){background-color:#fca5a5}.discover-feed-component .info-overlay-text-field{font-size:13.5px;margin-bottom:2px}@media(min-width:768px){.discover-feed-component .info-overlay-text-field{font-size:20px;margin-bottom:15px}}",""]);const n=s},64536:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(97584),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},98401:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(98116),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},76288:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(51153),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},68584:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(3540),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},30543:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(70741),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},44409:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(47934),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},14235:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(9977),s=a(71008),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(98141);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,"b270da6e",null).exports},53343:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(20667),s=a(30657),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(50234);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},51436:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(39294),s=a(37301),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(2918);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},89601:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(73252),s=a(27470),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(63253);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},92614:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(99531),s=a(15115),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(10546);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},56899:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(36818),s=a(13728),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(12628);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},71008:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(1411),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},30657:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(20581),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},37301:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(79383),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},27470:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(86453),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},15115:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(69812),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},13728:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(27908),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},98141:(t,e,a)=>{a.r(e);var i=a(64536),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},50234:(t,e,a)=>{a.r(e);var i=a(98401),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},2918:(t,e,a)=>{a.r(e);var i=a(76288),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},63253:(t,e,a)=>{a.r(e);var i=a(68584),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},10546:(t,e,a)=>{a.r(e);var i=a(30543),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},12628:(t,e,a)=>{a.r(e);var i=a(44409),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},9977:(t,e,a)=>{a.r(e);var i=a(46160),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},20667:(t,e,a)=>{a.r(e);var i=a(17842),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},39294:(t,e,a)=>{a.r(e);var i=a(89764),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},73252:(t,e,a)=>{a.r(e);var i=a(18645),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},99531:(t,e,a)=>{a.r(e);var i=a(62436),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},36818:(t,e,a)=>{a.r(e);var i=a(42829),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},46160:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"web-wrapper"},[t.isLoaded?a("div",{staticClass:"container-fluid mt-3"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 col-lg-3"},[a("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),"index"==t.tab?a("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[t.profile.is_admin?a("div",{staticClass:"d-md-flex my-md-3"},[a("grid-card",{attrs:{dark:!0,title:"Hello "+t.profile.username,subtitle:"Welcome to the new Discover experience! Only admins can see this","button-text":"Manage Discover Settings","button-link":"/i/web/discover/settings","icon-class":"fal fa-cog",small:!0}})],1):t._e(),t._v(" "),a("daily-trending",{on:{"btn-click":function(e){return t.toggleTab("trending")}}}),t._v(" "),a("div",{staticClass:"d-md-flex my-md-3"},[t.config.hashtags.enabled?a("grid-card",{attrs:{dark:!0,title:"My Hashtags",subtitle:"Explore posts tagged with hashtags you follow","button-text":"Explore Posts","button-link":"/i/web/discover/my-hashtags","icon-class":"fal fa-hashtag",small:!1}}):t._e(),t._v(" "),t.config.memories.enabled?a("grid-card",{attrs:{title:"My Memories",subtitle:"A distant look back","button-text":"View Memories","button-link":"/i/web/discover/my-memories","icon-class":"fal fa-history",small:!1}}):t._e()],1),t._v(" "),a("div",{staticClass:"d-md-flex my-md-3"},[t.config.insights.enabled?a("grid-card",{attrs:{title:"Account Insights",subtitle:"Get a rich overview of your account activity and interactions","button-text":"View Account Insights","icon-class":"fal fa-user-circle","button-link":"/i/web/discover/account-insights",small:!1}}):t._e(),t._v(" "),t.config.friends.enabled?a("grid-card",{attrs:{dark:!0,title:"Find Friends",subtitle:"Find accounts to follow based on common interests","button-text":"Find Friends & Followers","button-link":"/i/web/discover/find-friends","icon-class":"fal fa-user-plus",small:!1}}):t._e()],1),t._v(" "),a("div",{staticClass:"d-md-flex my-md-3"},[t.config.server.enabled&&t.config.server.domains&&t.config.server.domains.length?a("grid-card",{attrs:{dark:!0,title:"Server Timelines",subtitle:"Browse timelines of a specific remote instance","button-text":"Browse Server Feeds","icon-class":"fal fa-list","button-link":"/i/web/discover/server-timelines",small:!1}}):t._e()],1)],1):"trending"==t.tab?a("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[a("discover",{attrs:{profile:t.profile}})],1):"popular-places"==t.tab?a("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[t._m(0)]):t._e()]),t._v(" "),a("drawer")],1):t._e()])},s=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"mt-3 mb-5 section-explore"},[a("div",{staticClass:"profile-timeline"},[a("div",{staticClass:"row p-0 mt-5"},[a("div",{staticClass:"col-12 mb-4 d-flex justify-content-between align-items-center"},[a("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0 font-default"},[t._v("Popular Places")]),t._v(" "),a("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0 font-default"},[t._v("Popular Places")])])])]),t._v(" "),a("div",{staticClass:"row mt-5"},[a("div",{staticClass:"col-12 col-md-12 mb-3"},[a("div",{staticClass:"card-img big"},[a("img",{attrs:{src:"/img/places/nyc.jpg"}}),t._v(" "),a("div",{staticClass:"title font-default"},[t._v("New York City")])])]),t._v(" "),a("div",{staticClass:"col-12 col-md-6 mb-3"},[a("div",{staticClass:"card-img"},[a("img",{attrs:{src:"/img/places/edmonton.jpg"}}),t._v(" "),a("div",{staticClass:"title font-default"},[t._v("Edmonton")])])]),t._v(" "),a("div",{staticClass:"col-12 col-md-6 mb-3"},[a("div",{staticClass:"card-img"},[a("img",{attrs:{src:"/img/places/paris.jpg"}}),t._v(" "),a("div",{staticClass:"title font-default"},[t._v("Paris")])])]),t._v(" "),a("div",{staticClass:"col-12 col-md-4 mb-3"},[a("div",{staticClass:"card-img"},[a("img",{attrs:{src:"/img/places/london.jpg"}}),t._v(" "),a("div",{staticClass:"title font-default"},[t._v("London")])])]),t._v(" "),a("div",{staticClass:"col-12 col-md-4 mb-3"},[a("div",{staticClass:"card-img"},[a("img",{attrs:{src:"/img/places/vancouver.jpg"}}),t._v(" "),a("div",{staticClass:"title font-default"},[t._v("Vancouver")])])]),t._v(" "),a("div",{staticClass:"col-12 col-md-4 mb-3"},[a("div",{staticClass:"card-img"},[a("img",{attrs:{src:"/img/places/toronto.jpg"}}),t._v(" "),a("div",{staticClass:"title font-default"},[t._v("Toronto")])])])])])}]},17842:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"discover-daily-trending"},[a("div",{staticClass:"card bg-stellar"},[a("div",{staticClass:"card-body m-5"},[a("div",{staticClass:"row d-flex align-items-center"},[a("div",{staticClass:"col-12 col-md-5"},[a("p",{staticClass:"font-default text-light mb-0"},[t._v("Popular and trending posts")]),t._v(" "),a("h1",{staticClass:"display-4 font-default text-white",staticStyle:{"font-weight":"700"}},[t._v("Daily Trending")]),t._v(" "),a("button",{staticClass:"btn btn-outline-light rounded-pill",on:{click:function(e){return t.viewMore()}}},[t._v("View more trending posts")])]),t._v(" "),a("div",{staticClass:"col-12 col-md-7"},[t.isLoaded?a("div",{staticClass:"row"},t._l(t.trending,(function(e,i){return a("div",{staticClass:"col-4"},[a("a",{attrs:{href:e.url},on:{click:function(a){return a.preventDefault(),t.gotoPost(e.id)}}},[a("img",{staticClass:"shadow m-1",staticStyle:{"object-fit":"cover","border-radius":"8px"},attrs:{src:e.media_attachments[0].url,width:"170",height:"170"}})])])})),0):a("div",{staticClass:"row"},[a("div",{staticClass:"col-12 d-flex justify-content-center"},[a("b-spinner",{attrs:{type:"grow",variant:"light"}})],1)])])])])])])},s=[]},89764:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"discover-spotlight"},[a("div",{staticClass:"card bg-dark text-white"},[a("div",{staticClass:"card-body my-5 p-5 w-100 h-100 d-flex justify-content-center align-items-center"},[a("transition",{attrs:{"enter-active-class":"animate__animated animate__fadeInDownBig","leave-active-class":"animate__animated animate__fadeOutDownBig",mode:"out-in"}},[t.isLoaded?a("div",{staticClass:"row"},[a("div",{staticClass:"col-5"},[a("h1",{staticClass:"display-3 font-default mb-3",staticStyle:{"line-height":"1","font-weight":"600"}},[t._v("\n\t\t\t\t\t\t\tSpotlight\n\t\t\t\t\t\t")]),t._v(" "),a("h1",{staticClass:"display-5 font-default",staticStyle:{"line-height":"1"}},[a("span",{staticClass:"text-muted",staticStyle:{"line-height":"0.8","font-weight":"200","letter-spacing":"-1.2px"}},[t._v("\n\t\t\t\t\t\t\t\tCommunity curated\n\t\t\t\t\t\t\t\tcollection of creators\n\t\t\t\t\t\t\t")])]),t._v(" "),a("p",{staticClass:"lead font-default mt-4"},[t._v("This weeks collection is curated by "),a("span",{staticClass:"primary"},[t._v("@dansup")])])]),t._v(" "),a("div",{staticClass:"col-7 d-flex justify-content-between"},[a("div",{staticClass:"text-center mr-4"},[a("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:"https://pixelfed.test/storage/avatars/321493203255693312/skvft7.jpg?v=33",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';",width:"160",height:"160"}}),t._v(" "),a("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])]),t._v(" "),a("div",{staticClass:"text-center mr-4"},[a("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:"https://pixelfed.test/storage/avatars/321493203255693312/skvft7.jpg?v=33",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';",width:"160",height:"160"}}),t._v(" "),a("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])]),t._v(" "),a("div",{staticClass:"text-center"},[a("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:"https://pixelfed.test/storage/avatars/321493203255693312/skvft7.jpg?v=33",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';",width:"160",height:"160"}}),t._v(" "),a("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])])])]):t._e()]),t._v(" "),t.isLoaded?t._e():a("div",{},[a("b-spinner",{attrs:{type:"grow"}})],1)],1)])])},s=[]},18645:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"discover-grid-card"},[a("div",{staticClass:"discover-grid-card-body",class:{dark:t.dark,small:t.small}},[a("div",{staticClass:"section-copy"},[a("p",{staticClass:"subtitle"},[t._v(t._s(t.subtitle))]),t._v(" "),a("h1",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),t.buttonText?a("button",{staticClass:"btn btn-outline-dark rounded-pill py-1",on:{click:function(e){return e.preventDefault(),t.handleLink()}}},[t._v(t._s(t.buttonText))]):t._e()]),t._v(" "),a("div",{staticClass:"section-icon"},[a("i",{class:t.iconClass})])])])},s=[]},62436:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"rounded-3 overflow-hidden discover-news-slider"},[a("div",{staticClass:"row align-items-center"},[t._m(0),t._v(" "),a("div",{staticClass:"col-lg-6 col-md-7 offset-xl-1"},[a("div",{staticClass:"position-relative d-flex flex-column align-items-center justify-content-center h-100"},[a("svg",{staticClass:"d-none d-md-block position-absolute top-50 start-0 translate-middle-y",staticStyle:{"min-width":"868px"},attrs:{width:"868",height:"868",viewBox:"0 0 868 868",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("circle",{attrs:{opacity:"0.15",cx:"434",cy:"434",r:"434",fill:"#7dd3fc"}})]),t._v(" "),t._m(1)])])]),t._v(" "),t._m(2)])},s=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"col-xl-4 col-md-5 offset-lg-1"},[a("div",{staticClass:"pt-5 pb-3 pb-md-5 px-4 px-lg-0"},[a("p",{staticClass:"lead mb-3",staticStyle:{"font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","letter-spacing":"-0.7px","font-weight":"300","font-size":"20px"}},[t._v("Introducing")]),t._v(" "),a("h2",{staticClass:"h1 pb-0 mb-3",staticStyle:{"font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","letter-spacing":"-1px","font-weight":"700"}},[t._v("Emoji "),a("span",{staticClass:"primary"},[t._v("Reactions")])]),t._v(" "),a("p",{staticClass:"lead",staticStyle:{"font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","letter-spacing":"-0.7px","font-weight":"400","font-size":"17px","line-height":"15px"}},[t._v("\n\t\t\t\t\tA new way to interact with content,"),a("br"),t._v(" now available!\n\t\t\t\t")]),t._v(" "),a("a",{staticClass:"btn btn-primary primary btn-sm",attrs:{href:"#"}},[t._v("Learn more "),a("i",{staticClass:"far fa-chevron-right fa-sm ml-2"})])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"d-flex"},[a("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/hushed_face.gif",width:"100",alt:"Illustration"}}),t._v(" "),a("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/thumbs_up.gif",width:"100",alt:"Illustration"}}),t._v(" "),a("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/sparkling_heart.gif",width:"100",alt:"Illustration"}})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{position:"absolute",left:"50%",transform:"translateX(-50%)",bottom:"10px"}},[a("div",{staticClass:"d-flex"},[a("button",{staticClass:"btn btn-link p-0"},[a("i",{staticClass:"far fa-dot-circle"})]),t._v(" "),a("button",{staticClass:"btn btn-link p-0 mx-2"},[a("i",{staticClass:"far fa-circle"})]),t._v(" "),a("button",{staticClass:"btn btn-link p-0"},[a("i",{staticClass:"far fa-circle"})])])])}]},42829:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"discover-feed-component"},[a("section",{staticClass:"mt-3 mb-5 section-explore"},[a("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),a("div",{staticClass:"profile-timeline"},[a("div",{staticClass:"row p-0 mt-5"},[a("div",{staticClass:"col-12 mb-4 d-flex justify-content-between align-items-center"},[a("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0 font-default"},[t._v("Trending")]),t._v(" "),a("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0 font-default"},[t._v("Trending")]),t._v(" "),a("div",[a("div",{staticClass:"btn-group trending-range"},[a("button",{class:"daily"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("daily")}}},[t._v("Today")]),t._v(" "),a("button",{class:"monthly"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("monthly")}}},[t._v("This month")]),t._v(" "),a("button",{class:"yearly"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("yearly")}}},[t._v("This year")])])])])]),t._v(" "),t.loading?a("div",{staticClass:"row p-0 px-lg-3"},[a("div",{staticClass:"col-12 d-flex align-items-center justify-content-center",staticStyle:{"min-height":"40vh"}},[a("b-spinner",{attrs:{size:"lg"}})],1)]):a("div",{staticClass:"row p-0 px-lg-3"},t._l(t.trending,(function(e,i){return t.trending.length?a("div",{staticClass:"col-6 col-lg-4 col-xl-3 p-1"},[a("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:e.url},on:{click:function(a){return a.preventDefault(),t.goToPost(e)}}},[a("div",{staticClass:"square square-next"},[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].preview_url}})],1),t._v(" "),a("div",{staticClass:"info-overlay-text"},[a("div",{staticClass:"text-white m-auto"},[a("p",{staticClass:"info-overlay-text-field font-weight-bold"},[a("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),a("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.favourites_count)))])]),t._v(" "),a("p",{staticClass:"info-overlay-text-field font-weight-bold"},[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(" "),a("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[a("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),a("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reblogs_count)))])])])])])])]):a("div",{staticClass:"col-12 d-flex align-items-center justify-content-center bg-light border",staticStyle:{"min-height":"40vh"}},[a("div",{staticClass:"h2"},[t._v("No posts found :(")])])})),0)])],1)])},s=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}]}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[417],{1411:(t,e,a)=>{a.r(e),a.d(e,{default:()=>f});var i=a(42755),s=a(88231),n=a(78375),r=a(56899),o=a(92614),l=a(51436),d=a(53343),c=a(89601);const f={components:{drawer:i.default,sidebar:s.default,rightbar:n.default,discover:r.default,"news-slider":o.default,"discover-spotlight":l.default,"daily-trending":d.default,"grid-card":c.default},data:function(){return{isLoaded:!1,profile:void 0,config:{},tab:"index",popularAccounts:[],followingIndex:void 0}},updated:function(){},mounted:function(){this.profile=window._sharedData.user,this.fetchConfig()},methods:{fetchConfig:function(){var t=this;axios.get("/api/pixelfed/v2/discover/meta").then((function(e){t.config=e.data,t.isLoaded=!0,window._sharedData.discoverMeta=e.data}))},fetchPopularAccounts:function(){},followProfile:function(t){var e=this;event.currentTarget.blur(),this.followingIndex=t;var a=this.popularAccounts[t].id;axios.post("/api/v1/accounts/"+a+"/follow").then((function(a){e.followingIndex=void 0,e.popularAccounts.splice(t,1)})).catch((function(t){e.followingIndex=void 0,swal("Oops!","An error occured when attempting to follow this account.","error")}))},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},toggleTab:function(t){this.tab=t,setTimeout((function(){window.scrollTo({top:0,behavior:"smooth"})}),300)},openManageModal:function(){event.currentTarget.blur(),swal("Settings","Discover settings here","info")}}}},20581:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{isLoaded:!1,initialFetch:!1,trending:[]}},mounted:function(){this.initialFetch||this.fetchTrending()},methods:{fetchTrending:function(){var t=this;axios.get("/api/pixelfed/v2/discover/posts/trending",{params:{range:"daily"}}).then((function(e){t.trending=e.data.filter((function(t){return"photo"===t.pf_type})).slice(0,9),t.isLoaded=!0,t.initialFetch=!0}))},gotoPost:function(t){this.$router.push("/i/web/post/"+t)},viewMore:function(){this.$emit("btn-click","trending")}}}},79383:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{isLoaded:!1}},mounted:function(){var t=this;setTimeout((function(){t.isLoaded=!0}),1e3)}}},86453:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={props:{small:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},subtitle:{type:String},title:{type:String},buttonText:{type:String},buttonLink:{type:String},buttonEvent:{type:Boolean,default:!1},iconClass:{type:String}},methods:{handleLink:function(){1!=this.buttonEvent?this.buttonLink&&null!=this.buttonLink?this.$router.push(this.buttonLink):swal("Oops","This is embarassing, we cannot redirect you to the proper page at the moment","warning"):this.$emit("btn-click")}}}},69812:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={}},27908:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={props:{profile:{type:Object}},data:function(){return{loading:!0,trending:[],range:"daily",breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"Trending",active:!0}]}},mounted:function(){this.loadTrending()},methods:{fetchData:function(){var t=this;axios.get("/api/pixelfed/v2/discover/posts").then((function(e){t.posts=e.data.posts.filter((function(t){return null!=t})),t.recommendedLoading=!1}))},loadTrending:function(){var t=this;this.loading=!0,axios.get("/api/pixelfed/v2/discover/posts/trending",{params:{range:this.range}}).then((function(e){var a=e.data.filter((function(t){return null!==t}));t.trending=a.filter((function(t){return 0==t.sensitive})),"daily"==t.range&&0==a.length&&(t.range="yearly",t.loadTrending()),t.loading=!1}))},formatCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},rangeToggle:function(t){event.currentTarget.blur(),this.range=t,this.loadTrending()}}}},97584:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(23645),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,'.card-img[data-v-b270da6e]{position:relative}.card-img img[data-v-b270da6e]{border-radius:10px;height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.card-img[data-v-b270da6e]:after,.card-img[data-v-b270da6e]:before{background:rgba(0,0,0,.2);border-radius:10px;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:2}.card-img .title[data-v-b270da6e]{bottom:5px;color:#fff;font-size:40px;font-weight:700;left:10px;position:absolute;z-index:3}.card-img.big img[data-v-b270da6e]{height:300px}.font-default[data-v-b270da6e]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.bg-stellar[data-v-b270da6e]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.bg-berry[data-v-b270da6e]{background:#5433ff;background:linear-gradient(90deg,#acb6e5,#86fde8)}.bg-midnight[data-v-b270da6e]{background:#232526;background:linear-gradient(90deg,#414345,#232526)}.media-body[data-v-b270da6e]{margin-right:.5rem}.avatar[data-v-b270da6e]{border-radius:15px}.username[data-v-b270da6e]{word-wrap:break-word!important;font-size:14px;line-height:14px;margin-bottom:2px;word-break:break-word!important}.display-name[data-v-b270da6e]{font-size:12px}.display-name[data-v-b270da6e],.follower-count[data-v-b270da6e]{word-wrap:break-word!important;margin-bottom:0;word-break:break-word!important}.follower-count[data-v-b270da6e]{font-size:10px}.follow[data-v-b270da6e]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}',""]);const n=s},98116:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(23645),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".discover-daily-trending .bg-stellar{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-daily-trending .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}",""]);const n=s},51153:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(23645),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".discover-spotlight{overflow:hidden}.discover-spotlight .card-body{min-height:322px}.discover-spotlight .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-spotlight .bg-stellar{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-spotlight .bg-berry{background:#5433ff;background:linear-gradient(90deg,#acb6e5,#86fde8)}.discover-spotlight .bg-midnight{background:#232526;background:linear-gradient(90deg,#414345,#232526)}",""]);const n=s},3540:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(23645),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".discover-grid-card{width:100%}.discover-grid-card-body{background:#f8f9fa;border-radius:8px;color:#212529;overflow:hidden;padding:3rem 3rem 0;text-align:center;width:100%}.discover-grid-card-body .section-copy{margin-bottom:1rem;margin-top:1rem;padding-bottom:1rem;padding-top:1rem}.discover-grid-card-body .section-copy .subtitle{color:#6c757d;font-size:16px;margin-bottom:0}.discover-grid-card-body .section-copy .btn,.discover-grid-card-body .section-copy .subtitle,.discover-grid-card-body .section-copy .title{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-grid-card-body .section-icon{align-items:center;background:#232526;background:linear-gradient(90deg,#414345,#232526);border-radius:21px 21px 0 0;box-shadow:0 .125rem .25rem rgba(0,0,0,.08)!important;display:flex;height:300px;justify-content:center;margin-left:auto;margin-right:auto;width:80%}.discover-grid-card-body .section-icon i{color:#fff;font-size:10rem}.discover-grid-card-body.small .section-icon{height:120px}.discover-grid-card-body.small .section-icon i{font-size:4rem}.discover-grid-card-body.dark{background:#232526;background:linear-gradient(90deg,#414345,#232526);color:#fff}.discover-grid-card-body.dark .section-icon{background:#f8f9fa;color:#fff}.discover-grid-card-body.dark .section-icon i{color:#232526}.discover-grid-card-body.dark .btn-outline-dark{border-color:#f8f9fa;color:#f8f9fa}",""]);const n=s},70741:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(23645),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".discover-news-slider{background-color:#e0f2fe;position:relative}",""]);const n=s},47934:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(23645),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".discover-feed-component .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-feed-component .info-overlay,.discover-feed-component .square-next .info-overlay-text,.discover-feed-component .square-next img{border-radius:15px!important}.discover-feed-component .trending-range .btn:hover:not(.btn-danger){background-color:#fca5a5}.discover-feed-component .info-overlay-text-field{font-size:13.5px;margin-bottom:2px}@media(min-width:768px){.discover-feed-component .info-overlay-text-field{font-size:20px;margin-bottom:15px}}",""]);const n=s},64536:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(97584),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},98401:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(98116),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},76288:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(51153),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},68584:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(3540),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},30543:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(70741),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},44409:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(47934),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},14235:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(9977),s=a(71008),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(98141);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,"b270da6e",null).exports},53343:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(20667),s=a(30657),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(50234);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},51436:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(39294),s=a(37301),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(2918);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},89601:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(73252),s=a(27470),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(63253);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},92614:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(99531),s=a(15115),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(10546);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},56899:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(36818),s=a(13728),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(12628);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},71008:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(1411),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},30657:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(20581),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},37301:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(79383),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},27470:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(86453),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},15115:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(69812),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},13728:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(27908),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},98141:(t,e,a)=>{a.r(e);var i=a(64536),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},50234:(t,e,a)=>{a.r(e);var i=a(98401),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},2918:(t,e,a)=>{a.r(e);var i=a(76288),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},63253:(t,e,a)=>{a.r(e);var i=a(68584),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},10546:(t,e,a)=>{a.r(e);var i=a(30543),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},12628:(t,e,a)=>{a.r(e);var i=a(44409),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},9977:(t,e,a)=>{a.r(e);var i=a(46160),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},20667:(t,e,a)=>{a.r(e);var i=a(17842),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},39294:(t,e,a)=>{a.r(e);var i=a(89764),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},73252:(t,e,a)=>{a.r(e);var i=a(18645),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},99531:(t,e,a)=>{a.r(e);var i=a(62436),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},36818:(t,e,a)=>{a.r(e);var i=a(42829),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},46160:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"web-wrapper"},[t.isLoaded?a("div",{staticClass:"container-fluid mt-3"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 col-lg-3"},[a("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),"index"==t.tab?a("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[t.profile.is_admin?a("div",{staticClass:"d-md-flex my-md-3"},[a("grid-card",{attrs:{dark:!0,title:"Hello "+t.profile.username,subtitle:"Welcome to the new Discover experience! Only admins can see this","button-text":"Manage Discover Settings","button-link":"/i/web/discover/settings","icon-class":"fal fa-cog",small:!0}})],1):t._e(),t._v(" "),a("daily-trending",{on:{"btn-click":function(e){return t.toggleTab("trending")}}}),t._v(" "),a("div",{staticClass:"d-md-flex my-md-3"},[t.config.hashtags.enabled?a("grid-card",{attrs:{dark:!0,title:"My Hashtags",subtitle:"Explore posts tagged with hashtags you follow","button-text":"Explore Posts","button-link":"/i/web/discover/my-hashtags","icon-class":"fal fa-hashtag",small:!1}}):t._e(),t._v(" "),t.config.memories.enabled?a("grid-card",{attrs:{title:"My Memories",subtitle:"A distant look back","button-text":"View Memories","button-link":"/i/web/discover/my-memories","icon-class":"fal fa-history",small:!1}}):t._e()],1),t._v(" "),a("div",{staticClass:"d-md-flex my-md-3"},[t.config.insights.enabled?a("grid-card",{attrs:{title:"Account Insights",subtitle:"Get a rich overview of your account activity and interactions","button-text":"View Account Insights","icon-class":"fal fa-user-circle","button-link":"/i/web/discover/account-insights",small:!1}}):t._e(),t._v(" "),t.config.friends.enabled?a("grid-card",{attrs:{dark:!0,title:"Find Friends",subtitle:"Find accounts to follow based on common interests","button-text":"Find Friends & Followers","button-link":"/i/web/discover/find-friends","icon-class":"fal fa-user-plus",small:!1}}):t._e()],1),t._v(" "),a("div",{staticClass:"d-md-flex my-md-3"},[t.config.server.enabled&&t.config.server.domains&&t.config.server.domains.length?a("grid-card",{attrs:{dark:!0,title:"Server Timelines",subtitle:"Browse timelines of a specific remote instance","button-text":"Browse Server Feeds","icon-class":"fal fa-list","button-link":"/i/web/discover/server-timelines",small:!1}}):t._e()],1)],1):"trending"==t.tab?a("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[a("discover",{attrs:{profile:t.profile}})],1):"popular-places"==t.tab?a("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[t._m(0)]):t._e()]),t._v(" "),a("drawer")],1):t._e()])},s=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"mt-3 mb-5 section-explore"},[a("div",{staticClass:"profile-timeline"},[a("div",{staticClass:"row p-0 mt-5"},[a("div",{staticClass:"col-12 mb-4 d-flex justify-content-between align-items-center"},[a("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0 font-default"},[t._v("Popular Places")]),t._v(" "),a("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0 font-default"},[t._v("Popular Places")])])])]),t._v(" "),a("div",{staticClass:"row mt-5"},[a("div",{staticClass:"col-12 col-md-12 mb-3"},[a("div",{staticClass:"card-img big"},[a("img",{attrs:{src:"/img/places/nyc.jpg"}}),t._v(" "),a("div",{staticClass:"title font-default"},[t._v("New York City")])])]),t._v(" "),a("div",{staticClass:"col-12 col-md-6 mb-3"},[a("div",{staticClass:"card-img"},[a("img",{attrs:{src:"/img/places/edmonton.jpg"}}),t._v(" "),a("div",{staticClass:"title font-default"},[t._v("Edmonton")])])]),t._v(" "),a("div",{staticClass:"col-12 col-md-6 mb-3"},[a("div",{staticClass:"card-img"},[a("img",{attrs:{src:"/img/places/paris.jpg"}}),t._v(" "),a("div",{staticClass:"title font-default"},[t._v("Paris")])])]),t._v(" "),a("div",{staticClass:"col-12 col-md-4 mb-3"},[a("div",{staticClass:"card-img"},[a("img",{attrs:{src:"/img/places/london.jpg"}}),t._v(" "),a("div",{staticClass:"title font-default"},[t._v("London")])])]),t._v(" "),a("div",{staticClass:"col-12 col-md-4 mb-3"},[a("div",{staticClass:"card-img"},[a("img",{attrs:{src:"/img/places/vancouver.jpg"}}),t._v(" "),a("div",{staticClass:"title font-default"},[t._v("Vancouver")])])]),t._v(" "),a("div",{staticClass:"col-12 col-md-4 mb-3"},[a("div",{staticClass:"card-img"},[a("img",{attrs:{src:"/img/places/toronto.jpg"}}),t._v(" "),a("div",{staticClass:"title font-default"},[t._v("Toronto")])])])])])}]},17842:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"discover-daily-trending"},[a("div",{staticClass:"card bg-stellar"},[a("div",{staticClass:"card-body m-5"},[a("div",{staticClass:"row d-flex align-items-center"},[a("div",{staticClass:"col-12 col-md-5"},[a("p",{staticClass:"font-default text-light mb-0"},[t._v("Popular and trending posts")]),t._v(" "),a("h1",{staticClass:"display-4 font-default text-white",staticStyle:{"font-weight":"700"}},[t._v("Daily Trending")]),t._v(" "),a("button",{staticClass:"btn btn-outline-light rounded-pill",on:{click:function(e){return t.viewMore()}}},[t._v("View more trending posts")])]),t._v(" "),a("div",{staticClass:"col-12 col-md-7"},[t.isLoaded?a("div",{staticClass:"row"},t._l(t.trending,(function(e,i){return a("div",{staticClass:"col-4"},[a("a",{attrs:{href:e.url},on:{click:function(a){return a.preventDefault(),t.gotoPost(e.id)}}},[a("img",{staticClass:"shadow m-1",staticStyle:{"object-fit":"cover","border-radius":"8px"},attrs:{src:e.media_attachments[0].url,width:"170",height:"170"}})])])})),0):a("div",{staticClass:"row"},[a("div",{staticClass:"col-12 d-flex justify-content-center"},[a("b-spinner",{attrs:{type:"grow",variant:"light"}})],1)])])])])])])},s=[]},89764:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"discover-spotlight"},[a("div",{staticClass:"card bg-dark text-white"},[a("div",{staticClass:"card-body my-5 p-5 w-100 h-100 d-flex justify-content-center align-items-center"},[a("transition",{attrs:{"enter-active-class":"animate__animated animate__fadeInDownBig","leave-active-class":"animate__animated animate__fadeOutDownBig",mode:"out-in"}},[t.isLoaded?a("div",{staticClass:"row"},[a("div",{staticClass:"col-5"},[a("h1",{staticClass:"display-3 font-default mb-3",staticStyle:{"line-height":"1","font-weight":"600"}},[t._v("\n\t\t\t\t\t\t\tSpotlight\n\t\t\t\t\t\t")]),t._v(" "),a("h1",{staticClass:"display-5 font-default",staticStyle:{"line-height":"1"}},[a("span",{staticClass:"text-muted",staticStyle:{"line-height":"0.8","font-weight":"200","letter-spacing":"-1.2px"}},[t._v("\n\t\t\t\t\t\t\t\tCommunity curated\n\t\t\t\t\t\t\t\tcollection of creators\n\t\t\t\t\t\t\t")])]),t._v(" "),a("p",{staticClass:"lead font-default mt-4"},[t._v("This weeks collection is curated by "),a("span",{staticClass:"primary"},[t._v("@dansup")])])]),t._v(" "),a("div",{staticClass:"col-7 d-flex justify-content-between"},[a("div",{staticClass:"text-center mr-4"},[a("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:"https://pixelfed.test/storage/avatars/321493203255693312/skvft7.jpg?v=33",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';",width:"160",height:"160"}}),t._v(" "),a("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])]),t._v(" "),a("div",{staticClass:"text-center mr-4"},[a("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:"https://pixelfed.test/storage/avatars/321493203255693312/skvft7.jpg?v=33",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';",width:"160",height:"160"}}),t._v(" "),a("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])]),t._v(" "),a("div",{staticClass:"text-center"},[a("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:"https://pixelfed.test/storage/avatars/321493203255693312/skvft7.jpg?v=33",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';",width:"160",height:"160"}}),t._v(" "),a("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])])])]):t._e()]),t._v(" "),t.isLoaded?t._e():a("div",{},[a("b-spinner",{attrs:{type:"grow"}})],1)],1)])])},s=[]},18645:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"discover-grid-card"},[a("div",{staticClass:"discover-grid-card-body",class:{dark:t.dark,small:t.small}},[a("div",{staticClass:"section-copy"},[a("p",{staticClass:"subtitle"},[t._v(t._s(t.subtitle))]),t._v(" "),a("h1",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),t.buttonText?a("button",{staticClass:"btn btn-outline-dark rounded-pill py-1",on:{click:function(e){return e.preventDefault(),t.handleLink()}}},[t._v(t._s(t.buttonText))]):t._e()]),t._v(" "),a("div",{staticClass:"section-icon"},[a("i",{class:t.iconClass})])])])},s=[]},62436:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"rounded-3 overflow-hidden discover-news-slider"},[a("div",{staticClass:"row align-items-center"},[t._m(0),t._v(" "),a("div",{staticClass:"col-lg-6 col-md-7 offset-xl-1"},[a("div",{staticClass:"position-relative d-flex flex-column align-items-center justify-content-center h-100"},[a("svg",{staticClass:"d-none d-md-block position-absolute top-50 start-0 translate-middle-y",staticStyle:{"min-width":"868px"},attrs:{width:"868",height:"868",viewBox:"0 0 868 868",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("circle",{attrs:{opacity:"0.15",cx:"434",cy:"434",r:"434",fill:"#7dd3fc"}})]),t._v(" "),t._m(1)])])]),t._v(" "),t._m(2)])},s=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"col-xl-4 col-md-5 offset-lg-1"},[a("div",{staticClass:"pt-5 pb-3 pb-md-5 px-4 px-lg-0"},[a("p",{staticClass:"lead mb-3",staticStyle:{"font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","letter-spacing":"-0.7px","font-weight":"300","font-size":"20px"}},[t._v("Introducing")]),t._v(" "),a("h2",{staticClass:"h1 pb-0 mb-3",staticStyle:{"font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","letter-spacing":"-1px","font-weight":"700"}},[t._v("Emoji "),a("span",{staticClass:"primary"},[t._v("Reactions")])]),t._v(" "),a("p",{staticClass:"lead",staticStyle:{"font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","letter-spacing":"-0.7px","font-weight":"400","font-size":"17px","line-height":"15px"}},[t._v("\n\t\t\t\t\tA new way to interact with content,"),a("br"),t._v(" now available!\n\t\t\t\t")]),t._v(" "),a("a",{staticClass:"btn btn-primary primary btn-sm",attrs:{href:"#"}},[t._v("Learn more "),a("i",{staticClass:"far fa-chevron-right fa-sm ml-2"})])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"d-flex"},[a("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/hushed_face.gif",width:"100",alt:"Illustration"}}),t._v(" "),a("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/thumbs_up.gif",width:"100",alt:"Illustration"}}),t._v(" "),a("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/sparkling_heart.gif",width:"100",alt:"Illustration"}})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{position:"absolute",left:"50%",transform:"translateX(-50%)",bottom:"10px"}},[a("div",{staticClass:"d-flex"},[a("button",{staticClass:"btn btn-link p-0"},[a("i",{staticClass:"far fa-dot-circle"})]),t._v(" "),a("button",{staticClass:"btn btn-link p-0 mx-2"},[a("i",{staticClass:"far fa-circle"})]),t._v(" "),a("button",{staticClass:"btn btn-link p-0"},[a("i",{staticClass:"far fa-circle"})])])])}]},42829:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"discover-feed-component"},[a("section",{staticClass:"mt-3 mb-5 section-explore"},[a("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),a("div",{staticClass:"profile-timeline"},[a("div",{staticClass:"row p-0 mt-5"},[a("div",{staticClass:"col-12 mb-4 d-flex justify-content-between align-items-center"},[a("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0 font-default"},[t._v("Trending")]),t._v(" "),a("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0 font-default"},[t._v("Trending")]),t._v(" "),a("div",[a("div",{staticClass:"btn-group trending-range"},[a("button",{class:"daily"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("daily")}}},[t._v("Today")]),t._v(" "),a("button",{class:"monthly"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("monthly")}}},[t._v("This month")]),t._v(" "),a("button",{class:"yearly"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("yearly")}}},[t._v("This year")])])])])]),t._v(" "),t.loading?a("div",{staticClass:"row p-0 px-lg-3"},[a("div",{staticClass:"col-12 d-flex align-items-center justify-content-center",staticStyle:{"min-height":"40vh"}},[a("b-spinner",{attrs:{size:"lg"}})],1)]):a("div",{staticClass:"row p-0 px-lg-3"},t._l(t.trending,(function(e,i){return t.trending.length?a("div",{staticClass:"col-6 col-lg-4 col-xl-3 p-1"},[a("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:e.url},on:{click:function(a){return a.preventDefault(),t.goToPost(e)}}},[a("div",{staticClass:"square square-next"},[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].preview_url}})],1),t._v(" "),a("div",{staticClass:"info-overlay-text"},[a("div",{staticClass:"text-white m-auto"},[a("p",{staticClass:"info-overlay-text-field font-weight-bold"},[a("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),a("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.favourites_count)))])]),t._v(" "),a("p",{staticClass:"info-overlay-text-field font-weight-bold"},[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(" "),a("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[a("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),a("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reblogs_count)))])])])])])])]):a("div",{staticClass:"col-12 d-flex align-items-center justify-content-center bg-light border",staticStyle:{"min-height":"40vh"}},[a("div",{staticClass:"h2"},[t._v("No posts found :(")])])})),0)])],1)])},s=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}]}}]); \ No newline at end of file diff --git a/public/js/dms-mh8cayo8d.js b/public/js/dms-ojtjadoml.js similarity index 98% rename from public/js/dms-mh8cayo8d.js rename to public/js/dms-ojtjadoml.js index 829fa65e8..10178ca49 100644 --- a/public/js/dms-mh8cayo8d.js +++ b/public/js/dms-ojtjadoml.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[771],{3247:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(42755),i=a(88231),n=a(33795),r=a(78423);const o={components:{drawer:s.default,sidebar:i.default,intersect:r.default,"dm-placeholder":n.default},data:function(){return{isLoaded:!1,profile:void 0,canLoadMore:!0,threadsLoaded:!1,composeLoading:!1,threads:[],tabIndex:0,tabs:["inbox","sent","requests"],page:1,ids:[],isIntersecting:!1}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0,this.fetchThreads()},methods:{fetchThreads:function(){var t=this;axios.get("/api/v1/conversations",{params:{scope:this.tabs[this.tabIndex]}}).then((function(e){var a=e.data.filter((function(t){return t&&t.hasOwnProperty("last_status")&&t.last_status})),s=a.map((function(t){return t.accounts[0].id}));t.ids=s,t.threads=a,t.threadsLoaded=!0,t.page++}))},timeago:function(t){return App.util.format.timeAgo(t)},enterIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/v1/conversations",{params:{scope:this.tabs[this.tabIndex],page:this.page}}).then((function(e){if(e.data.filter((function(t){return t&&t.hasOwnProperty("last_status")&&t.last_status})).forEach((function(e){-1==t.ids.indexOf(e.accounts[0].id)&&(t.ids.push(e.accounts[0].id),t.threads.push(e))})),!e.data.length||e.data.length<5)return t.canLoadMore=!1,void(t.isIntersecting=!1);t.page++,t.isIntersecting=!1})))},toggleTab:function(t){event.currentTarget.blur(),this.threadsLoaded=!1,this.page=1,this.tabIndex=t,this.fetchThreads()},threadSummary:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;if("photo"==t.pf_type){var a=this.profile.id==t.account.id,s='
';return(s+=a?"Sent a photo":"Received a photo")+"
"}if("video"==t.pf_type){var i=this.profile.id==t.account.id,n='
';return(n+=i?"Sent a video":"Received a video")+"
"}var r="";this.profile.id==t.account.id&&(r+=' ');var o=t.content,d=o.replace(/(<([^>]+)>)/gi,"");return d.length>e?r+d.slice(0,e)+"...":r+d},openCompose:function(){this.$refs.compose.show()},composeSearch:function(t){if(t.length<1)return[];return axios.post("/api/direct/lookup",{q:t}).then((function(t){return t.data}))},getTagResultValue:function(t){return t.local?"@"+t.name:t.name},onTagSubmitLocation:function(t){this.composeLoading=!0,window.location.href="/i/web/direct/thread/"+t.id},closeCompose:function(){this.$refs.compose.hide()}}}},56585:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(23645),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".dms-page-component[data-v-77b89521]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.dms-page-component .dm-thread-summary[data-v-77b89521]{font-size:12px;line-height:12px;margin-bottom:0}.dms-page-component .dm-display-name[data-v-77b89521]{font-size:16px}",""]);const n=i},19385:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(56585),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},59502:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(52888),i=a(18211),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(57972);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,"77b89521",null).exports},33795:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});var s=a(56622);const i=(0,a(51900).default)({},s.render,s.staticRenderFns,!1,null,null,null).exports},18211:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(3247),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},57972:(t,e,a)=>{a.r(e);var s=a(19385),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},52888:(t,e,a)=>{a.r(e);var s=a(38871),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},56622:(t,e,a)=>{a.r(e);var s=a(8580),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},38871:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dms-page-component"},[t.isLoaded?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-5 offset-md-1 mb-5 order-2 order-md-1"},[a("h1",{staticClass:"font-weight-bold mb-4"},[t._v("Direct Messages")]),t._v(" "),t.threadsLoaded?a("div",[t._l(t.threads,(function(e,s){return a("div",{staticClass:"card shadow-sm mb-1",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"card-body p-3"},[a("div",{staticClass:"media"},[a("img",{staticClass:"shadow-sm mr-3",staticStyle:{"border-radius":"15px"},attrs:{src:e.accounts[0].avatar,width:"45",height:"45",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),a("div",{staticClass:"media-body"},[a("div",{staticClass:"d-flex justify-content-between align-items-start mb-1"},[a("p",{staticClass:"dm-display-name font-weight-bold mb-0"},[t._v("@"+t._s(e.accounts[0].acct))]),t._v(" "),a("p",{staticClass:"font-weight-bold small text-muted mb-0"},[t._v(t._s(t.timeago(e.last_status.created_at))+" ago")])]),t._v(" "),a("p",{staticClass:"dm-thread-summary text-muted mr-4",domProps:{innerHTML:t._s(t.threadSummary(e.last_status))}})]),t._v(" "),a("router-link",{staticClass:"btn btn-link stretched-link align-self-center mr-n3",attrs:{to:"/i/web/direct/thread/"+e.accounts[0].id}},[a("i",{staticClass:"fal fa-chevron-right fa-lg text-lighter"})])],1)])])})),t._v(" "),t.threads&&t.threads.length?t._e():a("div",{staticClass:"row justify-content-center"},[t._m(0)]),t._v(" "),t.canLoadMore?a("div",[a("intersect",{on:{enter:t.enterIntersect}},[a("dm-placeholder")],1)],1):t._e()],2):a("div",[a("dm-placeholder")],1)]),t._v(" "),a("div",{staticClass:"col-md-3 d-md-block order-1 order-md-2 mb-4"},[a("button",{staticClass:"btn btn-dark shadow-sm font-weight-bold btn-block",on:{click:t.openCompose}},[a("i",{staticClass:"far fa-envelope mr-1"}),t._v(" Compose")]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"d-flex d-md-block"},t._l(t.tabs,(function(e,s){return a("button",{staticClass:"btn shadow-sm font-weight-bold btn-block text-capitalize mt-0 mt-md-2 mx-1 mx-md-0",class:[s===t.tabIndex?"btn-primary":"btn-light"],on:{click:function(e){return t.toggleTab(s)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("directMessages."+e))+"\n\t\t\t\t\t")])})),0)])]),t._v(" "),a("drawer")],1):a("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[a("b-spinner")],1),t._v(" "),a("b-modal",{ref:"compose",attrs:{"hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md"}},[a("div",{staticClass:"card shadow-none mt-4"},[a("div",{staticClass:"card-body d-flex align-items-center justify-content-between flex-column",staticStyle:{"min-height":"50vh"}},[a("h3",{staticClass:"font-weight-bold"},[t._v("New Direct Message")]),t._v(" "),a("div",[a("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Select Recipient")]),t._v(" "),a("autocomplete",{ref:"autocomplete",attrs:{search:t.composeSearch,disabled:t.composeLoading,placeholder:"@dansup","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),a("p",{staticClass:"small text-muted"},[t._v("Search by username, or webfinger (@dansup@pixelfed.social)")]),t._v(" "),a("div",{staticStyle:{width:"300px"}})],1),t._v(" "),a("div",[a("button",{staticClass:"btn btn-outline-dark rounded-pill font-weight-bold px-5 py-1",on:{click:t.closeCompose}},[t._v("Cancel")])])])])])],1)},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"col-12 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("Your inbox is empty")])])}]},8580:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[a("div",{staticClass:"ph-col-12"},[a("div",{staticClass:"ph-row align-items-center mt-0"},[a("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),t._v(" "),a("div",{staticClass:"ph-col-6 big"})])])])}]}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[888],{3247:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(42755),i=a(88231),n=a(33795),r=a(78423);const o={components:{drawer:s.default,sidebar:i.default,intersect:r.default,"dm-placeholder":n.default},data:function(){return{isLoaded:!1,profile:void 0,canLoadMore:!0,threadsLoaded:!1,composeLoading:!1,threads:[],tabIndex:0,tabs:["inbox","sent","requests"],page:1,ids:[],isIntersecting:!1}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0,this.fetchThreads()},methods:{fetchThreads:function(){var t=this;axios.get("/api/v1/conversations",{params:{scope:this.tabs[this.tabIndex]}}).then((function(e){var a=e.data.filter((function(t){return t&&t.hasOwnProperty("last_status")&&t.last_status})),s=a.map((function(t){return t.accounts[0].id}));t.ids=s,t.threads=a,t.threadsLoaded=!0,t.page++}))},timeago:function(t){return App.util.format.timeAgo(t)},enterIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/v1/conversations",{params:{scope:this.tabs[this.tabIndex],page:this.page}}).then((function(e){if(e.data.filter((function(t){return t&&t.hasOwnProperty("last_status")&&t.last_status})).forEach((function(e){-1==t.ids.indexOf(e.accounts[0].id)&&(t.ids.push(e.accounts[0].id),t.threads.push(e))})),!e.data.length||e.data.length<5)return t.canLoadMore=!1,void(t.isIntersecting=!1);t.page++,t.isIntersecting=!1})))},toggleTab:function(t){event.currentTarget.blur(),this.threadsLoaded=!1,this.page=1,this.tabIndex=t,this.fetchThreads()},threadSummary:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;if("photo"==t.pf_type){var a=this.profile.id==t.account.id,s='
';return(s+=a?"Sent a photo":"Received a photo")+"
"}if("video"==t.pf_type){var i=this.profile.id==t.account.id,n='
';return(n+=i?"Sent a video":"Received a video")+"
"}var r="";this.profile.id==t.account.id&&(r+=' ');var o=t.content,d=o.replace(/(<([^>]+)>)/gi,"");return d.length>e?r+d.slice(0,e)+"...":r+d},openCompose:function(){this.$refs.compose.show()},composeSearch:function(t){if(t.length<1)return[];return axios.post("/api/direct/lookup",{q:t}).then((function(t){return t.data}))},getTagResultValue:function(t){return t.local?"@"+t.name:t.name},onTagSubmitLocation:function(t){this.composeLoading=!0,window.location.href="/i/web/direct/thread/"+t.id},closeCompose:function(){this.$refs.compose.hide()}}}},56585:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(23645),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".dms-page-component[data-v-77b89521]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.dms-page-component .dm-thread-summary[data-v-77b89521]{font-size:12px;line-height:12px;margin-bottom:0}.dms-page-component .dm-display-name[data-v-77b89521]{font-size:16px}",""]);const n=i},19385:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(56585),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},59502:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(52888),i=a(18211),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(57972);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,"77b89521",null).exports},33795:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});var s=a(56622);const i=(0,a(51900).default)({},s.render,s.staticRenderFns,!1,null,null,null).exports},18211:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(3247),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},57972:(t,e,a)=>{a.r(e);var s=a(19385),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},52888:(t,e,a)=>{a.r(e);var s=a(38871),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},56622:(t,e,a)=>{a.r(e);var s=a(8580),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},38871:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dms-page-component"},[t.isLoaded?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-5 offset-md-1 mb-5 order-2 order-md-1"},[a("h1",{staticClass:"font-weight-bold mb-4"},[t._v("Direct Messages")]),t._v(" "),t.threadsLoaded?a("div",[t._l(t.threads,(function(e,s){return a("div",{staticClass:"card shadow-sm mb-1",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"card-body p-3"},[a("div",{staticClass:"media"},[a("img",{staticClass:"shadow-sm mr-3",staticStyle:{"border-radius":"15px"},attrs:{src:e.accounts[0].avatar,width:"45",height:"45",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),a("div",{staticClass:"media-body"},[a("div",{staticClass:"d-flex justify-content-between align-items-start mb-1"},[a("p",{staticClass:"dm-display-name font-weight-bold mb-0"},[t._v("@"+t._s(e.accounts[0].acct))]),t._v(" "),a("p",{staticClass:"font-weight-bold small text-muted mb-0"},[t._v(t._s(t.timeago(e.last_status.created_at))+" ago")])]),t._v(" "),a("p",{staticClass:"dm-thread-summary text-muted mr-4",domProps:{innerHTML:t._s(t.threadSummary(e.last_status))}})]),t._v(" "),a("router-link",{staticClass:"btn btn-link stretched-link align-self-center mr-n3",attrs:{to:"/i/web/direct/thread/"+e.accounts[0].id}},[a("i",{staticClass:"fal fa-chevron-right fa-lg text-lighter"})])],1)])])})),t._v(" "),t.threads&&t.threads.length?t._e():a("div",{staticClass:"row justify-content-center"},[t._m(0)]),t._v(" "),t.canLoadMore?a("div",[a("intersect",{on:{enter:t.enterIntersect}},[a("dm-placeholder")],1)],1):t._e()],2):a("div",[a("dm-placeholder")],1)]),t._v(" "),a("div",{staticClass:"col-md-3 d-md-block order-1 order-md-2 mb-4"},[a("button",{staticClass:"btn btn-dark shadow-sm font-weight-bold btn-block",on:{click:t.openCompose}},[a("i",{staticClass:"far fa-envelope mr-1"}),t._v(" Compose")]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"d-flex d-md-block"},t._l(t.tabs,(function(e,s){return a("button",{staticClass:"btn shadow-sm font-weight-bold btn-block text-capitalize mt-0 mt-md-2 mx-1 mx-md-0",class:[s===t.tabIndex?"btn-primary":"btn-light"],on:{click:function(e){return t.toggleTab(s)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("directMessages."+e))+"\n\t\t\t\t\t")])})),0)])]),t._v(" "),a("drawer")],1):a("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[a("b-spinner")],1),t._v(" "),a("b-modal",{ref:"compose",attrs:{"hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md"}},[a("div",{staticClass:"card shadow-none mt-4"},[a("div",{staticClass:"card-body d-flex align-items-center justify-content-between flex-column",staticStyle:{"min-height":"50vh"}},[a("h3",{staticClass:"font-weight-bold"},[t._v("New Direct Message")]),t._v(" "),a("div",[a("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Select Recipient")]),t._v(" "),a("autocomplete",{ref:"autocomplete",attrs:{search:t.composeSearch,disabled:t.composeLoading,placeholder:"@dansup","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),a("p",{staticClass:"small text-muted"},[t._v("Search by username, or webfinger (@dansup@pixelfed.social)")]),t._v(" "),a("div",{staticStyle:{width:"300px"}})],1),t._v(" "),a("div",[a("button",{staticClass:"btn btn-outline-dark rounded-pill font-weight-bold px-5 py-1",on:{click:t.closeCompose}},[t._v("Cancel")])])])])])],1)},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"col-12 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("Your inbox is empty")])])}]},8580:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[a("div",{staticClass:"ph-col-12"},[a("div",{staticClass:"ph-row align-items-center mt-0"},[a("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),t._v(" "),a("div",{staticClass:"ph-col-6 big"})])])])}]}}]); \ No newline at end of file diff --git a/public/js/dmsg-mh8cayo8d.js b/public/js/dmsg-mh8cayo8d.js deleted file mode 100644 index 9227fbd02..000000000 --- a/public/js/dmsg-mh8cayo8d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[401],{62195:(t,e,a)=>{a.r(e),a.d(e,{default:()=>m});var i=a(42755),o=a(88231),s=a(33795),r=a(78423),n=a(22583),l=a(64491),d=a(19755);function c(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return p(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,i=new Array(e);a500?(this.showReplyLong=!1,void(this.showReplyTooLong=!0)):t.length>450?(this.showReplyTooLong=!1,void(this.showReplyLong=!0)):void 0}},methods:{sendMessage:function(){var t=this,e=this,a=this.replyText;axios.post("/api/direct/create",{to_id:this.threads[this.threadIndex].id,message:a,type:e.isEmoji(a)&&a.length<10?"emoji":"text"}).then((function(a){var i=a.data;e.threads[e.threadIndex].messages.unshift(i);var o=e.threads[e.threadIndex].messages.map((function(t){return t.id}));t.max_id=Math.max.apply(Math,c(o)),t.min_id=Math.min.apply(Math,c(o))})).catch((function(t){403==t.response.status&&(e.blocked=!0,swal("Profile Unavailable","You cannot message this profile at this time.","error"))})),this.replyText=""},truncate:function(t){return _.truncate(t)},deleteMessage:function(t){var e=this;window.confirm("Are you sure you want to delete this message?")&&axios.delete("/api/direct/message",{params:{id:this.thread.messages[t].reportId}}).then((function(a){e.thread.messages.splice(t,1)}))},reportMessage:function(){this.closeCtxMenu();var t="/i/report?type=post&id="+this.ctxContext.reportId;window.location.href=t},uploadMedia:function(t){var e=this;d(document).on("change","#uploadMedia",(function(t){e.handleUpload()}));var a=d(t.target);a.attr("disabled",""),d("#uploadMedia").click(),a.blur(),a.removeAttr("disabled")},handleUpload:function(){var t=this;if(!t.uploading){t.uploading=!0;var e=document.querySelector("#uploadMedia");e.files.length||(this.uploading=!1),Array.prototype.forEach.call(e.files,(function(e,a){var i=e.type,o=t.config.uploader.media_types.split(",");if(-1==d.inArray(i,o))return swal("Invalid File Type","The file you are trying to add is not a valid mime type. Please upload a "+t.config.uploader.media_types+" only.","error"),void(t.uploading=!1);var s=new FormData;s.append("file",e),s.append("to_id",t.threads[t.threadIndex].id);var r={onUploadProgress:function(e){var a=Math.round(100*e.loaded/e.total);t.uploadProgress=a}};axios.post("/api/direct/media",s,r).then((function(e){t.uploadProgress=100,t.uploading=!1;var a={id:e.data.id,type:e.data.type,reportId:e.data.reportId,isAuthor:!0,text:null,media:e.data.url,timeAgo:"1s",seen:null};t.threads[t.threadIndex].messages.unshift(a)})).catch((function(a){if(a.hasOwnProperty("response")&&a.response.hasOwnProperty("status"))if(451===a.response.status)t.uploading=!1,e.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error");else t.uploading=!1,e.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error")})),e.value=null,t.uploadProgress=0}))}},viewOriginal:function(){var t=this.ctxContext.media;window.location.href=t},isEmoji:function(t){var e=t.replace(new RegExp("[\0-ữf]","g"),""),a=t.replace(new RegExp("[\n\rs]+|( )+","g"),"");return e.length===a.length},copyText:function(){window.App.util.clipboard(this.ctxContext.text),this.closeCtxMenu()},clickLink:function(){var t=this.ctxContext.text;1!=this.ctxContext.meta.local&&(t="/i/redirect?url="+encodeURI(this.ctxContext.text)),window.location.href=t},markAsRead:function(){},loadOlderMessages:function(){var t=this,e=this;this.loadingMessages=!0,axios.get("/api/direct/thread",{params:{pid:this.accountId,max_id:this.min_id}}).then((function(a){var i,o=a.data;if(!o.messages.length)return t.showLoadMore=!1,void(t.loadingMessages=!1);var s=t.thread.messages.map((function(t){return t.id})),r=o.messages.filter((function(t){return-1==s.indexOf(t.id)})).reverse(),n=r.map((function(t){return t.id})),l=Math.min.apply(Math,c(n));if(l==t.min_id)return t.showLoadMore=!1,void(t.loadingMessages=!1);t.min_id=l,(i=t.thread.messages).push.apply(i,c(r)),setTimeout((function(){e.loadingMessages=!1}),500)})).catch((function(e){t.loadingMessages=!1}))},messagePoll:function(){var t=this;setInterval((function(){axios.get("/api/direct/thread",{params:{pid:t.accountId,min_id:t.thread.messages[t.thread.messages.length-1].id}}).then((function(t){}))}),5e3)},showOptions:function(){this.page="options"},updateOptions:function(){var t={v:1,hideAvatars:this.hideAvatars,hideTimestamps:this.hideTimestamps,largerText:this.largerText};window.localStorage.setItem("px_dm_options",JSON.stringify(t))},formatCount:function(t){return window.App.util.format.count(t)},goBack:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?this.page=t:this.$router.push("/i/web/direct")},gotoProfile:function(t){this.$router.push("/i/web/profile/".concat(t.id))},togglePrivacyWarning:function(){console.log("clicked toggle privacy warning");var t=window.localStorage,e="pf_m2s.dmwarncounter";if(this.showPrivacyWarning=!1,t.getItem(e)){var a=t.getItem(e);a++,t.setItem(e,a),a>5&&(this.showDMPrivacyWarning=!1)}else t.setItem(e,1)}}}},1789:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(99347);const o={props:{thread:{type:Object},convo:{type:Object},hideAvatars:{type:Boolean,default:!1},hideTimestamps:{type:Boolean,default:!1},largerText:{type:Boolean,default:!1}},data:function(){return{profile:window._sharedData.user}},methods:{truncate:function(t){return _.truncate(t)},viewOriginal:function(){var t=this.ctxContext.media;window.location.href=t},isEmoji:function(t){var e=t.replace(new RegExp("[\0-ữf]","g"),""),a=t.replace(new RegExp("[\n\rs]+|( )+","g"),"");return e.length===a.length},copyText:function(){window.App.util.clipboard(this.ctxContext.text),this.closeCtxMenu()},clickLink:function(){var t=this.ctxContext.text;1!=this.ctxContext.meta.local&&(t="/i/redirect?url="+encodeURI(this.ctxContext.text)),window.location.href=t},formatCount:function(t){return window.App.util.format.count(t)},confirmDelete:function(){this.$emit("confirm-delete")},expandMedia:function(t){(0,i.default)({el:t.target})}}}},66286:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,a=document.createElement("div");a.innerHTML=e,a.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),a.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var a=e.innerText;if("@"==a.substr(0,1)&&(a=a.substr(1)),0==t.status.account.local&&!a.includes("@")){var i=document.createElement("a");i.href=t.status.account.url,a=a+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+a)})),this.content=a.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var a=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),a)}))}}}},50371:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(80979),o=a(20629);function s(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function r(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const n={props:{profile:{type:Object}},components:{ReadMore:i.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var a=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==a}));return i.length?''.concat(i[0].shortcode,''):e}))}return a},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,a=document.createElement("div");a.innerHTML=e,a.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),a.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var a=e.innerText;if("@"==a.substr(0,1)&&(a=a.substr(1)),0==t.profile.local&&!a.includes("@")){var i=document.createElement("a");i.href=t.profile.url,a=a+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+a)})),this.bio=a.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},91488:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(23645),o=a.n(i)()((function(t){return t[1]}));o.push([t.id,'.dm-page-component[data-v-bd901ba2]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.dm-page-component .user-card[data-v-bd901ba2]{align-items:center}.dm-page-component .user-card .avatar[data-v-bd901ba2]{border:1px solid var(--border-color);border-radius:15px;height:60px;margin-right:.8rem;width:60px}.dm-page-component .user-card .avatar-update-btn[data-v-bd901ba2]{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}.dm-page-component .user-card .avatar-update-btn-icon[data-v-bd901ba2]{-webkit-font-smoothing:antialiased;text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1}.dm-page-component .user-card .avatar-update-btn-icon[data-v-bd901ba2]:before{content:""}.dm-page-component .user-card .username[data-v-bd901ba2]{cursor:pointer;font-size:13px;font-weight:600;margin-bottom:0}.dm-page-component .user-card .display-name[data-v-bd901ba2]{color:var(--body-color);cursor:pointer;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}.dm-page-component .user-card .stats[data-v-bd901ba2]{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dm-page-component .user-card .stats .stats-following[data-v-bd901ba2]{margin-right:.8rem}.dm-page-component .user-card .stats .followers-count[data-v-bd901ba2],.dm-page-component .user-card .stats .following-count[data-v-bd901ba2]{font-weight:800}.dm-page-component .dm-reply-form[data-v-bd901ba2]{background-color:var(--card-bg);display:flex;justify-content:space-between;padding:1rem}.dm-page-component .dm-reply-form .btn.focus[data-v-bd901ba2],.dm-page-component .dm-reply-form .btn[data-v-bd901ba2]:focus,.dm-page-component .dm-reply-form input.focus[data-v-bd901ba2],.dm-page-component .dm-reply-form input[data-v-bd901ba2]:focus{box-shadow:none;outline:0}.dm-page-component .dm-reply-form[data-v-bd901ba2] :disabled{opacity:20%!important}.dm-page-component .dm-reply-form-input-group[data-v-bd901ba2]{margin-right:10px;position:relative;width:100%}.dm-page-component .dm-reply-form-input-group input[data-v-bd901ba2]{background-color:var(--comment-bg);border-color:var(--comment-bg)!important;border-radius:25px;color:var(--dark);font-size:15px;padding-right:60px;position:absolute}.dm-page-component .dm-reply-form-input-group .upload-media-btn[data-v-bd901ba2]{color:var(--text-lighter);position:absolute;right:10px;top:50%;transform:translateY(-50%)}.dm-page-component .dm-reply-form-submit-btn[data-v-bd901ba2]{border-radius:24px;height:48px;width:48px}.dm-page-component .dm-status-bar[data-v-bd901ba2]{color:var(--text-lighter);font-size:12px;font-weight:600}.dm-page-component .dm-status-bar p[data-v-bd901ba2]{margin-bottom:0}.dm-page-component .dm-privacy-warning .btn[data-v-bd901ba2],.dm-page-component .dm-privacy-warning p[data-v-bd901ba2]{color:#000}.dm-page-component .dm-privacy-warning .warning-text[data-v-bd901ba2]{text-align:left}@media(min-width:992px){.dm-page-component .dm-privacy-warning .warning-text[data-v-bd901ba2]{text-align:center}}.dm-page-component-row .dm-wrapper[data-v-bd901ba2]{height:calc(100vh - 240px);padding-top:100px}@media(min-width:500px){.dm-page-component-row .dm-wrapper[data-v-bd901ba2]{min-height:40vh}}@media(min-width:700px){.dm-page-component-row .dm-wrapper[data-v-bd901ba2]{height:60vh}}',""]);const s=o},50409:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(23645),o=a.n(i)()((function(t){return t[1]}));o.push([t.id,".chat-msg[data-v-667e9bbe]{padding-bottom:0;padding-top:0}.reply-btn[data-v-667e9bbe]{border-radius:0 3px 3px 0;bottom:54px;position:absolute;right:20px;text-align:center;width:90px}.media-body .bg-primary[data-v-667e9bbe]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important}.pill-to[data-v-667e9bbe]{background:var(--bg-light);margin-right:3rem}.pill-from[data-v-667e9bbe],.pill-to[data-v-667e9bbe]{border-radius:20px!important;font-weight:500;margin-bottom:.25rem;padding:.5rem 1rem}.pill-from[data-v-667e9bbe]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important;color:#fff!important;margin-left:3rem;text-align:right!important}.chat-smsg[data-v-667e9bbe]:hover{background:var(--light-hover-bg)}.no-focus[data-v-667e9bbe]{border:none!important}.no-focus[data-v-667e9bbe]:focus{box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;outline:none!important;outline-width:0!important}.emoji-msg[data-v-667e9bbe]{font-size:4rem!important;line-height:30px!important;margin-top:10px!important}.larger-text[data-v-667e9bbe]{font-size:22px}.dm-chat-message .isAuthor[data-v-667e9bbe]{float:right;margin-right:.5rem!important}.dm-chat-message .isAuthor .pill-to[data-v-667e9bbe]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important;border-radius:20px!important;color:#fff!important;font-weight:500;margin-bottom:.25rem;margin-left:3rem;margin-right:0;padding:.5rem 1rem;text-align:right!important}.dm-chat-message .isAuthor .msg-timestamp[data-v-667e9bbe]{display:block!important;margin-bottom:0;text-align:right}.dm-chat-message .msg-avatar[data-v-667e9bbe]{border-radius:14px;height:50px;width:50px}.dm-chat-message .media-embed[data-v-667e9bbe]{border-radius:20px;width:140px}@media(min-width:450px){.dm-chat-message .media-embed[data-v-667e9bbe]{width:200px}}",""]);const s=o},84582:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(23645),o=a.n(i)()((function(t){return t[1]}));o.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const s=o},43798:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(93379),o=a.n(i),s=a(91488),r={insert:"head",singleton:!1};o()(s.default,r);const n=s.default.locals||{}},20868:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(93379),o=a.n(i),s=a(50409),r={insert:"head",singleton:!1};o()(s.default,r);const n=s.default.locals||{}},56823:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(93379),o=a.n(i),s=a(84582),r={insert:"head",singleton:!1};o()(s.default,r);const n=s.default.locals||{}},17360:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(71940),o=a(96811),s={};for(const t in o)"default"!==t&&(s[t]=()=>o[t]);a.d(e,s);a(11247);const r=(0,a(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"bd901ba2",null).exports},64491:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(12479),o=a(67093),s={};for(const t in o)"default"!==t&&(s[t]=()=>o[t]);a.d(e,s);a(72031);const r=(0,a(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"667e9bbe",null).exports},33795:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(56622);const o=(0,a(51900).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(17386),o=a(20516),s={};for(const t in o)"default"!==t&&(s[t]=()=>o[t]);a.d(e,s);const r=(0,a(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(54856),o=a(81498),s={};for(const t in o)"default"!==t&&(s[t]=()=>o[t]);a.d(e,s);a(60970);const r=(0,a(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},96811:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(62195),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o);const s=i.default},67093:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(1789),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o);const s=i.default},20516:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(66286),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o);const s=i.default},81498:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(50371),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o);const s=i.default},11247:(t,e,a)=>{a.r(e);var i=a(43798),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},72031:(t,e,a)=>{a.r(e);var i=a(20868),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},60970:(t,e,a)=>{a.r(e);var i=a(56823),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},71940:(t,e,a)=>{a.r(e);var i=a(81756),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},12479:(t,e,a)=>{a.r(e);var i=a(52422),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},56622:(t,e,a)=>{a.r(e);var i=a(8580),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},17386:(t,e,a)=>{a.r(e);var i=a(20512),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},54856:(t,e,a)=>{a.r(e);var i=a(79409),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},81756:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dm-page-component"},[t.isLoaded?a("div",{staticClass:"container-fluid mt-lg-3 pb-lg-5"},[a("div",{staticClass:"row dm-page-component-row"},[a("div",{staticClass:"col-md-3 d-md-block"},[a("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),a("div",{staticClass:"col-md-6 p-0"},[t.loaded&&"read"==t.page?a("div",{staticClass:"messages-page"},[a("div",{staticClass:"card shadow-none"},[a("div",{staticClass:"h4 card-header font-weight-bold text-dark d-flex justify-content-between align-items-center",staticStyle:{"letter-spacing":"-0.3px"}},[a("button",{staticClass:"btn btn-light rounded-pill text-dark",on:{click:function(e){return t.goBack()}}},[a("i",{staticClass:"far fa-chevron-left fa-lg"})]),t._v(" "),a("div",[t._v("Direct Message")]),t._v(" "),a("button",{staticClass:"btn btn-light rounded-pill text-dark",on:{click:function(e){return t.showOptions()}}},[a("i",{staticClass:"far fa-cog fa-lg"})])]),t._v(" "),a("ul",{staticClass:"list-group list-group-flush",staticStyle:{position:"relative"}},[a("li",{staticClass:"list-group-item border-bottom sticky-top"},[a("p",{staticClass:"text-center small text-muted mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\tConversation with "),a("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.thread.username))])])])]),t._v(" "),a("transition",{attrs:{name:"fade"}},[t.showDMPrivacyWarning&&t.showPrivacyWarning?a("ul",{staticClass:"list-group list-group-flush dm-privacy-warning",staticStyle:{position:"absolute",top:"105px",width:"100%"}},[a("li",{staticClass:"list-group-item border-bottom sticky-top bg-warning"},[a("div",{staticClass:"d-flex align-items-center justify-content-between"},[a("div",{staticClass:"d-none d-lg-block"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger fa-lg mr-3"})]),t._v(" "),a("div",[a("p",{staticClass:"small warning-text mb-0 font-weight-bold"},[a("span",{staticClass:"d-inline d-lg-none"},[t._v("DMs")]),a("span",{staticClass:"d-none d-lg-inline"},[t._v("Direct messages on Pixelfed")]),t._v(" are not end-to-end encrypted.\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("p",{staticClass:"small warning-text mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tUse caution when sharing sensitive data.\n\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),a("button",{staticClass:"btn btn-link text-decoration-none",on:{click:t.togglePrivacyWarning}},[a("i",{staticClass:"far fa-times-circle fa-lg"}),t._v(" "),a("span",{staticClass:"d-none d-lg-block"},[t._v("Close")])])])])]):t._e()]),t._v(" "),a("ul",{staticClass:"list-group list-group-flush dm-wrapper",staticStyle:{"overflow-y":"scroll",position:"relative","flex-direction":"column-reverse"}},[t._l(t.thread.messages,(function(e,i){return a("li",{staticClass:"list-group-item border-0 chat-msg mb-n2"},[a("message",{attrs:{convo:e,thread:t.thread,hideAvatars:t.hideAvatars,hideTimestamps:t.hideTimestamps,largerText:t.largerText},on:{"confirm-delete":function(e){return t.deleteMessage(i)}}})],1)})),t._v(" "),t.showLoadMore&&t.thread.messages&&t.thread.messages.length>5?a("li",{staticClass:"list-group-item border-0"},[a("p",{staticClass:"text-center small text-muted"},[t.loadingMessages?a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",attrs:{disabled:""}},[t._v("Loading...")]):a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",on:{click:function(e){return t.loadOlderMessages()}}},[t._v("Load Older Messages")])])]):t._e()],2),t._v(" "),a("div",{staticClass:"card-footer bg-white p-0"},[a("div",{staticClass:"dm-reply-form"},[a("div",{staticClass:"dm-reply-form-input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control form-control-lg",attrs:{placeholder:"Type a message...",disabled:t.uploading},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}}),t._v(" "),a("button",{staticClass:"upload-media-btn btn btn-link",attrs:{disabled:t.uploading},on:{click:t.uploadMedia}},[a("i",{staticClass:"far fa-image fa-2x"})])]),t._v(" "),a("button",{staticClass:"dm-reply-form-submit-btn btn btn-primary",attrs:{disabled:!t.replyText||!t.replyText.length||t.showReplyTooLong},on:{click:t.sendMessage}},[a("i",{staticClass:"far fa-paper-plane fa-lg"})])])]),t._v(" "),t.uploading?a("div",{staticClass:"card-footer dm-status-bar"},[a("p",[t._v("Uploading ("+t._s(t.uploadProgress)+"%) ...")])]):t._e(),t._v(" "),t.showReplyLong?a("div",{staticClass:"card-footer dm-status-bar"},[a("p",{staticClass:"text-warning"},[t._v(t._s(t.replyText.length)+"/500")])]):t._e(),t._v(" "),t.showReplyTooLong?a("div",{staticClass:"card-footer dm-status-bar"},[a("p",{staticClass:"text-danger"},[t._v(t._s(t.replyText.length)+"/500 - Your message exceeds the limit of 500 characters")])]):t._e(),t._v(" "),a("div",{staticClass:"d-none card-footer p-0"},[a("p",{staticClass:"d-flex justify-content-between align-items-center mb-0 px-3 py-1 small"},[a("span",[a("span",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0 px-3 rounded-pill",on:{click:t.uploadMedia}},[a("i",{staticClass:"fas fa-upload mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\tAdd Photo/Video\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),a("input",{staticClass:"d-none",attrs:{type:"file",id:"uploadMedia",name:"uploadMedia",accept:"image/jpeg,image/png,image/gif,video/mp4"}}),t._v(" "),a("span",{staticClass:"text-muted font-weight-bold"},[t._v(t._s(t.replyText.length)+"/500")])])])],1)]):t._e(),t._v(" "),t.loaded&&"options"==t.page?a("div",{staticClass:"messages-page"},[a("div",{staticClass:"card shadow-none"},[a("div",{staticClass:"h4 card-header font-weight-bold text-dark d-flex justify-content-between align-items-center",staticStyle:{"letter-spacing":"-0.3px"}},[a("button",{staticClass:"btn btn-light rounded-pill text-dark",on:{click:function(e){return e.preventDefault(),t.goBack("read")}}},[a("i",{staticClass:"far fa-chevron-left fa-lg"})]),t._v(" "),a("div",[t._v("Direct Message Settings")]),t._v(" "),t._m(0)]),t._v(" "),a("ul",{staticClass:"list-group list-group-flush",staticStyle:{height:"698px"}},[a("div",{staticClass:"list-group-item media border-bottom"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.hideAvatars,expression:"hideAvatars"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch0"},domProps:{checked:Array.isArray(t.hideAvatars)?t._i(t.hideAvatars,null)>-1:t.hideAvatars},on:{change:function(e){var a=t.hideAvatars,i=e.target,o=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&(t.hideAvatars=a.concat([null])):s>-1&&(t.hideAvatars=a.slice(0,s).concat(a.slice(s+1)))}else t.hideAvatars=o}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch0"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tHide Avatars\n\t\t\t\t\t\t\t\t")])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.hideTimestamps,expression:"hideTimestamps"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch1"},domProps:{checked:Array.isArray(t.hideTimestamps)?t._i(t.hideTimestamps,null)>-1:t.hideTimestamps},on:{change:function(e){var a=t.hideTimestamps,i=e.target,o=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&(t.hideTimestamps=a.concat([null])):s>-1&&(t.hideTimestamps=a.slice(0,s).concat(a.slice(s+1)))}else t.hideTimestamps=o}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch1"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tHide Timestamps\n\t\t\t\t\t\t\t\t")])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.largerText,expression:"largerText"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch2"},domProps:{checked:Array.isArray(t.largerText)?t._i(t.largerText,null)>-1:t.largerText},on:{change:function(e){var a=t.largerText,i=e.target,o=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&(t.largerText=a.concat([null])):s>-1&&(t.largerText=a.slice(0,s).concat(a.slice(s+1)))}else t.largerText=o}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch2"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tLarger Text\n\t\t\t\t\t\t\t\t")])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom d-flex align-items-center"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.mutedNotifications,expression:"mutedNotifications"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch4"},domProps:{checked:Array.isArray(t.mutedNotifications)?t._i(t.mutedNotifications,null)>-1:t.mutedNotifications},on:{change:function(e){var a=t.mutedNotifications,i=e.target,o=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&(t.mutedNotifications=a.concat([null])):s>-1&&(t.mutedNotifications=a.slice(0,s).concat(a.slice(s+1)))}else t.mutedNotifications=o}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch4"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tMute Notifications\n\t\t\t\t\t\t\t\t\t"),a("p",{staticClass:"small mb-0"},[t._v("You will not receive any direct message notifications from "),a("strong",[t._v(t._s(t.thread.username))]),t._v(".")])])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom d-flex align-items-center"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.showDMPrivacyWarning,expression:"showDMPrivacyWarning"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch5"},domProps:{checked:Array.isArray(t.showDMPrivacyWarning)?t._i(t.showDMPrivacyWarning,null)>-1:t.showDMPrivacyWarning},on:{change:function(e){var a=t.showDMPrivacyWarning,i=e.target,o=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&(t.showDMPrivacyWarning=a.concat([null])):s>-1&&(t.showDMPrivacyWarning=a.slice(0,s).concat(a.slice(s+1)))}else t.showDMPrivacyWarning=o}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch5"}})]),t._v(" "),t._m(1)])])])]):t._e()]),t._v(" "),t.conversationProfile?a("div",{staticClass:"col-md-3 d-none d-md-block"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"small card-header font-weight-bold text-uppercase text-lighter",staticStyle:{"letter-spacing":"-0.3px"}},[t._v("\n\t\t\t\t\t\tConversation\n\t\t\t\t\t")]),t._v(" "),a("div",{staticClass:"card-body p-2"},[a("div",{staticClass:"media user-card user-select-none"},[a("div",[a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.conversationProfile.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.conversationProfile.display_name)},on:{click:function(e){return t.gotoProfile(t.conversationProfile)}}}),t._v(" "),a("p",{staticClass:"username primary",on:{click:function(e){return t.gotoProfile(t.conversationProfile)}}},[t._v("\n\t\t\t\t\t\t\t\t\t@"+t._s(t.conversationProfile.acct)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.conversationProfile.following_count)))]),t._v(" Following\n\t\t\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.conversationProfile.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t\t\t")])])])])])])]):t._e()])]):a("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[a("b-spinner")],1)])},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"btn btn-light rounded-pill text-dark"},[e("i",{staticClass:"far fa-smile fa-lg"})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tShow Privacy Warning\n\t\t\t\t\t\t\t\t\t"),a("p",{staticClass:"small mb-0"},[t._v("Show privacy warning indicating that direct messages are not end-to-end encrypted and that caution is advised when sending sensitive/confidential information.")])])}]},52422:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dm-chat-message chat-msg"},[a("div",{staticClass:"media d-inline-flex mb-0",class:{isAuthor:t.convo.isAuthor}},[t.convo.isAuthor||t.hideAvatars?t._e():a("img",{staticClass:"mr-3 shadow msg-avatar",attrs:{src:t.thread.avatar,alt:"avatar",width:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),t._v(" "),a("div",{staticClass:"media-body"},["photo"==t.convo.type?a("p",{staticClass:"pill-to p-0 shadow"},[a("img",{staticClass:"media-embed",staticStyle:{cursor:"pointer"},attrs:{src:t.convo.media,onerror:"this.onerror=null;this.src='/storage/no-preview.png';"},on:{click:function(e){return e.preventDefault(),t.expandMedia.apply(null,arguments)}}})]):"link"==t.convo.type?a("div",{staticClass:"d-inline-flex mb-0 cursor-pointer"},[a("div",{staticClass:"card shadow border",staticStyle:{width:"240px","border-radius":"18px"}},[a("div",{staticClass:"card-body p-0",attrs:{title:t.convo.text}},[a("div",{staticClass:"media align-items-center"},[t.convo.meta.local?a("div",{staticClass:"bg-primary mr-3 p-3",staticStyle:{"border-radius":"18px"}},[a("i",{staticClass:"fas fa-link text-white fa-2x"})]):a("div",{staticClass:"bg-light mr-3 p-3",staticStyle:{"border-radius":"18px"}},[a("i",{staticClass:"fas fa-link text-lighter fa-2x"})]),t._v(" "),a("div",{staticClass:"media-body text-muted small text-truncate pr-2 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.convo.meta.local?t.convo.text.substr(8):t.convo.meta.domain)+"\n\t\t\t\t\t\t\t\t")])])])])]):"video"==t.convo.type?a("p",{staticClass:"pill-to p-0 shadow mb-0",staticStyle:{"line-height":"0"}},[a("video",{staticClass:"media-embed",staticStyle:{"border-radius":"20px"},attrs:{src:t.convo.media,controls:""}})]):"emoji"==t.convo.type?a("p",{staticClass:"p-0 emoji-msg"},[t._v("\n\t\t\t\t"+t._s(t.convo.text)+"\n\t\t\t")]):"story:react"==t.convo.type?a("p",{staticClass:"pill-to p-0 shadow",staticStyle:{width:"140px","margin-bottom":"10px",position:"relative"}},[a("img",{staticStyle:{"border-radius":"20px"},attrs:{src:t.convo.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),a("span",{staticClass:"badge badge-light rounded-pill border",staticStyle:{"font-size":"20px",position:"absolute",bottom:"-10px",left:"-10px"}},[t._v("\n\t\t\t\t\t"+t._s(t.convo.meta.reaction)+"\n\t\t\t\t")])]):"story:comment"==t.convo.type?a("span",{staticClass:"p-0",staticStyle:{display:"flex","justify-content":"flex-start","margin-bottom":"10px",position:"relative"}},[a("span",{},[a("img",{staticClass:"d-block pill-to p-0 mr-0 pr-0 mb-n1",staticStyle:{"border-radius":"20px"},attrs:{src:t.convo.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),a("span",{staticClass:"pill-to shadow text-break",staticStyle:{width:"fit-content"}},[t._v(t._s(t.convo.meta.caption))])])]):a("p",{class:[t.largerText?"pill-to shadow larger-text text-break":"pill-to shadow text-break"]},[t._v("\n\t\t\t\t"+t._s(t.convo.text)+"\n\t\t\t")]),t._v(" "),"story:react"==t.convo.type?a("p",{staticClass:"small text-muted mb-0 ml-0"},[a("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.convo.meta.story_actor_username))]),t._v(" reacted your story\n\t\t\t")]):t._e(),t._v(" "),"story:comment"==t.convo.type?a("p",{staticClass:"small text-muted mb-0 ml-0"},[a("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.convo.meta.story_actor_username))]),t._v(" replied to your story\n\t\t\t")]):t._e(),t._v(" "),a("p",{staticClass:"msg-timestamp small text-muted font-weight-bold d-flex align-items-center justify-content-start",attrs:{"data-timestamp":"timestamp"}},[t.convo.hidden?a("span",{staticClass:"small pr-2",attrs:{title:"Filtered Message","data-toggle":"tooltip","data-placement":"bottom"}},[a("i",{staticClass:"fas fa-lock"})]):t._e(),t._v(" "),t.hideTimestamps?t._e():a("span",[t._v("\n\t\t\t\t\t"+t._s(t.convo.timeAgo)+"\n\t\t\t\t")]),t._v(" "),t.convo.isAuthor?a("button",{staticClass:"btn btn-link btn-sm text-lighter pl-2 font-weight-bold",on:{click:t.confirmDelete}},[a("i",{staticClass:"far fa-trash-alt"})]):t._e()])]),t._v(" "),t.convo.isAuthor&&!t.hideAvatars?a("img",{staticClass:"ml-3 shadow msg-avatar",attrs:{src:t.profile.avatar,alt:"avatar",width:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}):t._e()])])},o=[]},8580:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},o=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[a("div",{staticClass:"ph-col-12"},[a("div",{staticClass:"ph-row align-items-center mt-0"},[a("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),t._v(" "),a("div",{staticClass:"ph-col-6 big"})])])])}]},20512:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[a("div",{domProps:{innerHTML:t._s(t.content)}})])},o=[]},79409:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"profile-hover-card"},[a("div",{staticClass:"profile-hover-card-inner"},[a("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[a("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[a("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?a("div",[a("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?a("div",[t.relationship.following?a("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?a("span",[a("b-spinner",{attrs:{small:""}})],1):a("span",[t._v("Following")])]):a("div",[t.relationship.requested?a("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):a("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?a("span",[a("b-spinner",{attrs:{small:""}})],1):a("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),a("p",{staticClass:"display-name"},[a("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),a("div",{staticClass:"username"},[a("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?a("p",{staticClass:"username-follows-you"},[a("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?a("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),a("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),a("span",{staticClass:"stats-followers"},[a("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},o=[]}}]); \ No newline at end of file diff --git a/public/js/dmsg-ojtjadoml.js b/public/js/dmsg-ojtjadoml.js new file mode 100644 index 000000000..76f2e2dc3 --- /dev/null +++ b/public/js/dmsg-ojtjadoml.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[43],{62195:(t,e,a)=>{a.r(e),a.d(e,{default:()=>m});var i=a(42755),o=a(88231),s=a(33795),r=a(78423),n=a(22583),l=a(64491),d=a(19755);function c(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return p(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,i=new Array(e);a500?(this.showReplyLong=!1,void(this.showReplyTooLong=!0)):t.length>450?(this.showReplyTooLong=!1,void(this.showReplyLong=!0)):void 0}},methods:{sendMessage:function(){var t=this,e=this,a=this.replyText;axios.post("/api/direct/create",{to_id:this.threads[this.threadIndex].id,message:a,type:e.isEmoji(a)&&a.length<10?"emoji":"text"}).then((function(a){var i=a.data;e.threads[e.threadIndex].messages.unshift(i);var o=e.threads[e.threadIndex].messages.map((function(t){return t.id}));t.max_id=Math.max.apply(Math,c(o)),t.min_id=Math.min.apply(Math,c(o))})).catch((function(t){403==t.response.status&&(e.blocked=!0,swal("Profile Unavailable","You cannot message this profile at this time.","error"))})),this.replyText=""},truncate:function(t){return _.truncate(t)},deleteMessage:function(t){var e=this;window.confirm("Are you sure you want to delete this message?")&&axios.delete("/api/direct/message",{params:{id:this.thread.messages[t].reportId}}).then((function(a){e.thread.messages.splice(t,1)}))},reportMessage:function(){this.closeCtxMenu();var t="/i/report?type=post&id="+this.ctxContext.reportId;window.location.href=t},uploadMedia:function(t){var e=this;d(document).on("change","#uploadMedia",(function(t){e.handleUpload()}));var a=d(t.target);a.attr("disabled",""),d("#uploadMedia").click(),a.blur(),a.removeAttr("disabled")},handleUpload:function(){var t=this;if(!t.uploading){t.uploading=!0;var e=document.querySelector("#uploadMedia");e.files.length||(this.uploading=!1),Array.prototype.forEach.call(e.files,(function(e,a){var i=e.type,o=t.config.uploader.media_types.split(",");if(-1==d.inArray(i,o))return swal("Invalid File Type","The file you are trying to add is not a valid mime type. Please upload a "+t.config.uploader.media_types+" only.","error"),void(t.uploading=!1);var s=new FormData;s.append("file",e),s.append("to_id",t.threads[t.threadIndex].id);var r={onUploadProgress:function(e){var a=Math.round(100*e.loaded/e.total);t.uploadProgress=a}};axios.post("/api/direct/media",s,r).then((function(e){t.uploadProgress=100,t.uploading=!1;var a={id:e.data.id,type:e.data.type,reportId:e.data.reportId,isAuthor:!0,text:null,media:e.data.url,timeAgo:"1s",seen:null};t.threads[t.threadIndex].messages.unshift(a)})).catch((function(a){if(a.hasOwnProperty("response")&&a.response.hasOwnProperty("status"))if(451===a.response.status)t.uploading=!1,e.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error");else t.uploading=!1,e.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error")})),e.value=null,t.uploadProgress=0}))}},viewOriginal:function(){var t=this.ctxContext.media;window.location.href=t},isEmoji:function(t){var e=t.replace(new RegExp("[\0-ữf]","g"),""),a=t.replace(new RegExp("[\n\rs]+|( )+","g"),"");return e.length===a.length},copyText:function(){window.App.util.clipboard(this.ctxContext.text),this.closeCtxMenu()},clickLink:function(){var t=this.ctxContext.text;1!=this.ctxContext.meta.local&&(t="/i/redirect?url="+encodeURI(this.ctxContext.text)),window.location.href=t},markAsRead:function(){},loadOlderMessages:function(){var t=this,e=this;this.loadingMessages=!0,axios.get("/api/direct/thread",{params:{pid:this.accountId,max_id:this.min_id}}).then((function(a){var i,o=a.data;if(!o.messages.length)return t.showLoadMore=!1,void(t.loadingMessages=!1);var s=t.thread.messages.map((function(t){return t.id})),r=o.messages.filter((function(t){return-1==s.indexOf(t.id)})).reverse(),n=r.map((function(t){return t.id})),l=Math.min.apply(Math,c(n));if(l==t.min_id)return t.showLoadMore=!1,void(t.loadingMessages=!1);t.min_id=l,(i=t.thread.messages).push.apply(i,c(r)),setTimeout((function(){e.loadingMessages=!1}),500)})).catch((function(e){t.loadingMessages=!1}))},messagePoll:function(){var t=this;setInterval((function(){axios.get("/api/direct/thread",{params:{pid:t.accountId,min_id:t.thread.messages[t.thread.messages.length-1].id}}).then((function(t){}))}),5e3)},showOptions:function(){this.page="options"},updateOptions:function(){var t={v:1,hideAvatars:this.hideAvatars,hideTimestamps:this.hideTimestamps,largerText:this.largerText};window.localStorage.setItem("px_dm_options",JSON.stringify(t))},formatCount:function(t){return window.App.util.format.count(t)},goBack:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?this.page=t:this.$router.push("/i/web/direct")},gotoProfile:function(t){this.$router.push("/i/web/profile/".concat(t.id))},togglePrivacyWarning:function(){console.log("clicked toggle privacy warning");var t=window.localStorage,e="pf_m2s.dmwarncounter";if(this.showPrivacyWarning=!1,t.getItem(e)){var a=t.getItem(e);a++,t.setItem(e,a),a>5&&(this.showDMPrivacyWarning=!1)}else t.setItem(e,1)}}}},1789:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(99347);const o={props:{thread:{type:Object},convo:{type:Object},hideAvatars:{type:Boolean,default:!1},hideTimestamps:{type:Boolean,default:!1},largerText:{type:Boolean,default:!1}},data:function(){return{profile:window._sharedData.user}},methods:{truncate:function(t){return _.truncate(t)},viewOriginal:function(){var t=this.ctxContext.media;window.location.href=t},isEmoji:function(t){var e=t.replace(new RegExp("[\0-ữf]","g"),""),a=t.replace(new RegExp("[\n\rs]+|( )+","g"),"");return e.length===a.length},copyText:function(){window.App.util.clipboard(this.ctxContext.text),this.closeCtxMenu()},clickLink:function(){var t=this.ctxContext.text;1!=this.ctxContext.meta.local&&(t="/i/redirect?url="+encodeURI(this.ctxContext.text)),window.location.href=t},formatCount:function(t){return window.App.util.format.count(t)},confirmDelete:function(){this.$emit("confirm-delete")},expandMedia:function(t){(0,i.default)({el:t.target})}}}},66286:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,a=document.createElement("div");a.innerHTML=e,a.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),a.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var a=e.innerText;if("@"==a.substr(0,1)&&(a=a.substr(1)),0==t.status.account.local&&!a.includes("@")){var i=document.createElement("a");i.href=t.status.account.url,a=a+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+a)})),this.content=a.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var a=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),a)}))}}}},50371:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(80979),o=a(20629);function s(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function r(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const n={props:{profile:{type:Object}},components:{ReadMore:i.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var a=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==a}));return i.length?''.concat(i[0].shortcode,''):e}))}return a},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,a=document.createElement("div");a.innerHTML=e,a.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),a.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var a=e.innerText;if("@"==a.substr(0,1)&&(a=a.substr(1)),0==t.profile.local&&!a.includes("@")){var i=document.createElement("a");i.href=t.profile.url,a=a+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+a)})),this.bio=a.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},91488:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(23645),o=a.n(i)()((function(t){return t[1]}));o.push([t.id,'.dm-page-component[data-v-bd901ba2]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.dm-page-component .user-card[data-v-bd901ba2]{align-items:center}.dm-page-component .user-card .avatar[data-v-bd901ba2]{border:1px solid var(--border-color);border-radius:15px;height:60px;margin-right:.8rem;width:60px}.dm-page-component .user-card .avatar-update-btn[data-v-bd901ba2]{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}.dm-page-component .user-card .avatar-update-btn-icon[data-v-bd901ba2]{-webkit-font-smoothing:antialiased;text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1}.dm-page-component .user-card .avatar-update-btn-icon[data-v-bd901ba2]:before{content:""}.dm-page-component .user-card .username[data-v-bd901ba2]{cursor:pointer;font-size:13px;font-weight:600;margin-bottom:0}.dm-page-component .user-card .display-name[data-v-bd901ba2]{color:var(--body-color);cursor:pointer;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}.dm-page-component .user-card .stats[data-v-bd901ba2]{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dm-page-component .user-card .stats .stats-following[data-v-bd901ba2]{margin-right:.8rem}.dm-page-component .user-card .stats .followers-count[data-v-bd901ba2],.dm-page-component .user-card .stats .following-count[data-v-bd901ba2]{font-weight:800}.dm-page-component .dm-reply-form[data-v-bd901ba2]{background-color:var(--card-bg);display:flex;justify-content:space-between;padding:1rem}.dm-page-component .dm-reply-form .btn.focus[data-v-bd901ba2],.dm-page-component .dm-reply-form .btn[data-v-bd901ba2]:focus,.dm-page-component .dm-reply-form input.focus[data-v-bd901ba2],.dm-page-component .dm-reply-form input[data-v-bd901ba2]:focus{box-shadow:none;outline:0}.dm-page-component .dm-reply-form[data-v-bd901ba2] :disabled{opacity:20%!important}.dm-page-component .dm-reply-form-input-group[data-v-bd901ba2]{margin-right:10px;position:relative;width:100%}.dm-page-component .dm-reply-form-input-group input[data-v-bd901ba2]{background-color:var(--comment-bg);border-color:var(--comment-bg)!important;border-radius:25px;color:var(--dark);font-size:15px;padding-right:60px;position:absolute}.dm-page-component .dm-reply-form-input-group .upload-media-btn[data-v-bd901ba2]{color:var(--text-lighter);position:absolute;right:10px;top:50%;transform:translateY(-50%)}.dm-page-component .dm-reply-form-submit-btn[data-v-bd901ba2]{border-radius:24px;height:48px;width:48px}.dm-page-component .dm-status-bar[data-v-bd901ba2]{color:var(--text-lighter);font-size:12px;font-weight:600}.dm-page-component .dm-status-bar p[data-v-bd901ba2]{margin-bottom:0}.dm-page-component .dm-privacy-warning .btn[data-v-bd901ba2],.dm-page-component .dm-privacy-warning p[data-v-bd901ba2]{color:#000}.dm-page-component .dm-privacy-warning .warning-text[data-v-bd901ba2]{text-align:left}@media(min-width:992px){.dm-page-component .dm-privacy-warning .warning-text[data-v-bd901ba2]{text-align:center}}.dm-page-component-row .dm-wrapper[data-v-bd901ba2]{height:calc(100vh - 240px);padding-top:100px}@media(min-width:500px){.dm-page-component-row .dm-wrapper[data-v-bd901ba2]{min-height:40vh}}@media(min-width:700px){.dm-page-component-row .dm-wrapper[data-v-bd901ba2]{height:60vh}}',""]);const s=o},50409:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(23645),o=a.n(i)()((function(t){return t[1]}));o.push([t.id,".chat-msg[data-v-667e9bbe]{padding-bottom:0;padding-top:0}.reply-btn[data-v-667e9bbe]{border-radius:0 3px 3px 0;bottom:54px;position:absolute;right:20px;text-align:center;width:90px}.media-body .bg-primary[data-v-667e9bbe]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important}.pill-to[data-v-667e9bbe]{background:var(--bg-light);margin-right:3rem}.pill-from[data-v-667e9bbe],.pill-to[data-v-667e9bbe]{border-radius:20px!important;font-weight:500;margin-bottom:.25rem;padding:.5rem 1rem}.pill-from[data-v-667e9bbe]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important;color:#fff!important;margin-left:3rem;text-align:right!important}.chat-smsg[data-v-667e9bbe]:hover{background:var(--light-hover-bg)}.no-focus[data-v-667e9bbe]{border:none!important}.no-focus[data-v-667e9bbe]:focus{box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;outline:none!important;outline-width:0!important}.emoji-msg[data-v-667e9bbe]{font-size:4rem!important;line-height:30px!important;margin-top:10px!important}.larger-text[data-v-667e9bbe]{font-size:22px}.dm-chat-message .isAuthor[data-v-667e9bbe]{float:right;margin-right:.5rem!important}.dm-chat-message .isAuthor .pill-to[data-v-667e9bbe]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important;border-radius:20px!important;color:#fff!important;font-weight:500;margin-bottom:.25rem;margin-left:3rem;margin-right:0;padding:.5rem 1rem;text-align:right!important}.dm-chat-message .isAuthor .msg-timestamp[data-v-667e9bbe]{display:block!important;margin-bottom:0;text-align:right}.dm-chat-message .msg-avatar[data-v-667e9bbe]{border-radius:14px;height:50px;width:50px}.dm-chat-message .media-embed[data-v-667e9bbe]{border-radius:20px;width:140px}@media(min-width:450px){.dm-chat-message .media-embed[data-v-667e9bbe]{width:200px}}",""]);const s=o},84582:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(23645),o=a.n(i)()((function(t){return t[1]}));o.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const s=o},43798:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(93379),o=a.n(i),s=a(91488),r={insert:"head",singleton:!1};o()(s.default,r);const n=s.default.locals||{}},20868:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(93379),o=a.n(i),s=a(50409),r={insert:"head",singleton:!1};o()(s.default,r);const n=s.default.locals||{}},56823:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(93379),o=a.n(i),s=a(84582),r={insert:"head",singleton:!1};o()(s.default,r);const n=s.default.locals||{}},17360:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(71940),o=a(96811),s={};for(const t in o)"default"!==t&&(s[t]=()=>o[t]);a.d(e,s);a(11247);const r=(0,a(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"bd901ba2",null).exports},64491:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(12479),o=a(67093),s={};for(const t in o)"default"!==t&&(s[t]=()=>o[t]);a.d(e,s);a(72031);const r=(0,a(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"667e9bbe",null).exports},33795:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(56622);const o=(0,a(51900).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(17386),o=a(20516),s={};for(const t in o)"default"!==t&&(s[t]=()=>o[t]);a.d(e,s);const r=(0,a(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(54856),o=a(81498),s={};for(const t in o)"default"!==t&&(s[t]=()=>o[t]);a.d(e,s);a(60970);const r=(0,a(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},96811:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(62195),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o);const s=i.default},67093:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(1789),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o);const s=i.default},20516:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(66286),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o);const s=i.default},81498:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(50371),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o);const s=i.default},11247:(t,e,a)=>{a.r(e);var i=a(43798),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},72031:(t,e,a)=>{a.r(e);var i=a(20868),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},60970:(t,e,a)=>{a.r(e);var i=a(56823),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},71940:(t,e,a)=>{a.r(e);var i=a(81756),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},12479:(t,e,a)=>{a.r(e);var i=a(52422),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},56622:(t,e,a)=>{a.r(e);var i=a(8580),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},17386:(t,e,a)=>{a.r(e);var i=a(20512),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},54856:(t,e,a)=>{a.r(e);var i=a(79409),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);a.d(e,o)},81756:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dm-page-component"},[t.isLoaded?a("div",{staticClass:"container-fluid mt-lg-3 pb-lg-5"},[a("div",{staticClass:"row dm-page-component-row"},[a("div",{staticClass:"col-md-3 d-md-block"},[a("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),a("div",{staticClass:"col-md-6 p-0"},[t.loaded&&"read"==t.page?a("div",{staticClass:"messages-page"},[a("div",{staticClass:"card shadow-none"},[a("div",{staticClass:"h4 card-header font-weight-bold text-dark d-flex justify-content-between align-items-center",staticStyle:{"letter-spacing":"-0.3px"}},[a("button",{staticClass:"btn btn-light rounded-pill text-dark",on:{click:function(e){return t.goBack()}}},[a("i",{staticClass:"far fa-chevron-left fa-lg"})]),t._v(" "),a("div",[t._v("Direct Message")]),t._v(" "),a("button",{staticClass:"btn btn-light rounded-pill text-dark",on:{click:function(e){return t.showOptions()}}},[a("i",{staticClass:"far fa-cog fa-lg"})])]),t._v(" "),a("ul",{staticClass:"list-group list-group-flush",staticStyle:{position:"relative"}},[a("li",{staticClass:"list-group-item border-bottom sticky-top"},[a("p",{staticClass:"text-center small text-muted mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\tConversation with "),a("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.thread.username))])])])]),t._v(" "),a("transition",{attrs:{name:"fade"}},[t.showDMPrivacyWarning&&t.showPrivacyWarning?a("ul",{staticClass:"list-group list-group-flush dm-privacy-warning",staticStyle:{position:"absolute",top:"105px",width:"100%"}},[a("li",{staticClass:"list-group-item border-bottom sticky-top bg-warning"},[a("div",{staticClass:"d-flex align-items-center justify-content-between"},[a("div",{staticClass:"d-none d-lg-block"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger fa-lg mr-3"})]),t._v(" "),a("div",[a("p",{staticClass:"small warning-text mb-0 font-weight-bold"},[a("span",{staticClass:"d-inline d-lg-none"},[t._v("DMs")]),a("span",{staticClass:"d-none d-lg-inline"},[t._v("Direct messages on Pixelfed")]),t._v(" are not end-to-end encrypted.\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("p",{staticClass:"small warning-text mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tUse caution when sharing sensitive data.\n\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),a("button",{staticClass:"btn btn-link text-decoration-none",on:{click:t.togglePrivacyWarning}},[a("i",{staticClass:"far fa-times-circle fa-lg"}),t._v(" "),a("span",{staticClass:"d-none d-lg-block"},[t._v("Close")])])])])]):t._e()]),t._v(" "),a("ul",{staticClass:"list-group list-group-flush dm-wrapper",staticStyle:{"overflow-y":"scroll",position:"relative","flex-direction":"column-reverse"}},[t._l(t.thread.messages,(function(e,i){return a("li",{staticClass:"list-group-item border-0 chat-msg mb-n2"},[a("message",{attrs:{convo:e,thread:t.thread,hideAvatars:t.hideAvatars,hideTimestamps:t.hideTimestamps,largerText:t.largerText},on:{"confirm-delete":function(e){return t.deleteMessage(i)}}})],1)})),t._v(" "),t.showLoadMore&&t.thread.messages&&t.thread.messages.length>5?a("li",{staticClass:"list-group-item border-0"},[a("p",{staticClass:"text-center small text-muted"},[t.loadingMessages?a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",attrs:{disabled:""}},[t._v("Loading...")]):a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",on:{click:function(e){return t.loadOlderMessages()}}},[t._v("Load Older Messages")])])]):t._e()],2),t._v(" "),a("div",{staticClass:"card-footer bg-white p-0"},[a("div",{staticClass:"dm-reply-form"},[a("div",{staticClass:"dm-reply-form-input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control form-control-lg",attrs:{placeholder:"Type a message...",disabled:t.uploading},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}}),t._v(" "),a("button",{staticClass:"upload-media-btn btn btn-link",attrs:{disabled:t.uploading},on:{click:t.uploadMedia}},[a("i",{staticClass:"far fa-image fa-2x"})])]),t._v(" "),a("button",{staticClass:"dm-reply-form-submit-btn btn btn-primary",attrs:{disabled:!t.replyText||!t.replyText.length||t.showReplyTooLong},on:{click:t.sendMessage}},[a("i",{staticClass:"far fa-paper-plane fa-lg"})])])]),t._v(" "),t.uploading?a("div",{staticClass:"card-footer dm-status-bar"},[a("p",[t._v("Uploading ("+t._s(t.uploadProgress)+"%) ...")])]):t._e(),t._v(" "),t.showReplyLong?a("div",{staticClass:"card-footer dm-status-bar"},[a("p",{staticClass:"text-warning"},[t._v(t._s(t.replyText.length)+"/500")])]):t._e(),t._v(" "),t.showReplyTooLong?a("div",{staticClass:"card-footer dm-status-bar"},[a("p",{staticClass:"text-danger"},[t._v(t._s(t.replyText.length)+"/500 - Your message exceeds the limit of 500 characters")])]):t._e(),t._v(" "),a("div",{staticClass:"d-none card-footer p-0"},[a("p",{staticClass:"d-flex justify-content-between align-items-center mb-0 px-3 py-1 small"},[a("span",[a("span",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0 px-3 rounded-pill",on:{click:t.uploadMedia}},[a("i",{staticClass:"fas fa-upload mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\tAdd Photo/Video\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),a("input",{staticClass:"d-none",attrs:{type:"file",id:"uploadMedia",name:"uploadMedia",accept:"image/jpeg,image/png,image/gif,video/mp4"}}),t._v(" "),a("span",{staticClass:"text-muted font-weight-bold"},[t._v(t._s(t.replyText.length)+"/500")])])])],1)]):t._e(),t._v(" "),t.loaded&&"options"==t.page?a("div",{staticClass:"messages-page"},[a("div",{staticClass:"card shadow-none"},[a("div",{staticClass:"h4 card-header font-weight-bold text-dark d-flex justify-content-between align-items-center",staticStyle:{"letter-spacing":"-0.3px"}},[a("button",{staticClass:"btn btn-light rounded-pill text-dark",on:{click:function(e){return e.preventDefault(),t.goBack("read")}}},[a("i",{staticClass:"far fa-chevron-left fa-lg"})]),t._v(" "),a("div",[t._v("Direct Message Settings")]),t._v(" "),t._m(0)]),t._v(" "),a("ul",{staticClass:"list-group list-group-flush",staticStyle:{height:"698px"}},[a("div",{staticClass:"list-group-item media border-bottom"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.hideAvatars,expression:"hideAvatars"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch0"},domProps:{checked:Array.isArray(t.hideAvatars)?t._i(t.hideAvatars,null)>-1:t.hideAvatars},on:{change:function(e){var a=t.hideAvatars,i=e.target,o=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&(t.hideAvatars=a.concat([null])):s>-1&&(t.hideAvatars=a.slice(0,s).concat(a.slice(s+1)))}else t.hideAvatars=o}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch0"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tHide Avatars\n\t\t\t\t\t\t\t\t")])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.hideTimestamps,expression:"hideTimestamps"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch1"},domProps:{checked:Array.isArray(t.hideTimestamps)?t._i(t.hideTimestamps,null)>-1:t.hideTimestamps},on:{change:function(e){var a=t.hideTimestamps,i=e.target,o=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&(t.hideTimestamps=a.concat([null])):s>-1&&(t.hideTimestamps=a.slice(0,s).concat(a.slice(s+1)))}else t.hideTimestamps=o}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch1"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tHide Timestamps\n\t\t\t\t\t\t\t\t")])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.largerText,expression:"largerText"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch2"},domProps:{checked:Array.isArray(t.largerText)?t._i(t.largerText,null)>-1:t.largerText},on:{change:function(e){var a=t.largerText,i=e.target,o=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&(t.largerText=a.concat([null])):s>-1&&(t.largerText=a.slice(0,s).concat(a.slice(s+1)))}else t.largerText=o}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch2"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tLarger Text\n\t\t\t\t\t\t\t\t")])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom d-flex align-items-center"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.mutedNotifications,expression:"mutedNotifications"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch4"},domProps:{checked:Array.isArray(t.mutedNotifications)?t._i(t.mutedNotifications,null)>-1:t.mutedNotifications},on:{change:function(e){var a=t.mutedNotifications,i=e.target,o=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&(t.mutedNotifications=a.concat([null])):s>-1&&(t.mutedNotifications=a.slice(0,s).concat(a.slice(s+1)))}else t.mutedNotifications=o}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch4"}})]),t._v(" "),a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tMute Notifications\n\t\t\t\t\t\t\t\t\t"),a("p",{staticClass:"small mb-0"},[t._v("You will not receive any direct message notifications from "),a("strong",[t._v(t._s(t.thread.username))]),t._v(".")])])]),t._v(" "),a("div",{staticClass:"list-group-item media border-bottom d-flex align-items-center"},[a("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.showDMPrivacyWarning,expression:"showDMPrivacyWarning"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch5"},domProps:{checked:Array.isArray(t.showDMPrivacyWarning)?t._i(t.showDMPrivacyWarning,null)>-1:t.showDMPrivacyWarning},on:{change:function(e){var a=t.showDMPrivacyWarning,i=e.target,o=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&(t.showDMPrivacyWarning=a.concat([null])):s>-1&&(t.showDMPrivacyWarning=a.slice(0,s).concat(a.slice(s+1)))}else t.showDMPrivacyWarning=o}}}),t._v(" "),a("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch5"}})]),t._v(" "),t._m(1)])])])]):t._e()]),t._v(" "),t.conversationProfile?a("div",{staticClass:"col-md-3 d-none d-md-block"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"small card-header font-weight-bold text-uppercase text-lighter",staticStyle:{"letter-spacing":"-0.3px"}},[t._v("\n\t\t\t\t\t\tConversation\n\t\t\t\t\t")]),t._v(" "),a("div",{staticClass:"card-body p-2"},[a("div",{staticClass:"media user-card user-select-none"},[a("div",[a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.conversationProfile.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.conversationProfile.display_name)},on:{click:function(e){return t.gotoProfile(t.conversationProfile)}}}),t._v(" "),a("p",{staticClass:"username primary",on:{click:function(e){return t.gotoProfile(t.conversationProfile)}}},[t._v("\n\t\t\t\t\t\t\t\t\t@"+t._s(t.conversationProfile.acct)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.conversationProfile.following_count)))]),t._v(" Following\n\t\t\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.conversationProfile.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t\t\t")])])])])])])]):t._e()])]):a("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[a("b-spinner")],1)])},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"btn btn-light rounded-pill text-dark"},[e("i",{staticClass:"far fa-smile fa-lg"})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tShow Privacy Warning\n\t\t\t\t\t\t\t\t\t"),a("p",{staticClass:"small mb-0"},[t._v("Show privacy warning indicating that direct messages are not end-to-end encrypted and that caution is advised when sending sensitive/confidential information.")])])}]},52422:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dm-chat-message chat-msg"},[a("div",{staticClass:"media d-inline-flex mb-0",class:{isAuthor:t.convo.isAuthor}},[t.convo.isAuthor||t.hideAvatars?t._e():a("img",{staticClass:"mr-3 shadow msg-avatar",attrs:{src:t.thread.avatar,alt:"avatar",width:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),t._v(" "),a("div",{staticClass:"media-body"},["photo"==t.convo.type?a("p",{staticClass:"pill-to p-0 shadow"},[a("img",{staticClass:"media-embed",staticStyle:{cursor:"pointer"},attrs:{src:t.convo.media,onerror:"this.onerror=null;this.src='/storage/no-preview.png';"},on:{click:function(e){return e.preventDefault(),t.expandMedia.apply(null,arguments)}}})]):"link"==t.convo.type?a("div",{staticClass:"d-inline-flex mb-0 cursor-pointer"},[a("div",{staticClass:"card shadow border",staticStyle:{width:"240px","border-radius":"18px"}},[a("div",{staticClass:"card-body p-0",attrs:{title:t.convo.text}},[a("div",{staticClass:"media align-items-center"},[t.convo.meta.local?a("div",{staticClass:"bg-primary mr-3 p-3",staticStyle:{"border-radius":"18px"}},[a("i",{staticClass:"fas fa-link text-white fa-2x"})]):a("div",{staticClass:"bg-light mr-3 p-3",staticStyle:{"border-radius":"18px"}},[a("i",{staticClass:"fas fa-link text-lighter fa-2x"})]),t._v(" "),a("div",{staticClass:"media-body text-muted small text-truncate pr-2 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.convo.meta.local?t.convo.text.substr(8):t.convo.meta.domain)+"\n\t\t\t\t\t\t\t\t")])])])])]):"video"==t.convo.type?a("p",{staticClass:"pill-to p-0 shadow mb-0",staticStyle:{"line-height":"0"}},[a("video",{staticClass:"media-embed",staticStyle:{"border-radius":"20px"},attrs:{src:t.convo.media,controls:""}})]):"emoji"==t.convo.type?a("p",{staticClass:"p-0 emoji-msg"},[t._v("\n\t\t\t\t"+t._s(t.convo.text)+"\n\t\t\t")]):"story:react"==t.convo.type?a("p",{staticClass:"pill-to p-0 shadow",staticStyle:{width:"140px","margin-bottom":"10px",position:"relative"}},[a("img",{staticStyle:{"border-radius":"20px"},attrs:{src:t.convo.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),a("span",{staticClass:"badge badge-light rounded-pill border",staticStyle:{"font-size":"20px",position:"absolute",bottom:"-10px",left:"-10px"}},[t._v("\n\t\t\t\t\t"+t._s(t.convo.meta.reaction)+"\n\t\t\t\t")])]):"story:comment"==t.convo.type?a("span",{staticClass:"p-0",staticStyle:{display:"flex","justify-content":"flex-start","margin-bottom":"10px",position:"relative"}},[a("span",{},[a("img",{staticClass:"d-block pill-to p-0 mr-0 pr-0 mb-n1",staticStyle:{"border-radius":"20px"},attrs:{src:t.convo.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),a("span",{staticClass:"pill-to shadow text-break",staticStyle:{width:"fit-content"}},[t._v(t._s(t.convo.meta.caption))])])]):a("p",{class:[t.largerText?"pill-to shadow larger-text text-break":"pill-to shadow text-break"]},[t._v("\n\t\t\t\t"+t._s(t.convo.text)+"\n\t\t\t")]),t._v(" "),"story:react"==t.convo.type?a("p",{staticClass:"small text-muted mb-0 ml-0"},[a("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.convo.meta.story_actor_username))]),t._v(" reacted your story\n\t\t\t")]):t._e(),t._v(" "),"story:comment"==t.convo.type?a("p",{staticClass:"small text-muted mb-0 ml-0"},[a("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.convo.meta.story_actor_username))]),t._v(" replied to your story\n\t\t\t")]):t._e(),t._v(" "),a("p",{staticClass:"msg-timestamp small text-muted font-weight-bold d-flex align-items-center justify-content-start",attrs:{"data-timestamp":"timestamp"}},[t.convo.hidden?a("span",{staticClass:"small pr-2",attrs:{title:"Filtered Message","data-toggle":"tooltip","data-placement":"bottom"}},[a("i",{staticClass:"fas fa-lock"})]):t._e(),t._v(" "),t.hideTimestamps?t._e():a("span",[t._v("\n\t\t\t\t\t"+t._s(t.convo.timeAgo)+"\n\t\t\t\t")]),t._v(" "),t.convo.isAuthor?a("button",{staticClass:"btn btn-link btn-sm text-lighter pl-2 font-weight-bold",on:{click:t.confirmDelete}},[a("i",{staticClass:"far fa-trash-alt"})]):t._e()])]),t._v(" "),t.convo.isAuthor&&!t.hideAvatars?a("img",{staticClass:"ml-3 shadow msg-avatar",attrs:{src:t.profile.avatar,alt:"avatar",width:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}):t._e()])])},o=[]},8580:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},o=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[a("div",{staticClass:"ph-col-12"},[a("div",{staticClass:"ph-row align-items-center mt-0"},[a("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),t._v(" "),a("div",{staticClass:"ph-col-6 big"})])])])}]},20512:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[a("div",{domProps:{innerHTML:t._s(t.content)}})])},o=[]},79409:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"profile-hover-card"},[a("div",{staticClass:"profile-hover-card-inner"},[a("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[a("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[a("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?a("div",[a("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?a("div",[t.relationship.following?a("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?a("span",[a("b-spinner",{attrs:{small:""}})],1):a("span",[t._v("Following")])]):a("div",[t.relationship.requested?a("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):a("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?a("span",[a("b-spinner",{attrs:{small:""}})],1):a("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),a("p",{staticClass:"display-name"},[a("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),a("div",{staticClass:"username"},[a("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?a("p",{staticClass:"username-follows-you"},[a("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?a("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),a("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),a("span",{staticClass:"stats-followers"},[a("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},o=[]}}]); \ No newline at end of file diff --git a/public/js/dmyh-mh8cayo8d.js b/public/js/dmyh-ojtjadoml.js similarity index 84% rename from public/js/dmyh-mh8cayo8d.js rename to public/js/dmyh-ojtjadoml.js index 3771a820b..d4ffe3de5 100644 --- a/public/js/dmyh-mh8cayo8d.js +++ b/public/js/dmyh-ojtjadoml.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[426],{95651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>d});var o=s(42755),i=s(88231),n=s(99247),a=s(8829),r=s(5327),l=s(31823),c=s(21917);const d={components:{drawer:o.default,sidebar:i.default,"context-menu":a.default,"likes-modal":r.default,"shares-modal":l.default,"report-modal":c.default,"status-card":n.default},data:function(){return{isLoaded:!0,isLoading:!0,profile:window._sharedData.user,tagIndex:0,tags:[],feed:[],tagsLoaded:!1,breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"My Hashtags",active:!0}],canLoadMore:!0,isFetchingMore:!1,endFeedReached:!1,postIndex:0,showMenu:!1,showLikesModal:!1,likesModalPost:{},showReportModal:!1,reportedStatus:{},reportedStatusId:0,showSharesModal:!1,sharesModalPost:{}}},mounted:function(){this.fetchHashtags()},methods:{fetchHashtags:function(){var t=this;axios.get("/api/local/discover/tag/list").then((function(e){t.tags=e.data,t.tagsLoaded=!0,t.tags.length?t.fetchTagFeed(t.tags[0]):t.isLoading=!1})).catch((function(e){t.isLoading=!1}))},fetchTagFeed:function(t){var e=this;this.isLoading=!0,axios.get("/api/v2/discover/tag",{params:{hashtag:t}}).then((function(t){e.feed=t.data.tags.map((function(t){return t.status})),e.isLoading=!1})).catch((function(t){e.isLoading=!1}))},toggleTag:function(t){this.tagIndex=t,this.fetchTagFeed(this.tags[t])},likeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1;var i=document.createElement("p");i.classList.add("text-left"),i.classList.add("mb-0"),i.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var n=document.createElement("div");n.appendChild(i),429===s.response.status&&swal({title:"Too many requests",content:n,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1}))},shareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},handleBookmark:function(t){var e=this,s=this.feed[t];axios.post("/i/bookmark",{item:s.id}).then((function(o){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(26535),i=s(74338),n=s(37846),a=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"post-content":n.default,"post-header":i.default,"post-reactions":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},57170:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,o.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(22583);const i={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":o.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(26535),i=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},95159:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(80979),i=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},44136:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".discover-my-hashtags-component .bg-stellar[data-v-84db52ca]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-my-hashtags-component .font-default[data-v-84db52ca]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-my-hashtags-component .active[data-v-84db52ca]{font-weight:700}",""]);const n=i},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},40146:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(44136),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(90998),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(25506),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(84582),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},33354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(10782),i=s(44301),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(84027);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"84db52ca",null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(10326),i=s(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(43956);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12350),i=s(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(99220),i=s(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(42659);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(66339),i=s(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50309),i=s(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(15278),i=s(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(98223);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(19986),i=s(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(81690),i=s(18988),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(84177),i=s(8622),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(26385),i=s(36875),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(17386),i=s(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(20458),i=s(22917),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(54856),i=s(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(60970);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},44301:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(95651),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(77366),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},35181:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(62744),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(25356),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90427),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(27830),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},12422:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36765),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40423:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(57170),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(86609),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(42325),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(98844),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66286),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},22917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(95159),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(50371),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},84027:(t,e,s)=>{s.r(e);var o=s(40146),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},43956:(t,e,s)=>{s.r(e);var o=s(94901),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},42659:(t,e,s)=>{s.r(e);var o=s(61191),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},60970:(t,e,s)=>{s.r(e);var o=s(56823),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},10782:(t,e,s)=>{s.r(e);var o=s(40202),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},10326:(t,e,s)=>{s.r(e);var o=s(8954),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12350:(t,e,s)=>{s.r(e);var o=s(4493),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99220:(t,e,s)=>{s.r(e);var o=s(90215),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},66339:(t,e,s)=>{s.r(e);var o=s(49209),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50309:(t,e,s)=>{s.r(e);var o=s(64084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},15278:(t,e,s)=>{s.r(e);var o=s(94122),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98223:(t,e,s)=>{s.r(e);var o=s(72729),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},19986:(t,e,s)=>{s.r(e);var o=s(51364),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},81690:(t,e,s)=>{s.r(e);var o=s(85892),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},84177:(t,e,s)=>{s.r(e);var o=s(24514),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},26385:(t,e,s)=>{s.r(e);var o=s(64295),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17386:(t,e,s)=>{s.r(e);var o=s(20512),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},20458:(t,e,s)=>{s.r(e);var o=s(34392),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},54856:(t,e,s)=>{s.r(e);var o=s(79409),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},40202:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"discover-my-hashtags-component"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("My Hashtags")]),t._v(" "),s("p",{staticClass:"font-default lead"},[t._v("Posts from hashtags you follow")]),t._v(" "),s("hr"),t._v(" "),t.isLoading?s("b-spinner"):t._e(),t._v(" "),t._l(t.feed,(function(e,o){return t.isLoading?t._e():s("status-card",{key:"ti1:"+o+":"+e.id,attrs:{profile:t.profile,status:e},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"mod-tools":function(e){return t.handleModTools(o)},"likes-modal":function(e){return t.openLikesModal(o)},"shares-modal":function(e){return t.openSharesModal(o)},bookmark:function(e){return t.handleBookmark(o)}}})})),t._v(" "),!t.isLoading&&t.tagsLoaded&&0==t.feed.length?s("p",{staticClass:"lead"},[t._v("No hashtags found :(")]):t._e()],2),t._v(" "),s("div",{staticClass:"col-md-2 col-lg-3"},[s("div",{staticClass:"nav flex-column nav-pills font-default"},t._l(t.tags,(function(e,o){return s("a",{staticClass:"nav-link",class:{active:t.tagIndex==o},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTag(o)}}},[t._v("\n\t\t\t\t\t\t"+t._s(e)+"\n\t\t\t\t\t")])})),0)])])]):t._e(),t._v(" "),t.showMenu?s("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?s("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?s("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),s("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},4493:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?s("div",{staticClass:"card shadow-none rounded-lg border my-4"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?s("div",[t.status.content_text.length<=140?s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?s("div",[s("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[s("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?s("p",{staticClass:"mt-3 mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),s("p",{staticClass:"text-right mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),s("div",{staticClass:"mt-4"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?s("div",[s("div",{staticClass:"my-4 text-center"},[s("b-spinner"),t._v(" "),s("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-4x text-success"},[s("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-3x text-danger"},[s("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===o?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[o].replies},on:{"counter-change":function(e){return t.replyCounterChange(o,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},94122:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},72729:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[s("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[s("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[s("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),s("div",{staticClass:"ph-col-9 mb-0"},[s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div",[e.follows?s("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):e.follows?t._e():s("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},85892:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},i=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},34392:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div")])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[935],{95651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>d});var o=s(42755),i=s(88231),n=s(99247),a=s(8829),r=s(5327),l=s(31823),c=s(21917);const d={components:{drawer:o.default,sidebar:i.default,"context-menu":a.default,"likes-modal":r.default,"shares-modal":l.default,"report-modal":c.default,"status-card":n.default},data:function(){return{isLoaded:!0,isLoading:!0,profile:window._sharedData.user,tagIndex:0,tags:[],feed:[],tagsLoaded:!1,breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"My Hashtags",active:!0}],canLoadMore:!0,isFetchingMore:!1,endFeedReached:!1,postIndex:0,showMenu:!1,showLikesModal:!1,likesModalPost:{},showReportModal:!1,reportedStatus:{},reportedStatusId:0,showSharesModal:!1,sharesModalPost:{}}},mounted:function(){this.fetchHashtags()},methods:{fetchHashtags:function(){var t=this;axios.get("/api/local/discover/tag/list").then((function(e){t.tags=e.data,t.tagsLoaded=!0,t.tags.length?t.fetchTagFeed(t.tags[0]):t.isLoading=!1})).catch((function(e){t.isLoading=!1}))},fetchTagFeed:function(t){var e=this;this.isLoading=!0,axios.get("/api/v2/discover/tag",{params:{hashtag:t}}).then((function(t){e.feed=t.data.tags.map((function(t){return t.status})),e.isLoading=!1})).catch((function(t){e.isLoading=!1}))},toggleTag:function(t){this.tagIndex=t,this.fetchTagFeed(this.tags[t])},likeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1;var i=document.createElement("p");i.classList.add("text-left"),i.classList.add("mb-0"),i.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var n=document.createElement("div");n.appendChild(i),429===s.response.status&&swal({title:"Too many requests",content:n,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1}))},shareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},handleBookmark:function(t){var e=this,s=this.feed[t];axios.post("/i/bookmark",{item:s.id}).then((function(o){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(26535),i=s(74338),n=s(37846),a=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"post-content":n.default,"post-header":i.default,"post-reactions":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},57170:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,o.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(22583);const i={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":o.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(26535),i=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},95159:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(80979),i=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},44136:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".discover-my-hashtags-component .bg-stellar[data-v-84db52ca]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-my-hashtags-component .font-default[data-v-84db52ca]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-my-hashtags-component .active[data-v-84db52ca]{font-weight:700}",""]);const n=i},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},40146:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(44136),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(90998),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(25506),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(84582),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},33354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(10782),i=s(44301),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(84027);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"84db52ca",null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(10326),i=s(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(43956);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12350),i=s(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(99220),i=s(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(42659);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(66339),i=s(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50309),i=s(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(15278),i=s(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(98223);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(19986),i=s(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(39875),i=s(18988),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(84177),i=s(8622),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(26385),i=s(36875),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(17386),i=s(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(20458),i=s(22917),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(54856),i=s(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(60970);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},44301:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(95651),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(77366),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},35181:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(62744),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(25356),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90427),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(27830),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},12422:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36765),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40423:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(57170),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(86609),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(42325),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(98844),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66286),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},22917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(95159),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(50371),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},84027:(t,e,s)=>{s.r(e);var o=s(40146),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},43956:(t,e,s)=>{s.r(e);var o=s(94901),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},42659:(t,e,s)=>{s.r(e);var o=s(61191),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},60970:(t,e,s)=>{s.r(e);var o=s(56823),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},10782:(t,e,s)=>{s.r(e);var o=s(40202),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},10326:(t,e,s)=>{s.r(e);var o=s(8954),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12350:(t,e,s)=>{s.r(e);var o=s(4493),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99220:(t,e,s)=>{s.r(e);var o=s(90215),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},66339:(t,e,s)=>{s.r(e);var o=s(49209),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50309:(t,e,s)=>{s.r(e);var o=s(64084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},15278:(t,e,s)=>{s.r(e);var o=s(94122),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98223:(t,e,s)=>{s.r(e);var o=s(72729),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},19986:(t,e,s)=>{s.r(e);var o=s(51364),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},39875:(t,e,s)=>{s.r(e);var o=s(53458),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},84177:(t,e,s)=>{s.r(e);var o=s(24514),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},26385:(t,e,s)=>{s.r(e);var o=s(64295),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17386:(t,e,s)=>{s.r(e);var o=s(20512),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},20458:(t,e,s)=>{s.r(e);var o=s(34392),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},54856:(t,e,s)=>{s.r(e);var o=s(79409),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},40202:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"discover-my-hashtags-component"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("My Hashtags")]),t._v(" "),s("p",{staticClass:"font-default lead"},[t._v("Posts from hashtags you follow")]),t._v(" "),s("hr"),t._v(" "),t.isLoading?s("b-spinner"):t._e(),t._v(" "),t._l(t.feed,(function(e,o){return t.isLoading?t._e():s("status-card",{key:"ti1:"+o+":"+e.id,attrs:{profile:t.profile,status:e},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"mod-tools":function(e){return t.handleModTools(o)},"likes-modal":function(e){return t.openLikesModal(o)},"shares-modal":function(e){return t.openSharesModal(o)},bookmark:function(e){return t.handleBookmark(o)}}})})),t._v(" "),!t.isLoading&&t.tagsLoaded&&0==t.feed.length?s("p",{staticClass:"lead"},[t._v("No hashtags found :(")]):t._e()],2),t._v(" "),s("div",{staticClass:"col-md-2 col-lg-3"},[s("div",{staticClass:"nav flex-column nav-pills font-default"},t._l(t.tags,(function(e,o){return s("a",{staticClass:"nav-link",class:{active:t.tagIndex==o},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTag(o)}}},[t._v("\n\t\t\t\t\t\t"+t._s(e)+"\n\t\t\t\t\t")])})),0)])])]):t._e(),t._v(" "),t.showMenu?s("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?s("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?s("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),s("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},4493:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?s("div",{staticClass:"card shadow-none rounded-lg border my-4"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?s("div",[t.status.content_text.length<=140?s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?s("div",[s("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[s("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?s("p",{staticClass:"mt-3 mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),s("p",{staticClass:"text-right mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),s("div",{staticClass:"mt-4"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?s("div",[s("div",{staticClass:"my-4 text-center"},[s("b-spinner"),t._v(" "),s("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-4x text-success"},[s("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-3x text-danger"},[s("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===o?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[o].replies},on:{"counter-change":function(e){return t.replyCounterChange(o,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},94122:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},72729:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[s("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[s("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[s("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),s("div",{staticClass:"ph-col-9 mb-0"},[s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div",[e.follows?s("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):e.follows?t._e():s("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},53458:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},i=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},34392:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div")])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]}}]); \ No newline at end of file diff --git a/public/js/dmym-mh8cayo8d.js b/public/js/dmym-ojtjadoml.js similarity index 78% rename from public/js/dmym-mh8cayo8d.js rename to public/js/dmym-ojtjadoml.js index 2a4e05879..2b3c576a6 100644 --- a/public/js/dmym-mh8cayo8d.js +++ b/public/js/dmym-ojtjadoml.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[411],{70365:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(42755),o=s(88231),a=s(99247);const n={components:{drawer:i.default,sidebar:o.default,"status-card":a.default},data:function(){return{isLoaded:!0,profile:window._sharedData.user,curDate:void 0,tabIndex:0,feedLoaded:!1,likedLoaded:!1,feed:[],liked:[],breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"My Memories",active:!0}]}},mounted:function(){this.curDate=new Date,this.fetchConfig()},methods:{fetchConfig:function(){var t=this;if(window._sharedData.hasOwnProperty("discoverMeta")&&window._sharedData.discoverMeta)return this.config=window._sharedData.discoverMeta,this.isLoaded=!0,void(0==this.config.memories.enabled?this.$router.push("/i/web/discover"):this.fetchMemories());axios.get("/api/pixelfed/v2/discover/meta").then((function(e){t.config=e.data,t.isLoaded=!0,window._sharedData.discoverMeta=e.data,0==e.data.memories.enabled?t.$router.push("/i/web/discover"):t.fetchMemories()}))},fetchMemories:function(){var t=this;axios.get("/api/pixelfed/v2/discover/memories").then((function(e){t.feed=e.data,t.feedLoaded=!0}))},fetchLiked:function(){var t=this;axios.get("/api/pixelfed/v2/discover/memories?type=liked").then((function(e){t.liked=e.data,t.likedLoaded=!0}))},toggleTab:function(t){1==t&&(this.likedLoaded||this.fetchLiked()),this.tabIndex=t}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(26535),o=s(74338),a=s(37846),n=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"post-content":a.default,"post-header":o.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(15235),o=s(80979),a=s(22583),n=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:o.default,ProfileHoverCard:a.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(80979);const o={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:i.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,i.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(22583);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":i.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(26535),o=s(22583);const a={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"profile-hover-card":o.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.status.account.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(80979),o=s(20629);function a(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function n(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:i.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.profile.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},4562:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".discover-my-memories .bg-stellar[data-v-045d18bb]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-my-memories .font-default[data-v-045d18bb]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-my-memories .active[data-v-045d18bb]{font-weight:700}",""]);const a=o},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const a=o},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const a=o},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const a=o},109:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(4562),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(90998),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(25506),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(84582),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},7765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(27977),o=s(77617),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(7399);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"045d18bb",null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(10326),o=s(41081),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(43956);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(99220),o=s(55862),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(42659);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(66339),o=s(63106),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(50309),o=s(78789),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(81690),o=s(18988),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(84177),o=s(8622),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(26385),o=s(36875),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(17386),o=s(20516),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(54856),o=s(81498),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(60970);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},77617:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(70365),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(77366),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(25356),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(90427),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(27830),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(86609),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(42325),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(98844),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(66286),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(50371),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},7399:(t,e,s)=>{s.r(e);var i=s(109),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},43956:(t,e,s)=>{s.r(e);var i=s(94901),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},42659:(t,e,s)=>{s.r(e);var i=s(61191),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},60970:(t,e,s)=>{s.r(e);var i=s(56823),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},27977:(t,e,s)=>{s.r(e);var i=s(88513),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},10326:(t,e,s)=>{s.r(e);var i=s(8954),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},99220:(t,e,s)=>{s.r(e);var i=s(90215),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},66339:(t,e,s)=>{s.r(e);var i=s(49209),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},50309:(t,e,s)=>{s.r(e);var i=s(64084),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},81690:(t,e,s)=>{s.r(e);var i=s(85892),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},84177:(t,e,s)=>{s.r(e);var i=s(24514),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},26385:(t,e,s)=>{s.r(e);var i=s(64295),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},17386:(t,e,s)=>{s.r(e);var i=s(20512),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},54856:(t,e,s)=>{s.r(e);var i=s(79409),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},88513:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"discover-my-memories web-wrapper"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),0===t.tabIndex?s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("My Memories")]),t._v(" "),s("p",{staticClass:"font-default lead"},[t._v("Posts from this day in previous years")]),t._v(" "),s("hr"),t._v(" "),t.feedLoaded?t._e():s("b-spinner"),t._v(" "),t._l(t.feed,(function(e,i){return s("status-card",{key:"ti0:"+i+":"+e.id,attrs:{profile:t.profile,status:e}})})),t._v(" "),t.feedLoaded&&0==t.feed.length?s("p",{staticClass:"lead"},[t._v("No memories found :(")]):t._e()],2):1===t.tabIndex?s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("My Memories")]),t._v(" "),s("p",{staticClass:"font-default lead"},[t._v("Posts I've liked from this day in previous years")]),t._v(" "),s("hr"),t._v(" "),t.likedLoaded?t._e():s("b-spinner"),t._v(" "),t._l(t.liked,(function(e,i){return s("status-card",{key:"ti1:"+i+":"+e.id,attrs:{profile:t.profile,status:e}})})),t._v(" "),t.likedLoaded&&0==t.liked.length?s("p",{staticClass:"lead"},[t._v("No memories found :(")]):t._e()],2):t._e(),t._v(" "),s("div",{staticClass:"col-md-2 col-lg-3"},[s("div",{staticClass:"nav flex-column nav-pills font-default"},[s("a",{staticClass:"nav-link",class:{active:0==t.tabIndex},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(0)}}},[t._v("My Posts")]),t._v(" "),s("a",{staticClass:"nav-link",class:{active:1==t.tabIndex},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(1)}}},[t._v("Posts I've Liked")])])])])]):t._e()])},o=[]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},o=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===i?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},o=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},o=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},o=[]},85892:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},o=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},o=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},o=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},o=[]}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[566],{70365:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(42755),o=s(88231),a=s(99247);const n={components:{drawer:i.default,sidebar:o.default,"status-card":a.default},data:function(){return{isLoaded:!0,profile:window._sharedData.user,curDate:void 0,tabIndex:0,feedLoaded:!1,likedLoaded:!1,feed:[],liked:[],breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"My Memories",active:!0}]}},mounted:function(){this.curDate=new Date,this.fetchConfig()},methods:{fetchConfig:function(){var t=this;if(window._sharedData.hasOwnProperty("discoverMeta")&&window._sharedData.discoverMeta)return this.config=window._sharedData.discoverMeta,this.isLoaded=!0,void(0==this.config.memories.enabled?this.$router.push("/i/web/discover"):this.fetchMemories());axios.get("/api/pixelfed/v2/discover/meta").then((function(e){t.config=e.data,t.isLoaded=!0,window._sharedData.discoverMeta=e.data,0==e.data.memories.enabled?t.$router.push("/i/web/discover"):t.fetchMemories()}))},fetchMemories:function(){var t=this;axios.get("/api/pixelfed/v2/discover/memories").then((function(e){t.feed=e.data,t.feedLoaded=!0}))},fetchLiked:function(){var t=this;axios.get("/api/pixelfed/v2/discover/memories?type=liked").then((function(e){t.liked=e.data,t.likedLoaded=!0}))},toggleTab:function(t){1==t&&(this.likedLoaded||this.fetchLiked()),this.tabIndex=t}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(26535),o=s(74338),a=s(37846),n=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"post-content":a.default,"post-header":o.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(15235),o=s(80979),a=s(22583),n=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:o.default,ProfileHoverCard:a.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(80979);const o={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:i.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,i.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(22583);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":i.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(26535),o=s(22583);const a={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"profile-hover-card":o.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.status.account.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(80979),o=s(20629);function a(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function n(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:i.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.profile.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},4562:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".discover-my-memories .bg-stellar[data-v-045d18bb]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-my-memories .font-default[data-v-045d18bb]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-my-memories .active[data-v-045d18bb]{font-weight:700}",""]);const a=o},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const a=o},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const a=o},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const a=o},109:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(4562),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(90998),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(25506),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(84582),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},7765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(27977),o=s(77617),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(7399);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"045d18bb",null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(10326),o=s(41081),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(43956);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(99220),o=s(55862),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(42659);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(66339),o=s(63106),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(50309),o=s(78789),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(39875),o=s(18988),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(84177),o=s(8622),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(26385),o=s(36875),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(17386),o=s(20516),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(54856),o=s(81498),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(60970);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},77617:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(70365),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(77366),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(25356),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(90427),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(27830),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(86609),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(42325),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(98844),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(66286),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(50371),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},7399:(t,e,s)=>{s.r(e);var i=s(109),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},43956:(t,e,s)=>{s.r(e);var i=s(94901),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},42659:(t,e,s)=>{s.r(e);var i=s(61191),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},60970:(t,e,s)=>{s.r(e);var i=s(56823),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},27977:(t,e,s)=>{s.r(e);var i=s(88513),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},10326:(t,e,s)=>{s.r(e);var i=s(8954),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},99220:(t,e,s)=>{s.r(e);var i=s(90215),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},66339:(t,e,s)=>{s.r(e);var i=s(49209),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},50309:(t,e,s)=>{s.r(e);var i=s(64084),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},39875:(t,e,s)=>{s.r(e);var i=s(53458),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},84177:(t,e,s)=>{s.r(e);var i=s(24514),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},26385:(t,e,s)=>{s.r(e);var i=s(64295),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},17386:(t,e,s)=>{s.r(e);var i=s(20512),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},54856:(t,e,s)=>{s.r(e);var i=s(79409),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},88513:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"discover-my-memories web-wrapper"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),0===t.tabIndex?s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("My Memories")]),t._v(" "),s("p",{staticClass:"font-default lead"},[t._v("Posts from this day in previous years")]),t._v(" "),s("hr"),t._v(" "),t.feedLoaded?t._e():s("b-spinner"),t._v(" "),t._l(t.feed,(function(e,i){return s("status-card",{key:"ti0:"+i+":"+e.id,attrs:{profile:t.profile,status:e}})})),t._v(" "),t.feedLoaded&&0==t.feed.length?s("p",{staticClass:"lead"},[t._v("No memories found :(")]):t._e()],2):1===t.tabIndex?s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("My Memories")]),t._v(" "),s("p",{staticClass:"font-default lead"},[t._v("Posts I've liked from this day in previous years")]),t._v(" "),s("hr"),t._v(" "),t.likedLoaded?t._e():s("b-spinner"),t._v(" "),t._l(t.liked,(function(e,i){return s("status-card",{key:"ti1:"+i+":"+e.id,attrs:{profile:t.profile,status:e}})})),t._v(" "),t.likedLoaded&&0==t.liked.length?s("p",{staticClass:"lead"},[t._v("No memories found :(")]):t._e()],2):t._e(),t._v(" "),s("div",{staticClass:"col-md-2 col-lg-3"},[s("div",{staticClass:"nav flex-column nav-pills font-default"},[s("a",{staticClass:"nav-link",class:{active:0==t.tabIndex},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(0)}}},[t._v("My Posts")]),t._v(" "),s("a",{staticClass:"nav-link",class:{active:1==t.tabIndex},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(1)}}},[t._v("Posts I've Liked")])])])])]):t._e()])},o=[]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},o=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===i?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},o=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},o=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},o=[]},53458:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},o=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},o=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},o=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},o=[]}}]); \ No newline at end of file diff --git a/public/js/dsfc-mh8cayo8d.js b/public/js/dsfc-ojtjadoml.js similarity index 78% rename from public/js/dsfc-mh8cayo8d.js rename to public/js/dsfc-ojtjadoml.js index 8f1cd4697..aca36e694 100644 --- a/public/js/dsfc-mh8cayo8d.js +++ b/public/js/dsfc-ojtjadoml.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[203],{89017:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(42755),n=s(88231),o=s(99247);const a={components:{drawer:i.default,sidebar:n.default,"status-card":o.default},data:function(){return{isLoaded:!1,isLoading:!0,initialTab:!0,config:{},profile:window._sharedData.user,tagIndex:void 0,domains:[],feed:[],breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"Server Timelines",active:!0}]}},mounted:function(){this.fetchConfig()},methods:{fetchConfig:function(){var t=this;axios.get("/api/pixelfed/v2/discover/meta").then((function(e){t.config=e.data,0==t.config.server.enabled&&t.$router.push("/i/web/discover"),"allowlist"===t.config.server.mode&&(t.domains=t.config.server.domains.split(","))}))},fetchFeed:function(t){var e=this;this.isLoading=!0,axios.get("/api/pixelfed/v2/discover/server-timeline",{params:{domain:t}}).then((function(t){e.feed=t.data,e.isLoading=!1,e.isLoaded=!0})).catch((function(t){e.feed=[],e.tagIndex=null,e.isLoaded=!0,e.isLoading=!1}))},toggleTag:function(t){this.initialTab=!1,this.tagIndex=t,this.fetchFeed(this.domains[t])}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(26535),n=s(74338),o=s(37846),a=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"post-content":o.default,"post-header":n.default,"post-reactions":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(15235),n=s(80979),o=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:n.default,ProfileHoverCard:o.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(80979);const n={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:i.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(99347);const n={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,i.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(22583);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":i.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(26535),n=s(22583);const o={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"profile-hover-card":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.status.account.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(80979),n=s(20629);function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:i.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.profile.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},81666:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(23645),n=s.n(i)()((function(t){return t[1]}));n.push([t.id,".discover-serverfeeds-component .bg-stellar[data-v-8ad9eef0]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-serverfeeds-component .font-default[data-v-8ad9eef0]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-serverfeeds-component .active[data-v-8ad9eef0]{font-weight:700}",""]);const o=n},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(23645),n=s.n(i)()((function(t){return t[1]}));n.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const o=n},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(23645),n=s.n(i)()((function(t){return t[1]}));n.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const o=n},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(23645),n=s.n(i)()((function(t){return t[1]}));n.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const o=n},15637:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),n=s.n(i),o=s(81666),a={insert:"head",singleton:!1};n()(o.default,a);const r=o.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),n=s.n(i),o=s(90998),a={insert:"head",singleton:!1};n()(o.default,a);const r=o.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),n=s.n(i),o=s(25506),a={insert:"head",singleton:!1};n()(o.default,a);const r=o.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),n=s.n(i),o=s(84582),a={insert:"head",singleton:!1};n()(o.default,a);const r=o.default.locals||{}},72906:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(1151),n=s(70705),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);s(95214);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,"8ad9eef0",null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(10326),n=s(41081),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);s(43956);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(99220),n=s(55862),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);s(42659);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(66339),n=s(63106),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(50309),n=s(78789),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(81690),n=s(18988),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(84177),n=s(8622),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(26385),n=s(36875),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(17386),n=s(20516),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(54856),n=s(81498),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);s(60970);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},70705:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(89017),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(77366),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(25356),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(90427),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(27830),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(86609),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(42325),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(98844),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(66286),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(50371),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},95214:(t,e,s)=>{s.r(e);var i=s(15637),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},43956:(t,e,s)=>{s.r(e);var i=s(94901),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},42659:(t,e,s)=>{s.r(e);var i=s(61191),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},60970:(t,e,s)=>{s.r(e);var i=s(56823),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},1151:(t,e,s)=>{s.r(e);var i=s(35891),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},10326:(t,e,s)=>{s.r(e);var i=s(8954),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},99220:(t,e,s)=>{s.r(e);var i=s(90215),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},66339:(t,e,s)=>{s.r(e);var i=s(49209),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},50309:(t,e,s)=>{s.r(e);var i=s(64084),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},81690:(t,e,s)=>{s.r(e);var i=s(85892),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},84177:(t,e,s)=>{s.r(e);var i=s(24514),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},26385:(t,e,s)=>{s.r(e);var i=s(64295),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},17386:(t,e,s)=>{s.r(e);var i=s(20512),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},54856:(t,e,s)=>{s.r(e);var i=s(79409),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},35891:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"discover-serverfeeds-component"},[s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("Server Timelines")]),t._v(" "),s("p",{staticClass:"font-default lead"},[t._v("Browse timelines of a specific instance")]),t._v(" "),s("hr"),t._v(" "),t.isLoading&&!t.initialTab?s("b-spinner"):t._e(),t._v(" "),t._l(t.feed,(function(e,i){return t.isLoading?t._e():s("status-card",{key:"ti1:"+i+":"+e.id,attrs:{profile:t.profile,status:e}})})),t._v(" "),t.initialTab||t.isLoading||0!=t.feed.length?t._e():s("p",{staticClass:"lead"},[t._v("No posts found :(")]),t._v(" "),!0===t.initialTab?s("div",["allowlist"==t.config.server.mode?s("p",{staticClass:"lead"},[t._v("Select an instance from the menu")]):t._e()]):t._e()],2),t._v(" "),s("div",{staticClass:"col-md-2 col-lg-3"},["allowlist"===t.config.server.mode?s("div",{staticClass:"nav flex-column nav-pills font-default"},t._l(t.domains,(function(e,i){return s("a",{staticClass:"nav-link",class:{active:t.tagIndex==i},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTag(i)}}},[t._v("\n\t\t\t\t\t\t"+t._s(e)+"\n\t\t\t\t\t")])})),0):t._e()])])])])},n=[]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},n=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===i?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},n=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},n=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},n=[]},85892:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},n=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},n=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},n=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},n=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},n=[]}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[575],{89017:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(42755),n=s(88231),o=s(99247);const a={components:{drawer:i.default,sidebar:n.default,"status-card":o.default},data:function(){return{isLoaded:!1,isLoading:!0,initialTab:!0,config:{},profile:window._sharedData.user,tagIndex:void 0,domains:[],feed:[],breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"Server Timelines",active:!0}]}},mounted:function(){this.fetchConfig()},methods:{fetchConfig:function(){var t=this;axios.get("/api/pixelfed/v2/discover/meta").then((function(e){t.config=e.data,0==t.config.server.enabled&&t.$router.push("/i/web/discover"),"allowlist"===t.config.server.mode&&(t.domains=t.config.server.domains.split(","))}))},fetchFeed:function(t){var e=this;this.isLoading=!0,axios.get("/api/pixelfed/v2/discover/server-timeline",{params:{domain:t}}).then((function(t){e.feed=t.data,e.isLoading=!1,e.isLoaded=!0})).catch((function(t){e.feed=[],e.tagIndex=null,e.isLoaded=!0,e.isLoading=!1}))},toggleTag:function(t){this.initialTab=!1,this.tagIndex=t,this.fetchFeed(this.domains[t])}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(26535),n=s(74338),o=s(37846),a=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"post-content":o.default,"post-header":n.default,"post-reactions":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(15235),n=s(80979),o=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:n.default,ProfileHoverCard:o.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(80979);const n={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:i.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(99347);const n={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,i.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(22583);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":i.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(26535),n=s(22583);const o={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"profile-hover-card":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.status.account.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(80979),n=s(20629);function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:i.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.profile.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},81666:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(23645),n=s.n(i)()((function(t){return t[1]}));n.push([t.id,".discover-serverfeeds-component .bg-stellar[data-v-8ad9eef0]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-serverfeeds-component .font-default[data-v-8ad9eef0]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-serverfeeds-component .active[data-v-8ad9eef0]{font-weight:700}",""]);const o=n},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(23645),n=s.n(i)()((function(t){return t[1]}));n.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const o=n},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(23645),n=s.n(i)()((function(t){return t[1]}));n.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const o=n},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(23645),n=s.n(i)()((function(t){return t[1]}));n.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const o=n},15637:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),n=s.n(i),o=s(81666),a={insert:"head",singleton:!1};n()(o.default,a);const r=o.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),n=s.n(i),o=s(90998),a={insert:"head",singleton:!1};n()(o.default,a);const r=o.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),n=s.n(i),o=s(25506),a={insert:"head",singleton:!1};n()(o.default,a);const r=o.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),n=s.n(i),o=s(84582),a={insert:"head",singleton:!1};n()(o.default,a);const r=o.default.locals||{}},72906:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(1151),n=s(70705),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);s(95214);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,"8ad9eef0",null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(10326),n=s(41081),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);s(43956);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(99220),n=s(55862),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);s(42659);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(66339),n=s(63106),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(50309),n=s(78789),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(39875),n=s(18988),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(84177),n=s(8622),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(26385),n=s(36875),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(17386),n=s(20516),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(54856),n=s(81498),o={};for(const t in n)"default"!==t&&(o[t]=()=>n[t]);s.d(e,o);s(60970);const a=(0,s(51900).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},70705:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(89017),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(77366),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(25356),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(90427),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(27830),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(86609),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(42325),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(98844),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(66286),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(50371),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=i.default},95214:(t,e,s)=>{s.r(e);var i=s(15637),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},43956:(t,e,s)=>{s.r(e);var i=s(94901),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},42659:(t,e,s)=>{s.r(e);var i=s(61191),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},60970:(t,e,s)=>{s.r(e);var i=s(56823),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},1151:(t,e,s)=>{s.r(e);var i=s(35891),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},10326:(t,e,s)=>{s.r(e);var i=s(8954),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},99220:(t,e,s)=>{s.r(e);var i=s(90215),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},66339:(t,e,s)=>{s.r(e);var i=s(49209),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},50309:(t,e,s)=>{s.r(e);var i=s(64084),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},39875:(t,e,s)=>{s.r(e);var i=s(53458),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},84177:(t,e,s)=>{s.r(e);var i=s(24514),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},26385:(t,e,s)=>{s.r(e);var i=s(64295),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},17386:(t,e,s)=>{s.r(e);var i=s(20512),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},54856:(t,e,s)=>{s.r(e);var i=s(79409),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n)},35891:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"discover-serverfeeds-component"},[s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("Server Timelines")]),t._v(" "),s("p",{staticClass:"font-default lead"},[t._v("Browse timelines of a specific instance")]),t._v(" "),s("hr"),t._v(" "),t.isLoading&&!t.initialTab?s("b-spinner"):t._e(),t._v(" "),t._l(t.feed,(function(e,i){return t.isLoading?t._e():s("status-card",{key:"ti1:"+i+":"+e.id,attrs:{profile:t.profile,status:e}})})),t._v(" "),t.initialTab||t.isLoading||0!=t.feed.length?t._e():s("p",{staticClass:"lead"},[t._v("No posts found :(")]),t._v(" "),!0===t.initialTab?s("div",["allowlist"==t.config.server.mode?s("p",{staticClass:"lead"},[t._v("Select an instance from the menu")]):t._e()]):t._e()],2),t._v(" "),s("div",{staticClass:"col-md-2 col-lg-3"},["allowlist"===t.config.server.mode?s("div",{staticClass:"nav flex-column nav-pills font-default"},t._l(t.domains,(function(e,i){return s("a",{staticClass:"nav-link",class:{active:t.tagIndex==i},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTag(i)}}},[t._v("\n\t\t\t\t\t\t"+t._s(e)+"\n\t\t\t\t\t")])})),0):t._e()])])])])},n=[]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},n=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===i?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},n=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},n=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},n=[]},53458:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},n=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},n=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},n=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},n=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},n=[]}}]); \ No newline at end of file diff --git a/public/js/dssc-mh8cayo8d.js b/public/js/dssc-ojtjadoml.js similarity index 79% rename from public/js/dssc-mh8cayo8d.js rename to public/js/dssc-ojtjadoml.js index 228482e4c..77d6c8adb 100644 --- a/public/js/dssc-mh8cayo8d.js +++ b/public/js/dssc-ojtjadoml.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[130],{55714:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(42755),a=s(88231),n=s(99247);const o={components:{drawer:i.default,sidebar:a.default,"status-card":n.default},data:function(){return{isLoaded:!1,isLoading:!0,profile:window._sharedData.user,breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"Settings",active:!0}],hasChanged:!1,features:{},original:void 0,hashtags:{enabled:void 0},memories:{enabled:void 0},insights:{enabled:void 0},friends:{enabled:void 0},server:{enabled:void 0,mode:"allowlist",domains:""}}},watch:{hashtags:{deep:!0,handler:function(t,e){this.updateFeatures("hashtags")}},memories:{deep:!0,handler:function(t,e){this.updateFeatures("memories")}},insights:{deep:!0,handler:function(t,e){this.updateFeatures("insights")}},friends:{deep:!0,handler:function(t,e){this.updateFeatures("friends")}},server:{deep:!0,handler:function(t,e){this.updateFeatures("server")}}},beforeMount:function(){this.profile.is_admin||this.$router.push("/i/web/discover"),this.fetchConfig()},methods:{fetchConfig:function(){var t=this;axios.get("/api/pixelfed/v2/discover/meta").then((function(e){t.original=e.data,t.storeOriginal(e.data)}))},storeOriginal:function(t){this.friends.enabled=t.friends.enabled,this.hashtags.enabled=t.hashtags.enabled,this.insights.enabled=t.insights.enabled,this.memories.enabled=t.memories.enabled,this.server={domains:t.server.domains,enabled:t.server.enabled,mode:t.server.mode},this.isLoaded=!0},updateFeatures:function(t){if(this.isLoaded){var e=!1;this.friends.enabled!==this.original.friends.enabled&&(e=!0),this.hashtags.enabled!==this.original.hashtags.enabled&&(e=!0),this.insights.enabled!==this.original.insights.enabled&&(e=!0),this.memories.enabled!==this.original.memories.enabled&&(e=!0),this.server.enabled!==this.original.server.enabled&&(e=!0),this.server.domains!==this.original.server.domains&&(e=!0),this.server.mode!==this.original.server.mode&&(e=!0),this.hasChanged=e}},saveFeatures:function(){var t=this;axios.post("/api/pixelfed/v2/discover/admin/features",{features:{friends:this.friends,hashtags:this.hashtags,insights:this.insights,memories:this.memories,server:this.server}}).then((function(e){t.server=e.data.server,t.$bvToast.toast("Successfully updated settings!",{title:"Discover Settings",autoHideDelay:5e3,appendToast:!0,variant:"success"})}))}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(26535),a=s(74338),n=s(37846),o=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"post-content":n.default,"post-header":a.default,"post-reactions":o.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(15235),a=s(80979),n=s(22583),o=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:a.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:o.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(80979);const a={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:i.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(99347);const a={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,i.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(22583);const a={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":i.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(26535),a=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"profile-hover-card":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.status.account.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(80979),a=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function o(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:i.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.profile.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},34735:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".discover-admin-settings-component .bg-stellar[data-v-697791a3]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-admin-settings-component .font-default[data-v-697791a3]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-admin-settings-component .active[data-v-697791a3]{font-weight:700}",""]);const n=a},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=a},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=a},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=a},90340:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(34735),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(90998),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(25506),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(84582),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},81555:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(69822),a=s(17109),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(91468);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,"697791a3",null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(10326),a=s(41081),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(43956);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(99220),a=s(55862),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(42659);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(66339),a=s(63106),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(50309),a=s(78789),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(81690),a=s(18988),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(84177),a=s(8622),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(26385),a=s(36875),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(17386),a=s(20516),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(54856),a=s(81498),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(60970);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},17109:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(55714),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(77366),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(25356),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(90427),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(27830),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(86609),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(42325),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(98844),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(66286),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(50371),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},91468:(t,e,s)=>{s.r(e);var i=s(90340),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},43956:(t,e,s)=>{s.r(e);var i=s(94901),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},42659:(t,e,s)=>{s.r(e);var i=s(61191),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},60970:(t,e,s)=>{s.r(e);var i=s(56823),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},69822:(t,e,s)=>{s.r(e);var i=s(91150),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},10326:(t,e,s)=>{s.r(e);var i=s(8954),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},99220:(t,e,s)=>{s.r(e);var i=s(90215),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},66339:(t,e,s)=>{s.r(e);var i=s(49209),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},50309:(t,e,s)=>{s.r(e);var i=s(64084),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},81690:(t,e,s)=>{s.r(e);var i=s(85892),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},84177:(t,e,s)=>{s.r(e);var i=s(24514),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},26385:(t,e,s)=>{s.r(e);var i=s(64295),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},17386:(t,e,s)=>{s.r(e);var i=s(20512),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},54856:(t,e,s)=>{s.r(e);var i=s(79409),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},91150:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"discover-admin-settings-component"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("Discover Settings")]),t._v(" "),s("hr"),t._v(" "),s("div",{staticClass:"card font-default shadow-none border"},[t._m(0),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"mb-2"},[s("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{size:"lg",name:"check-button",switch:""},model:{value:t.hashtags.enabled,callback:function(e){t.$set(t.hashtags,"enabled",e)},expression:"hashtags.enabled"}},[t._v("\n\t\t\t\t\t\t\t\tMy Hashtags\n\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-muted"},[t._v("Allow users to browse timelines of hashtags they follow")])],1),t._v(" "),s("div",{staticClass:"mb-2"},[s("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{size:"lg",name:"check-button",switch:""},model:{value:t.memories.enabled,callback:function(e){t.$set(t.memories,"enabled",e)},expression:"memories.enabled"}},[t._v("\n\t\t\t\t\t\t\t\tMy Memories\n\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-muted"},[t._v("Allow users to access Memories, a timeline of posts they made or liked on this day in past years")])],1),t._v(" "),s("div",{staticClass:"mb-2"},[s("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{size:"lg",name:"check-button",switch:""},model:{value:t.insights.enabled,callback:function(e){t.$set(t.insights,"enabled",e)},expression:"insights.enabled"}},[t._v("\n\t\t\t\t\t\t\t\tAccount Insights\n\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-muted"},[t._v("Allow users to access Account Insights, an overview of their account activity")])],1),t._v(" "),s("div",{staticClass:"mb-2"},[s("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{size:"lg",name:"check-button",switch:""},model:{value:t.friends.enabled,callback:function(e){t.$set(t.friends,"enabled",e)},expression:"friends.enabled"}},[t._v("\n\t\t\t\t\t\t\t\tFind Friends\n\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-muted"},[t._v("Allow users to access Find Friends, a directory of popular accounts")])],1),t._v(" "),s("div",[s("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{size:"lg",name:"check-button",switch:""},model:{value:t.server.enabled,callback:function(e){t.$set(t.server,"enabled",e)},expression:"server.enabled"}},[t._v("\n\t\t\t\t\t\t\t\tServer Timelines\n\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-muted"},[t._v("Allow users to access Server Timelines, a timeline of public posts from a specific instance")])],1)])]),t._v(" "),t.server.enabled?s("div",{staticClass:"card font-default shadow-none border my-3"},[t._m(1),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"mb-2"},[s("b-form-group",{attrs:{label:"Server Mode"}},[s("b-form-radio",{attrs:{value:"all",disabled:""},model:{value:t.server.mode,callback:function(e){t.$set(t.server,"mode",e)},expression:"server.mode"}},[t._v("Allow any instance (Not Recommended)")]),t._v(" "),s("b-form-radio",{attrs:{value:"allowlist"},model:{value:t.server.mode,callback:function(e){t.$set(t.server,"mode",e)},expression:"server.mode"}},[t._v("Limit by approved domains")])],1),t._v(" "),s("p",{staticClass:"text-muted"},[t._v("Set the allowed instances to browse")])],1),t._v(" "),"allowlist"==t.server.mode?s("div",[s("b-form-group",{attrs:{label:"Allowed Domains"}},[s("b-form-textarea",{attrs:{placeholder:"Add domains to allow here, separated by commas",rows:"3","max-rows":"6"},model:{value:t.server.domains,callback:function(e){t.$set(t.server,"domains",e)},expression:"server.domains"}})],1)],1):t._e()])]):t._e()],1),t._v(" "),s("div",{staticClass:"col-md-2 col-lg-3"},[t.hasChanged?s("button",{staticClass:"btn btn-primary btn-block primary font-weight-bold",on:{click:t.saveFeatures}},[t._v("Save changes")]):t._e()])])]):t._e()])},a=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header"},[s("p",{staticClass:"text-center font-weight-bold mb-0"},[t._v("Manage Features")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header"},[s("p",{staticClass:"text-center font-weight-bold mb-0"},[t._v("Manage Server Timelines")])])}]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},a=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===i?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},a=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},a=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},a=[]},85892:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},a=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},a=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},a=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},a=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},a=[]}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[545],{55714:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(42755),a=s(88231),n=s(99247);const o={components:{drawer:i.default,sidebar:a.default,"status-card":n.default},data:function(){return{isLoaded:!1,isLoading:!0,profile:window._sharedData.user,breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"Settings",active:!0}],hasChanged:!1,features:{},original:void 0,hashtags:{enabled:void 0},memories:{enabled:void 0},insights:{enabled:void 0},friends:{enabled:void 0},server:{enabled:void 0,mode:"allowlist",domains:""}}},watch:{hashtags:{deep:!0,handler:function(t,e){this.updateFeatures("hashtags")}},memories:{deep:!0,handler:function(t,e){this.updateFeatures("memories")}},insights:{deep:!0,handler:function(t,e){this.updateFeatures("insights")}},friends:{deep:!0,handler:function(t,e){this.updateFeatures("friends")}},server:{deep:!0,handler:function(t,e){this.updateFeatures("server")}}},beforeMount:function(){this.profile.is_admin||this.$router.push("/i/web/discover"),this.fetchConfig()},methods:{fetchConfig:function(){var t=this;axios.get("/api/pixelfed/v2/discover/meta").then((function(e){t.original=e.data,t.storeOriginal(e.data)}))},storeOriginal:function(t){this.friends.enabled=t.friends.enabled,this.hashtags.enabled=t.hashtags.enabled,this.insights.enabled=t.insights.enabled,this.memories.enabled=t.memories.enabled,this.server={domains:t.server.domains,enabled:t.server.enabled,mode:t.server.mode},this.isLoaded=!0},updateFeatures:function(t){if(this.isLoaded){var e=!1;this.friends.enabled!==this.original.friends.enabled&&(e=!0),this.hashtags.enabled!==this.original.hashtags.enabled&&(e=!0),this.insights.enabled!==this.original.insights.enabled&&(e=!0),this.memories.enabled!==this.original.memories.enabled&&(e=!0),this.server.enabled!==this.original.server.enabled&&(e=!0),this.server.domains!==this.original.server.domains&&(e=!0),this.server.mode!==this.original.server.mode&&(e=!0),this.hasChanged=e}},saveFeatures:function(){var t=this;axios.post("/api/pixelfed/v2/discover/admin/features",{features:{friends:this.friends,hashtags:this.hashtags,insights:this.insights,memories:this.memories,server:this.server}}).then((function(e){t.server=e.data.server,t.$bvToast.toast("Successfully updated settings!",{title:"Discover Settings",autoHideDelay:5e3,appendToast:!0,variant:"success"})}))}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(26535),a=s(74338),n=s(37846),o=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"post-content":n.default,"post-header":a.default,"post-reactions":o.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(15235),a=s(80979),n=s(22583),o=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:a.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:o.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(80979);const a={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:i.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(99347);const a={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,i.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(22583);const a={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":i.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(26535),a=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"profile-hover-card":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.status.account.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(80979),a=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function o(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:i.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var i=document.createElement("a");i.href=t.profile.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},34735:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".discover-admin-settings-component .bg-stellar[data-v-697791a3]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-admin-settings-component .font-default[data-v-697791a3]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-admin-settings-component .active[data-v-697791a3]{font-weight:700}",""]);const n=a},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=a},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=a},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(23645),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=a},90340:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(34735),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(90998),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(25506),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(84582),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},81555:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(69822),a=s(17109),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(91468);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,"697791a3",null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(10326),a=s(41081),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(43956);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(99220),a=s(55862),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(42659);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(66339),a=s(63106),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(50309),a=s(78789),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(39875),a=s(18988),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(84177),a=s(8622),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(26385),a=s(36875),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(17386),a=s(20516),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(54856),a=s(81498),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(60970);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},17109:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(55714),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(77366),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(25356),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(90427),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(27830),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(86609),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(42325),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(98844),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(66286),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(50371),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},91468:(t,e,s)=>{s.r(e);var i=s(90340),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},43956:(t,e,s)=>{s.r(e);var i=s(94901),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},42659:(t,e,s)=>{s.r(e);var i=s(61191),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},60970:(t,e,s)=>{s.r(e);var i=s(56823),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},69822:(t,e,s)=>{s.r(e);var i=s(91150),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},10326:(t,e,s)=>{s.r(e);var i=s(8954),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},99220:(t,e,s)=>{s.r(e);var i=s(90215),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},66339:(t,e,s)=>{s.r(e);var i=s(49209),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},50309:(t,e,s)=>{s.r(e);var i=s(64084),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},39875:(t,e,s)=>{s.r(e);var i=s(53458),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},84177:(t,e,s)=>{s.r(e);var i=s(24514),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},26385:(t,e,s)=>{s.r(e);var i=s(64295),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},17386:(t,e,s)=>{s.r(e);var i=s(20512),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},54856:(t,e,s)=>{s.r(e);var i=s(79409),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},91150:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"discover-admin-settings-component"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-6 col-lg-6"},[s("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),s("h1",{staticClass:"font-default"},[t._v("Discover Settings")]),t._v(" "),s("hr"),t._v(" "),s("div",{staticClass:"card font-default shadow-none border"},[t._m(0),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"mb-2"},[s("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{size:"lg",name:"check-button",switch:""},model:{value:t.hashtags.enabled,callback:function(e){t.$set(t.hashtags,"enabled",e)},expression:"hashtags.enabled"}},[t._v("\n\t\t\t\t\t\t\t\tMy Hashtags\n\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-muted"},[t._v("Allow users to browse timelines of hashtags they follow")])],1),t._v(" "),s("div",{staticClass:"mb-2"},[s("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{size:"lg",name:"check-button",switch:""},model:{value:t.memories.enabled,callback:function(e){t.$set(t.memories,"enabled",e)},expression:"memories.enabled"}},[t._v("\n\t\t\t\t\t\t\t\tMy Memories\n\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-muted"},[t._v("Allow users to access Memories, a timeline of posts they made or liked on this day in past years")])],1),t._v(" "),s("div",{staticClass:"mb-2"},[s("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{size:"lg",name:"check-button",switch:""},model:{value:t.insights.enabled,callback:function(e){t.$set(t.insights,"enabled",e)},expression:"insights.enabled"}},[t._v("\n\t\t\t\t\t\t\t\tAccount Insights\n\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-muted"},[t._v("Allow users to access Account Insights, an overview of their account activity")])],1),t._v(" "),s("div",{staticClass:"mb-2"},[s("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{size:"lg",name:"check-button",switch:""},model:{value:t.friends.enabled,callback:function(e){t.$set(t.friends,"enabled",e)},expression:"friends.enabled"}},[t._v("\n\t\t\t\t\t\t\t\tFind Friends\n\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-muted"},[t._v("Allow users to access Find Friends, a directory of popular accounts")])],1),t._v(" "),s("div",[s("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{size:"lg",name:"check-button",switch:""},model:{value:t.server.enabled,callback:function(e){t.$set(t.server,"enabled",e)},expression:"server.enabled"}},[t._v("\n\t\t\t\t\t\t\t\tServer Timelines\n\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-muted"},[t._v("Allow users to access Server Timelines, a timeline of public posts from a specific instance")])],1)])]),t._v(" "),t.server.enabled?s("div",{staticClass:"card font-default shadow-none border my-3"},[t._m(1),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"mb-2"},[s("b-form-group",{attrs:{label:"Server Mode"}},[s("b-form-radio",{attrs:{value:"all",disabled:""},model:{value:t.server.mode,callback:function(e){t.$set(t.server,"mode",e)},expression:"server.mode"}},[t._v("Allow any instance (Not Recommended)")]),t._v(" "),s("b-form-radio",{attrs:{value:"allowlist"},model:{value:t.server.mode,callback:function(e){t.$set(t.server,"mode",e)},expression:"server.mode"}},[t._v("Limit by approved domains")])],1),t._v(" "),s("p",{staticClass:"text-muted"},[t._v("Set the allowed instances to browse")])],1),t._v(" "),"allowlist"==t.server.mode?s("div",[s("b-form-group",{attrs:{label:"Allowed Domains"}},[s("b-form-textarea",{attrs:{placeholder:"Add domains to allow here, separated by commas",rows:"3","max-rows":"6"},model:{value:t.server.domains,callback:function(e){t.$set(t.server,"domains",e)},expression:"server.domains"}})],1)],1):t._e()])]):t._e()],1),t._v(" "),s("div",{staticClass:"col-md-2 col-lg-3"},[t.hasChanged?s("button",{staticClass:"btn btn-primary btn-block primary font-weight-bold",on:{click:t.saveFeatures}},[t._v("Save changes")]):t._e()])])]):t._e()])},a=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header"},[s("p",{staticClass:"text-center font-weight-bold mb-0"},[t._v("Manage Features")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header"},[s("p",{staticClass:"text-center font-weight-bold mb-0"},[t._v("Manage Server Timelines")])])}]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},a=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===i?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},a=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,i){return s("div",{key:"cd:"+e.id+":"+i},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},a=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},a=[]},53458:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},a=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},a=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},a=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},a=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},a=[]}}]); \ No newline at end of file diff --git a/public/js/home-mh8cayo8d.js b/public/js/home-mh8cayo8d.js deleted file mode 100644 index 6ebd7d0a9..000000000 --- a/public/js/home-mh8cayo8d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[74],{23006:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(42755),i=s(88231),n=s(78375),a=s(55197),r=(s(73459),s(66915));const l={props:{scope:{type:String,default:"home"}},components:{drawer:o.default,sidebar:i.default,timeline:a.default,rightbar:n.default,"story-carousel":r.default},data:function(){return{isLoaded:!1,profile:void 0,recommended:[],trending:[]}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.profile=window._sharedData.user,this.isLoaded=!0},updateProfile:function(t){this.profile=Object.assign(this.profile,t)}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(26535),i=s(74338),n=s(37846),a=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"post-content":n.default,"post-header":i.default,"post-reactions":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},16890:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(22583);const i={props:{profile:{type:Object}},components:{"profile-card":o.default},data:function(){return{popularAccounts:[],newlyFollowed:0}},mounted:function(){this.fetchPopularAccounts()},methods:{fetchPopularAccounts:function(){var t=this;axios.get("/api/pixelfed/discover/accounts/popular").then((function(e){t.popularAccounts=e.data}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/follow").then((function(t){e.newlyFollowed++,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count+1})}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/unfollow").then((function(t){e.newlyFollowed--,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count-1})}))}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},57170:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,o.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(22583);const i={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":o.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(26535),i=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},95159:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(80979),i=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},66842:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{profile:{type:Object}},data:function(){return{canShow:!1,stories:[]}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){e.data&&e.data.length&&(t.stories=e.data,t.canShow=!0)}))}}}},61672:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var o=s(45836),i=s(99247),n=s(78423),a=s(8829),r=s(5327),l=s(31823),c=s(21917),d=s(57166),u=s(44898);function p(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return h(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return h(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);se.id&&(t.max_id=e.id),t.ids.push(e.id),t.feed.push(e),e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]))})),t.isFetchingMore=!1}),100)}))}},likeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1;var i=document.createElement("p");i.classList.add("text-left"),i.classList.add("mb-0"),i.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var n=document.createElement("div");n.appendChild(i),429===s.response.status&&swal({title:"Too many requests",content:n,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},handleModTools:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.openModMenu()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},handleBookmark:function(t){var e=this,s=this.feed[t];axios.post("/i/bookmark",{item:s.id}).then((function(o){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count+1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1})).catch((function(s){swal("Oops!","An error occured when attempting to follow this account.","error"),e.feed[t].relationship.following=!1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1})).catch((function(s){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].relationship.following=!0}))},updateProfile:function(t){this.$emit("update-profile",t)}}}},77413:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-5ae68d74]{border-radius:15px}.username[data-v-5ae68d74]{margin-bottom:-6px}.btn-white[data-v-5ae68d74]{background-color:#fff;border:1px solid #f3f4f6}.sidebar[data-v-5ae68d74]{top:90px}",""]);const n=i},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},21451:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".timeline-onboarding .profile-hover-card-inner{width:100%}.timeline-onboarding .profile-hover-card-inner .d-flex{max-width:100%!important}",""]);const n=i},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},5791:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".story-carousel-component .story-wrapper{background:#b24592;background:linear-gradient(90deg,#b24592,#f15f79);border-radius:15px;display:block;height:200px;margin-bottom:1rem;position:relative;width:100%}.story-carousel-component .story-wrapper .username{color:#fff}.story-carousel-component .story-wrapper .avatar{border-radius:6px;margin-bottom:5px}",""]);const n=i},31425:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(77413),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(90998),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},9305:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(21451),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(25506),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(84582),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},44303:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(5791),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},98489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(57394),i=s(94509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(26715);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"5ae68d74",null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(89673);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(10326),i=s(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(43956);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12350),i=s(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},57166:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(51339);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},44898:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(95735),i=s(8993),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(27423);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(99220),i=s(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(42659);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(66339),i=s(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50309),i=s(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(15278),i=s(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(98223);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(19986),i=s(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(81690),i=s(18988),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(84177),i=s(8622),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(26385),i=s(36875),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(17386),i=s(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(20458),i=s(22917),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(54856),i=s(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(60970);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},66915:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(78208),i=s(39707),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(87757);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},55197:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(22558),i=s(89707),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},94509:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23006),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(77366),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},35181:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(62744),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},8993:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(16890),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(25356),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90427),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(27830),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},12422:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36765),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40423:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(57170),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(86609),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(42325),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(98844),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66286),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},22917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(95159),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(50371),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},39707:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66842),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},89707:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(61672),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},26715:(t,e,s)=>{s.r(e);var o=s(31425),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},43956:(t,e,s)=>{s.r(e);var o=s(94901),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},27423:(t,e,s)=>{s.r(e);var o=s(9305),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},42659:(t,e,s)=>{s.r(e);var o=s(61191),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},60970:(t,e,s)=>{s.r(e);var o=s(56823),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},87757:(t,e,s)=>{s.r(e);var o=s(44303),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},57394:(t,e,s)=>{s.r(e);var o=s(54944),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},89673:(t,e,s)=>{s.r(e);var o=s(20454),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},10326:(t,e,s)=>{s.r(e);var o=s(8954),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12350:(t,e,s)=>{s.r(e);var o=s(4493),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},51339:(t,e,s)=>{s.r(e);var o=s(99451),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},95735:(t,e,s)=>{s.r(e);var o=s(72311),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99220:(t,e,s)=>{s.r(e);var o=s(90215),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},66339:(t,e,s)=>{s.r(e);var o=s(49209),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50309:(t,e,s)=>{s.r(e);var o=s(64084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},15278:(t,e,s)=>{s.r(e);var o=s(94122),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98223:(t,e,s)=>{s.r(e);var o=s(72729),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},19986:(t,e,s)=>{s.r(e);var o=s(51364),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},81690:(t,e,s)=>{s.r(e);var o=s(85892),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},84177:(t,e,s)=>{s.r(e);var o=s(24514),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},26385:(t,e,s)=>{s.r(e);var o=s(64295),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17386:(t,e,s)=>{s.r(e);var o=s(20512),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},20458:(t,e,s)=>{s.r(e);var o=s(34392),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},54856:(t,e,s)=>{s.r(e);var o=s(79409),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},78208:(t,e,s)=>{s.r(e);var o=s(78823),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},22558:(t,e,s)=>{s.r(e);var o=s(43091),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},54944:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"web-wrapper"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-8 col-lg-6 px-0"},[s("story-carousel",{attrs:{profile:t.profile}}),t._v(" "),s("timeline",{key:t.scope,attrs:{profile:t.profile,scope:t.scope},on:{"update-profile":t.updateProfile}})],1),t._v(" "),s("div",{staticClass:"d-none d-lg-block col-lg-3"},[s("rightbar",{staticClass:"sticky-top sidebar"})],1)]),t._v(" "),s("drawer")],1):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[s("b-spinner")],1)])},i=[]},20454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[s("div",{staticClass:"ph-col-12"},[s("div",{staticClass:"ph-row align-items-center"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),s("div",{staticClass:"ph-col-6 big"})]),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"ph-picture"}),t._v(" "),s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12 big"}),t._v(" "),s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])}]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},4493:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?s("div",{staticClass:"card shadow-none rounded-lg border my-4"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?s("div",[t.status.content_text.length<=140?s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?s("div",[s("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[s("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?s("p",{staticClass:"mt-3 mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),s("p",{staticClass:"text-right mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),s("div",{staticClass:"mt-4"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?s("div",[s("div",{staticClass:"my-4 text-center"},[s("b-spinner"),t._v(" "),s("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-4x text-success"},[s("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-3x text-danger"},[s("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},99451:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[s("img",{staticClass:"img-fluid",staticStyle:{"max-height":"300px",opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead mb-0 text-center"},[t._v("This feed is empty")])])}]},72311:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-onboarding"},[s("div",{staticClass:"card card-body shadow-sm mb-3 p-5",staticStyle:{"border-radius":"15px"}},[s("h1",{staticClass:"text-center mb-4"},[t._v("✨ "+t._s(t.$t("timeline.onboarding.welcome")))]),t._v(" "),s("p",{staticClass:"text-center mb-3",staticStyle:{"font-size":"22px"}},[t._v("\n\t\t\t"+t._s(t.$t("timeline.onboarding.thisIsYourHomeFeed"))+"\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center lead"},[t._v(t._s(t.$t("timeline.onboarding.letUsHelpYouFind")))]),t._v(" "),t.newlyFollowed?s("p",{staticClass:"text-center mb-0"},[s("a",{staticClass:"btn btn-primary btn-lg primary font-weight-bold rounded-pill px-4",attrs:{href:"/i/web",onclick:"location.reload()"}},[t._v("\n\t\t\t\t"+t._s(t.$t("timeline.onboarding.refreshFeed"))+"\n\t\t\t")])]):t._e()]),t._v(" "),s("div",{staticClass:"row"},t._l(t.popularAccounts,(function(e,o){return s("div",{staticClass:"col-12 col-md-6 mb-3"},[s("div",{staticClass:"card shadow-sm border-0 rounded-px"},[s("div",{staticClass:"card-body p-2"},[s("profile-card",{key:"pfc"+o,staticClass:"w-100",attrs:{profile:e},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)])])})),0)])},i=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===o?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[o].replies},on:{"counter-change":function(e){return t.replyCounterChange(o,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},94122:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},72729:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[s("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[s("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[s("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),s("div",{staticClass:"ph-col-9 mb-0"},[s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div",[e.follows?s("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):e.follows?t._e():s("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},85892:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},i=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},34392:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div")])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},78823:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"story-carousel-component"},[t.canShow?s("div",{staticClass:"d-flex pb-2",staticStyle:{"overflow-y":"auto","z-index":"3"}},[s("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 text-dark text-decoration-none",staticStyle:{"max-width":"120px"},attrs:{href:"/i/stories/new"}},[s("div",{staticClass:"story-wrapper text-white shadow-sm d-flex flex-column align-items-center justify-content-between mb-3",staticStyle:{width:"100%",height:"200px","border-radius":"15px"}},[s("p",{staticClass:"mb-0"}),t._v(" "),t._m(0),t._v(" "),s("p",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("story.add")))])])]),t._v(" "),t._l(t.stories,(function(e,o){return s("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 story",staticStyle:{"max-width":"120px"},attrs:{href:e.url}},[e.latest&&"photo"==e.latest.type?s("div",{staticClass:"shadow-sm story-wrapper",style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url("+e.latest.preview_url+")",backgroundSize:"cover",backgroundPosition:"center"}},[s("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[s("p",{staticClass:"mt-3 mb-0"},[s("img",{staticClass:"avatar",attrs:{src:e.avatar,width:"30",height:"30",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("p",{staticClass:"mb-0"}),t._v(" "),s("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t")])])]):s("div",{staticClass:"shadow-sm story-wrapper"},[s("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[s("p",{staticClass:"mt-3 mb-0"},[s("img",{staticClass:"avatar",attrs:{src:e.avatar,width:"30",height:"30"}})]),t._v(" "),s("p",{staticClass:"mb-0"}),t._v(" "),s("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t")])])])])}))],2):t._e()])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fal fa-plus-circle fa-2x"})])}]},43091:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-section-component"},[t.isLoaded?s("div",[t._l(t.feed,(function(e,o){return s("status",{key:"pf_feed:"+e.id+o,attrs:{status:e,profile:t.profile},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"shares-modal":function(e){return t.openSharesModal(o)},follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport,bookmark:function(e){return t.handleBookmark(o)},"mod-tools":function(e){return t.handleModTools(o)}}})})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e(),t._v(" "),!t.isLoaded&&t.feed.length&&t.endFeedReached?s("div",{staticStyle:{"margin-bottom":"50vh"}},[t._m(0)]):t._e(),t._v(" "),"home"!=t.scope||t.feed.length?t._e():s("timeline-onboarding",{attrs:{profile:t.profile},on:{"update-profile":t.updateProfile}}),t._v(" "),t.isLoaded&&"home"!==t.scope&&!t.feed.length?s("empty-timeline"):t._e()],2):s("div",[s("status-placeholder"),t._v(" "),s("status-placeholder"),t._v(" "),s("status-placeholder"),t._v(" "),s("status-placeholder")],1),t._v(" "),t.showMenu?s("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?s("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?s("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),s("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[s("p",{staticClass:"display-4 text-center"},[t._v("✨")]),t._v(" "),s("p",{staticClass:"lead mb-0 text-center"},[t._v("You have reached the end of this feed")])])}]}}]); \ No newline at end of file diff --git a/public/js/home-ojtjadoml.js b/public/js/home-ojtjadoml.js new file mode 100644 index 000000000..a09adaea2 --- /dev/null +++ b/public/js/home-ojtjadoml.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[319],{23006:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(42755),i=s(88231),n=s(78375),a=s(55197),r=(s(73459),s(66915));const l={props:{scope:{type:String,default:"home"}},components:{drawer:o.default,sidebar:i.default,timeline:a.default,rightbar:n.default,"story-carousel":r.default},data:function(){return{isLoaded:!1,profile:void 0,recommended:[],trending:[]}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.profile=window._sharedData.user,this.isLoaded=!0},updateProfile:function(t){this.profile=Object.assign(this.profile,t)}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(26535),i=s(74338),n=s(37846),a=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"post-content":n.default,"post-header":i.default,"post-reactions":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},16890:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(22583);const i={props:{profile:{type:Object}},components:{"profile-card":o.default},data:function(){return{popularAccounts:[],newlyFollowed:0}},mounted:function(){this.fetchPopularAccounts()},methods:{fetchPopularAccounts:function(){var t=this;axios.get("/api/pixelfed/discover/accounts/popular").then((function(e){t.popularAccounts=e.data}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/follow").then((function(t){e.newlyFollowed++,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count+1})}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/unfollow").then((function(t){e.newlyFollowed--,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count-1})}))}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},57170:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,o.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(22583);const i={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":o.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(26535),i=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},95159:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(80979),i=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},66842:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{profile:{type:Object}},data:function(){return{canShow:!1,stories:[]}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){e.data&&e.data.length&&(t.stories=e.data,t.canShow=!0)}))}}}},61672:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var o=s(45836),i=s(99247),n=s(78423),a=s(8829),r=s(5327),l=s(31823),c=s(21917),d=s(57166),u=s(44898);function p(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return h(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return h(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);se.id&&(t.max_id=e.id),t.ids.push(e.id),t.feed.push(e),e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]))})),t.isFetchingMore=!1}),100)}))}},likeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1;var i=document.createElement("p");i.classList.add("text-left"),i.classList.add("mb-0"),i.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var n=document.createElement("div");n.appendChild(i),429===s.response.status&&swal({title:"Too many requests",content:n,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},handleModTools:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.openModMenu()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},handleBookmark:function(t){var e=this,s=this.feed[t];axios.post("/i/bookmark",{item:s.id}).then((function(o){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count+1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1})).catch((function(s){swal("Oops!","An error occured when attempting to follow this account.","error"),e.feed[t].relationship.following=!1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1})).catch((function(s){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].relationship.following=!0}))},updateProfile:function(t){this.$emit("update-profile",t)}}}},77413:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-5ae68d74]{border-radius:15px}.username[data-v-5ae68d74]{margin-bottom:-6px}.btn-white[data-v-5ae68d74]{background-color:#fff;border:1px solid #f3f4f6}.sidebar[data-v-5ae68d74]{top:90px}",""]);const n=i},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},21451:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".timeline-onboarding .profile-hover-card-inner{width:100%}.timeline-onboarding .profile-hover-card-inner .d-flex{max-width:100%!important}",""]);const n=i},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},5791:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".story-carousel-component .story-wrapper{background:#b24592;background:linear-gradient(90deg,#b24592,#f15f79);border-radius:15px;display:block;height:200px;margin-bottom:1rem;position:relative;width:100%}.story-carousel-component .story-wrapper .username{color:#fff}.story-carousel-component .story-wrapper .avatar{border-radius:6px;margin-bottom:5px}",""]);const n=i},31425:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(77413),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(90998),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},9305:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(21451),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(25506),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(84582),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},44303:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(5791),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},98489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(57394),i=s(94509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(26715);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"5ae68d74",null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(89673);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(10326),i=s(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(43956);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12350),i=s(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},57166:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(51339);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},44898:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(95735),i=s(8993),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(27423);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(99220),i=s(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(42659);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(66339),i=s(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50309),i=s(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(15278),i=s(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(98223);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(19986),i=s(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(39875),i=s(18988),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(84177),i=s(8622),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(26385),i=s(36875),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(17386),i=s(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(20458),i=s(22917),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(54856),i=s(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(60970);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},66915:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(78208),i=s(39707),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(87757);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},55197:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(22558),i=s(89707),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},94509:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23006),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(77366),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},35181:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(62744),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},8993:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(16890),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(25356),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90427),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(27830),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},12422:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36765),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40423:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(57170),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(86609),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(42325),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(98844),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66286),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},22917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(95159),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(50371),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},39707:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66842),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},89707:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(61672),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},26715:(t,e,s)=>{s.r(e);var o=s(31425),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},43956:(t,e,s)=>{s.r(e);var o=s(94901),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},27423:(t,e,s)=>{s.r(e);var o=s(9305),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},42659:(t,e,s)=>{s.r(e);var o=s(61191),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},60970:(t,e,s)=>{s.r(e);var o=s(56823),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},87757:(t,e,s)=>{s.r(e);var o=s(44303),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},57394:(t,e,s)=>{s.r(e);var o=s(54944),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},89673:(t,e,s)=>{s.r(e);var o=s(20454),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},10326:(t,e,s)=>{s.r(e);var o=s(8954),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12350:(t,e,s)=>{s.r(e);var o=s(4493),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},51339:(t,e,s)=>{s.r(e);var o=s(99451),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},95735:(t,e,s)=>{s.r(e);var o=s(72311),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99220:(t,e,s)=>{s.r(e);var o=s(90215),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},66339:(t,e,s)=>{s.r(e);var o=s(49209),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50309:(t,e,s)=>{s.r(e);var o=s(64084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},15278:(t,e,s)=>{s.r(e);var o=s(94122),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98223:(t,e,s)=>{s.r(e);var o=s(72729),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},19986:(t,e,s)=>{s.r(e);var o=s(51364),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},39875:(t,e,s)=>{s.r(e);var o=s(53458),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},84177:(t,e,s)=>{s.r(e);var o=s(24514),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},26385:(t,e,s)=>{s.r(e);var o=s(64295),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17386:(t,e,s)=>{s.r(e);var o=s(20512),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},20458:(t,e,s)=>{s.r(e);var o=s(34392),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},54856:(t,e,s)=>{s.r(e);var o=s(79409),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},78208:(t,e,s)=>{s.r(e);var o=s(78823),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},22558:(t,e,s)=>{s.r(e);var o=s(43091),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},54944:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"web-wrapper"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-8 col-lg-6 px-0"},[s("story-carousel",{attrs:{profile:t.profile}}),t._v(" "),s("timeline",{key:t.scope,attrs:{profile:t.profile,scope:t.scope},on:{"update-profile":t.updateProfile}})],1),t._v(" "),s("div",{staticClass:"d-none d-lg-block col-lg-3"},[s("rightbar",{staticClass:"sticky-top sidebar"})],1)]),t._v(" "),s("drawer")],1):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[s("b-spinner")],1)])},i=[]},20454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[s("div",{staticClass:"ph-col-12"},[s("div",{staticClass:"ph-row align-items-center"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),s("div",{staticClass:"ph-col-6 big"})]),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"ph-picture"}),t._v(" "),s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12 big"}),t._v(" "),s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])}]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},4493:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?s("div",{staticClass:"card shadow-none rounded-lg border my-4"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?s("div",[t.status.content_text.length<=140?s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?s("div",[s("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[s("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?s("p",{staticClass:"mt-3 mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),s("p",{staticClass:"text-right mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),s("div",{staticClass:"mt-4"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?s("div",[s("div",{staticClass:"my-4 text-center"},[s("b-spinner"),t._v(" "),s("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-4x text-success"},[s("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-3x text-danger"},[s("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},99451:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[s("img",{staticClass:"img-fluid",staticStyle:{"max-height":"300px",opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead mb-0 text-center"},[t._v("This feed is empty")])])}]},72311:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-onboarding"},[s("div",{staticClass:"card card-body shadow-sm mb-3 p-5",staticStyle:{"border-radius":"15px"}},[s("h1",{staticClass:"text-center mb-4"},[t._v("✨ "+t._s(t.$t("timeline.onboarding.welcome")))]),t._v(" "),s("p",{staticClass:"text-center mb-3",staticStyle:{"font-size":"22px"}},[t._v("\n\t\t\t"+t._s(t.$t("timeline.onboarding.thisIsYourHomeFeed"))+"\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center lead"},[t._v(t._s(t.$t("timeline.onboarding.letUsHelpYouFind")))]),t._v(" "),t.newlyFollowed?s("p",{staticClass:"text-center mb-0"},[s("a",{staticClass:"btn btn-primary btn-lg primary font-weight-bold rounded-pill px-4",attrs:{href:"/i/web",onclick:"location.reload()"}},[t._v("\n\t\t\t\t"+t._s(t.$t("timeline.onboarding.refreshFeed"))+"\n\t\t\t")])]):t._e()]),t._v(" "),s("div",{staticClass:"row"},t._l(t.popularAccounts,(function(e,o){return s("div",{staticClass:"col-12 col-md-6 mb-3"},[s("div",{staticClass:"card shadow-sm border-0 rounded-px"},[s("div",{staticClass:"card-body p-2"},[s("profile-card",{key:"pfc"+o,staticClass:"w-100",attrs:{profile:e},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)])])})),0)])},i=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===o?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[o].replies},on:{"counter-change":function(e){return t.replyCounterChange(o,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},94122:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},72729:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[s("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[s("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[s("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),s("div",{staticClass:"ph-col-9 mb-0"},[s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div",[e.follows?s("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):e.follows?t._e():s("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},53458:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},i=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},34392:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div")])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},78823:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"story-carousel-component"},[t.canShow?s("div",{staticClass:"d-flex pb-2",staticStyle:{"overflow-y":"auto","z-index":"3"}},[s("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 text-dark text-decoration-none",staticStyle:{"max-width":"120px"},attrs:{href:"/i/stories/new"}},[s("div",{staticClass:"story-wrapper text-white shadow-sm d-flex flex-column align-items-center justify-content-between mb-3",staticStyle:{width:"100%",height:"200px","border-radius":"15px"}},[s("p",{staticClass:"mb-0"}),t._v(" "),t._m(0),t._v(" "),s("p",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("story.add")))])])]),t._v(" "),t._l(t.stories,(function(e,o){return s("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 story",staticStyle:{"max-width":"120px"},attrs:{href:e.url}},[e.latest&&"photo"==e.latest.type?s("div",{staticClass:"shadow-sm story-wrapper",style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url("+e.latest.preview_url+")",backgroundSize:"cover",backgroundPosition:"center"}},[s("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[s("p",{staticClass:"mt-3 mb-0"},[s("img",{staticClass:"avatar",attrs:{src:e.avatar,width:"30",height:"30",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("p",{staticClass:"mb-0"}),t._v(" "),s("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t")])])]):s("div",{staticClass:"shadow-sm story-wrapper"},[s("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[s("p",{staticClass:"mt-3 mb-0"},[s("img",{staticClass:"avatar",attrs:{src:e.avatar,width:"30",height:"30"}})]),t._v(" "),s("p",{staticClass:"mb-0"}),t._v(" "),s("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t")])])])])}))],2):t._e()])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fal fa-plus-circle fa-2x"})])}]},43091:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-section-component"},[t.isLoaded?s("div",[t._l(t.feed,(function(e,o){return s("status",{key:"pf_feed:"+e.id+o,attrs:{status:e,profile:t.profile},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"shares-modal":function(e){return t.openSharesModal(o)},follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport,bookmark:function(e){return t.handleBookmark(o)},"mod-tools":function(e){return t.handleModTools(o)}}})})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e(),t._v(" "),!t.isLoaded&&t.feed.length&&t.endFeedReached?s("div",{staticStyle:{"margin-bottom":"50vh"}},[t._m(0)]):t._e(),t._v(" "),"home"!=t.scope||t.feed.length?t._e():s("timeline-onboarding",{attrs:{profile:t.profile},on:{"update-profile":t.updateProfile}}),t._v(" "),t.isLoaded&&"home"!==t.scope&&!t.feed.length?s("empty-timeline"):t._e()],2):s("div",[s("status-placeholder"),t._v(" "),s("status-placeholder"),t._v(" "),s("status-placeholder"),t._v(" "),s("status-placeholder")],1),t._v(" "),t.showMenu?s("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?s("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?s("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),s("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[s("p",{staticClass:"display-4 text-center"},[t._v("✨")]),t._v(" "),s("p",{staticClass:"lead mb-0 text-center"},[t._v("You have reached the end of this feed")])])}]}}]); \ No newline at end of file diff --git a/public/js/manifest.js b/public/js/manifest.js index 0836dc6a6..8fd2c996f 100644 --- a/public/js/manifest.js +++ b/public/js/manifest.js @@ -1 +1 @@ -(()=>{"use strict";var e,r,o,t={},s={};function a(e){var r=s[e];if(void 0!==r)return r.exports;var o=s[e]={id:e,loaded:!1,exports:{}};return t[e].call(o.exports,o,o.exports,a),o.loaded=!0,o.exports}a.m=t,e=[],a.O=(r,o,t,s)=>{if(!o){var n=1/0;for(l=0;l=s)&&Object.keys(a.O).every((e=>a.O[e](o[i])))?o.splice(i--,1):(d=!1,s0&&e[l-1][2]>s;l--)e[l]=e[l-1];e[l]=[o,t,s]},a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var o in r)a.o(r,o)&&!a.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((r,o)=>(a.f[o](e,r),r)),[])),a.u=e=>74===e?"js/home-mh8cayo8d.js":509===e?"js/compose-mh8cayo8d.js":357===e?"js/post-mh8cayo8d.js":779===e?"js/profile-mh8cayo8d.js":411===e?"js/dmym-mh8cayo8d.js":426===e?"js/dmyh-mh8cayo8d.js":1===e?"js/daci-mh8cayo8d.js":120===e?"js/dffc-mh8cayo8d.js":203===e?"js/dsfc-mh8cayo8d.js":130===e?"js/dssc-mh8cayo8d.js":902===e?"js/discover-mh8cayo8d.js":886===e?"js/notifications-mh8cayo8d.js":771===e?"js/dms-mh8cayo8d.js":401===e?"js/dmsg-mh8cayo8d.js":void 0,a.miniCssF=e=>({138:"css/spa",170:"css/app",242:"css/appdark",703:"css/admin",994:"css/landing"}[e]+".css"),a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},o="pixelfed:",a.l=(e,t,s,n)=>{if(r[e])r[e].push(t);else{var d,i;if(void 0!==s)for(var c=document.getElementsByTagName("script"),l=0;l{d.onerror=d.onload=null,clearTimeout(p);var s=r[e];if(delete r[e],d.parentNode&&d.parentNode.removeChild(d),s&&s.forEach((e=>e(t))),o)return o(t)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=f.bind(null,d.onerror),d.onload=f.bind(null,d.onload),i&&document.head.appendChild(d)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={929:0,242:0,170:0,138:0,703:0,994:0};a.f.j=(r,o)=>{var t=a.o(e,r)?e[r]:void 0;if(0!==t)if(t)o.push(t[2]);else if(/^(138|170|242|703|929|994)$/.test(r))e[r]=0;else{var s=new Promise(((o,s)=>t=e[r]=[o,s]));o.push(t[2]=s);var n=a.p+a.u(r),d=new Error;a.l(n,(o=>{if(a.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var s=o&&("load"===o.type?"missing":o.type),n=o&&o.target&&o.target.src;d.message="Loading chunk "+r+" failed.\n("+s+": "+n+")",d.name="ChunkLoadError",d.type=s,d.request=n,t[1](d)}}),"chunk-"+r,r)}},a.O.j=r=>0===e[r];var r=(r,o)=>{var t,s,[n,d,i]=o,c=0;if(n.some((r=>0!==e[r]))){for(t in d)a.o(d,t)&&(a.m[t]=d[t]);if(i)var l=i(a)}for(r&&r(o);c{"use strict";var e,o,t,r={},s={};function a(e){var o=s[e];if(void 0!==o)return o.exports;var t=s[e]={id:e,loaded:!1,exports:{}};return r[e].call(t.exports,t,t.exports,a),t.loaded=!0,t.exports}a.m=r,e=[],a.O=(o,t,r,s)=>{if(!t){var n=1/0;for(j=0;j=s)&&Object.keys(a.O).every((e=>a.O[e](t[i])))?t.splice(i--,1):(d=!1,s0&&e[j-1][2]>s;j--)e[j]=e[j-1];e[j]=[t,r,s]},a.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return a.d(o,{a:o}),o},a.d=(e,o)=>{for(var t in o)a.o(o,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((o,t)=>(a.f[t](e,o),o)),[])),a.u=e=>319===e?"js/home-ojtjadoml.js":500===e?"js/compose-ojtjadoml.js":132===e?"js/post-ojtjadoml.js":620===e?"js/profile-ojtjadoml.js":566===e?"js/dmym-ojtjadoml.js":935===e?"js/dmyh-ojtjadoml.js":97===e?"js/daci-ojtjadoml.js":340===e?"js/dffc-ojtjadoml.js":575===e?"js/dsfc-ojtjadoml.js":545===e?"js/dssc-ojtjadoml.js":417===e?"js/discover-ojtjadoml.js":863===e?"js/notifications-ojtjadoml.js":888===e?"js/dms-ojtjadoml.js":43===e?"js/dmsg-ojtjadoml.js":void 0,a.miniCssF=e=>({138:"css/spa",170:"css/app",242:"css/appdark",703:"css/admin",994:"css/landing"}[e]+".css"),a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),o={},t="pixelfed:",a.l=(e,r,s,n)=>{if(o[e])o[e].push(r);else{var d,i;if(void 0!==s)for(var l=document.getElementsByTagName("script"),j=0;j{d.onerror=d.onload=null,clearTimeout(f);var s=o[e];if(delete o[e],d.parentNode&&d.parentNode.removeChild(d),s&&s.forEach((e=>e(r))),t)return t(r)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=u.bind(null,d.onerror),d.onload=u.bind(null,d.onload),i&&document.head.appendChild(d)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={929:0,242:0,170:0,138:0,703:0,994:0};a.f.j=(o,t)=>{var r=a.o(e,o)?e[o]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(138|170|242|703|929|994)$/.test(o))e[o]=0;else{var s=new Promise(((t,s)=>r=e[o]=[t,s]));t.push(r[2]=s);var n=a.p+a.u(o),d=new Error;a.l(n,(t=>{if(a.o(e,o)&&(0!==(r=e[o])&&(e[o]=void 0),r)){var s=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;d.message="Loading chunk "+o+" failed.\n("+s+": "+n+")",d.name="ChunkLoadError",d.type=s,d.request=n,r[1](d)}}),"chunk-"+o,o)}},a.O.j=o=>0===e[o];var o=(o,t)=>{var r,s,[n,d,i]=t,l=0;if(n.some((o=>0!==e[o]))){for(r in d)a.o(d,r)&&(a.m[r]=d[r]);if(i)var j=i(a)}for(o&&o(t);l{i.r(e),i.d(e,{default:()=>d});var a=i(42755),n=i(88231),s=i(18303),o=i(73128),r=i(78423);function c(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,a=new Array(e);i10?0==this.filteredFeed.length&&(this.filteredEmpty=!0):isFinite(this.max_id)&&isFinite(this.filteredMaxId)?(this.filteredIsIntersecting=!0,axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.filteredMaxId,limit:40}}).then((function(e){var i,a=e.data.map((function(t){return t.id})),n=Math.min.apply(Math,c(a));n{i.r(e),i.d(e,{default:()=>a});const a={props:{n:{type:Object}},data:function(){return{profile:window._sharedData.user}},methods:{truncate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return t.length<=e?t:t.slice(0,e)+"..."},timeAgo:function(t){var e=Date.parse(t),i=Math.floor((new Date-e)/1e3),a=Math.floor(i/31536e3);return a>=1?a+"y":(a=Math.floor(i/604800))>=1?a+"w":(a=Math.floor(i/86400))>=1?a+"d":(a=Math.floor(i/3600))>=1?a+"h":(a=Math.floor(i/60))>=1?a+"m":Math.floor(i)+"s"},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},followProfile:function(t){var e=this,i=t.account.id;axios.post("/i/follow",{item:i}).then((function(t){e.notifications.map((function(t){t.account.id===i&&(t.relationship.following=!0)}))})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},viewContext:function(t){switch(t.type){case"follow":return this.getProfileUrl(t.account);case"mention":return t.status.url;case"like":case"favourite":case"comment":return this.getPostUrl(t.status);case"tagged":return t.tagged.post_url;case"direct":return"/account/direct/t/"+t.account.id}return"/"},displayProfileUrl:function(t){return"/i/web/profile/".concat(t.id)},displayPostUrl:function(t){return"/i/web/post/".concat(t.id)},getProfileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},getPostUrl:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})}}}},51655:(t,e,i)=>{i.r(e),i.d(e,{default:()=>s});var a=i(23645),n=i.n(a)()((function(t){return t[1]}));n.push([t.id,".notification-metro-component .notification-filters .nav-link[data-v-efc6e80c]{font-size:12px}.notification-metro-component .notification-filters .nav-link.active[data-v-efc6e80c]{font-weight:700}.notification-metro-component .notification-filters .nav-link-icon[data-v-efc6e80c]:not(.active){opacity:.5}.notification-metro-component .notification-filters .nav-link[data-v-efc6e80c]:not(.active){color:#9ca3af}",""]);const s=n},59628:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r});var a=i(93379),n=i.n(a),s=i(51655),o={insert:"head",singleton:!1};n()(s.default,o);const r=s.default.locals||{}},73209:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var a=i(3081),n=i(36489),s={};for(const t in n)"default"!==t&&(s[t]=()=>n[t]);i.d(e,s);i(28560);const o=(0,i(51900).default)(n.default,a.render,a.staticRenderFns,!1,null,"efc6e80c",null).exports},18303:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var a=i(94013),n=i(98522),s={};for(const t in n)"default"!==t&&(s[t]=()=>n[t]);i.d(e,s);const o=(0,i(51900).default)(n.default,a.render,a.staticRenderFns,!1,null,null,null).exports},36489:(t,e,i)=>{i.r(e),i.d(e,{default:()=>s});var a=i(13310),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);i.d(e,n);const s=a.default},98522:(t,e,i)=>{i.r(e),i.d(e,{default:()=>s});var a=i(96668),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);i.d(e,n);const s=a.default},28560:(t,e,i)=>{i.r(e);var a=i(59628),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);i.d(e,n)},3081:(t,e,i)=>{i.r(e);var a=i(92718),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);i.d(e,n)},94013:(t,e,i)=>{i.r(e);var a=i(93386),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);i.d(e,n)},92718:(t,e,i)=>{i.r(e),i.d(e,{render:()=>a,staticRenderFns:()=>n});var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"web-wrapper notification-metro-component"},[t.isLoaded?i("div",{staticClass:"container-fluid mt-3"},[i("div",{staticClass:"row"},[i("div",{staticClass:"col-md-3 d-md-block"},[i("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),i("div",{staticClass:"col-md-9 col-lg-9 col-xl-5 offset-xl-1"},[0===t.tabIndex?[i("h1",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\tNotifications\n\t\t\t\t\t")]),t._v(" "),i("p",{staticClass:"small mt-n2"},[t._v(" ")])]:10===t.tabIndex?[i("h1",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\tFollow Requests\n\t\t\t\t\t")]),t._v(" "),i("p",{staticClass:"small mt-n2"},[t._v(" ")])]:[i("h1",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\t"+t._s(t.tabs[t.tabIndex].name)+"\n\t\t\t\t\t")]),t._v(" "),i("p",{staticClass:"small text-lighter mt-n2"},[t._v(t._s(t.tabs[t.tabIndex].description))])],t._v(" "),10!=t.tabIndex&&t.notificationsLoaded&&t.notifications.length?i("ul",{staticClass:"notification-filters nav nav-tabs nav-fill mb-3"},t._l(t.tabs,(function(e,a){return i("li",{staticClass:"nav-item"},[i("a",{staticClass:"nav-link",class:{active:t.tabIndex===a},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(a)}}},[i("i",{staticClass:"mr-1 nav-link-icon",class:[e.icon]}),t._v(" "),i("span",{staticClass:"d-none d-xl-inline-block"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t")])])])})),0):t._e(),t._v(" "),t.tabSwitching?i("div",[i("placeholder")],1):i("div",[0===t.tabIndex?i("div",[t.followRequests&&t.followRequests.hasOwnProperty("accounts")&&t.followRequests.accounts.length?i("div",{staticClass:"card card-body shadow-none border border-warning rounded-pill mb-3 py-2"},[i("div",{staticClass:"media align-items-center"},[i("i",{staticClass:"far fa-exclamation-circle mr-3 text-warning"}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"mb-0"},[i("strong",[t._v(t._s(t.followRequests.count)+" follow "+t._s(t.followRequests.count>1?"requests":"request"))])])]),t._v(" "),i("a",{staticClass:"ml-2 small d-flex font-weight-bold primary text-uppercase mb-0",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showFollowRequests()}}},[t._v("\n\t\t\t\t\t\t\t\t\tView"),i("span",{staticClass:"d-none d-md-block"},[t._v(" Follow Requests")])])])]):t._e(),t._v(" "),t.notificationsLoaded?i("div",[t._l(t.notifications,(function(t,e){return i("notification",{key:"notification:"+e+":"+t.id,attrs:{n:t}})})),t._v(" "),t.notifications&&t.notificationsLoaded&&!t.notifications.length?i("div",[i("div",{staticClass:"row justify-content-center"},[i("div",{staticClass:"col-12 col-md-10 text-center"},[i("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),i("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("notifications.noneFound")))])])])]):t._e(),t._v(" "),t.canLoadMore?i("div",[i("intersect",{on:{enter:t.enterIntersect}},[i("placeholder")],1)],1):t._e()],2):i("div",[i("placeholder")],1)]):10===t.tabIndex?i("div",[t.followRequests&&t.followRequests.accounts&&t.followRequests.accounts.length?i("div",{staticClass:"list-group"},t._l(t.followRequests.accounts,(function(e,a){return i("div",{staticClass:"list-group-item"},[i("div",{staticClass:"media align-items-center"},[i("img",{staticClass:"rounded-lg shadow mr-3",attrs:{src:"acct.avatar",width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"font-weight-bold mb-0"},[t._v("@"+t._s(e.username))])]),t._v(" "),i("div",[i("button",{staticClass:"btn btn-light py-1 btn-sm font-weight-bold primary rounded-pill mr-2",on:{click:function(e){return e.preventDefault(),t.handleFollowRequest("accept",a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tAccept\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),i("button",{staticClass:"btn btn-outline-dark py-1 btn-sm font-weight-bold rounded-pill",on:{click:function(e){return e.preventDefault(),t.handleFollowRequest("reject",a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tReject\n\t\t\t\t\t\t\t\t\t\t")])])])])})),0):t._e()]):i("div",[t.filteredLoaded?i("div",[t._m(0),t._v(" "),t.filteredFeed.length?i("div",t._l(t.filteredFeed,(function(t,e){return i("notification",{key:"notification:filtered:"+e+":"+t.id,attrs:{n:t}})})),1):i("div",[t.filteredEmpty?i("div",[i("p",{staticClass:"font-weight-bold"},[t._v("No results found")])]):i("placeholder")],1),t._v(" "),t.canLoadMoreFiltered?i("div",[i("intersect",{on:{enter:t.enterFilteredIntersect}},[i("placeholder")],1)],1):t._e()]):i("div",[i("placeholder")],1)])])],2)]),t._v(" "),i("drawer")],1):t._e()])},n=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card card-body bg-transparent shadow-none border p-2 mb-3 rounded-pill text-lighter"},[i("div",{staticClass:"media align-items-center small"},[i("i",{staticClass:"far fa-exclamation-triangle mx-2"}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Filtering results may not include older notifications")])])])])}]},93386:(t,e,i)=>{i.r(e),i.d(e,{render:()=>a,staticRenderFns:()=>n});var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"media mb-2 align-items-center px-3 shadow-sm py-2 bg-white",staticStyle:{"border-radius":"15px"}},[i("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[i("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:t.n.account.avatar,alt:"",width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]),t._v(" "),i("div",{staticClass:"media-body font-weight-light"},["favourite"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.liked"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:t.displayPostUrl(t.n.status)},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v("post")]),t._v(".\n\t\t\t")])]):"comment"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.commented"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:t.displayPostUrl(t.n.status)},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v("post")]),t._v(".\n\t\t\t")])]):"story:react"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.reacted"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+t.n.account.id}},[t._v("story")]),t._v(".\n\t\t\t")])]):"story:comment"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.commented"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+t.n.account.id}},[t._v(t._s(t.$t("notifications.story")))]),t._v(".\n\t\t\t")])]):"mention"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "),i("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(t.n.status)}},[t._v(t._s(t.$t("notifications.mentioned")))]),t._v(" "+t._s(t.$t("notifications.you"))+".\n\t\t\t")])]):"follow"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.followed"))+" "+t._s(t.$t("notifications.you"))+".\n\t\t\t")])]):"share"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.shared"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:t.displayPostUrl(t.n.status)},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v(t._s(t.$t("notifications.post")))]),t._v(".\n\t\t\t")])]):"modlog"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v(t._s(t.truncate(t.n.account.username)))]),t._v(" "+t._s(t.$t("notifications.updatedA"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:t.n.modlog.url}},[t._v(t._s(t.$t("notifications.modlog")))]),t._v(".\n\t\t\t")])]):"tagged"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.tagged"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:t.n.tagged.post_url}},[t._v(t._s(t.$t("notifications.post")))]),t._v(".\n\t\t\t")])]):"direct"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.sentA"))+" "),i("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+t.n.account.id}},[t._v(t._s(t.$t("notifications.dm")))]),t._v(".\n\t\t\t")],1)]):"group.join.approved"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.n.group.url,title:t.n.group.name}},[t._v(t._s(t.truncate(t.n.group.name)))]),t._v(" "+t._s(t.$t("notifications.applicationApproved"))+"\n\t\t\t")])]):"group.join.rejected"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.n.group.url,title:t.n.group.name}},[t._v(t._s(t.truncate(t.n.group.name)))]),t._v(" "+t._s(t.$t("notifications.applicationRejected"))+"\n\t\t\t")])]):i("div",[i("p",{staticClass:"my-0 d-flex justify-content-between align-items-center"},[i("span",{staticClass:"font-weight-bold"},[t._v("Notification")]),t._v(" "),i("span",{staticStyle:{"font-size":"8px"}},[t._v("e_"+t._s(t.n.type)+"::"+t._s(t.n.id))])])]),t._v(" "),i("div",{staticClass:"align-items-center"},[i("span",{staticClass:"small text-muted",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:t.n.created_at}},[t._v(t._s(t.timeAgo(t.n.created_at)))])])]),t._v(" "),i("div",[t.n.status&&t.n.status&&t.n.status.media_attachments&&t.n.status.media_attachments.length?i("div",[i("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[i("img",{attrs:{src:t.n.status.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):t.n.status&&t.n.status.parent&&t.n.status.parent.media_attachments&&t.n.status.parent.media_attachments.length?i("div",[i("a",{attrs:{href:t.n.status.parent.url}},[i("img",{attrs:{src:t.n.status.parent.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):t._e()])])},n=[]}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[863],{13310:(t,e,i)=>{i.r(e),i.d(e,{default:()=>d});var a=i(42755),n=i(88231),s=i(18303),o=i(73128),r=i(78423);function c(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,a=new Array(e);i10?0==this.filteredFeed.length&&(this.filteredEmpty=!0):isFinite(this.max_id)&&isFinite(this.filteredMaxId)?(this.filteredIsIntersecting=!0,axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.filteredMaxId,limit:40}}).then((function(e){var i,a=e.data.map((function(t){return t.id})),n=Math.min.apply(Math,c(a));n{i.r(e),i.d(e,{default:()=>a});const a={props:{n:{type:Object}},data:function(){return{profile:window._sharedData.user}},methods:{truncate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return t.length<=e?t:t.slice(0,e)+"..."},timeAgo:function(t){var e=Date.parse(t),i=Math.floor((new Date-e)/1e3),a=Math.floor(i/31536e3);return a>=1?a+"y":(a=Math.floor(i/604800))>=1?a+"w":(a=Math.floor(i/86400))>=1?a+"d":(a=Math.floor(i/3600))>=1?a+"h":(a=Math.floor(i/60))>=1?a+"m":Math.floor(i)+"s"},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},followProfile:function(t){var e=this,i=t.account.id;axios.post("/i/follow",{item:i}).then((function(t){e.notifications.map((function(t){t.account.id===i&&(t.relationship.following=!0)}))})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},viewContext:function(t){switch(t.type){case"follow":return this.getProfileUrl(t.account);case"mention":return t.status.url;case"like":case"favourite":case"comment":return this.getPostUrl(t.status);case"tagged":return t.tagged.post_url;case"direct":return"/account/direct/t/"+t.account.id}return"/"},displayProfileUrl:function(t){return"/i/web/profile/".concat(t.id)},displayPostUrl:function(t){return"/i/web/post/".concat(t.id)},getProfileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},getPostUrl:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})}}}},51655:(t,e,i)=>{i.r(e),i.d(e,{default:()=>s});var a=i(23645),n=i.n(a)()((function(t){return t[1]}));n.push([t.id,".notification-metro-component .notification-filters .nav-link[data-v-efc6e80c]{font-size:12px}.notification-metro-component .notification-filters .nav-link.active[data-v-efc6e80c]{font-weight:700}.notification-metro-component .notification-filters .nav-link-icon[data-v-efc6e80c]:not(.active){opacity:.5}.notification-metro-component .notification-filters .nav-link[data-v-efc6e80c]:not(.active){color:#9ca3af}",""]);const s=n},59628:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r});var a=i(93379),n=i.n(a),s=i(51655),o={insert:"head",singleton:!1};n()(s.default,o);const r=s.default.locals||{}},73209:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var a=i(3081),n=i(36489),s={};for(const t in n)"default"!==t&&(s[t]=()=>n[t]);i.d(e,s);i(28560);const o=(0,i(51900).default)(n.default,a.render,a.staticRenderFns,!1,null,"efc6e80c",null).exports},18303:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var a=i(94013),n=i(98522),s={};for(const t in n)"default"!==t&&(s[t]=()=>n[t]);i.d(e,s);const o=(0,i(51900).default)(n.default,a.render,a.staticRenderFns,!1,null,null,null).exports},36489:(t,e,i)=>{i.r(e),i.d(e,{default:()=>s});var a=i(13310),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);i.d(e,n);const s=a.default},98522:(t,e,i)=>{i.r(e),i.d(e,{default:()=>s});var a=i(96668),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);i.d(e,n);const s=a.default},28560:(t,e,i)=>{i.r(e);var a=i(59628),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);i.d(e,n)},3081:(t,e,i)=>{i.r(e);var a=i(92718),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);i.d(e,n)},94013:(t,e,i)=>{i.r(e);var a=i(93386),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);i.d(e,n)},92718:(t,e,i)=>{i.r(e),i.d(e,{render:()=>a,staticRenderFns:()=>n});var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"web-wrapper notification-metro-component"},[t.isLoaded?i("div",{staticClass:"container-fluid mt-3"},[i("div",{staticClass:"row"},[i("div",{staticClass:"col-md-3 d-md-block"},[i("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),i("div",{staticClass:"col-md-9 col-lg-9 col-xl-5 offset-xl-1"},[0===t.tabIndex?[i("h1",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\tNotifications\n\t\t\t\t\t")]),t._v(" "),i("p",{staticClass:"small mt-n2"},[t._v(" ")])]:10===t.tabIndex?[i("h1",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\tFollow Requests\n\t\t\t\t\t")]),t._v(" "),i("p",{staticClass:"small mt-n2"},[t._v(" ")])]:[i("h1",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\t"+t._s(t.tabs[t.tabIndex].name)+"\n\t\t\t\t\t")]),t._v(" "),i("p",{staticClass:"small text-lighter mt-n2"},[t._v(t._s(t.tabs[t.tabIndex].description))])],t._v(" "),10!=t.tabIndex&&t.notificationsLoaded&&t.notifications.length?i("ul",{staticClass:"notification-filters nav nav-tabs nav-fill mb-3"},t._l(t.tabs,(function(e,a){return i("li",{staticClass:"nav-item"},[i("a",{staticClass:"nav-link",class:{active:t.tabIndex===a},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(a)}}},[i("i",{staticClass:"mr-1 nav-link-icon",class:[e.icon]}),t._v(" "),i("span",{staticClass:"d-none d-xl-inline-block"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t")])])])})),0):t._e(),t._v(" "),t.tabSwitching?i("div",[i("placeholder")],1):i("div",[0===t.tabIndex?i("div",[t.followRequests&&t.followRequests.hasOwnProperty("accounts")&&t.followRequests.accounts.length?i("div",{staticClass:"card card-body shadow-none border border-warning rounded-pill mb-3 py-2"},[i("div",{staticClass:"media align-items-center"},[i("i",{staticClass:"far fa-exclamation-circle mr-3 text-warning"}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"mb-0"},[i("strong",[t._v(t._s(t.followRequests.count)+" follow "+t._s(t.followRequests.count>1?"requests":"request"))])])]),t._v(" "),i("a",{staticClass:"ml-2 small d-flex font-weight-bold primary text-uppercase mb-0",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showFollowRequests()}}},[t._v("\n\t\t\t\t\t\t\t\t\tView"),i("span",{staticClass:"d-none d-md-block"},[t._v(" Follow Requests")])])])]):t._e(),t._v(" "),t.notificationsLoaded?i("div",[t._l(t.notifications,(function(t,e){return i("notification",{key:"notification:"+e+":"+t.id,attrs:{n:t}})})),t._v(" "),t.notifications&&t.notificationsLoaded&&!t.notifications.length?i("div",[i("div",{staticClass:"row justify-content-center"},[i("div",{staticClass:"col-12 col-md-10 text-center"},[i("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),i("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("notifications.noneFound")))])])])]):t._e(),t._v(" "),t.canLoadMore?i("div",[i("intersect",{on:{enter:t.enterIntersect}},[i("placeholder")],1)],1):t._e()],2):i("div",[i("placeholder")],1)]):10===t.tabIndex?i("div",[t.followRequests&&t.followRequests.accounts&&t.followRequests.accounts.length?i("div",{staticClass:"list-group"},t._l(t.followRequests.accounts,(function(e,a){return i("div",{staticClass:"list-group-item"},[i("div",{staticClass:"media align-items-center"},[i("img",{staticClass:"rounded-lg shadow mr-3",attrs:{src:"acct.avatar",width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"font-weight-bold mb-0"},[t._v("@"+t._s(e.username))])]),t._v(" "),i("div",[i("button",{staticClass:"btn btn-light py-1 btn-sm font-weight-bold primary rounded-pill mr-2",on:{click:function(e){return e.preventDefault(),t.handleFollowRequest("accept",a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tAccept\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),i("button",{staticClass:"btn btn-outline-dark py-1 btn-sm font-weight-bold rounded-pill",on:{click:function(e){return e.preventDefault(),t.handleFollowRequest("reject",a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tReject\n\t\t\t\t\t\t\t\t\t\t")])])])])})),0):t._e()]):i("div",[t.filteredLoaded?i("div",[t._m(0),t._v(" "),t.filteredFeed.length?i("div",t._l(t.filteredFeed,(function(t,e){return i("notification",{key:"notification:filtered:"+e+":"+t.id,attrs:{n:t}})})),1):i("div",[t.filteredEmpty?i("div",[i("p",{staticClass:"font-weight-bold"},[t._v("No results found")])]):i("placeholder")],1),t._v(" "),t.canLoadMoreFiltered?i("div",[i("intersect",{on:{enter:t.enterFilteredIntersect}},[i("placeholder")],1)],1):t._e()]):i("div",[i("placeholder")],1)])])],2)]),t._v(" "),i("drawer")],1):t._e()])},n=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card card-body bg-transparent shadow-none border p-2 mb-3 rounded-pill text-lighter"},[i("div",{staticClass:"media align-items-center small"},[i("i",{staticClass:"far fa-exclamation-triangle mx-2"}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Filtering results may not include older notifications")])])])])}]},93386:(t,e,i)=>{i.r(e),i.d(e,{render:()=>a,staticRenderFns:()=>n});var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"media mb-2 align-items-center px-3 shadow-sm py-2 bg-white",staticStyle:{"border-radius":"15px"}},[i("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[i("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:t.n.account.avatar,alt:"",width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]),t._v(" "),i("div",{staticClass:"media-body font-weight-light"},["favourite"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.liked"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:t.displayPostUrl(t.n.status)},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v("post")]),t._v(".\n\t\t\t")])]):"comment"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.commented"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:t.displayPostUrl(t.n.status)},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v("post")]),t._v(".\n\t\t\t")])]):"story:react"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.reacted"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+t.n.account.id}},[t._v("story")]),t._v(".\n\t\t\t")])]):"story:comment"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.commented"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+t.n.account.id}},[t._v(t._s(t.$t("notifications.story")))]),t._v(".\n\t\t\t")])]):"mention"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "),i("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(t.n.status)}},[t._v(t._s(t.$t("notifications.mentioned")))]),t._v(" "+t._s(t.$t("notifications.you"))+".\n\t\t\t")])]):"follow"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.followed"))+" "+t._s(t.$t("notifications.you"))+".\n\t\t\t")])]):"share"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.shared"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:t.displayPostUrl(t.n.status)},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v(t._s(t.$t("notifications.post")))]),t._v(".\n\t\t\t")])]):"modlog"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v(t._s(t.truncate(t.n.account.username)))]),t._v(" "+t._s(t.$t("notifications.updatedA"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:t.n.modlog.url}},[t._v(t._s(t.$t("notifications.modlog")))]),t._v(".\n\t\t\t")])]):"tagged"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.tagged"))+" "),i("a",{staticClass:"font-weight-bold",attrs:{href:t.n.tagged.post_url}},[t._v(t._s(t.$t("notifications.post")))]),t._v(".\n\t\t\t")])]):"direct"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.sentA"))+" "),i("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+t.n.account.id}},[t._v(t._s(t.$t("notifications.dm")))]),t._v(".\n\t\t\t")],1)]):"group.join.approved"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.n.group.url,title:t.n.group.name}},[t._v(t._s(t.truncate(t.n.group.name)))]),t._v(" "+t._s(t.$t("notifications.applicationApproved"))+"\n\t\t\t")])]):"group.join.rejected"==t.n.type?i("div",[i("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),i("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.n.group.url,title:t.n.group.name}},[t._v(t._s(t.truncate(t.n.group.name)))]),t._v(" "+t._s(t.$t("notifications.applicationRejected"))+"\n\t\t\t")])]):i("div",[i("p",{staticClass:"my-0 d-flex justify-content-between align-items-center"},[i("span",{staticClass:"font-weight-bold"},[t._v("Notification")]),t._v(" "),i("span",{staticStyle:{"font-size":"8px"}},[t._v("e_"+t._s(t.n.type)+"::"+t._s(t.n.id))])])]),t._v(" "),i("div",{staticClass:"align-items-center"},[i("span",{staticClass:"small text-muted",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:t.n.created_at}},[t._v(t._s(t.timeAgo(t.n.created_at)))])])]),t._v(" "),i("div",[t.n.status&&t.n.status&&t.n.status.media_attachments&&t.n.status.media_attachments.length?i("div",[i("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[i("img",{attrs:{src:t.n.status.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):t.n.status&&t.n.status.parent&&t.n.status.parent.media_attachments&&t.n.status.parent.media_attachments.length?i("div",[i("a",{attrs:{href:t.n.status.parent.url}},[i("img",{attrs:{src:t.n.status.parent.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):t._e()])])},n=[]}}]); \ No newline at end of file diff --git a/public/js/post-mh8cayo8d.js b/public/js/post-ojtjadoml.js similarity index 83% rename from public/js/post-mh8cayo8d.js rename to public/js/post-ojtjadoml.js index 5d598e2de..86e0a1366 100644 --- a/public/js/post-mh8cayo8d.js +++ b/public/js/post-ojtjadoml.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[357],{9873:(t,e,s)=>{s.r(e),s.d(e,{default:()=>h});var o=s(42755),i=s(78375),n=s(88231),a=s(99247),r=s(8829),l=s(9656),c=s(5327),d=s(31823),u=s(21917);const h={props:{cachedStatus:{type:Object},cachedProfile:{type:Object}},components:{drawer:o.default,sidebar:n.default,status:a.default,"context-menu":r.default,"media-container":l.default,"likes-modal":c.default,"shares-modal":d.default,rightbar:i.default,"report-modal":u.default},data:function(){return{isLoaded:!1,user:void 0,profile:void 0,post:void 0,relationship:{},media:void 0,mediaIndex:0,showLikesModal:!1,isReply:!1,reply:{},showSharesModal:!1}},beforeMount:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.cachedStatus&&this.cachedProfile?(this.post=this.cachedStatus,this.media=this.post.media_attachments,this.profile=this.post.account,this.user=this.cachedProfile,this.post.in_reply_to_id?this.fetchReply():(this.isReply=!1,this.fetchRelationship())):this.fetchSelf()},fetchSelf:function(){this.user=window._sharedData.user,this.fetchPost()},fetchPost:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.$route.params.id).then((function(e){e.data&&e.data.hasOwnProperty("id")||t.$router.push("/i/web/404"),t.post=e.data,t.media=t.post.media_attachments,t.profile=t.post.account,t.post.in_reply_to_id?t.fetchReply():t.fetchRelationship()})).catch((function(e){switch(e.response.status){case 403:case 404:t.$router.push("/i/web/404")}}))},fetchReply:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.post.in_reply_to_id).then((function(e){t.reply=e.data,t.isReply=!0,t.fetchRelationship()})).catch((function(e){t.fetchRelationship()}))},fetchRelationship:function(){var t=this;if(this.profile.id==this.user.id)return this.relationship={},void this.fetchState();axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.fetchState()}))},fetchState:function(){var t=this;axios.get("/api/v2/statuses/"+this.post.id+"/state").then((function(e){t.post.favourited=e.data.liked,t.post.reblogged=e.data.shared,t.post.bookmarked=e.data.bookmarked,!t.post.favourites_count&&t.post.favourited&&(t.post.favourites_count=1),t.isLoaded=!0})).catch((function(e){t.isLoaded=!1}))},goBack:function(){this.$router.push("/i/web")},likeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e+1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/favourite").then((function(t){})).catch((function(s){t.post.favourites_count=e,t.post.favourited=!1}))},unlikeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e-1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/unfavourite").then((function(t){})).catch((function(s){t.post.favourites_count=e,t.post.favourited=!1}))},shareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e+1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/reblog").then((function(t){})).catch((function(s){t.post.reblogs_count=e,t.post.reblogged=!1}))},unshareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e-1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/unreblog").then((function(t){})).catch((function(s){t.post.reblogs_count=e,t.post.reblogged=!1}))},openContextMenu:function(){var t=this;this.$nextTick((function(){t.$refs.contextMenu.open()}))},openLikesModal:function(){var t=this;this.showLikesModal=!0,this.$nextTick((function(){t.$refs.likesModal.open()}))},openSharesModal:function(){var t=this;this.showSharesModal=!0,this.$nextTick((function(){t.$refs.sharesModal.open()}))},deletePost:function(){this.$router.push("/i/web")},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.user}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.user}})},handleBookmark:function(){var t=this;axios.post("/i/bookmark",{item:this.post.id}).then((function(e){t.post.bookmarked=!t.post.bookmarked})).catch((function(e){t.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},handleReport:function(){var t=this;this.$nextTick((function(){t.$refs.reportModal.open()}))},counterChange:function(t){switch(t){case"comment-increment":this.post.reply_count=this.post.reply_count+1;break;case"comment-decrement":this.post.reply_count=this.post.reply_count-1}}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(26535),i=s(74338),n=s(37846),a=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"post-content":n.default,"post-header":i.default,"post-reactions":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},57170:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{post:{type:Object},profile:{type:Object},user:{type:Object},media:{type:Array},showArrows:{type:Boolean,default:!0}},data:function(){return{loading:!1,shortcuts:void 0,sensitive:!1,mediaIndex:0}},mounted:function(){this.initShortcuts()},beforeDestroy:function(){document.removeEventListener("keyup",this.shortcuts)},methods:{navPrev:function(){var t=this;if(0==this.mediaIndex)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,max_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=t.media.length-1,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var s=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,s)})).catch((function(e){t.mediaIndex=t.media.length-1,t.loading=!1}));this.mediaIndex--},navNext:function(){var t=this;if(this.mediaIndex==this.media.length-1)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,min_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=0,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var s=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,s)})).catch((function(e){t.mediaIndex=0,t.loading=!1}));this.mediaIndex++},initShortcuts:function(){var t=this;this.shortcuts=document.addEventListener("keyup",(function(e){"ArrowLeft"===e.key&&t.navPrev(),"ArrowRight"===e.key&&t.navNext()}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,o.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(22583);const i={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":o.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(26535),i=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},95159:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(80979),i=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},26580:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".feed-media-container .blurhash-wrapper img{background-color:#000;border-radius:15px;max-height:400px;-o-object-fit:contain;object-fit:contain}.feed-media-container .blurhash-wrapper canvas{border-radius:15px;max-height:400px}.feed-media-container .content-label-wrapper{position:relative}.feed-media-container .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:15px;display:flex;flex-direction:column;height:400px;justify-content:center;left:0;margin:0;position:absolute;top:0;width:100%;z-index:2}",""]);const n=i},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(90998),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(25506),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},10810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(26580),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(84582),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},12118:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(48372),i=s(29033),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(10326),i=s(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(43956);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12350),i=s(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(99220),i=s(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(42659);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(66339),i=s(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50309),i=s(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(15278),i=s(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(98223);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(19986),i=s(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},9656:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(95570),i=s(81993),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(57299);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(81690),i=s(18988),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(84177),i=s(8622),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(26385),i=s(36875),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(17386),i=s(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(20458),i=s(22917),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(54856),i=s(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(60970);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},29033:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(9873),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(77366),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},35181:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(62744),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(25356),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90427),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(27830),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},12422:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36765),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40423:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(57170),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81993:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(143),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(86609),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(42325),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(98844),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66286),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},22917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(95159),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(50371),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},43956:(t,e,s)=>{s.r(e);var o=s(94901),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},42659:(t,e,s)=>{s.r(e);var o=s(61191),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},57299:(t,e,s)=>{s.r(e);var o=s(10810),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},60970:(t,e,s)=>{s.r(e);var o=s(56823),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},48372:(t,e,s)=>{s.r(e);var o=s(13996),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},10326:(t,e,s)=>{s.r(e);var o=s(8954),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12350:(t,e,s)=>{s.r(e);var o=s(4493),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99220:(t,e,s)=>{s.r(e);var o=s(90215),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},66339:(t,e,s)=>{s.r(e);var o=s(49209),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50309:(t,e,s)=>{s.r(e);var o=s(64084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},15278:(t,e,s)=>{s.r(e);var o=s(94122),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98223:(t,e,s)=>{s.r(e);var o=s(72729),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},19986:(t,e,s)=>{s.r(e);var o=s(51364),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},95570:(t,e,s)=>{s.r(e);var o=s(59183),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},81690:(t,e,s)=>{s.r(e);var o=s(85892),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},84177:(t,e,s)=>{s.r(e);var o=s(24514),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},26385:(t,e,s)=>{s.r(e);var o=s(64295),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17386:(t,e,s)=>{s.r(e);var o=s(20512),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},20458:(t,e,s)=>{s.r(e);var o=s(34392),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},54856:(t,e,s)=>{s.r(e);var o=s(79409),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},13996:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-timeline-component web-wrapper"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[s("sidebar",{attrs:{user:t.user}})],1),t._v(" "),s("div",{staticClass:"col-md-8 col-lg-6"},[t.isReply?s("div",{staticClass:"p-3 rounded-top mb-n3",staticStyle:{"background-color":"var(--card-header-accent)"}},[s("p",[s("i",{staticClass:"fal fa-reply mr-1"}),t._v(" In reply to\n\t\t\t\t\t\t"),t._v(" "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/i/web/profile/"+t.reply.account.id},on:{click:function(e){return e.preventDefault(),t.goToProfile(t.reply.account)}}},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.reply.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("button",{staticClass:"btn btn-primary font-weight-bold btn-sm px-3 float-right rounded-pill",on:{click:function(e){return e.preventDefault(),t.goToPost(t.reply)}}},[t._v("\n\t\t\t\t\t\t\tView Post\n\t\t\t\t\t\t")])])]):t._e(),t._v(" "),s("status",{key:t.post.id,attrs:{status:t.post,profile:t.user},on:{menu:function(e){return t.openContextMenu()},like:function(e){return t.likeStatus()},unlike:function(e){return t.unlikeStatus()},"likes-modal":function(e){return t.openLikesModal()},"shares-modal":function(e){return t.openSharesModal()},bookmark:function(e){return t.handleBookmark()},share:function(e){return t.shareStatus()},unshare:function(e){return t.unshareStatus()},"counter-change":t.counterChange}})],1),t._v(" "),s("div",{staticClass:"d-none d-lg-block col-lg-3"},[s("rightbar")],1)])]):t._e(),t._v(" "),t.isLoaded?s("context-menu",{ref:"contextMenu",attrs:{status:t.post,profile:t.user},on:{"report-modal":function(e){return t.handleReport()}}}):t._e(),t._v(" "),t.showLikesModal?s("likes-modal",{ref:"likesModal",attrs:{status:t.post,profile:t.user}}):t._e(),t._v(" "),t.showSharesModal?s("shares-modal",{ref:"sharesModal",attrs:{status:t.post,profile:t.profile}}):t._e(),t._v(" "),t.post?s("report-modal",{ref:"reportModal",attrs:{status:t.post}}):t._e(),t._v(" "),s("drawer")],1)},i=[]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},4493:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?s("div",{staticClass:"card shadow-none rounded-lg border my-4"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?s("div",[t.status.content_text.length<=140?s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?s("div",[s("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[s("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?s("p",{staticClass:"mt-3 mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),s("p",{staticClass:"text-right mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),s("div",{staticClass:"mt-4"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?s("div",[s("div",{staticClass:"my-4 text-center"},[s("b-spinner"),t._v(" "),s("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-4x text-success"},[s("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-3x text-danger"},[s("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===o?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[o].replies},on:{"counter-change":function(e){return t.replyCounterChange(o,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},94122:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},72729:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[s("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[s("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[s("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),s("div",{staticClass:"ph-col-9 mb-0"},[s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div",[e.follows?s("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):e.follows?t._e():s("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},59183:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"feed-media-container bg-black"},[s("div",{staticClass:"text-muted",staticStyle:{"max-height":"400px"}},[s("div",["photo"===t.post.pf_type?s("div",[1==t.post.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.post.spoiler_text?t.post.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper"},[s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash,src:t.post.media_attachments[0].url}}),t._v(" "),!t.post.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.post.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):t._e()])])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},85892:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},i=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},34392:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div")])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[132],{9873:(t,e,s)=>{s.r(e),s.d(e,{default:()=>h});var o=s(42755),i=s(78375),n=s(88231),a=s(99247),r=s(8829),l=s(9656),c=s(5327),d=s(31823),u=s(21917);const h={props:{cachedStatus:{type:Object},cachedProfile:{type:Object}},components:{drawer:o.default,sidebar:n.default,status:a.default,"context-menu":r.default,"media-container":l.default,"likes-modal":c.default,"shares-modal":d.default,rightbar:i.default,"report-modal":u.default},data:function(){return{isLoaded:!1,user:void 0,profile:void 0,post:void 0,relationship:{},media:void 0,mediaIndex:0,showLikesModal:!1,isReply:!1,reply:{},showSharesModal:!1}},beforeMount:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.cachedStatus&&this.cachedProfile?(this.post=this.cachedStatus,this.media=this.post.media_attachments,this.profile=this.post.account,this.user=this.cachedProfile,this.post.in_reply_to_id?this.fetchReply():(this.isReply=!1,this.fetchRelationship())):this.fetchSelf()},fetchSelf:function(){this.user=window._sharedData.user,this.fetchPost()},fetchPost:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.$route.params.id).then((function(e){e.data&&e.data.hasOwnProperty("id")||t.$router.push("/i/web/404"),t.post=e.data,t.media=t.post.media_attachments,t.profile=t.post.account,t.post.in_reply_to_id?t.fetchReply():t.fetchRelationship()})).catch((function(e){switch(e.response.status){case 403:case 404:t.$router.push("/i/web/404")}}))},fetchReply:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.post.in_reply_to_id).then((function(e){t.reply=e.data,t.isReply=!0,t.fetchRelationship()})).catch((function(e){t.fetchRelationship()}))},fetchRelationship:function(){var t=this;if(this.profile.id==this.user.id)return this.relationship={},void this.fetchState();axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.fetchState()}))},fetchState:function(){var t=this;axios.get("/api/v2/statuses/"+this.post.id+"/state").then((function(e){t.post.favourited=e.data.liked,t.post.reblogged=e.data.shared,t.post.bookmarked=e.data.bookmarked,!t.post.favourites_count&&t.post.favourited&&(t.post.favourites_count=1),t.isLoaded=!0})).catch((function(e){t.isLoaded=!1}))},goBack:function(){this.$router.push("/i/web")},likeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e+1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/favourite").then((function(t){})).catch((function(s){t.post.favourites_count=e,t.post.favourited=!1}))},unlikeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e-1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/unfavourite").then((function(t){})).catch((function(s){t.post.favourites_count=e,t.post.favourited=!1}))},shareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e+1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/reblog").then((function(t){})).catch((function(s){t.post.reblogs_count=e,t.post.reblogged=!1}))},unshareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e-1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/unreblog").then((function(t){})).catch((function(s){t.post.reblogs_count=e,t.post.reblogged=!1}))},openContextMenu:function(){var t=this;this.$nextTick((function(){t.$refs.contextMenu.open()}))},openLikesModal:function(){var t=this;this.showLikesModal=!0,this.$nextTick((function(){t.$refs.likesModal.open()}))},openSharesModal:function(){var t=this;this.showSharesModal=!0,this.$nextTick((function(){t.$refs.sharesModal.open()}))},deletePost:function(){this.$router.push("/i/web")},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.user}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.user}})},handleBookmark:function(){var t=this;axios.post("/i/bookmark",{item:this.post.id}).then((function(e){t.post.bookmarked=!t.post.bookmarked})).catch((function(e){t.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},handleReport:function(){var t=this;this.$nextTick((function(){t.$refs.reportModal.open()}))},counterChange:function(t){switch(t){case"comment-increment":this.post.reply_count=this.post.reply_count+1;break;case"comment-decrement":this.post.reply_count=this.post.reply_count-1}}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(26535),i=s(74338),n=s(37846),a=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"post-content":n.default,"post-header":i.default,"post-reactions":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},57170:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{post:{type:Object},profile:{type:Object},user:{type:Object},media:{type:Array},showArrows:{type:Boolean,default:!0}},data:function(){return{loading:!1,shortcuts:void 0,sensitive:!1,mediaIndex:0}},mounted:function(){this.initShortcuts()},beforeDestroy:function(){document.removeEventListener("keyup",this.shortcuts)},methods:{navPrev:function(){var t=this;if(0==this.mediaIndex)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,max_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=t.media.length-1,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var s=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,s)})).catch((function(e){t.mediaIndex=t.media.length-1,t.loading=!1}));this.mediaIndex--},navNext:function(){var t=this;if(this.mediaIndex==this.media.length-1)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,min_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=0,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var s=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,s)})).catch((function(e){t.mediaIndex=0,t.loading=!1}));this.mediaIndex++},initShortcuts:function(){var t=this;this.shortcuts=document.addEventListener("keyup",(function(e){"ArrowLeft"===e.key&&t.navPrev(),"ArrowRight"===e.key&&t.navNext()}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,o.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(22583);const i={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":o.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(26535),i=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},95159:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(80979),i=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},26580:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".feed-media-container .blurhash-wrapper img{background-color:#000;border-radius:15px;max-height:400px;-o-object-fit:contain;object-fit:contain}.feed-media-container .blurhash-wrapper canvas{border-radius:15px;max-height:400px}.feed-media-container .content-label-wrapper{position:relative}.feed-media-container .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:15px;display:flex;flex-direction:column;height:400px;justify-content:center;left:0;margin:0;position:absolute;top:0;width:100%;z-index:2}",""]);const n=i},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(90998),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(25506),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},10810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(26580),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(84582),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},12118:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(48372),i=s(29033),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(10326),i=s(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(43956);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12350),i=s(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(99220),i=s(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(42659);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(66339),i=s(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50309),i=s(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(15278),i=s(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(98223);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(19986),i=s(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},9656:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(31174),i=s(81993),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(57299);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(39875),i=s(18988),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(84177),i=s(8622),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(26385),i=s(36875),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(17386),i=s(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(20458),i=s(22917),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(54856),i=s(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(60970);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},29033:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(9873),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(77366),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},35181:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(62744),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(25356),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90427),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(27830),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},12422:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36765),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40423:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(57170),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81993:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(143),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(86609),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(42325),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(98844),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66286),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},22917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(95159),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(50371),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},43956:(t,e,s)=>{s.r(e);var o=s(94901),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},42659:(t,e,s)=>{s.r(e);var o=s(61191),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},57299:(t,e,s)=>{s.r(e);var o=s(10810),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},60970:(t,e,s)=>{s.r(e);var o=s(56823),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},48372:(t,e,s)=>{s.r(e);var o=s(13996),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},10326:(t,e,s)=>{s.r(e);var o=s(8954),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12350:(t,e,s)=>{s.r(e);var o=s(4493),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99220:(t,e,s)=>{s.r(e);var o=s(90215),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},66339:(t,e,s)=>{s.r(e);var o=s(49209),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50309:(t,e,s)=>{s.r(e);var o=s(64084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},15278:(t,e,s)=>{s.r(e);var o=s(94122),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98223:(t,e,s)=>{s.r(e);var o=s(72729),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},19986:(t,e,s)=>{s.r(e);var o=s(51364),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},31174:(t,e,s)=>{s.r(e);var o=s(15802),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},39875:(t,e,s)=>{s.r(e);var o=s(53458),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},84177:(t,e,s)=>{s.r(e);var o=s(24514),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},26385:(t,e,s)=>{s.r(e);var o=s(64295),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17386:(t,e,s)=>{s.r(e);var o=s(20512),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},20458:(t,e,s)=>{s.r(e);var o=s(34392),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},54856:(t,e,s)=>{s.r(e);var o=s(79409),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},13996:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-timeline-component web-wrapper"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[s("sidebar",{attrs:{user:t.user}})],1),t._v(" "),s("div",{staticClass:"col-md-8 col-lg-6"},[t.isReply?s("div",{staticClass:"p-3 rounded-top mb-n3",staticStyle:{"background-color":"var(--card-header-accent)"}},[s("p",[s("i",{staticClass:"fal fa-reply mr-1"}),t._v(" In reply to\n\t\t\t\t\t\t"),t._v(" "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/i/web/profile/"+t.reply.account.id},on:{click:function(e){return e.preventDefault(),t.goToProfile(t.reply.account)}}},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.reply.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("button",{staticClass:"btn btn-primary font-weight-bold btn-sm px-3 float-right rounded-pill",on:{click:function(e){return e.preventDefault(),t.goToPost(t.reply)}}},[t._v("\n\t\t\t\t\t\t\tView Post\n\t\t\t\t\t\t")])])]):t._e(),t._v(" "),s("status",{key:t.post.id,attrs:{status:t.post,profile:t.user},on:{menu:function(e){return t.openContextMenu()},like:function(e){return t.likeStatus()},unlike:function(e){return t.unlikeStatus()},"likes-modal":function(e){return t.openLikesModal()},"shares-modal":function(e){return t.openSharesModal()},bookmark:function(e){return t.handleBookmark()},share:function(e){return t.shareStatus()},unshare:function(e){return t.unshareStatus()},"counter-change":t.counterChange}})],1),t._v(" "),s("div",{staticClass:"d-none d-lg-block col-lg-3"},[s("rightbar")],1)])]):t._e(),t._v(" "),t.isLoaded?s("context-menu",{ref:"contextMenu",attrs:{status:t.post,profile:t.user},on:{"report-modal":function(e){return t.handleReport()}}}):t._e(),t._v(" "),t.showLikesModal?s("likes-modal",{ref:"likesModal",attrs:{status:t.post,profile:t.user}}):t._e(),t._v(" "),t.showSharesModal?s("shares-modal",{ref:"sharesModal",attrs:{status:t.post,profile:t.profile}}):t._e(),t._v(" "),t.post?s("report-modal",{ref:"reportModal",attrs:{status:t.post}}):t._e(),t._v(" "),s("drawer")],1)},i=[]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},4493:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?s("div",{staticClass:"card shadow-none rounded-lg border my-4"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?s("div",[t.status.content_text.length<=140?s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?s("div",[s("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[s("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?s("p",{staticClass:"mt-3 mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),s("p",{staticClass:"text-right mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),s("div",{staticClass:"mt-4"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?s("div",[s("div",{staticClass:"my-4 text-center"},[s("b-spinner"),t._v(" "),s("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-4x text-success"},[s("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-3x text-danger"},[s("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===o?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[o].replies},on:{"counter-change":function(e){return t.replyCounterChange(o,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},94122:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},72729:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[s("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[s("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[s("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),s("div",{staticClass:"ph-col-9 mb-0"},[s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div",[e.follows?s("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):e.follows?t._e():s("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},15802:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"feed-media-container bg-black"},[s("div",{staticClass:"text-muted",staticStyle:{"max-height":"400px"}},[s("div",["photo"===t.post.pf_type?s("div",[1==t.post.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.post.spoiler_text?t.post.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper"},[s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash,src:t.post.media_attachments[0].url}}),t._v(" "),!t.post.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.post.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):t._e()])])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},53458:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},i=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},34392:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div")])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]}}]); \ No newline at end of file diff --git a/public/js/profile-mh8cayo8d.js b/public/js/profile-ojtjadoml.js similarity index 73% rename from public/js/profile-mh8cayo8d.js rename to public/js/profile-ojtjadoml.js index 2db4a0252..f4bf452f7 100644 --- a/public/js/profile-mh8cayo8d.js +++ b/public/js/profile-ojtjadoml.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[779],{53411:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(42755),i=s(89965),n=s(85748),a=s(32303),r=s(24721);const l={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{drawer:o.default,"profile-feed":i.default,"profile-sidebar":n.default,"profile-followers":a.default,"profile-following":r.default},data:function(){return{isLoaded:!1,curUser:void 0,tab:"index",profile:void 0,relationship:void 0}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.tab="index",this.isLoaded=!1,this.relationship=void 0,this.owner=!1,this.cachedProfile&&this.cachedUser?(this.curUser=this.cachedUser,this.profile=this.cachedProfile,this.fetchRelationship()):(this.curUser=window._sharedData.user,this.fetchProfile())},getTabComponentName:function(){return"index"===this.tab?"profile-feed":"profile-".concat(this.tab)},fetchProfile:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/"+e).then((function(e){t.profile=e.data,e.data.id==t.curUser.id?(t.owner=!0,t.fetchRelationship()):(t.owner=!1,t.fetchRelationship())})).catch((function(e){t.$router.push("/i/web/404")}))},fetchRelationship:function(){var t=this;if(this.owner)return this.relationship={},void(this.isLoaded=!0);axios.get("/api/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.isLoaded=!0}))},toggleTab:function(t){this.tab=t},goBack:function(){this.$router.go(-1)},unfollow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/unfollow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship.following=!1,t.relationship.requested=!1,t.profile.locked&&location.reload()})).catch((function(e){swal("Oops!","An error occured when attempting to unfollow this account.","error"),t.relationship.following=!0}))},follow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/follow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship.following=!0,t.profile.locked&&(t.relationship.requested=!0)})).catch((function(e){swal("Oops!","An error occured when attempting to follow this account.","error"),t.relationship.following=!1}))}}}},55336:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(43985);const i={props:{hash:{type:String,required:!0},width:{type:[Number,String],default:32},height:{type:[Number,String],default:32},punch:{type:Number,default:1}},mounted:function(){this.draw()},updated:function(){console.log("updated")},beforeDestroy:function(){console.log("beforeDestroy")},methods:{parseNumber:function(t){return"number"==typeof t?t:parseInt(t,10)},draw:function(){var t=this.parseNumber(this.width),e=this.parseNumber(this.height),s=this.parseNumber(this.punch),i=(0,o.decode)(this.hash,t,e,s),n=this.$refs.canvas.getContext("2d"),a=n.createImageData(t,e);a.data.set(i),n.putImageData(a,0,0)}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(26535),i=s(74338),n=s(37846),a=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"post-content":n.default,"post-header":i.default,"post-reactions":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.fetchMore(1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},57170:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},86609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,o.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive}}}},42325:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(22583);const i={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":o.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},98844:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(26535),i=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},95159:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},92762:(t,e,s)=>{s.r(e),s.d(e,{default:()=>p});var o=s(78423),i=s(99247),n=s(45836),a=s(90086),r=s(8829),l=s(5327),c=s(31823),d=s(21917);function u(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return f(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s0})),o=s.map((function(t){return t.id}));t.ids=o,t.max_id=Math.min.apply(Math,u(o)),s.forEach((function(e){t.feed.push(e)})),t.canLoadMore=t.feed.length>1,t.feedLoaded=!0}))},enterIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:9,only_media:!0,max_id:this.max_id}}).then((function(e){e.data&&e.data.length||(t.canLoadMore=!1);e.data.filter((function(t){return t.media_attachments.length>0})).filter((function(e){return-1==t.ids.indexOf(e.id)})).forEach((function(e){e.id0,t.isCollectionsIntersecting=!1})).catch((function(e){t.canLoadMoreCollections=!1,t.isCollectionsIntersecting=!1})))},fetchFavourites:function(){var t=this;this.tabIndex=0,axios.get("/api/pixelfed/v1/favourites").then((function(e){t.tabIndex=3,t.favourites=e.data,t.favouritesPage++,t.favouritesLoaded=!0,0!=e.data.length&&(t.canLoadMoreFavourites=!0)}))},enterFavouritesIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/favourites",{params:{page:this.favouritesPage}}).then((function(e){var s;(s=t.favourites).push.apply(s,u(e.data)),t.favouritesPage++,t.canLoadMoreFavourites=0!=e.data.length,t.isIntersecting=!1})).catch((function(e){t.canLoadMoreFavourites=!1})))},fetchBookmarks:function(){var t=this;this.tabIndex=0,axios.get("/api/local/bookmarks").then((function(e){t.tabIndex="bookmarks",t.bookmarks=e.data,t.bookmarksPage++,t.bookmarksLoaded=!0,0!=e.data.length&&(t.canLoadMoreBookmarks=!0)}))},fetchArchives:function(){var t=this;this.tabIndex=0,axios.get("/api/pixelfed/v2/statuses/archives").then((function(e){t.tabIndex="archives",t.archives=e.data,t.archivesPage++,t.archivesLoaded=!0,0!=e.data.length&&(t.canLoadMoreArchives=!0)}))},formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return"/i/web/post/"+t.id},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].url},timeago:function(t){return App.util.format.timeAgo(t)},likeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1}))},unlikeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"feed";switch(s){case"feed":this.postIndex=t,this.contextMenuPost=this.feed[t];break;case"archive":this.postIndex=t,this.contextMenuPost=this.archives[t]}this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},deletePost:function(){this.feed.splice(this.postIndex,1)},handleArchived:function(t){this.feed.splice(this.postIndex,1)},handleUnarchived:function(t){this.feed=[],this.fetchFeed()},enterArchivesIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v2/statuses/archives",{params:{page:this.archivesPage}}).then((function(e){var s;(s=t.archives).push.apply(s,u(e.data)),t.archivesPage++,t.canLoadMoreArchives=0!=e.data.length,t.isIntersecting=!1})).catch((function(e){t.canLoadMoreArchives=!1})))}}}},90760:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var o=s(78423),i=s(48510),n=s(22583),a=s(20629);function r(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),o=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):t}))}return s},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})}}}},68365:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var o=s(78423),i=s(48510),n=s(22583),a=s(20629);function r(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),o=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):t}))}return s},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(80979),i=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},38544:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(20629);function i(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function n(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const a={props:{profile:{type:Object},relationship:{type:Object,default:function(){return{following:!1,followed_by:!1}}},user:{type:Object}},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},formatCount:function(t){return App.util.format.count(t)},goBack:function(){this.$emit("back")},showFullBio:function(){this.$refs.fullBio.show()},toggleTab:function(t){event.currentTarget.blur(),this.$emit("toggletab",t)},getJoinedDate:function(){var t=new Date(this.profile.created_at),e=new Intl.DateTimeFormat("en-US",{month:"long"}).format(t),s=t.getFullYear();return"".concat(e," ").concat(s)},follow:function(){event.currentTarget.blur(),this.$emit("follow")},unfollow:function(){event.currentTarget.blur(),this.$emit("unfollow")},setBio:function(){var t=this;if(this.profile.note.length)if(this.profile.local){var e=this.profile.hasOwnProperty("note_text")?this.profile.note_text:this.profile.note.replace(/(<([^>]+)>)/gi,"");this.renderedBio=window.pftxt.autoLink(e,{usernameUrlBase:"/i/web/profile/@",hashtagUrlBase:"/i/web/hashtag/"})}else{if("

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

"===this.profile.note)return void(this.renderedBio=null);var s=this.profile.note,o=document.createElement("div");o.innerHTML=s,o.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),o.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.renderedBio=o.outerHTML}},getAvatar:function(){return this.profile.id==this.user.id?window._sharedData.user.avatar:this.profile.avatar},copyTextToClipboard:function(t){App.util.clipboard(t)},goToOldProfile:function(){this.profile.local?location.href=this.profile.url+"?fs=1":location.href="/i/web/profile/_/"+this.profile.id},handleMute:function(){var t=this,e=this.relationship.muting?"unmuted":"muted",s=1==this.relationship.muting?"/i/unmute":"/i/mute";axios.post(s,{type:"user",item:this.profile.id}).then((function(s){t.relationship.muting=!t.relationship.muting,swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},handleBlock:function(){var t=this,e=this.relationship.blocking?"unblock":"block",s=1==this.relationship.blocking?"/i/unblock":"/i/block";axios.post(s,{type:"user",item:this.profile.id}).then((function(s){t.relationship.blocking=!t.relationship.blocking,swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},cancelFollowRequest:function(){window.confirm("Are you sure you want to cancel your follow request?")}}}},82736:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-timeline-component[data-v-39a2f196]{margin-bottom:10rem}",""]);const n=i},90998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},25506:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},39345:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-feed-component{margin-top:0}.profile-feed-component .ph-wrapper{padding:.25rem}.profile-feed-component .ph-wrapper .ph-item{background-color:transparent;border:none;margin:0;padding:0}.profile-feed-component .ph-wrapper .ph-item .ph-picture{border-radius:5px;height:auto;padding-bottom:100%}.profile-feed-component .ph-wrapper .ph-item>*{margin-bottom:0}.profile-feed-component .info-overlay-text-field{font-size:13.5px;margin-bottom:2px}@media(min-width:768px){.profile-feed-component .info-overlay-text-field{font-size:20px;margin-bottom:15px}}",""]);const n=i},30953:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-followers-component .list-group-item{border:none}.profile-followers-component .list-group-item:not(:last-child){border-bottom:1px solid rgba(0,0,0,.125)}",""]);const n=i},87505:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-following-component .list-group-item{border:none}.profile-following-component .list-group-item:not(:last-child){border-bottom:1px solid rgba(0,0,0,.125)}",""]);const n=i},84582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},53874:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.profile-sidebar-component{margin-bottom:1rem}.profile-sidebar-component .avatar{border-radius:15px;margin-bottom:1rem;width:140px}.profile-sidebar-component .display-name{font-size:20px;font-size:15px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-sidebar-component .display-name,.profile-sidebar-component .username{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.profile-sidebar-component .username{color:var(--primary);font-size:14px;font-weight:600}.profile-sidebar-component .username.remote{font-size:11px}.profile-sidebar-component .stats{margin-bottom:1rem}.profile-sidebar-component .stats .stat-item{flex:0 0 33%;margin:0;max-width:33%;padding:0;text-align:center;text-decoration:none}.profile-sidebar-component .stats .stat-item strong{color:var(--body-color);display:block;font-size:18px;line-height:.9}.profile-sidebar-component .stats .stat-item span{color:#b8c2cc;display:block;font-size:12px}@media(min-width:768px){.profile-sidebar-component .follow-btn{margin-bottom:2rem}}.profile-sidebar-component .follow-btn.btn-primary{background-color:var(--primary)}.profile-sidebar-component .follow-btn.btn-light{border-color:#e5e7eb}.profile-sidebar-component .unfollow-btn{background-color:rgba(59,130,246,.7)}@media(min-width:768px){.profile-sidebar-component .unfollow-btn{margin-bottom:2rem}}.profile-sidebar-component .bio-wrapper{margin-bottom:1rem}.profile-sidebar-component .bio-wrapper .bio-body{display:block;font-size:12px!important;position:relative;white-space:pre-wrap}.profile-sidebar-component .bio-wrapper .bio-body .username{font-size:12px!important}.profile-sidebar-component .bio-wrapper .bio-body.long{max-height:80px;overflow:hidden}.profile-sidebar-component .bio-wrapper .bio-body.long:after{background:linear-gradient(180deg,transparent,hsla(0,0%,100%,.9) 60%,#fff 90%);content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:2}.profile-sidebar-component .bio-wrapper .bio-body p{margin-bottom:0!important}.profile-sidebar-component .bio-wrapper .bio-more{position:relative;z-index:3}.profile-sidebar-component .admin-label{background:#fee2e2;border:1px solid #fca5a5;border-radius:8px;color:#b91c1c;display:inline-block;font-size:12px;font-weight:600;padding:1px 5px;text-transform:capitalize}.profile-sidebar-component .sidebar-sitelinks{justify-content:space-between;margin-top:1rem;padding:0}.profile-sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.profile-sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.profile-sidebar-component .sidebar-attribution{color:#b8c2cc!important;font-size:12px;margin-top:.5rem}.profile-sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.profile-sidebar-component .user-card{align-items:center}.profile-sidebar-component .user-card .avatar{border:1px solid #e5e7eb;border-radius:15px;height:80px;margin-right:.8rem;width:80px}@media(min-width:390px){.profile-sidebar-component .user-card .avatar{height:100px;width:100px}}.profile-sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.profile-sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1}.profile-sidebar-component .user-card .avatar-update-btn-icon:before{content:""}.profile-sidebar-component .user-card .username{font-size:13px;font-weight:600;line-height:12px;margin:4px 0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}@media(min-width:390px){.profile-sidebar-component .user-card .username{font-size:16px;margin:8px 0}}.profile-sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:20px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}@media(min-width:390px){.profile-sidebar-component .user-card .display-name{font-size:24px}}.profile-sidebar-component .user-card .stats{display:flex;flex-direction:row;font-size:16px;justify-content:space-between;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-sidebar-component .user-card .stats .followers-count,.profile-sidebar-component .user-card .stats .following-count,.profile-sidebar-component .user-card .stats .posts-count{display:flex;font-weight:800}.profile-sidebar-component .user-card .stats .stats-label{color:#94a3b8;font-size:11px;margin-top:-5px}',""]);const n=i},24143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(82736),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},94901:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(90998),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},61191:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(25506),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},63686:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(39345),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},5713:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(30953),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},92220:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(87505),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},56823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(84582),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},38609:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(53874),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},70595:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(97653),i=s(41142),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(19602);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"39a2f196",null).exports},90086:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(78710),i=s(79642),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(89673);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(10326),i=s(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(43956);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12350),i=s(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(99220),i=s(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(42659);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(66339),i=s(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50309),i=s(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(15278),i=s(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(98223);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(19986),i=s(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(39875),i=s(18988),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(84177),i=s(8622),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(26385),i=s(36875),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(17386),i=s(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(20458),i=s(22917),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},89965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(21464),i=s(68944),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(98862);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},32303:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(4880),i=s(48084),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(63585);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},24721:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(99417),i=s(96400),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(28169);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(54856),i=s(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(60970);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},85748:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(37653),i=s(64803),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(88143);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},41142:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(53411),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},79642:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(55336),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(77366),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},35181:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(62744),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(25356),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90427),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(27830),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},12422:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36765),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40423:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(57170),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},18988:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(86609),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},8622:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(42325),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},36875:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(98844),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66286),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},22917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(95159),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},68944:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(92762),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},48084:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90760),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},96400:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(68365),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(50371),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},64803:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(38544),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},19602:(t,e,s)=>{s.r(e);var o=s(24143),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},43956:(t,e,s)=>{s.r(e);var o=s(94901),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},42659:(t,e,s)=>{s.r(e);var o=s(61191),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98862:(t,e,s)=>{s.r(e);var o=s(63686),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},63585:(t,e,s)=>{s.r(e);var o=s(5713),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},28169:(t,e,s)=>{s.r(e);var o=s(92220),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},60970:(t,e,s)=>{s.r(e);var o=s(56823),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},88143:(t,e,s)=>{s.r(e);var o=s(38609),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},97653:(t,e,s)=>{s.r(e);var o=s(86123),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},78710:(t,e,s)=>{s.r(e);var o=s(30703),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},89673:(t,e,s)=>{s.r(e);var o=s(20454),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},10326:(t,e,s)=>{s.r(e);var o=s(8954),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12350:(t,e,s)=>{s.r(e);var o=s(4493),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99220:(t,e,s)=>{s.r(e);var o=s(90215),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},66339:(t,e,s)=>{s.r(e);var o=s(49209),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50309:(t,e,s)=>{s.r(e);var o=s(64084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},15278:(t,e,s)=>{s.r(e);var o=s(94122),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98223:(t,e,s)=>{s.r(e);var o=s(72729),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},19986:(t,e,s)=>{s.r(e);var o=s(51364),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},39875:(t,e,s)=>{s.r(e);var o=s(53458),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},84177:(t,e,s)=>{s.r(e);var o=s(24514),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},26385:(t,e,s)=>{s.r(e);var o=s(64295),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17386:(t,e,s)=>{s.r(e);var o=s(20512),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},20458:(t,e,s)=>{s.r(e);var o=s(34392),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},21464:(t,e,s)=>{s.r(e);var o=s(7711),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},4880:(t,e,s)=>{s.r(e);var o=s(50252),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99417:(t,e,s)=>{s.r(e);var o=s(83357),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},54856:(t,e,s)=>{s.r(e);var o=s(79409),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},37653:(t,e,s)=>{s.r(e);var o=s(81103),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},86123:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-timeline-component"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-3 d-md-block px-md-3 px-xl-5"},[s("profile-sidebar",{attrs:{profile:t.profile,relationship:t.relationship,user:t.curUser},on:{back:t.goBack,toggletab:t.toggleTab,follow:t.follow,unfollow:t.unfollow}})],1),t._v(" "),s("div",{staticClass:"col-md-8 px-md-5"},[s(t.getTabComponentName(),{key:t.getTabComponentName()+t.profile.id,tag:"component",attrs:{profile:t.profile,relationship:t.relationship}})],1)]),t._v(" "),s("drawer")],1):t._e()])},i=[]},30703:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;return(t._self._c||e)("canvas",{ref:"canvas",attrs:{width:t.parseNumber(t.width),height:t.parseNumber(t.height)}})},i=[]},20454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[s("div",{staticClass:"ph-col-12"},[s("div",{staticClass:"ph-row align-items-center"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),s("div",{staticClass:"ph-col-6 big"})]),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"ph-picture"}),t._v(" "),s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12 big"}),t._v(" "),s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])}]},8954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),s("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?s("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},4493:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?s("div",{staticClass:"card shadow-none rounded-lg border my-4"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?s("div",[t.status.content_text.length<=140?s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?s("div",[s("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[s("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?s("p",{staticClass:"mt-3 mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),s("p",{staticClass:"text-right mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),s("div",{staticClass:"mt-4"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?s("div",[s("div",{staticClass:"my-4 text-center"},[s("b-spinner"),t._v(" "),s("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-4x text-success"},[s("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-3x text-danger"},[s("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},90215:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),"public"!=e.visibility?[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[s("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===e.visibility?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[s("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])],2),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===o?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[o].replies},on:{"counter-change":function(e){return t.replyCounterChange(o,e)}}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[]},49209:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):[s("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o},[s("div",{staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},94122:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},72729:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[s("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[s("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[s("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),s("div",{staticClass:"ph-col-9 mb-0"},[s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div",[e.follows?s("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):e.follows?t._e():s("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},53458:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\tCannot display post\n\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},24514:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?s("span",[s("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),s("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},i=[]},64295:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?s("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("span",[s("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?s("span",{staticClass:"font-weight-bold"},[t._v("me")]):s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},34392:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div")])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},7711:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-feed-component"},[s("div",{staticClass:"profile-feed-component-nav d-flex justify-content-center justify-content-md-between align-items-center mb-4"},[s("div",{staticClass:"d-none d-md-block"},[s("div",{staticClass:"btn-group",staticStyle:{height:"45px"}},[s("button",{staticClass:"btn btn-link",class:[1===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(1)}}},[t._v("\n\t\t\t\t\tPosts\n\t\t\t\t")]),t._v(" "),t.isOwner?s("button",{staticClass:"btn btn-link",class:["archives"===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab("archives")}}},[t._v("\n\t\t\t\t\tArchives\n\t\t\t\t")]):t._e(),t._v(" "),t.isOwner?s("button",{staticClass:"btn btn-link",class:["bookmarks"===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab("bookmarks")}}},[t._v("\n\t\t\t\t\tBookmarks\n\t\t\t\t")]):t._e(),t._v(" "),t.canViewCollections?s("button",{staticClass:"btn btn-link",class:[2===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(2)}}},[t._v("\n\t\t\t\t\tCollections\n\t\t\t\t")]):t._e(),t._v(" "),t.isOwner?s("button",{staticClass:"btn btn-link",class:[3===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(3)}}},[t._v("\n\t\t\t\t\tLikes\n\t\t\t\t")]):t._e()])]),t._v(" "),1===t.tabIndex?s("div",{staticClass:"btn-group"},[s("button",{staticClass:"btn btn-link",class:[0===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(0)}}},[s("i",{staticClass:"far fa-th fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link",class:[1===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(1)}}},[s("i",{staticClass:"fas fa-stream fa-rotate-90 fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link",class:[2===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(2)}}},[s("i",{staticClass:"far fa-bars fa-lg"})])]):s("div",{staticClass:"d-none d-md-block",staticStyle:{width:"160px"}})]),t._v(" "),0==t.tabIndex?s("div",{staticClass:"d-flex justify-content-center mt-5"},[s("b-spinner")],1):1==t.tabIndex?s("div",{staticClass:"px-0 mx-0"},[0===t.layoutIndex?s("div",{staticClass:"row"},[t._l(t.feed,(function(e,o){return s("div",{key:"tlob:"+o+e.id,staticClass:"col-4 p-1"},[e.hasOwnProperty("pf_type")&&"video"==e.pf_type?s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[s("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),s("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1)])]):s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[e.sensitive?s("div",{staticClass:"square-content"},[t._m(1,!0),t._v(" "),s("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):s("div",{staticClass:"square-content"},[s("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].url}})],1),t._v(" "),s("div",{staticClass:"info-overlay-text"},[s("div",{staticClass:"text-white m-auto"},[s("p",{staticClass:"info-overlay-text-field font-weight-bold"},[s("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.favourites_count)))])]),t._v(" "),s("p",{staticClass:"info-overlay-text-field font-weight-bold"},[s("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])]),t._v(" "),s("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[s("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reblogs_count)))])])])])])])])})),t._v(" "),t.canLoadMore?s("div",{staticClass:"col-4 ph-wrapper"},[s("intersect",{on:{enter:t.enterIntersect}},[s("div",{staticClass:"ph-item"},[s("div",{staticClass:"ph-picture big"})])])],1):t._e()],2):1===t.layoutIndex?s("div",{staticClass:"row"},[s("masonry",{attrs:{cols:{default:3,800:2},gutter:{default:"5px"}}},[t._l(t.feed,(function(e,o){return s("div",{key:"tlog:"+o+e.id,staticClass:"p-1"},[e.hasOwnProperty("pf_type")&&"video"==e.pf_type?s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[s("div",{staticClass:"square-content"},[s("div",{staticClass:"info-overlay-text-label rounded"},[s("h5",{staticClass:"text-white m-auto font-weight-bold"},[s("span",[s("span",{staticClass:"far fa-video fa-2x p-2 d-flex-inline"})])])]),t._v(" "),s("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1)])]):e.sensitive?s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[s("div",{staticClass:"square-content"},[s("div",{staticClass:"info-overlay-text-label rounded"},[s("h5",{staticClass:"text-white m-auto font-weight-bold"},[s("span",[s("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])]),t._v(" "),s("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1)])]):s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("img",{staticClass:"img-fluid w-100 rounded-lg",attrs:{src:t.previewUrl(e),onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0'"}}),t._v(" "),s("span",{staticClass:"badge badge-light",staticStyle:{position:"absolute",bottom:"2px",right:"2px",opacity:"0.4"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t")])])])})),t._v(" "),t.canLoadMore?s("div",{staticClass:"p-1 ph-wrapper"},[s("intersect",{on:{enter:t.enterIntersect}},[s("div",{staticClass:"ph-item"},[s("div",{staticClass:"ph-picture big"})])])],1):t._e()],2)],1):2===t.layoutIndex?s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-10"},t._l(t.feed,(function(e,o){return s("status-card",{key:"prs"+e.id+":"+o,attrs:{profile:t.user,status:e},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"shares-modal":function(e){return t.openSharesModal(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMore?s("div",{staticClass:"col-12 col-md-10"},[s("intersect",{on:{enter:t.enterIntersect}},[s("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]):t._e(),t._v(" "),t.feedLoaded&&!t.feed.length?s("div",[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyPosts")))])])])]):t._e()]):"private"===t.tabIndex?s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-secure-feed.svg"}}),t._v(" "),s("p",{staticClass:"h3 text-dark font-weight-bold mt-3 py-3"},[t._v("This profile is private")]),t._v(" "),s("div",{staticClass:"lead text-muted px-3"},[t._v("\n\t\t\t\tOnly approved followers can see "),s("span",{staticClass:"font-weight-bold text-dark text-break"},[t._v("@"+t._s(t.profile.acct))]),t._v("'s "),s("br"),t._v("\n\t\t\t\tposts. To request access, click "),s("span",{staticClass:"font-weight-bold"},[t._v("Follow")]),t._v(".\n\t\t\t")])])]):2==t.tabIndex?s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-8"},[s("div",{staticClass:"list-group"},t._l(t.collections,(function(e,o){return s("a",{staticClass:"list-group-item text-decoration-none text-dark",attrs:{href:e.url}},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:e.thumb,width:"65",height:"65",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),s("div",{staticClass:"media-body text-left"},[s("p",{staticClass:"lead mb-0"},[t._v(t._s(e.title?e.title:"Untitled"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(e.description||"No description available"))]),t._v(" "),s("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[s("span",[t._v(t._s(e.post_count)+" posts")]),t._v(" "),s("span",[t._v("·")]),t._v(" "),"public"===e.visibility?s("span",{staticClass:"text-dark"},[t._v("Public")]):"private"===e.visibility?s("span",{staticClass:"text-dark"},[s("i",{staticClass:"far fa-lock fa-sm"}),t._v(" Followers Only")]):"draft"===e.visibility?s("span",{staticClass:"primary"},[s("i",{staticClass:"far fa-lock fa-sm"}),t._v(" Draft")]):t._e(),t._v(" "),s("span",[t._v("·")]),t._v(" "),e.published_at?s("span",[t._v("Created "+t._s(t.timeago(e.published_at))+" ago")]):s("span",{staticClass:"text-warning"},[t._v("UNPUBLISHED")])])])])])})),0)]),t._v(" "),t.collectionsLoaded&&!t.collections.length?s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyCollections")))])]):t._e(),t._v(" "),t.canLoadMoreCollections?s("div",{staticClass:"col-12 col-md-8"},[s("intersect",{on:{enter:t.enterCollectionsIntersect}},[s("div",{staticClass:"d-flex justify-content-center mt-5"},[s("b-spinner",{attrs:{small:""}})],1)])],1):t._e()]):3==t.tabIndex?s("div",{staticClass:"px-0 mx-0"},[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-10"},t._l(t.favourites,(function(e,o){return s("status-card",{key:"prs"+e.id+":"+o,attrs:{profile:t.user,status:e},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMoreFavourites?s("div",{staticClass:"col-12 col-md-10"},[s("intersect",{on:{enter:t.enterFavouritesIntersect}},[s("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.favourites&&t.favourites.length?t._e():s("div",{staticClass:"row justify-content-center"},[t._m(2)])]):"bookmarks"==t.tabIndex?s("div",{staticClass:"px-0 mx-0"},[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-10"},t._l(t.bookmarks,(function(e,o){return s("status-card",{key:"prs"+e.id+":"+o,attrs:{profile:t.user,"new-reactions":!0,status:e},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1)]),t._v(" "),t.bookmarks&&t.bookmarks.length?t._e():s("div",{staticClass:"row justify-content-center"},[t._m(3)])]):"archives"==t.tabIndex?s("div",{staticClass:"px-0 mx-0"},[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-10"},t._l(t.archives,(function(e,o){return s("status-card",{key:"prarc"+e.id+":"+o,attrs:{profile:t.user,"new-reactions":!0,"reaction-bar":!1,status:e},on:{menu:function(e){return t.openContextMenu(o,"archive")}}})})),1),t._v(" "),t.canLoadMoreArchives?s("div",{staticClass:"col-12 col-md-10"},[s("intersect",{on:{enter:t.enterArchivesIntersect}},[s("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.archives&&t.archives.length?t._e():s("div",{staticClass:"row justify-content-center"},[t._m(4)])]):t._e(),t._v(" "),t.showMenu?s("context-menu",{ref:"contextMenu",attrs:{status:t.contextMenuPost,profile:t.user},on:{moderate:t.commitModeration,delete:t.deletePost,archived:t.handleArchived,unarchived:t.handleUnarchived,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?s("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.user}}):t._e(),t._v(" "),t.showSharesModal?s("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),s("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label rounded"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-video fa-2x p-2 d-flex-inline"})])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead text-muted font-weight-bold"},[t._v("We can't seem to find any posts you have liked")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead text-muted font-weight-bold"},[t._v("We can't seem to find any posts you have bookmarked")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead text-muted font-weight-bold"},[t._v("We can't seem to find any posts you have bookmarked")])])}]},50252:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-followers-component"},[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-7"},[s("div",{staticClass:"header h1 font-weight-bold mb-3"},[t._v("\n\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t")]),t._v(" "),t.isLoaded?s("div",{staticClass:"list-group"},[t._l(t.feed,(function(e,o){return s("div",{staticClass:"list-group-item"},[s("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+e.id,href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(e))}})]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])])])]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+e.id,triggers:"hover",placement:"left","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:e}})],1)],1)})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():s("div",[t._m(0)])],2):s("div",{staticClass:"list-group"},[s("placeholder")],1)])])])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item text-center"},[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No followers yet!")])])}]},83357:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-following-component"},[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-7"},[s("div",{staticClass:"header h1 font-weight-bold mb-3"},[t._v("\n\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t")]),t._v(" "),t.isLoaded?s("div",{staticClass:"list-group"},[t._l(t.feed,(function(e,o){return s("div",{staticClass:"list-group-item"},[s("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+e.id,href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(e))}})]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])])])]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+e.id,triggers:"hover",placement:"left","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:e}})],1)],1)})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():s("div",[t._m(0)])],2):s("div",{staticClass:"list-group"},[s("placeholder")],1)])])])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item text-center"},[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Not following anyone yet!")])])}]},79409:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},81103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-sidebar-component"},[s("div",[s("div",{staticClass:"d-block d-md-none"},[s("div",{staticClass:"media user-card user-select-none"},[s("div",{staticStyle:{position:"relative"}},[s("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.profile.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),s("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?s("span",[t._v("@"+t._s(t.profile.acct))]):s("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?s("span",[s("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),s("div",{staticClass:"stats"},[s("div",{staticClass:"stats-posts",on:{click:function(e){return t.toggleTab("index")}}},[s("div",{staticClass:"posts-count"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),s("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.posts"))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"stats-followers",on:{click:function(e){return t.toggleTab("followers")}}},[s("div",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),s("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"stats-following",on:{click:function(e){return t.toggleTab("following")}}},[s("div",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),s("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),s("div",{staticClass:"d-none d-md-flex justify-content-between align-items-center"},[s("button",{staticClass:"btn btn-link",on:{click:function(e){return t.goBack()}}},[s("i",{staticClass:"far fa-chevron-left fa-lg text-lighter"})]),t._v(" "),s("div",[s("img",{staticClass:"avatar img-fluid shadow border",attrs:{src:t.getAvatar(),onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),t.profile.is_admin?s("p",{staticClass:"text-right",staticStyle:{"margin-top":"-30px"}},[s("span",{staticClass:"admin-label"},[t._v("Admin")])]):t._e()]),t._v(" "),s("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[s("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),t.profile.local?s("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]):t._e(),t._v(" "),s("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?s("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?s("div",[s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[s("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t")])],1):s("div",[t.profile.local?t._e():s("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")]),t._v(" "),s("b-dropdown-item",{attrs:{href:"/i/web/direct/thread/"+t.profile.id,"link-class":"font-weight-bold"}},[t._v("Direct Message")])],1),t._v(" "),t.profile.id!==t.user.id?s("div",[s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t")]),t._v(" "),s("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t")]),t._v(" "),s("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1),t._v(" "),s("div",{staticClass:"d-none d-md-block text-center"},[s("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),s("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?s("span",[t._v("@"+t._s(t.profile.acct))]):s("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?s("span",[s("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),t.user.id!=t.profile.id&&(t.relationship.followed_by||t.relationship.muting||t.relationship.blocking)?s("p",{staticClass:"mt-n3 text-center"},[t.relationship.followed_by?s("span",{staticClass:"badge badge-primary p-1"},[t._v("Follows you")]):t._e(),t._v(" "),t.relationship.muting?s("span",{staticClass:"badge badge-dark p-1 ml-1"},[t._v("Muted")]):t._e(),t._v(" "),t.relationship.blocking?s("span",{staticClass:"badge badge-danger p-1 ml-1"},[t._v("Blocked")]):t._e()]):t._e()]),t._v(" "),s("div",{staticClass:"d-none d-md-block stats py-2"},[s("div",{staticClass:"d-flex justify-content-between"},[s("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("index")}}},[s("strong",{attrs:{title:t.profile.statuses_count}},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),s("span",[t._v(t._s(t.$t("profile.posts")))])]),t._v(" "),s("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("followers")}}},[s("strong",{attrs:{title:t.profile.followers_count}},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),s("span",[t._v(t._s(t.$t("profile.followers")))])]),t._v(" "),s("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("following")}}},[s("strong",{attrs:{title:t.profile.following_count}},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),s("span",[t._v(t._s(t.$t("profile.following")))])])])]),t._v(" "),s("div",{staticClass:"d-flex align-items-center mb-3 mb-md-0"},[t.user.id===t.profile.id?s("div",{staticStyle:{"flex-grow":"1"}},[s("a",{staticClass:"btn btn-light font-weight-bold btn-block follow-btn",attrs:{href:"/settings/home"}},[t._v(t._s(t.$t("profile.editProfile")))])]):t.profile.locked?s("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following||t.relationship.requested?!t.relationship.following&&t.relationship.requested?s("div",[s("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.followRequested"))+"\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small font-weight-bold text-center mt-n4"},[s("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.cancelFollowRequest()}}},[t._v("Cancel Follow Request")])])]):t.relationship.following?s("button",{staticClass:"btn btn-primary font-weight-bold btn-block unfollow-btn",on:{click:t.unfollow}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t")]):t._e():s("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",on:{click:t.follow}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t")])]):s("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following?s("button",{staticClass:"btn btn-primary font-weight-bold btn-block unfollow-btn",on:{click:t.unfollow}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t")]):s("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",on:{click:t.follow}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"d-block d-md-none ml-3"},[s("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[s("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),t.profile.local?s("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]):t._e(),t._v(" "),s("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?s("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?s("div",[s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[s("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t\t")])],1):s("div",[t.profile.local?t._e():s("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")]),t._v(" "),s("b-dropdown-item",{attrs:{href:"/i/web/direct/thread/"+t.profile.id,"link-class":"font-weight-bold"}},[t._v("Direct Message")])],1),t._v(" "),t.profile.id!==t.user.id?s("div",[s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t\t")]),t._v(" "),s("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t\t")]),t._v(" "),s("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1)]),t._v(" "),t.profile.note&&t.renderedBio&&t.renderedBio.length?s("div",{staticClass:"bio-wrapper card shadow-none"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"bio-body"},[s("div",{domProps:{innerHTML:t._s(t.renderedBio)}})])])]):t._e(),t._v(" "),s("div",{staticClass:"d-none d-md-block card card-body shadow-none py-2"},[t.profile.website?s("p",{staticClass:"small"},[t._m(0),t._v(" "),s("span",[s("a",{staticClass:"font-weight-bold",attrs:{href:t.profile.website}},[t._v(t._s(t.profile.website))])])]):t._e(),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._m(1),t._v(" "),t.profile.local?s("span",[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\t\t\t\t")]):s("span",[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\n\t\t\t\t\t"),s("span",{staticClass:"float-right primary"},[s("i",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"far fa-info-circle",attrs:{title:"This user is from a remote server and may have created their account before this date"}})])])])]),t._v(" "),s("div",{staticClass:"d-none d-md-flex sidebar-sitelinks"},[s("a",{attrs:{href:"/site/about"}},[t._v(t._s(t.$t("navmenu.about")))]),t._v(" "),s("router-link",{attrs:{to:"/i/web/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),s("router-link",{attrs:{to:"/i/web/language"}},[t._v(t._s(t.$t("navmenu.language")))]),t._v(" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))])],1),t._v(" "),t._m(2)]),t._v(" "),s("b-modal",{ref:"fullBio",attrs:{centered:"","hide-footer":"","ok-only":"","ok-title":"Close","ok-variant":"light",scrollable:!0,"body-class":"p-md-5",title:"Bio"}},[s("div",{domProps:{innerHTML:t._s(t.profile.note)}})])],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-lighter mr-2"},[e("i",{staticClass:"far fa-link"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-lighter mr-2"},[e("i",{staticClass:"far fa-clock"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-none d-md-block sidebar-attribution"},[s("a",{staticClass:"font-weight-bold",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])])}]}}]); \ No newline at end of file diff --git a/public/js/profile.js b/public/js/profile.js index f116daebe..cdc90e59d 100644 --- a/public/js/profile.js +++ b/public/js/profile.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[912],{14425:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(19755);const o={props:["feed","status","profile","size","modal"],data:function(){return{activeSession:!1}},mounted:function(){var t=document.querySelector("body");this.activeSession=!!t.classList.contains("loggedIn")},methods:{reportUrl:function(t){return"/i/report?type="+(t.in_reply_to?"comment":"post")+"&id="+t.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},editUrl:function(t){return t.url+"/edit"},redirect:function(t){window.location.href=t},replyUrl:function(t){return"/p/"+this.profile.username+"/"+(t.account.id==this.profile.id?t.id:t.in_reply_to_id)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},statusOwner:function(t){return parseInt(t.account.id)==parseInt(this.profile.id)},deletePost:function(){this.$emit("deletePost"),i("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(t){t.sensitive=!0,i("#mt_pid_"+t.id).modal("hide")},moderatePost:function(t,e,s){var i=t.account.username;switch(e){case"autocw":var o="Are you sure you want to enforce CW for "+i+" ?";swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":o="Are you sure you want to suspend the account of "+i+" ?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(t){0!=i("body").hasClass("loggedIn")&&axios.post("/i/mute",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully muted "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},blockProfile:function(t){0!=i("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully blocked "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},closeModal:function(){i("#mt_pid_"+this.status.id).modal("hide")}}}},79466:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});s(82364);var i=s(19210),o=s(19755);function a(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);s0})),i=s.map((function(t){return t.id}));t.ids=i,t.min_id=Math.max.apply(Math,a(i)),t.max_id=Math.min.apply(Math,a(i)),t.modalStatus=_.first(e.data),t.timeline=s,t.ownerCheck(),t.loading=!1})).catch((function(t){swal("Oops, something went wrong","Please release the page.","error")}))},ownerCheck:function(){0!=o("body").hasClass("loggedIn")?this.owner=this.profile.id===this.user.id:this.owner=!1},infiniteTimeline:function(t){var e=this;if(this.loading||this.timeline.length<9)t.complete();else{var s="/api/pixelfed/v1/accounts/"+this.profileId+"/statuses";axios.get(s,{params:{only_media:!0,max_id:this.max_id}}).then((function(s){if(s.data.length&&0==e.loading){var i=s.data,o=e;i.forEach((function(t){-1==o.ids.indexOf(t.id)&&(o.timeline.push(t),o.ids.push(t.id))}));var n=Math.min.apply(Math,a(e.ids));if(n==e.max_id)return void t.complete();e.min_id=Math.max.apply(Math,a(e.ids)),e.max_id=n,t.loaded(),e.loading=!1}else t.complete()}))}},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].preview_url},previewBackground:function(t){return"background-image: url("+this.previewUrl(t)+");"},blurhHashMedia:function(t){return t.sensitive?null:t.media_attachments[0].preview_url},switchMode:function(t){if("grid"==t)this.mode=t;else if("bookmarks"==t&&this.bookmarks.length)this.mode="bookmarks";else{if("collections"!=t||!this.collections.length)return void(window.location.href="/"+this.profileUsername+"?m="+t);this.mode="collections"}},reportProfile:function(){var t=this.profile.id;window.location.href="/i/report?type=user&id="+t},reportUrl:function(t){return"/i/report?type="+(t.in_reply_to?"comment":"post")+"&id="+t.id},commentFocus:function(t,e){var s=event.target.parentElement.parentElement.parentElement,i=s.getElementsByClassName("comments")[0];0==i.children.length&&(i.classList.add("mb-2"),this.fetchStatusComments(t,s));var o=s.querySelectorAll(".card-footer")[0],a=s.querySelectorAll(".status-reply-input")[0];1==o.classList.contains("d-none")?(o.classList.remove("d-none"),a.focus()):(o.classList.add("d-none"),a.blur())},likeStatus:function(t,e){0!=o("body").hasClass("loggedIn")&&axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,1==t.favourited?t.favourited=!1:t.favourited=!0})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")}))},shareStatus:function(t,e){0!=o("body").hasClass("loggedIn")&&axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,1==t.reblogged?t.reblogged=!1:t.reblogged=!0})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")}))},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},editUrl:function(t){return t.url+"/edit"},redirect:function(t){window.location.href=t},remoteRedirect:function(t){window.location.href=window.App.config.site.url+"/i/redirect?url="+encodeURIComponent(t)},replyUrl:function(t){return"/p/"+this.profile.username+"/"+(t.account.id==this.profile.id?t.id:t.in_reply_to_id)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},statusOwner:function(t){return t.account.id==this.profile.id},fetchRelationships:function(){var t=this;0!=document.querySelectorAll("body")[0].classList.contains("loggedIn")&&axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profileId}}).then((function(e){e.data.length&&(t.relationship=e.data[0],1==e.data[0].blocking&&(t.warning=!0)),t.user.id!=t.profileId&&1!=t.relationship.following||axios.get("/api/web/stories/v1/exists/"+t.profileId).then((function(e){t.hasStory=1==e.data}))}))},muteProfile:function(){var t=this;if(0!=o("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/mute",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully muted "+t.profile.acct,"success")})).catch((function(t){422==t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Something went wrong. Please try again later.","error")}))}},unmuteProfile:function(){var t=this;if(0!=o("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/unmute",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully unmuted "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}},blockProfile:function(){var t=this;if(0!=o("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/block",{type:"user",item:e}).then((function(e){t.warning=!0,t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully blocked "+t.profile.acct,"success")})).catch((function(t){422==t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Something went wrong. Please try again later.","error")}))}},unblockProfile:function(){var t=this;if(0!=o("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/unblock",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully unblocked "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}},deletePost:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&t.account.id===this.profile.id&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){s.timeline.splice(e,1),swal("Success","You have successfully deleted this post","success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},followProfile:function(){var t=this;0!=o("body").hasClass("loggedIn")&&axios.post("/i/follow",{item:this.profileId}).then((function(e){t.$refs.visitorContextMenu.hide(),t.relationship.following?(t.profile.followers_count--,1==t.profile.locked&&(window.location.href="/")):t.profile.followers_count++,t.relationship.following=!t.relationship.following})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},followingModal:function(){var t=this;if(0!=o("body").hasClass("loggedIn")){if(0!=this.profileSettings.following.list)return this.followingCursor>1||axios.get("/api/pixelfed/v1/accounts/"+this.profileId+"/following",{params:{page:this.followingCursor}}).then((function(e){t.following=e.data,t.followingModalSearchCache=e.data,t.followingCursor++,e.data.length<10&&(t.followingMore=!1),t.followingLoading=!1})),void this.$refs.followingModal.show()}else window.location.href=encodeURI("/login?next=/"+this.profileUsername+"/")},followersModal:function(){var t=this;if(0!=o("body").hasClass("loggedIn")){if(0!=this.profileSettings.followers.list)return this.followerCursor>1||axios.get("/api/pixelfed/v1/accounts/"+this.profileId+"/followers",{params:{page:this.followerCursor}}).then((function(e){var s;(s=t.followers).push.apply(s,a(e.data)),t.followerCursor++,e.data.length<10&&(t.followerMore=!1),t.followerLoading=!1})),void this.$refs.followerModal.show()}else window.location.href=encodeURI("/login?next=/"+this.profileUsername+"/")},followingLoadMore:function(){var t=this;0!=o("body").hasClass("loggedIn")?axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/following",{params:{page:this.followingCursor,fbu:this.followingModalSearch}}).then((function(e){var s;e.data.length>0&&((s=t.following).push.apply(s,a(e.data)),t.followingCursor++,t.followingModalSearchCache=t.following);e.data.length<10&&(t.followingModalSearchCache=t.following,t.followingMore=!1)})):window.location.href=encodeURI("/login?next=/"+this.profile.username+"/")},followersLoadMore:function(){var t=this;0!=o("body").hasClass("loggedIn")&&axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/followers",{params:{page:this.followerCursor}}).then((function(e){var s;e.data.length>0&&((s=t.followers).push.apply(s,a(e.data)),t.followerCursor++);e.data.length<10&&(t.followerMore=!1)}))},visitorMenu:function(){this.$refs.visitorContextMenu.show()},followModalAction:function(t,e){var s=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"following";axios.post("/i/follow",{item:t}).then((function(t){"following"==i&&(s.following.splice(e,1),s.profile.following_count--)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},momentBackground:function(){var t="w-100 h-100 mt-n3 ";return this.profile.header_bg?t+="default"==this.profile.header_bg?"bg-pixelfed":"bg-moment-"+this.profile.header_bg:t+="bg-pixelfed",t},loadSponsor:function(){var t=this;axios.get("/api/local/profile/sponsor/"+this.profileId).then((function(e){t.sponsorList=e.data}))},showSponsorModal:function(){this.$refs.sponsorModal.show()},goBack:function(){return window.history.length>2?void window.history.back():void(window.location.href="/")},copyProfileLink:function(){navigator.clipboard.writeText(window.location.href),this.$refs.visitorContextMenu.hide()},formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return t.url},profileUrl:function(t){return t.url},profileUrlRedirect:function(t){return 1==t.local?t.url:"/i/web/profile/_/"+t.id},showEmbedProfileModal:function(){this.ctxEmbedPayload=window.App.util.embed.profile(this.profile.url),this.$refs.visitorContextMenu.hide(),this.$refs.embedModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.$refs.embedModal.hide(),this.$refs.visitorContextMenu.hide()},storyRedirect:function(){window.location.href="/stories/"+this.profileUsername+"?t=4"},followingModalSearchHandler:function(){var t=this,e=this,s=this.followingModalSearch;if(0==s.length&&(this.following=this.followingModalSearchCache,this.followingModalSearch=null),s.length>0){var i="/api/pixelfed/v1/accounts/"+e.profileId+"/following?page=1&fbu="+s;axios.get(i).then((function(e){t.following=e.data})).catch((function(t){e.following=e.followingModalSearchCache,e.followingModalSearch=null}))}},truncate:function(t,e){return _.truncate(t,{length:e})},formatWebsite:function(t){if("https://"===t.slice(0,8))t=t.substr(8);else{if("http://"!==t.slice(0,7))return void(this.profile.website=null);t=t.substr(7)}return this.truncate(t,60)},joinedAtFormat:function(t){return new Date(t).toDateString()},archivesInfiniteLoader:function(t){var e=this;axios.get("/api/pixelfed/v2/statuses/archives",{params:{page:this.archivesPage}}).then((function(s){var i;s.data.length?((i=e.archives).push.apply(i,a(s.data)),e.archivesPage++,t.loaded()):t.complete()}))}}}},41226:(t,e,s)=>{"use strict";function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);sa});const a={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{},data:function(){return{loading:!0,curUser:void 0,profile:void 0,relationship:void 0,owner:!1,tab:"posts",layout:"grid",timeline:[],ids:[],min_id:void 0,max_id:void 0,canPaginate:!0,showMenuNav:!0,followers:[]}},mounted:function(){this.init()},methods:{init:function(){var t=this,e=new URLSearchParams(window.location.search);if(e.has("lt")){var s=e.get("lt"),i=1==s?1:2==s?2:0;0==i&&history.pushState(null,null,window.location.origin+window.location.pathname),this.layout=["grid","feed","masonry"][i]}this.cachedProfile&&this.cachedUser?(this.curUser=this.cachedUser,this.profile=this.cachedProfile,this.fetchPosts(),this.loaded()):axios.get("/api/v1/accounts/verify_credentials").then((function(e){t.curUser=e.data,t.fetchProfile()})).catch((function(e){t.curUser={id:void 0},t.fetchProfile()}))},loaded:function(){this.loading&&(this.$refs.loader.loaded(),this.loading=!1)},fetchProfile:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/"+e).then((function(e){t.profile=e.data,e.data.id==t.curUser.id?(t.owner=!0,t.loaded(),t.fetchPosts()):(t.loaded(),t.fetchPosts(),t.fetchRelationship())})).catch((function(t){}))},fetchRelationship:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":e}}).then((function(e){t.relationship=e.data[0],t.loaded()})).catch((function(e){t.relationship={following:!1},t.loaded()}))},toggleTab:function(t){this.canPaginate=!1,this.layout="grid",this.tab=t,"followers"==t&&(this.showMenuNav=!1,this.followers.length||this.fetchFollowers()),console.log(t)},toggleLayout:function(t){event.currentTarget.blur(),this.layout=t;var e=location.origin+location.pathname,s="grid"!=t?e+"?lt="+["grid","feed","masonry"].indexOf(t):e;history.pushState(null,null,s)},fetchFollowers:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/v1/accounts/"+e+"/followers").then((function(e){var s;(s=t.followers).push.apply(s,i(e.data))}))},fetchPosts:function(){var t=this,e="/api/v1/accounts/"+(this.id?this.id:this.profileId?this.profileId:this.profile.id)+"/statuses";axios.get(e,{params:{limit:9,only_media:!0,min_id:1}}).then((function(e){var s=e.data.filter((function(t){return t.media_attachments.length>0})),o=s.map((function(t){return t.id}));t.ids=o,t.min_id=Math.max.apply(Math,i(o)),t.max_id=Math.min.apply(Math,i(o)),s.forEach((function(e){t.timeline.push(e)}))}))},infiniteTimeline:function(t){var e=this;if("posts"==this.tab)if(this.loading||this.timeline.length<9)t.complete();else{var s="/api/v1/accounts/"+(this.id?this.id:this.profileId?this.profileId:this.profile.id)+"/statuses";axios.get(s,{params:{only_media:!0,max_id:this.max_id}}).then((function(s){if(s.data.length&&0==e.loading){var o=s.data,a=e;o.forEach((function(t){-1==a.ids.indexOf(t.id)&&(a.timeline.push(t),a.ids.push(t.id))}));var n=Math.min.apply(Math,i(e.ids));if(n==e.max_id)return void t.complete();e.min_id=Math.max.apply(Math,i(e.ids)),e.max_id=n,t.loaded(),e.loading=!1}else t.complete()}))}},statusUrl:function(t){return t.url},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].preview_url},truncate:function(t,e){return _.truncate(t,{length:e})},formatCount:function(t){return App.util.format.count(t)},formatWebsite:function(t){if("https://"===t.slice(0,8))t=t.substr(8);else{if("http://"!==t.slice(0,7))return;t=t.substr(7)}return this.truncate(t,60)},timeago:function(t){return App.util.format.timeAgo(t)},joinedAtFormat:function(t){return new Date(t).toDateString()}}}},53999:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(19755);const o={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var i=this,o=(t.account.username,t.id,""),a=this;switch(e){case"addcw":o="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,a.closeModals(),a.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),a.closeModals(),a.ctxModMenuClose()}))}));break;case"remcw":o="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,a.closeModals(),a.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),a.closeModals(),a.ctxModMenuClose()}))}));break;case"unlist":o="Are you sure you want to unlist this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){i.feed=i.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":o="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=i("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=i("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},55192:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(20415),o=s(19755);const a={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":i.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at){"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(20415),o=s(97622),a=s(19755);const n={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":i.default,"poll-card":o.default},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,i=t.account.username,o=document.createElement("a");switch(o.href=t.account.url,o=o.hostname,e){case"@":default:return i+'@'+o+"";case"from":return i+' from '+o+"";case"custom":return i+' '+s+" "+o+""}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=a("body").hasClass("loggedIn")){var s=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var s=this;this.replySending=!0;var i=t.id,o=this.replyText,a=this.config.uploader.max_caption_length;if(o.length>a)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+a+" characters or less.","error");axios.post("/i/comment",{item:i,comment:o,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)},canFollow:function(t){return!!t.hasOwnProperty("relationship")&&(!(!t.hasOwnProperty("account")||!t.account.hasOwnProperty("id"))&&(t.account.id!=this.profile.id&&!t.relationship.following))},follow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!0,e.$emit("followed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},unfollow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!1,e.$emit("unfollowed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))}}}},7768:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status"]}},10578:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,i.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var i="forward";e.advancePage(i),e.$emit("navigation-click",i)}}}}},15464:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,i.default)({el:t.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}}}},63049:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status"]}},67223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")}}}},4291:(t,e,s)=>{Vue.component("photo-presenter",s(23251).default),Vue.component("video-presenter",s(53973).default),Vue.component("photo-album-presenter",s(33872).default),Vue.component("video-album-presenter",s(76644).default),Vue.component("mixed-album-presenter",s(57374).default),Vue.component("post-menu",s(4086).default),Vue.component("profile",s(29279).default),Vue.component("profile-next",s(64983).default)},47036:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".text-lighter[data-v-1002e7e2]{color:#b8c2cc!important}.modal-body[data-v-1002e7e2]{padding:0}",""]);const a=o},79489:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".o-landscape[data-v-89e9aa84],.o-portrait[data-v-89e9aa84],.o-square[data-v-89e9aa84]{max-width:320px}.post-icon[data-v-89e9aa84]{color:#fff;margin-top:10px;opacity:.6;position:relative;text-shadow:3px 3px 16px #272634;z-index:9}.font-size-16px[data-v-89e9aa84]{font-size:16px}.profile-website[data-v-89e9aa84]{color:#003569;font-weight:600;text-decoration:none}.nav-topbar .nav-link[data-v-89e9aa84]{color:#999}.nav-topbar .nav-link .small[data-v-89e9aa84]{font-weight:600}.has-story[data-v-89e9aa84]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;height:84px;padding:4px;width:84px}.has-story img[data-v-89e9aa84]{background:#fff;border-radius:50%;height:76px;padding:6px;width:76px}.has-story-lg[data-v-89e9aa84]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;height:159px;padding:4px;width:159px}.has-story-lg img[data-v-89e9aa84]{background:#fff;border-radius:50%;height:150px;padding:6px;width:150px}.no-focus[data-v-89e9aa84]{border-color:none;box-shadow:none;outline:0}.modal-tab-active[data-v-89e9aa84]{border-bottom:1px solid #08d}.btn-sec-alt[data-v-89e9aa84]:hover{background-color:transparent;border-color:#6c757d;color:#ccc;opacity:.7}",""]);const a=o},7524:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-5fea84a1]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-5fea84a1]{position:relative}.content-label[data-v-5fea84a1]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-5fea84a1]{position:relative}",""]);const a=o},11335:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-77d48172]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-77d48172]{position:relative}.content-label[data-v-77d48172]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const a=o},2187:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".content-label-wrapper[data-v-6e29e1c6]{position:relative}.content-label[data-v-6e29e1c6]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const a=o},93029:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,"#content,.profile-component,body{background-color:var(--body-bg)}.profile-component{display:block;height:100%;width:100%}",""]);const a=o},77543:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}",""]);const a=o},95833:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(47036),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},20576:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(79489),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},53548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(7524),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},32620:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(11335),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},21881:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(2187),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},60546:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(93029),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},49852:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(77543),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},4086:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(44843),o=s(10078),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(82398);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"1002e7e2",null).exports},29279:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(68443),o=s(33760),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(15779);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"89e9aa84",null).exports},64983:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(81387),o=s(44369),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(7776);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},20415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(53242),o=s(25266),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},97622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(46594),o=s(97381),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19210:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(48661),o=s(71334),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(66117);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},57374:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(10650),o=s(4220),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},33872:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(15866),o=s(10878),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(79480);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"5fea84a1",null).exports},23251:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(42415),o=s(29911),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(37423);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"77d48172",null).exports},76644:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(63027),o=s(18411),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},53973:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(59132),o=s(44976),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(64732);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"6e29e1c6",null).exports},10078:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(14425),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},33760:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(79466),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},44369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(41226),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},25266:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(53999),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},97381:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(55192),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},71334:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(86637),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},4220:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(7768),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},10878:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(10578),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},29911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(15464),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},18411:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(63049),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},44976:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(67223),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},82398:(t,e,s)=>{"use strict";s.r(e);var i=s(95833),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},15779:(t,e,s)=>{"use strict";s.r(e);var i=s(20576),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},79480:(t,e,s)=>{"use strict";s.r(e);var i=s(53548),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},37423:(t,e,s)=>{"use strict";s.r(e);var i=s(32620),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},64732:(t,e,s)=>{"use strict";s.r(e);var i=s(21881),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},7776:(t,e,s)=>{"use strict";s.r(e);var i=s(60546),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},66117:(t,e,s)=>{"use strict";s.r(e);var i=s(49852),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},44843:(t,e,s)=>{"use strict";s.r(e);var i=s(27257),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},68443:(t,e,s)=>{"use strict";s.r(e);var i=s(59461),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},81387:(t,e,s)=>{"use strict";s.r(e);var i=s(40745),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},53242:(t,e,s)=>{"use strict";s.r(e);var i=s(22372),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},46594:(t,e,s)=>{"use strict";s.r(e);var i=s(56081),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},48661:(t,e,s)=>{"use strict";s.r(e);var i=s(91927),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},10650:(t,e,s)=>{"use strict";s.r(e);var i=s(34812),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},15866:(t,e,s)=>{"use strict";s.r(e);var i=s(87182),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},42415:(t,e,s)=>{"use strict";s.r(e);var i=s(65654),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},63027:(t,e,s)=>{"use strict";s.r(e);var i=s(36310),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},59132:(t,e,s)=>{"use strict";s.r(e);var i=s(38508),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},27257:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",["true"!=t.modal?s("div",{staticClass:"dropdown"},[s("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"}},[s("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),s("div",{staticClass:"dropdown-menu dropdown-menu-right"},[s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",attrs:{href:t.status.url}},[t._v("Go to post")]),t._v(" "),1==t.activeSession&&0==t.statusOwner(t.status)?s("span",[s("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.reportUrl(t.status)}},[t._v("Report")])]):t._e(),t._v(" "),1==t.activeSession&&1==t.statusOwner(t.status)?s("span",[s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.muteProfile(t.status)}}},[t._v("Mute Profile")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.blockProfile(t.status)}}},[t._v("Block Profile")])]):t._e(),t._v(" "),1==t.activeSession&&1==t.profile.is_admin?s("span",[s("div",{staticClass:"dropdown-divider"}),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-danger text-decoration-none",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]),t._v(" "),s("div",{staticClass:"dropdown-divider"}),t._v(" "),s("h6",{staticClass:"dropdown-header"},[t._v("Mod Tools")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"autocw")}}},[s("p",{staticClass:"mb-0"},[t._v("Enforce CW")]),t._v(" "),t._m(0)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"noautolink")}}},[s("p",{staticClass:"mb-0"},[t._v("No Autolinking")]),t._v(" "),t._m(1)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"unlisted")}}},[s("p",{staticClass:"mb-0"},[t._v("Unlisted Posts")]),t._v(" "),t._m(2)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"disable")}}},[s("p",{staticClass:"mb-0"},[t._v("Disable Account")]),t._v(" "),t._m(3)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"suspend")}}},[s("p",{staticClass:"mb-0"},[t._v("Suspend Account")]),t._v(" "),t._m(4)])]):t._e()])]):t._e(),t._v(" "),"true"==t.modal?s("div",[s("span",{attrs:{"data-toggle":"modal","data-target":"#mt_pid_"+t.status.id}},[s("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),s("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog",id:"mt_pid_"+t.status.id}},[s("div",{staticClass:"modal-dialog modal-sm modal-dialog-centered",attrs:{role:"document"}},[s("div",{staticClass:"modal-content"},[s("div",{staticClass:"modal-body text-center"},[s("div",{staticClass:"list-group"},[s("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:t.statusUrl(t.status)}},[t._v("Go to post")]),t._v(" "),s("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hidePost(t.status)}}},[t._v("Hide")]),t._v(" "),1!=t.activeSession||t.statusOwner(t.status)?t._e():s("a",{staticClass:"list-group-item text-danger font-weight-bold text-decoration-none",attrs:{href:t.reportUrl(t.status)}},[t._v("Report")]),t._v(" "),1==t.activeSession&&1==t.statusOwner(t.status)||1==t.profile.is_admin?s("div",{staticClass:"list-group-item text-danger font-weight-bold cursor-pointer",on:{click:function(e){return e.preventDefault(),t.deletePost.apply(null,arguments)}}},[t._v("Delete")]):t._e(),t._v(" "),s("a",{staticClass:"list-group-item text-lighter text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[t._v("Close")])])])])])])]):t._e()])},o=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Adds a CW to every post "),s("br"),t._v(" made by this account.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Do not transform mentions, "),s("br"),t._v(" hashtags or urls into HTML.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Removes account from "),s("br"),t._v(" public/network timelines.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Temporarily disable account "),s("br"),t._v(" until next time user log in.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("This prevents any new interactions, "),s("br"),t._v(" without deleting existing data.")])}]},59461:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"w-100 h-100"},[t.isMobile?s("div",{staticClass:"bg-white p-3 border-bottom"},[s("div",{staticClass:"d-flex justify-content-between align-items-center"},[s("div",{staticClass:"cursor-pointer",on:{click:t.goBack}},[s("i",{staticClass:"fas fa-chevron-left fa-lg"})]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t"+t._s(this.profileUsername)+"\n\n\t\t\t")]),t._v(" "),s("div",[s("a",{staticClass:"fas fa-ellipsis-v fa-lg text-muted text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.visitorMenu.apply(null,arguments)}}})])])]):t._e(),t._v(" "),t.relationship&&t.relationship.blocking&&t.warning?s("div",{staticClass:"bg-white pt-3 border-bottom"},[s("div",{staticClass:"container"},[s("p",{staticClass:"text-center font-weight-bold"},[t._v("You are blocking this account")]),t._v(" "),s("p",{staticClass:"text-center font-weight-bold"},[t._v("Click "),s("a",{staticClass:"cursor-pointer",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.warning=!1}}},[t._v("here")]),t._v(" to view profile")])])]):t._e(),t._v(" "),t.loading?s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"80vh"}},[s("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]):t._e(),t._v(" "),t.loading||t.warning?t._e():s("div",["metro"==t.layout?s("div",{staticClass:"container"},[s("div",{class:t.isMobile?"pt-5":"pt-5 border-bottom"},[s("div",{staticClass:"container px-0"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-4 d-md-flex"},[s("div",{staticClass:"profile-avatar mx-md-auto"},[s("div",{staticClass:"d-block d-md-none mt-n3 mb-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-4"},[t.hasStory?s("div",{staticClass:"has-story cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[s("img",{staticClass:"rounded-circle",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"77px",height:"77px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]):s("div",[s("img",{staticClass:"rounded-circle border",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"77px",height:"77px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})])]),t._v(" "),s("div",{staticClass:"col-8"},[s("div",{staticClass:"d-block d-md-none mt-3 py-2"},[s("ul",{staticClass:"nav d-flex justify-content-between"},[s("li",{staticClass:"nav-item"},[s("div",{staticClass:"font-weight-light"},[s("span",{staticClass:"text-dark text-center"},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),s("p",{staticClass:"text-muted mb-0 small"},[t._v("Posts")])])])]),t._v(" "),s("li",{staticClass:"nav-item"},[t.profileSettings.followers.count?s("div",{staticClass:"font-weight-light"},[s("a",{staticClass:"text-dark cursor-pointer text-center",on:{click:function(e){return t.followersModal()}}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),s("p",{staticClass:"text-muted mb-0 small"},[t._v("Followers")])])]):t._e()]),t._v(" "),s("li",{staticClass:"nav-item"},[t.profileSettings.following.count?s("div",{staticClass:"font-weight-light"},[s("a",{staticClass:"text-dark cursor-pointer text-center",on:{click:function(e){return t.followingModal()}}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),s("p",{staticClass:"text-muted mb-0 small"},[t._v("Following")])])]):t._e()])])])])])]),t._v(" "),s("div",{staticClass:"d-none d-md-block pb-3"},[t.hasStory?s("div",{staticClass:"has-story-lg cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[s("img",{staticClass:"rounded-circle box-shadow cursor-pointer",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"150px",height:"150px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]):s("div",[s("img",{staticClass:"rounded-circle box-shadow",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"150px",height:"150px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.sponsorList.patreon||t.sponsorList.liberapay||t.sponsorList.opencollective?s("p",{staticClass:"text-center mt-3"},[s("button",{staticClass:"btn btn-outline-secondary font-weight-bold py-0",attrs:{type:"button"},on:{click:t.showSponsorModal}},[s("i",{staticClass:"fas fa-heart text-danger"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tDonate\n\t\t\t\t\t\t\t\t\t\t")])]):t._e()])])]),t._v(" "),s("div",{staticClass:"col-12 col-md-8 d-flex align-items-center"},[s("div",{staticClass:"profile-details"},[s("div",{staticClass:"d-none d-md-flex username-bar pb-3 align-items-center"},[s("span",{staticClass:"font-weight-ultralight h3 mb-0"},[t._v(t._s(t.profile.username))]),t._v(" "),t.profile.id!=t.user.id&&t.user.hasOwnProperty("id")?s("span",[1==t.relationship.following?s("span",{staticClass:"pl-4"},[s("a",{staticClass:"btn btn-outline-secondary font-weight-bold btn-sm py-1 text-dark mr-2 px-3 btn-sec-alt",staticStyle:{border:"1px solid #dbdbdb"},attrs:{href:"/account/direct/t/"+t.profile.id,"data-toggle":"tooltip",title:"Message"}},[t._v("Message")]),t._v(" "),s("button",{staticClass:"btn btn-outline-secondary font-weight-bold btn-sm py-1 text-dark btn-sec-alt",staticStyle:{border:"1px solid #dbdbdb"},attrs:{type:"button","data-toggle":"tooltip",title:"Unfollow"},on:{click:t.followProfile}},[s("i",{staticClass:"fas fa-user-check mx-3"})])]):t._e(),t._v(" "),t.relationship.following?t._e():s("span",{staticClass:"pl-4"},[s("button",{staticClass:"btn btn-primary font-weight-bold btn-sm py-1 px-3",attrs:{type:"button","data-toggle":"tooltip",title:"Follow"},on:{click:t.followProfile}},[t._v("Follow")])])]):t._e(),t._v(" "),t.owner&&t.user.hasOwnProperty("id")?s("span",{staticClass:"pl-4"},[s("a",{staticClass:"btn btn-outline-secondary btn-sm",staticStyle:{"font-weight":"600"},attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),s("span",{staticClass:"pl-4"},[s("a",{staticClass:"fas fa-ellipsis-h fa-lg text-dark text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.visitorMenu.apply(null,arguments)}}})])]),t._v(" "),s("div",{staticClass:"font-size-16px"},[s("div",{staticClass:"d-none d-md-inline-flex profile-stats pb-3"},[s("div",{staticClass:"font-weight-light pr-5"},[s("span",{staticClass:"text-dark"},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tPosts\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),t.profileSettings.followers.count?s("div",{staticClass:"font-weight-light pr-5"},[s("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followersModal()}}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tFollowers\n\t\t\t\t\t\t\t\t\t\t\t")])]):t._e(),t._v(" "),t.profileSettings.following.count?s("div",{staticClass:"font-weight-light"},[s("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followingModal()}}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tFollowing\n\t\t\t\t\t\t\t\t\t\t\t")])]):t._e()]),t._v(" "),s("p",{staticClass:"d-flex align-items-center mb-1"},[s("span",{staticClass:"font-weight-bold mr-1"},[t._v(t._s(t.profile.display_name))]),t._v(" "),t.profile.pronouns?s("span",{staticClass:"text-muted small"},[t._v(t._s(t.profile.pronouns.join("/")))]):t._e()]),t._v(" "),t.profile.note?s("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.profile.note)}}):t._e(),t._v(" "),t.profile.website?s("p",[s("a",{staticClass:"profile-website small",attrs:{href:t.profile.website,rel:"me external nofollow noopener",target:"_blank"}},[t._v(t._s(t.formatWebsite(t.profile.website)))])]):t._e(),t._v(" "),s("p",{staticClass:"d-flex small text-muted align-items-center"},[t.profile.is_admin?s("span",{staticClass:"btn btn-outline-danger btn-sm py-0 mr-3",attrs:{title:"Admin Account","data-toggle":"tooltip"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tAdmin\n\t\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.relationship&&t.relationship.followed_by?s("span",{staticClass:"btn btn-outline-muted btn-sm py-0 mr-3"},[t._v("Follows You")]):t._e(),t._v(" "),s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\tJoined "+t._s(t.joinedAtFormat(t.profile.created_at))+"\n\t\t\t\t\t\t\t\t\t\t")])])])])])])])]),t._v(" "),s("div",{staticClass:"d-block d-md-none my-0 pt-3 border-bottom"},[t.user&&t.user.hasOwnProperty("id")?s("p",{staticClass:"pt-3"},[t.owner?s("button",{staticClass:"btn btn-outline-secondary bg-white btn-sm py-1 btn-block text-center font-weight-bold text-dark border border-lighter",on:{click:function(e){return e.preventDefault(),t.redirect("/settings/home")}}},[t._v("Edit Profile")]):t._e(),t._v(" "),!t.owner&&t.relationship.following?s("button",{staticClass:"btn btn-outline-secondary bg-white btn-sm py-1 px-5 font-weight-bold text-dark border border-lighter",on:{click:t.followProfile}},[t._v("   Unfollow   ")]):t._e(),t._v(" "),t.owner||t.relationship.following?t._e():s("button",{staticClass:"btn btn-primary btn-sm py-1 px-5 font-weight-bold",on:{click:t.followProfile}},[t._v(t._s(t.relationship.followed_by?"Follow Back":"     Follow     "))])]):t._e()]),t._v(" "),s("div",{},[s("ul",{staticClass:"nav nav-topbar d-flex justify-content-center border-0"},[s("li",{staticClass:"nav-item border-top"},[s("a",{class:"grid"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("grid")}}},[s("i",{staticClass:"fas fa-th"}),t._v(" "),s("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("POSTS")])])]),t._v(" "),s("li",{staticClass:"nav-item px-0 border-top"},[s("a",{class:"collections"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("collections")}}},[s("i",{staticClass:"fas fa-images"}),t._v(" "),s("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("COLLECTIONS")])])]),t._v(" "),t.owner?s("li",{staticClass:"nav-item border-top"},[s("a",{class:"bookmarks"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("bookmarks")}}},[s("i",{staticClass:"fas fa-bookmark"}),t._v(" "),s("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("SAVED")])])]):t._e(),t._v(" "),t.owner?s("li",{staticClass:"nav-item border-top"},[s("a",{class:"archives"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("archives")}}},[s("i",{staticClass:"far fa-folder-open"}),t._v(" "),s("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("ARCHIVES")])])]):t._e()])]),t._v(" "),s("div",{staticClass:"container px-0"},[s("div",{staticClass:"profile-timeline mt-md-4"},["grid"==t.mode?s("div",[s("div",{staticClass:"row"},[t._l(t.timeline,(function(e,i){return s("div",{key:"tlob:"+i,staticClass:"col-4 p-1 p-md-3"},[s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[e.sensitive?s("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),s("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):s("div",{staticClass:"square-content"},[s("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].preview_url}})],1),t._v(" "),"photo:album"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),s("div",{staticClass:"info-overlay-text"},[s("h5",{staticClass:"text-white m-auto font-weight-bold"},[s("span",[s("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])])])])])])])})),t._v(" "),0==t.timeline.length?s("div",{staticClass:"col-12"},[t._m(1)]):t._e()],2),t._v(" "),t.timeline.length?s("div",[s("infinite-loading",{on:{infinite:t.infiniteTimeline}},[s("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),s("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()]):t._e(),t._v(" "),"bookmarks"==t.mode?s("div",[t.bookmarksLoading?s("div",[t._m(2)]):s("div",[t.bookmarks.length?s("div",{staticClass:"row"},t._l(t.bookmarks,(function(e,i){return s("div",{staticClass:"col-4 p-1 p-sm-2 p-md-3"},[s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:e.url}},[s("div",{staticClass:"square"},["photo:album"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),s("div",{staticClass:"square-content",style:t.previewBackground(e)}),t._v(" "),s("div",{staticClass:"info-overlay-text"},[s("h5",{staticClass:"text-white m-auto font-weight-bold"},[s("span",[s("span",{staticClass:"fas fa-retweet fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(e.reblogs_count))])])])])])])])})),0):s("div",{staticClass:"col-12"},[t._m(3)])])]):t._e(),t._v(" "),"collections"==t.mode?s("div",[t.collections.length&&t.collectionsLoaded?s("div",{staticClass:"row"},t._l(t.collections,(function(t,e){return s("div",{staticClass:"col-4 p-1 p-sm-2 p-md-3"},[s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.url}},[s("div",{staticClass:"square"},[s("div",{staticClass:"square-content",style:"background-image: url("+t.thumb+");"})])])])})),0):s("div",[t._m(4)])]):t._e(),t._v(" "),"archives"==t.mode?s("div",[t.archives.length?s("div",{staticClass:"col-12 col-md-8 offset-md-2 px-0 mb-sm-3 timeline mt-5"},[t._m(5),t._v(" "),t._l(t.archives,(function(t,e){return s("div",[s("status-card",{class:{"border-top":0===e},attrs:{status:t,"reaction-bar":!1}})],1)})),t._v(" "),s("infinite-loading",{on:{infinite:t.archivesInfiniteLoader}},[s("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),s("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2):t._e()]):t._e()])])]):t._e()]),t._v(" "),t.profile&&t.following?s("b-modal",{ref:"followingModal",attrs:{id:"following-modal","hide-footer":"",centered:"",scrollable:"",title:"Following","body-class":"list-group-flush py-3 px-0","dialog-class":"follow-modal"}},[t.followingLoading?s("div",{staticClass:"text-center py-5"},[s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):s("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.following.length?s("div",[1==t.owner?s("div",{staticClass:"list-group-item border-0 pt-0 px-0 mt-n2 mb-3"},[s("span",{staticClass:"d-flex px-4 pb-0 align-items-center"},[s("i",{staticClass:"fas fa-search text-lighter"}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.followingModalSearch,expression:"followingModalSearch"}],staticClass:"form-control border-0 shadow-0 no-focus",attrs:{type:"text",placeholder:"Search Following..."},domProps:{value:t.followingModalSearch},on:{keyup:t.followingModalSearchHandler,input:function(e){e.target.composing||(t.followingModalSearch=e.target.value)}}})])]):t._e(),t._v(" "),t._l(t.following,(function(e,i){return s("div",{key:"following_"+i,staticClass:"list-group-item border-0 py-1 mb-1"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:t.profileUrlRedirect(e)}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",loading:"lazy",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0'"}})]),t._v(" "),s("div",{staticClass:"media-body text-truncate"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(e)}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e.local?s("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.display_name?e.display_name:e.username)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:e.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.acct.split("@")[0]))]),s("span",{staticClass:"text-lighter"},[t._v("@"+t._s(e.acct.split("@")[1]))])])]),t._v(" "),t.owner?s("div",[s("a",{staticClass:"btn btn-outline-dark btn-sm font-weight-bold",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.followModalAction(e.id,i,"following")}}},[t._v("Following")])]):t._e()])])})),t._v(" "),t.followingModalSearch&&0==t.following.length?s("div",{staticClass:"list-group-item border-0"},[s("div",{staticClass:"list-group-item border-0 pt-5"},[s("p",{staticClass:"p-3 text-center mb-0 lead"},[t._v("No Results Found")])])]):t._e(),t._v(" "),t.following.length>0&&t.followingMore?s("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followingLoadMore()}}},[s("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):s("div",{staticClass:"list-group-item border-0"},[s("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[s("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" is not following yet")])])])]):t._e(),t._v(" "),s("b-modal",{ref:"followerModal",attrs:{id:"follower-modal","hide-footer":"",centered:"",scrollable:"",title:"Followers","body-class":"list-group-flush py-3 px-0","dialog-class":"follow-modal"}},[t.followerLoading?s("div",{staticClass:"text-center py-5"},[s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):s("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.followers.length?s("div",[t._l(t.followers,(function(e,i){return s("div",{key:"follower_"+i,staticClass:"list-group-item border-0 py-1 mb-1"},[s("div",{staticClass:"media mb-0"},[s("a",{attrs:{href:t.profileUrlRedirect(e)}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",height:"30px",loading:"lazy",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0'"}})]),t._v(" "),s("div",{staticClass:"media-body mb-0"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(e)}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e.local?s("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.display_name?e.display_name:e.username)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:e.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.acct.split("@")[0]))]),s("span",{staticClass:"text-lighter"},[t._v("@"+t._s(e.acct.split("@")[1]))])])])])])})),t._v(" "),t.followers.length&&t.followerMore?s("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followersLoadMore()}}},[s("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):s("div",{staticClass:"list-group-item border-0"},[s("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[s("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" has no followers yet")])])])]),t._v(" "),s("b-modal",{ref:"visitorContextMenu",attrs:{id:"visitor-context-menu","hide-footer":"","hide-header":"",centered:"",size:"sm","body-class":"list-group-flush p-0"}},[t.relationship?s("div",{staticClass:"list-group"},[s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.copyProfileLink}},[t._v("\n\t\t\t\tCopy Link\n\t\t\t")]),t._v(" "),0==t.profile.locked?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.showEmbedProfileModal}},[t._v("\n\t\t\t\tEmbed\n\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.following?t._e():s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.followProfile}},[t._v("\n\t\t\t\tFollow\n\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.following?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.followProfile}},[t._v("\n\t\t\t\tUnfollow\n\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.muting?t._e():s("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.muteProfile}},[t._v("\n\t\t\t\tMute\n\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.muting?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.unmuteProfile}},[t._v("\n\t\t\t\tUnmute\n\t\t\t")]):t._e(),t._v(" "),t.user&&!t.owner?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.reportProfile}},[t._v("\n\t\t\t\tReport User\n\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.blocking?t._e():s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.blockProfile}},[t._v("\n\t\t\t\tBlock\n\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.blocking?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.unblockProfile}},[t._v("\n\t\t\t\tUnblock\n\t\t\t")]):t._e(),t._v(" "),t.user&&t.owner?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:function(e){return t.redirect("/settings/home")}}},[t._v("\n\t\t\t\tSettings\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:function(e){return t.redirect("/users/"+t.profileUsername+".atom")}}},[t._v("\n\t\t\t\tAtom Feed\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-muted font-weight-bold",on:{click:function(e){return t.$refs.visitorContextMenu.hide()}}},[t._v("\n\t\t\t\tClose\n\t\t\t")])]):t._e()]),t._v(" "),s("b-modal",{ref:"sponsorModal",attrs:{id:"sponsor-modal","hide-footer":"",title:"Sponsor "+t.profileUsername,centered:"",size:"md","body-class":"px-5"}},[s("div",[s("p",{staticClass:"font-weight-bold"},[t._v("External Links")]),t._v(" "),t.sponsorList.patreon?s("p",{staticClass:"pt-2"},[s("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.patreon,rel:"nofollow"}},[t._v(t._s(t.sponsorList.patreon))])]):t._e(),t._v(" "),t.sponsorList.liberapay?s("p",{staticClass:"pt-2"},[s("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.liberapay,rel:"nofollow"}},[t._v(t._s(t.sponsorList.liberapay))])]):t._e(),t._v(" "),t.sponsorList.opencollective?s("p",{staticClass:"pt-2"},[s("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.opencollective,rel:"nofollow"}},[t._v(t._s(t.sponsorList.opencollective))])]):t._e()])]),t._v(" "),s("b-modal",{ref:"embedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"6",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}}),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),s("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])])],1)},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"py-5 text-center text-muted"},[s("p",[s("i",{staticClass:"fas fa-camera-retro fa-2x"})]),t._v(" "),s("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No posts yet")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"p-1 p-sm-2 p-md-3 d-flex justify-content-center align-items-center",staticStyle:{height:"30vh"}},[e("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"py-5 text-center text-muted"},[s("p",[s("i",{staticClass:"fas fa-bookmark fa-2x"})]),t._v(" "),s("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No saved bookmarks")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"py-5 text-center text-muted"},[s("p",[s("i",{staticClass:"fas fa-images fa-2x"})]),t._v(" "),s("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No collections yet")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"alert alert-info"},[s("p",{staticClass:"mb-0"},[t._v("Posts you archive can only be seen by you.")]),t._v(" "),s("p",{staticClass:"mb-0"},[t._v("For more information see the "),s("a",{attrs:{href:"/site/kb/sharing-media"}},[t._v("Sharing Media")]),t._v(" help center page.")])])}]},40745:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},o=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-component"},[s("div",{staticClass:"container-fluid"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-3"},[s("div",{staticClass:"d-flex align-items-center my-3"},[s("img",{staticClass:"mr-2",attrs:{src:"/img/pixelfed-icon-color.png",width:"30"}}),t._v(" "),s("h5",{staticClass:"font-weight-bold text-white mb-0"},[t._v("Pixelfed")])]),t._v(" "),s("div",{staticClass:"card mt-5 bg-transparent"},[s("div",{staticClass:"card-body text-center"},[s("img",{staticClass:"mb-4",attrs:{src:"/storage/avatars/default.png",width:"100"}}),t._v(" "),s("p",{staticClass:"text-white mb-n2 lead font-weight-bold"},[t._v("Dan Sup")]),t._v(" "),s("p",{staticClass:"font-weight-bold"},[t._v("@dansup")])])])]),t._v(" "),s("div",{staticClass:"col-12 col-md-9"})])])])}]},22372:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,i=e.target,o=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.ctxEmbedShowCaption=s.concat([null])):a>-1&&(t.ctxEmbedShowCaption=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedShowCaption=o}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,i=e.target,o=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.ctxEmbedShowLikes=s.concat([null])):a>-1&&(t.ctxEmbedShowLikes=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedShowLikes=o}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,i=e.target,o=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.ctxEmbedCompactMode=s.concat([null])):a>-1&&(t.ctxEmbedCompactMode=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedCompactMode=o}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),s("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},o=[]},56081:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"pl-2 d-flex align-items-top"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?s("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):s("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),s("div",{staticClass:"pl-2"},[s("div",{staticClass:"poll py-3"},[s("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),s("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),s("div",{staticClass:"mb-2"},["vote"===t.tab?s("div",[t._l(t.status.poll.options,(function(e,i){return s("p",[s("button",{staticClass:"btn btn-block lead rounded-pill",class:[i==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?s("p",{staticClass:"text-right"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?s("div",t._l(t.status.poll.options,(function(e,i){return s("div",{staticClass:"mb-3"},[s("button",{staticClass:"btn btn-block lead rounded-pill",class:[i==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[s("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),s("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?s("div",t._l(t.status.poll.options,(function(e,i){return s("div",{staticClass:"mb-3"},[s("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[s("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),s("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),s("div",[s("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[s("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?s("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?s("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),s("div",[s("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),s("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[s("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),s("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"btn btn-primary px-2 py-1"},[e("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])}]},91927:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?s("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"pl-2 d-flex align-items-top"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),s("div",{staticClass:"pl-2"},[t.status.sensitive?s("details",[s("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),s("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):s("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),s("p",{staticClass:"mb-0"},[s("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),s("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?s("div",[s("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):s("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?s("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[s("div",[s("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),s("div",{staticClass:"pl-2"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\tLoading...\n\t\t\t\t")]),t._v(" "),t.status.account.is_admin?s("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-center"},[t.status.place?s("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),t.canFollow(t.status)?s("div",[s("span",{staticClass:"px-2"}),t._v(" "),s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.follow(t.status.account.id)}}},[s("i",{staticClass:"far fa-user-plus mr-1"}),t._v(" Follow")])]):t._e(),t._v(" "),t.status.hasOwnProperty("relationship")&&t.status.relationship.hasOwnProperty("following")&&t.status.relationship.following?s("div",[s("span",{staticClass:"px-2"}),t._v(" "),s("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.unfollow(t.status.account.id)}}},[s("i",{staticClass:"far fa-user-check mr-1"}),t._v(" Following")])]):t._e(),t._v(" "),s("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):s("div",{staticClass:"w-100"},[s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?s("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[s("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[s("span",[s("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),s("div",{staticClass:"card-body"},[t.reactionBar?s("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?s("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):s("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():s("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?s("span",{staticClass:"float-right"},[s("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[s("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,e){return s("span",{staticClass:"mr-n2"},[s("a",{attrs:{href:"/"+t.username}},[s("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?s("div",{staticClass:"likes mb-1"},[s("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?s("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?s("div",{staticClass:"caption"},[t.status.sensitive?t._e():s("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[s("span",{staticClass:"username font-weight-bold"},[s("bdi",[s("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),s("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),s("div",{staticClass:"timestamp mt-2"},[s("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?s("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[s("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):s("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),s("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?s("span",[s("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),s("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),s("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},34812:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(e,i){return s("b-carousel-slide",{key:e.id+"-media"},["video"==e.type?s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:e.url,type:e.mime}})]):"image"==e.type?s("div",{attrs:{slot:"img",title:e.description},slot:"img"},[s("img",{class:e.filter_class+" d-block img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):s("div",{staticClass:"w-100 h-100 p-0"},[s("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(e,i){return s("slide",{key:"px-carousel-"+e.id+"-"+i,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==e.type?s("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:e.description,width:"100%",height:"100%"}},[s("source",{attrs:{src:e.url,type:e.mime}})]):"image"==e.type?s("div",{attrs:{title:e.description}},[s("img",{class:e.filter_class+" img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},o=[]},87182:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[s("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-"+t.status.id}},t._l(t.status.media_attachments,(function(e,i){return s("slide",{key:"px-carousel-"+e.id+"-"+i,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:e.description}},[s("img",{class:e.filter_class+" img-fluid w-100 p-0",attrs:{src:e.url,alt:t.altText(e),loading:"lazy","data-bp":e.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),s("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?s("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(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),s("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(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?s("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))"}},[s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},65654:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",[s("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[s("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("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(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?s("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))"}},[s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},36310:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return s("b-carousel-slide",{key:t.id+"-media"},[s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):s("div",[s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return s("b-carousel-slide",{key:t.id+"-media"},[s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},o=[]},38508:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",{staticClass:"embed-responsive embed-responsive-16by9"},[s("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:"","data-id":t.status.id}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]}},t=>{t.O(0,[898],(()=>{return e=4291,t(t.s=e);var e}));t.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[912],{14425:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(19755);const o={props:["feed","status","profile","size","modal"],data:function(){return{activeSession:!1}},mounted:function(){var t=document.querySelector("body");this.activeSession=!!t.classList.contains("loggedIn")},methods:{reportUrl:function(t){return"/i/report?type="+(t.in_reply_to?"comment":"post")+"&id="+t.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},editUrl:function(t){return t.url+"/edit"},redirect:function(t){window.location.href=t},replyUrl:function(t){return"/p/"+this.profile.username+"/"+(t.account.id==this.profile.id?t.id:t.in_reply_to_id)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},statusOwner:function(t){return parseInt(t.account.id)==parseInt(this.profile.id)},deletePost:function(){this.$emit("deletePost"),i("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(t){t.sensitive=!0,i("#mt_pid_"+t.id).modal("hide")},moderatePost:function(t,e,s){var i=t.account.username;switch(e){case"autocw":var o="Are you sure you want to enforce CW for "+i+" ?";swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":o="Are you sure you want to suspend the account of "+i+" ?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(t){0!=i("body").hasClass("loggedIn")&&axios.post("/i/mute",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully muted "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},blockProfile:function(t){0!=i("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully blocked "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},closeModal:function(){i("#mt_pid_"+this.status.id).modal("hide")}}}},79466:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});s(82364);var i=s(19210),o=s(19755);function a(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);s0})),i=s.map((function(t){return t.id}));t.ids=i,t.min_id=Math.max.apply(Math,a(i)),t.max_id=Math.min.apply(Math,a(i)),t.modalStatus=_.first(e.data),t.timeline=s,t.ownerCheck(),t.loading=!1})).catch((function(t){swal("Oops, something went wrong","Please release the page.","error")}))},ownerCheck:function(){0!=o("body").hasClass("loggedIn")?this.owner=this.profile.id===this.user.id:this.owner=!1},infiniteTimeline:function(t){var e=this;if(this.loading||this.timeline.length<9)t.complete();else{var s="/api/pixelfed/v1/accounts/"+this.profileId+"/statuses";axios.get(s,{params:{only_media:!0,max_id:this.max_id}}).then((function(s){if(s.data.length&&0==e.loading){var i=s.data,o=e;i.forEach((function(t){-1==o.ids.indexOf(t.id)&&(o.timeline.push(t),o.ids.push(t.id))}));var n=Math.min.apply(Math,a(e.ids));if(n==e.max_id)return void t.complete();e.min_id=Math.max.apply(Math,a(e.ids)),e.max_id=n,t.loaded(),e.loading=!1}else t.complete()}))}},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].preview_url},previewBackground:function(t){return"background-image: url("+this.previewUrl(t)+");"},blurhHashMedia:function(t){return t.sensitive?null:t.media_attachments[0].preview_url},switchMode:function(t){if("grid"==t)this.mode=t;else if("bookmarks"==t&&this.bookmarks.length)this.mode="bookmarks";else{if("collections"!=t||!this.collections.length)return void(window.location.href="/"+this.profileUsername+"?m="+t);this.mode="collections"}},reportProfile:function(){var t=this.profile.id;window.location.href="/i/report?type=user&id="+t},reportUrl:function(t){return"/i/report?type="+(t.in_reply_to?"comment":"post")+"&id="+t.id},commentFocus:function(t,e){var s=event.target.parentElement.parentElement.parentElement,i=s.getElementsByClassName("comments")[0];0==i.children.length&&(i.classList.add("mb-2"),this.fetchStatusComments(t,s));var o=s.querySelectorAll(".card-footer")[0],a=s.querySelectorAll(".status-reply-input")[0];1==o.classList.contains("d-none")?(o.classList.remove("d-none"),a.focus()):(o.classList.add("d-none"),a.blur())},likeStatus:function(t,e){0!=o("body").hasClass("loggedIn")&&axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,1==t.favourited?t.favourited=!1:t.favourited=!0})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")}))},shareStatus:function(t,e){0!=o("body").hasClass("loggedIn")&&axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,1==t.reblogged?t.reblogged=!1:t.reblogged=!0})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")}))},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},editUrl:function(t){return t.url+"/edit"},redirect:function(t){window.location.href=t},remoteRedirect:function(t){window.location.href=window.App.config.site.url+"/i/redirect?url="+encodeURIComponent(t)},replyUrl:function(t){return"/p/"+this.profile.username+"/"+(t.account.id==this.profile.id?t.id:t.in_reply_to_id)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},statusOwner:function(t){return t.account.id==this.profile.id},fetchRelationships:function(){var t=this;0!=document.querySelectorAll("body")[0].classList.contains("loggedIn")&&axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profileId}}).then((function(e){e.data.length&&(t.relationship=e.data[0],1==e.data[0].blocking&&(t.warning=!0)),t.user.id!=t.profileId&&1!=t.relationship.following||axios.get("/api/web/stories/v1/exists/"+t.profileId).then((function(e){t.hasStory=1==e.data}))}))},muteProfile:function(){var t=this;if(0!=o("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/mute",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully muted "+t.profile.acct,"success")})).catch((function(t){422==t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Something went wrong. Please try again later.","error")}))}},unmuteProfile:function(){var t=this;if(0!=o("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/unmute",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully unmuted "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}},blockProfile:function(){var t=this;if(0!=o("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/block",{type:"user",item:e}).then((function(e){t.warning=!0,t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully blocked "+t.profile.acct,"success")})).catch((function(t){422==t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Something went wrong. Please try again later.","error")}))}},unblockProfile:function(){var t=this;if(0!=o("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/unblock",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully unblocked "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}},deletePost:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&t.account.id===this.profile.id&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){s.timeline.splice(e,1),swal("Success","You have successfully deleted this post","success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},followProfile:function(){var t=this;0!=o("body").hasClass("loggedIn")&&axios.post("/i/follow",{item:this.profileId}).then((function(e){t.$refs.visitorContextMenu.hide(),t.relationship.following?(t.profile.followers_count--,1==t.profile.locked&&(window.location.href="/")):t.profile.followers_count++,t.relationship.following=!t.relationship.following})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},followingModal:function(){var t=this;if(0!=o("body").hasClass("loggedIn")){if(0!=this.profileSettings.following.list)return this.followingCursor>1||axios.get("/api/pixelfed/v1/accounts/"+this.profileId+"/following",{params:{page:this.followingCursor}}).then((function(e){t.following=e.data,t.followingModalSearchCache=e.data,t.followingCursor++,e.data.length<10&&(t.followingMore=!1),t.followingLoading=!1})),void this.$refs.followingModal.show()}else window.location.href=encodeURI("/login?next=/"+this.profileUsername+"/")},followersModal:function(){var t=this;if(0!=o("body").hasClass("loggedIn")){if(0!=this.profileSettings.followers.list)return this.followerCursor>1||axios.get("/api/pixelfed/v1/accounts/"+this.profileId+"/followers",{params:{page:this.followerCursor}}).then((function(e){var s;(s=t.followers).push.apply(s,a(e.data)),t.followerCursor++,e.data.length<10&&(t.followerMore=!1),t.followerLoading=!1})),void this.$refs.followerModal.show()}else window.location.href=encodeURI("/login?next=/"+this.profileUsername+"/")},followingLoadMore:function(){var t=this;0!=o("body").hasClass("loggedIn")?axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/following",{params:{page:this.followingCursor,fbu:this.followingModalSearch}}).then((function(e){var s;e.data.length>0&&((s=t.following).push.apply(s,a(e.data)),t.followingCursor++,t.followingModalSearchCache=t.following);e.data.length<10&&(t.followingModalSearchCache=t.following,t.followingMore=!1)})):window.location.href=encodeURI("/login?next=/"+this.profile.username+"/")},followersLoadMore:function(){var t=this;0!=o("body").hasClass("loggedIn")&&axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/followers",{params:{page:this.followerCursor}}).then((function(e){var s;e.data.length>0&&((s=t.followers).push.apply(s,a(e.data)),t.followerCursor++);e.data.length<10&&(t.followerMore=!1)}))},visitorMenu:function(){this.$refs.visitorContextMenu.show()},followModalAction:function(t,e){var s=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"following";axios.post("/i/follow",{item:t}).then((function(t){"following"==i&&(s.following.splice(e,1),s.profile.following_count--)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},momentBackground:function(){var t="w-100 h-100 mt-n3 ";return this.profile.header_bg?t+="default"==this.profile.header_bg?"bg-pixelfed":"bg-moment-"+this.profile.header_bg:t+="bg-pixelfed",t},loadSponsor:function(){var t=this;axios.get("/api/local/profile/sponsor/"+this.profileId).then((function(e){t.sponsorList=e.data}))},showSponsorModal:function(){this.$refs.sponsorModal.show()},goBack:function(){return window.history.length>2?void window.history.back():void(window.location.href="/")},copyProfileLink:function(){navigator.clipboard.writeText(window.location.href),this.$refs.visitorContextMenu.hide()},formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return t.url},profileUrl:function(t){return t.url},profileUrlRedirect:function(t){return 1==t.local?t.url:"/i/web/profile/_/"+t.id},showEmbedProfileModal:function(){this.ctxEmbedPayload=window.App.util.embed.profile(this.profile.url),this.$refs.visitorContextMenu.hide(),this.$refs.embedModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.$refs.embedModal.hide(),this.$refs.visitorContextMenu.hide()},storyRedirect:function(){window.location.href="/stories/"+this.profileUsername+"?t=4"},followingModalSearchHandler:function(){var t=this,e=this,s=this.followingModalSearch;if(0==s.length&&(this.following=this.followingModalSearchCache,this.followingModalSearch=null),s.length>0){var i="/api/pixelfed/v1/accounts/"+e.profileId+"/following?page=1&fbu="+s;axios.get(i).then((function(e){t.following=e.data})).catch((function(t){e.following=e.followingModalSearchCache,e.followingModalSearch=null}))}},truncate:function(t,e){return _.truncate(t,{length:e})},formatWebsite:function(t){if("https://"===t.slice(0,8))t=t.substr(8);else{if("http://"!==t.slice(0,7))return void(this.profile.website=null);t=t.substr(7)}return this.truncate(t,60)},joinedAtFormat:function(t){return new Date(t).toDateString()},archivesInfiniteLoader:function(t){var e=this;axios.get("/api/pixelfed/v2/statuses/archives",{params:{page:this.archivesPage}}).then((function(s){var i;s.data.length?((i=e.archives).push.apply(i,a(s.data)),e.archivesPage++,t.loaded()):t.complete()}))}}}},41226:(t,e,s)=>{"use strict";function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);sa});const a={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{},data:function(){return{loading:!0,curUser:void 0,profile:void 0,relationship:void 0,owner:!1,tab:"posts",layout:"grid",timeline:[],ids:[],min_id:void 0,max_id:void 0,canPaginate:!0,showMenuNav:!0,followers:[]}},mounted:function(){this.init()},methods:{init:function(){var t=this,e=new URLSearchParams(window.location.search);if(e.has("lt")){var s=e.get("lt"),i=1==s?1:2==s?2:0;0==i&&history.pushState(null,null,window.location.origin+window.location.pathname),this.layout=["grid","feed","masonry"][i]}this.cachedProfile&&this.cachedUser?(this.curUser=this.cachedUser,this.profile=this.cachedProfile,this.fetchPosts(),this.loaded()):axios.get("/api/v1/accounts/verify_credentials").then((function(e){t.curUser=e.data,t.fetchProfile()})).catch((function(e){t.curUser={id:void 0},t.fetchProfile()}))},loaded:function(){this.loading&&(this.$refs.loader.loaded(),this.loading=!1)},fetchProfile:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/"+e).then((function(e){t.profile=e.data,e.data.id==t.curUser.id?(t.owner=!0,t.loaded(),t.fetchPosts()):(t.loaded(),t.fetchPosts(),t.fetchRelationship())})).catch((function(t){}))},fetchRelationship:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":e}}).then((function(e){t.relationship=e.data[0],t.loaded()})).catch((function(e){t.relationship={following:!1},t.loaded()}))},toggleTab:function(t){this.canPaginate=!1,this.layout="grid",this.tab=t,"followers"==t&&(this.showMenuNav=!1,this.followers.length||this.fetchFollowers()),console.log(t)},toggleLayout:function(t){event.currentTarget.blur(),this.layout=t;var e=location.origin+location.pathname,s="grid"!=t?e+"?lt="+["grid","feed","masonry"].indexOf(t):e;history.pushState(null,null,s)},fetchFollowers:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/v1/accounts/"+e+"/followers").then((function(e){var s;(s=t.followers).push.apply(s,i(e.data))}))},fetchPosts:function(){var t=this,e="/api/v1/accounts/"+(this.id?this.id:this.profileId?this.profileId:this.profile.id)+"/statuses";axios.get(e,{params:{limit:9,only_media:!0,min_id:1}}).then((function(e){var s=e.data.filter((function(t){return t.media_attachments.length>0})),o=s.map((function(t){return t.id}));t.ids=o,t.min_id=Math.max.apply(Math,i(o)),t.max_id=Math.min.apply(Math,i(o)),s.forEach((function(e){t.timeline.push(e)}))}))},infiniteTimeline:function(t){var e=this;if("posts"==this.tab)if(this.loading||this.timeline.length<9)t.complete();else{var s="/api/v1/accounts/"+(this.id?this.id:this.profileId?this.profileId:this.profile.id)+"/statuses";axios.get(s,{params:{only_media:!0,max_id:this.max_id}}).then((function(s){if(s.data.length&&0==e.loading){var o=s.data,a=e;o.forEach((function(t){-1==a.ids.indexOf(t.id)&&(a.timeline.push(t),a.ids.push(t.id))}));var n=Math.min.apply(Math,i(e.ids));if(n==e.max_id)return void t.complete();e.min_id=Math.max.apply(Math,i(e.ids)),e.max_id=n,t.loaded(),e.loading=!1}else t.complete()}))}},statusUrl:function(t){return t.url},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].preview_url},truncate:function(t,e){return _.truncate(t,{length:e})},formatCount:function(t){return App.util.format.count(t)},formatWebsite:function(t){if("https://"===t.slice(0,8))t=t.substr(8);else{if("http://"!==t.slice(0,7))return;t=t.substr(7)}return this.truncate(t,60)},timeago:function(t){return App.util.format.timeAgo(t)},joinedAtFormat:function(t){return new Date(t).toDateString()}}}},53999:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(19755);const o={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var i=this,o=(t.account.username,t.id,""),a=this;switch(e){case"addcw":o="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,a.closeModals(),a.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),a.closeModals(),a.ctxModMenuClose()}))}));break;case"remcw":o="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,a.closeModals(),a.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),a.closeModals(),a.ctxModMenuClose()}))}));break;case"unlist":o="Are you sure you want to unlist this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){i.feed=i.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":o="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=i("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=i("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},55192:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(20415),o=s(19755);const a={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":i.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at){"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(20415),o=s(97622),a=s(19755);const n={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":i.default,"poll-card":o.default},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,i=t.account.username,o=document.createElement("a");switch(o.href=t.account.url,o=o.hostname,e){case"@":default:return i+'@'+o+"";case"from":return i+' from '+o+"";case"custom":return i+' '+s+" "+o+""}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=a("body").hasClass("loggedIn")){var s=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var s=this;this.replySending=!0;var i=t.id,o=this.replyText,a=this.config.uploader.max_caption_length;if(o.length>a)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+a+" characters or less.","error");axios.post("/i/comment",{item:i,comment:o,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)},canFollow:function(t){return!!t.hasOwnProperty("relationship")&&(!(!t.hasOwnProperty("account")||!t.account.hasOwnProperty("id"))&&(t.account.id!=this.profile.id&&!t.relationship.following))},follow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!0,e.$emit("followed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},unfollow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!1,e.$emit("unfollowed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))}}}},7768:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status"]}},10578:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,i.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var i="forward";e.advancePage(i),e.$emit("navigation-click",i)}}}}},15464:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,i.default)({el:t.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}}}},63049:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status"]}},67223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")}}}},4291:(t,e,s)=>{Vue.component("photo-presenter",s(23251).default),Vue.component("video-presenter",s(53973).default),Vue.component("photo-album-presenter",s(33872).default),Vue.component("video-album-presenter",s(76644).default),Vue.component("mixed-album-presenter",s(57374).default),Vue.component("post-menu",s(4086).default),Vue.component("profile",s(29279).default),Vue.component("profile-next",s(64983).default)},47036:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".text-lighter[data-v-1002e7e2]{color:#b8c2cc!important}.modal-body[data-v-1002e7e2]{padding:0}",""]);const a=o},79489:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".o-landscape[data-v-89e9aa84],.o-portrait[data-v-89e9aa84],.o-square[data-v-89e9aa84]{max-width:320px}.post-icon[data-v-89e9aa84]{color:#fff;margin-top:10px;opacity:.6;position:relative;text-shadow:3px 3px 16px #272634;z-index:9}.font-size-16px[data-v-89e9aa84]{font-size:16px}.profile-website[data-v-89e9aa84]{color:#003569;font-weight:600;text-decoration:none}.nav-topbar .nav-link[data-v-89e9aa84]{color:#999}.nav-topbar .nav-link .small[data-v-89e9aa84]{font-weight:600}.has-story[data-v-89e9aa84]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;height:84px;padding:4px;width:84px}.has-story img[data-v-89e9aa84]{background:#fff;border-radius:50%;height:76px;padding:6px;width:76px}.has-story-lg[data-v-89e9aa84]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;height:159px;padding:4px;width:159px}.has-story-lg img[data-v-89e9aa84]{background:#fff;border-radius:50%;height:150px;padding:6px;width:150px}.no-focus[data-v-89e9aa84]{border-color:none;box-shadow:none;outline:0}.modal-tab-active[data-v-89e9aa84]{border-bottom:1px solid #08d}.btn-sec-alt[data-v-89e9aa84]:hover{background-color:transparent;border-color:#6c757d;color:#ccc;opacity:.7}",""]);const a=o},9490:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-301c4371]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-301c4371]{position:relative}.content-label[data-v-301c4371]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-301c4371]{position:relative}",""]);const a=o},55106:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-40ab6d65]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-40ab6d65]{position:relative}.content-label[data-v-40ab6d65]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const a=o},176:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".content-label-wrapper[data-v-333faeee]{position:relative}.content-label[data-v-333faeee]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const a=o},93029:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,"#content,.profile-component,body{background-color:var(--body-bg)}.profile-component{display:block;height:100%;width:100%}",""]);const a=o},77543:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(23645),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}",""]);const a=o},95833:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(47036),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},20576:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(79489),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},54596:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(9490),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},52529:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(55106),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},82390:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(176),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},60546:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(93029),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},49852:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(77543),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},4086:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(44843),o=s(10078),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(82398);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"1002e7e2",null).exports},29279:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(68443),o=s(33760),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(15779);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"89e9aa84",null).exports},64983:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(81387),o=s(44369),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(7776);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},20415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(53242),o=s(25266),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},97622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(46594),o=s(97381),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19210:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(48661),o=s(71334),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(66117);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},57374:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(10650),o=s(4220),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},33872:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(84346),o=s(10878),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(18932);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"301c4371",null).exports},23251:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(85827),o=s(29911),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(97382);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"40ab6d65",null).exports},76644:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(63027),o=s(18411),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},53973:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(54201),o=s(44976),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(77732);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"333faeee",null).exports},10078:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(14425),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},33760:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(79466),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},44369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(41226),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},25266:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(53999),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},97381:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(55192),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},71334:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(86637),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},4220:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(7768),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},10878:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(10578),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},29911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(15464),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},18411:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(63049),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},44976:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(67223),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},82398:(t,e,s)=>{"use strict";s.r(e);var i=s(95833),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},15779:(t,e,s)=>{"use strict";s.r(e);var i=s(20576),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},18932:(t,e,s)=>{"use strict";s.r(e);var i=s(54596),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},97382:(t,e,s)=>{"use strict";s.r(e);var i=s(52529),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},77732:(t,e,s)=>{"use strict";s.r(e);var i=s(82390),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},7776:(t,e,s)=>{"use strict";s.r(e);var i=s(60546),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},66117:(t,e,s)=>{"use strict";s.r(e);var i=s(49852),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},44843:(t,e,s)=>{"use strict";s.r(e);var i=s(27257),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},68443:(t,e,s)=>{"use strict";s.r(e);var i=s(59461),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},81387:(t,e,s)=>{"use strict";s.r(e);var i=s(40745),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},53242:(t,e,s)=>{"use strict";s.r(e);var i=s(22372),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},46594:(t,e,s)=>{"use strict";s.r(e);var i=s(56081),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},48661:(t,e,s)=>{"use strict";s.r(e);var i=s(91927),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},10650:(t,e,s)=>{"use strict";s.r(e);var i=s(34812),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},84346:(t,e,s)=>{"use strict";s.r(e);var i=s(32353),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},85827:(t,e,s)=>{"use strict";s.r(e);var i=s(59500),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},63027:(t,e,s)=>{"use strict";s.r(e);var i=s(36310),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},54201:(t,e,s)=>{"use strict";s.r(e);var i=s(44892),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},27257:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",["true"!=t.modal?s("div",{staticClass:"dropdown"},[s("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"}},[s("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),s("div",{staticClass:"dropdown-menu dropdown-menu-right"},[s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",attrs:{href:t.status.url}},[t._v("Go to post")]),t._v(" "),1==t.activeSession&&0==t.statusOwner(t.status)?s("span",[s("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.reportUrl(t.status)}},[t._v("Report")])]):t._e(),t._v(" "),1==t.activeSession&&1==t.statusOwner(t.status)?s("span",[s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.muteProfile(t.status)}}},[t._v("Mute Profile")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.blockProfile(t.status)}}},[t._v("Block Profile")])]):t._e(),t._v(" "),1==t.activeSession&&1==t.profile.is_admin?s("span",[s("div",{staticClass:"dropdown-divider"}),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-danger text-decoration-none",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]),t._v(" "),s("div",{staticClass:"dropdown-divider"}),t._v(" "),s("h6",{staticClass:"dropdown-header"},[t._v("Mod Tools")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"autocw")}}},[s("p",{staticClass:"mb-0"},[t._v("Enforce CW")]),t._v(" "),t._m(0)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"noautolink")}}},[s("p",{staticClass:"mb-0"},[t._v("No Autolinking")]),t._v(" "),t._m(1)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"unlisted")}}},[s("p",{staticClass:"mb-0"},[t._v("Unlisted Posts")]),t._v(" "),t._m(2)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"disable")}}},[s("p",{staticClass:"mb-0"},[t._v("Disable Account")]),t._v(" "),t._m(3)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"suspend")}}},[s("p",{staticClass:"mb-0"},[t._v("Suspend Account")]),t._v(" "),t._m(4)])]):t._e()])]):t._e(),t._v(" "),"true"==t.modal?s("div",[s("span",{attrs:{"data-toggle":"modal","data-target":"#mt_pid_"+t.status.id}},[s("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),s("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog",id:"mt_pid_"+t.status.id}},[s("div",{staticClass:"modal-dialog modal-sm modal-dialog-centered",attrs:{role:"document"}},[s("div",{staticClass:"modal-content"},[s("div",{staticClass:"modal-body text-center"},[s("div",{staticClass:"list-group"},[s("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:t.statusUrl(t.status)}},[t._v("Go to post")]),t._v(" "),s("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hidePost(t.status)}}},[t._v("Hide")]),t._v(" "),1!=t.activeSession||t.statusOwner(t.status)?t._e():s("a",{staticClass:"list-group-item text-danger font-weight-bold text-decoration-none",attrs:{href:t.reportUrl(t.status)}},[t._v("Report")]),t._v(" "),1==t.activeSession&&1==t.statusOwner(t.status)||1==t.profile.is_admin?s("div",{staticClass:"list-group-item text-danger font-weight-bold cursor-pointer",on:{click:function(e){return e.preventDefault(),t.deletePost.apply(null,arguments)}}},[t._v("Delete")]):t._e(),t._v(" "),s("a",{staticClass:"list-group-item text-lighter text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[t._v("Close")])])])])])])]):t._e()])},o=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Adds a CW to every post "),s("br"),t._v(" made by this account.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Do not transform mentions, "),s("br"),t._v(" hashtags or urls into HTML.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Removes account from "),s("br"),t._v(" public/network timelines.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Temporarily disable account "),s("br"),t._v(" until next time user log in.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("This prevents any new interactions, "),s("br"),t._v(" without deleting existing data.")])}]},59461:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"w-100 h-100"},[t.isMobile?s("div",{staticClass:"bg-white p-3 border-bottom"},[s("div",{staticClass:"d-flex justify-content-between align-items-center"},[s("div",{staticClass:"cursor-pointer",on:{click:t.goBack}},[s("i",{staticClass:"fas fa-chevron-left fa-lg"})]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t"+t._s(this.profileUsername)+"\n\n\t\t\t")]),t._v(" "),s("div",[s("a",{staticClass:"fas fa-ellipsis-v fa-lg text-muted text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.visitorMenu.apply(null,arguments)}}})])])]):t._e(),t._v(" "),t.relationship&&t.relationship.blocking&&t.warning?s("div",{staticClass:"bg-white pt-3 border-bottom"},[s("div",{staticClass:"container"},[s("p",{staticClass:"text-center font-weight-bold"},[t._v("You are blocking this account")]),t._v(" "),s("p",{staticClass:"text-center font-weight-bold"},[t._v("Click "),s("a",{staticClass:"cursor-pointer",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.warning=!1}}},[t._v("here")]),t._v(" to view profile")])])]):t._e(),t._v(" "),t.loading?s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"80vh"}},[s("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]):t._e(),t._v(" "),t.loading||t.warning?t._e():s("div",["metro"==t.layout?s("div",{staticClass:"container"},[s("div",{class:t.isMobile?"pt-5":"pt-5 border-bottom"},[s("div",{staticClass:"container px-0"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-4 d-md-flex"},[s("div",{staticClass:"profile-avatar mx-md-auto"},[s("div",{staticClass:"d-block d-md-none mt-n3 mb-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-4"},[t.hasStory?s("div",{staticClass:"has-story cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[s("img",{staticClass:"rounded-circle",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"77px",height:"77px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]):s("div",[s("img",{staticClass:"rounded-circle border",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"77px",height:"77px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})])]),t._v(" "),s("div",{staticClass:"col-8"},[s("div",{staticClass:"d-block d-md-none mt-3 py-2"},[s("ul",{staticClass:"nav d-flex justify-content-between"},[s("li",{staticClass:"nav-item"},[s("div",{staticClass:"font-weight-light"},[s("span",{staticClass:"text-dark text-center"},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),s("p",{staticClass:"text-muted mb-0 small"},[t._v("Posts")])])])]),t._v(" "),s("li",{staticClass:"nav-item"},[t.profileSettings.followers.count?s("div",{staticClass:"font-weight-light"},[s("a",{staticClass:"text-dark cursor-pointer text-center",on:{click:function(e){return t.followersModal()}}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),s("p",{staticClass:"text-muted mb-0 small"},[t._v("Followers")])])]):t._e()]),t._v(" "),s("li",{staticClass:"nav-item"},[t.profileSettings.following.count?s("div",{staticClass:"font-weight-light"},[s("a",{staticClass:"text-dark cursor-pointer text-center",on:{click:function(e){return t.followingModal()}}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),s("p",{staticClass:"text-muted mb-0 small"},[t._v("Following")])])]):t._e()])])])])])]),t._v(" "),s("div",{staticClass:"d-none d-md-block pb-3"},[t.hasStory?s("div",{staticClass:"has-story-lg cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[s("img",{staticClass:"rounded-circle box-shadow cursor-pointer",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"150px",height:"150px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]):s("div",[s("img",{staticClass:"rounded-circle box-shadow",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"150px",height:"150px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.sponsorList.patreon||t.sponsorList.liberapay||t.sponsorList.opencollective?s("p",{staticClass:"text-center mt-3"},[s("button",{staticClass:"btn btn-outline-secondary font-weight-bold py-0",attrs:{type:"button"},on:{click:t.showSponsorModal}},[s("i",{staticClass:"fas fa-heart text-danger"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tDonate\n\t\t\t\t\t\t\t\t\t\t")])]):t._e()])])]),t._v(" "),s("div",{staticClass:"col-12 col-md-8 d-flex align-items-center"},[s("div",{staticClass:"profile-details"},[s("div",{staticClass:"d-none d-md-flex username-bar pb-3 align-items-center"},[s("span",{staticClass:"font-weight-ultralight h3 mb-0"},[t._v(t._s(t.profile.username))]),t._v(" "),t.profile.id!=t.user.id&&t.user.hasOwnProperty("id")?s("span",[1==t.relationship.following?s("span",{staticClass:"pl-4"},[s("a",{staticClass:"btn btn-outline-secondary font-weight-bold btn-sm py-1 text-dark mr-2 px-3 btn-sec-alt",staticStyle:{border:"1px solid #dbdbdb"},attrs:{href:"/account/direct/t/"+t.profile.id,"data-toggle":"tooltip",title:"Message"}},[t._v("Message")]),t._v(" "),s("button",{staticClass:"btn btn-outline-secondary font-weight-bold btn-sm py-1 text-dark btn-sec-alt",staticStyle:{border:"1px solid #dbdbdb"},attrs:{type:"button","data-toggle":"tooltip",title:"Unfollow"},on:{click:t.followProfile}},[s("i",{staticClass:"fas fa-user-check mx-3"})])]):t._e(),t._v(" "),t.relationship.following?t._e():s("span",{staticClass:"pl-4"},[s("button",{staticClass:"btn btn-primary font-weight-bold btn-sm py-1 px-3",attrs:{type:"button","data-toggle":"tooltip",title:"Follow"},on:{click:t.followProfile}},[t._v("Follow")])])]):t._e(),t._v(" "),t.owner&&t.user.hasOwnProperty("id")?s("span",{staticClass:"pl-4"},[s("a",{staticClass:"btn btn-outline-secondary btn-sm",staticStyle:{"font-weight":"600"},attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),s("span",{staticClass:"pl-4"},[s("a",{staticClass:"fas fa-ellipsis-h fa-lg text-dark text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.visitorMenu.apply(null,arguments)}}})])]),t._v(" "),s("div",{staticClass:"font-size-16px"},[s("div",{staticClass:"d-none d-md-inline-flex profile-stats pb-3"},[s("div",{staticClass:"font-weight-light pr-5"},[s("span",{staticClass:"text-dark"},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tPosts\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),t.profileSettings.followers.count?s("div",{staticClass:"font-weight-light pr-5"},[s("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followersModal()}}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tFollowers\n\t\t\t\t\t\t\t\t\t\t\t")])]):t._e(),t._v(" "),t.profileSettings.following.count?s("div",{staticClass:"font-weight-light"},[s("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followingModal()}}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tFollowing\n\t\t\t\t\t\t\t\t\t\t\t")])]):t._e()]),t._v(" "),s("p",{staticClass:"d-flex align-items-center mb-1"},[s("span",{staticClass:"font-weight-bold mr-1"},[t._v(t._s(t.profile.display_name))]),t._v(" "),t.profile.pronouns?s("span",{staticClass:"text-muted small"},[t._v(t._s(t.profile.pronouns.join("/")))]):t._e()]),t._v(" "),t.profile.note?s("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.profile.note)}}):t._e(),t._v(" "),t.profile.website?s("p",[s("a",{staticClass:"profile-website small",attrs:{href:t.profile.website,rel:"me external nofollow noopener",target:"_blank"}},[t._v(t._s(t.formatWebsite(t.profile.website)))])]):t._e(),t._v(" "),s("p",{staticClass:"d-flex small text-muted align-items-center"},[t.profile.is_admin?s("span",{staticClass:"btn btn-outline-danger btn-sm py-0 mr-3",attrs:{title:"Admin Account","data-toggle":"tooltip"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tAdmin\n\t\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.relationship&&t.relationship.followed_by?s("span",{staticClass:"btn btn-outline-muted btn-sm py-0 mr-3"},[t._v("Follows You")]):t._e(),t._v(" "),s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\tJoined "+t._s(t.joinedAtFormat(t.profile.created_at))+"\n\t\t\t\t\t\t\t\t\t\t")])])])])])])])]),t._v(" "),s("div",{staticClass:"d-block d-md-none my-0 pt-3 border-bottom"},[t.user&&t.user.hasOwnProperty("id")?s("p",{staticClass:"pt-3"},[t.owner?s("button",{staticClass:"btn btn-outline-secondary bg-white btn-sm py-1 btn-block text-center font-weight-bold text-dark border border-lighter",on:{click:function(e){return e.preventDefault(),t.redirect("/settings/home")}}},[t._v("Edit Profile")]):t._e(),t._v(" "),!t.owner&&t.relationship.following?s("button",{staticClass:"btn btn-outline-secondary bg-white btn-sm py-1 px-5 font-weight-bold text-dark border border-lighter",on:{click:t.followProfile}},[t._v("   Unfollow   ")]):t._e(),t._v(" "),t.owner||t.relationship.following?t._e():s("button",{staticClass:"btn btn-primary btn-sm py-1 px-5 font-weight-bold",on:{click:t.followProfile}},[t._v(t._s(t.relationship.followed_by?"Follow Back":"     Follow     "))])]):t._e()]),t._v(" "),s("div",{},[s("ul",{staticClass:"nav nav-topbar d-flex justify-content-center border-0"},[s("li",{staticClass:"nav-item border-top"},[s("a",{class:"grid"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("grid")}}},[s("i",{staticClass:"fas fa-th"}),t._v(" "),s("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("POSTS")])])]),t._v(" "),s("li",{staticClass:"nav-item px-0 border-top"},[s("a",{class:"collections"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("collections")}}},[s("i",{staticClass:"fas fa-images"}),t._v(" "),s("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("COLLECTIONS")])])]),t._v(" "),t.owner?s("li",{staticClass:"nav-item border-top"},[s("a",{class:"bookmarks"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("bookmarks")}}},[s("i",{staticClass:"fas fa-bookmark"}),t._v(" "),s("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("SAVED")])])]):t._e(),t._v(" "),t.owner?s("li",{staticClass:"nav-item border-top"},[s("a",{class:"archives"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("archives")}}},[s("i",{staticClass:"far fa-folder-open"}),t._v(" "),s("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("ARCHIVES")])])]):t._e()])]),t._v(" "),s("div",{staticClass:"container px-0"},[s("div",{staticClass:"profile-timeline mt-md-4"},["grid"==t.mode?s("div",[s("div",{staticClass:"row"},[t._l(t.timeline,(function(e,i){return s("div",{key:"tlob:"+i,staticClass:"col-4 p-1 p-md-3"},[s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[e.sensitive?s("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),s("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):s("div",{staticClass:"square-content"},[s("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].preview_url}})],1),t._v(" "),"photo:album"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),s("div",{staticClass:"info-overlay-text"},[s("h5",{staticClass:"text-white m-auto font-weight-bold"},[s("span",[s("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])])])])])])])})),t._v(" "),0==t.timeline.length?s("div",{staticClass:"col-12"},[t._m(1)]):t._e()],2),t._v(" "),t.timeline.length?s("div",[s("infinite-loading",{on:{infinite:t.infiniteTimeline}},[s("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),s("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()]):t._e(),t._v(" "),"bookmarks"==t.mode?s("div",[t.bookmarksLoading?s("div",[t._m(2)]):s("div",[t.bookmarks.length?s("div",{staticClass:"row"},t._l(t.bookmarks,(function(e,i){return s("div",{staticClass:"col-4 p-1 p-sm-2 p-md-3"},[s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:e.url}},[s("div",{staticClass:"square"},["photo:album"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),s("div",{staticClass:"square-content",style:t.previewBackground(e)}),t._v(" "),s("div",{staticClass:"info-overlay-text"},[s("h5",{staticClass:"text-white m-auto font-weight-bold"},[s("span",[s("span",{staticClass:"fas fa-retweet fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(e.reblogs_count))])])])])])])])})),0):s("div",{staticClass:"col-12"},[t._m(3)])])]):t._e(),t._v(" "),"collections"==t.mode?s("div",[t.collections.length&&t.collectionsLoaded?s("div",{staticClass:"row"},t._l(t.collections,(function(t,e){return s("div",{staticClass:"col-4 p-1 p-sm-2 p-md-3"},[s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.url}},[s("div",{staticClass:"square"},[s("div",{staticClass:"square-content",style:"background-image: url("+t.thumb+");"})])])])})),0):s("div",[t._m(4)])]):t._e(),t._v(" "),"archives"==t.mode?s("div",[t.archives.length?s("div",{staticClass:"col-12 col-md-8 offset-md-2 px-0 mb-sm-3 timeline mt-5"},[t._m(5),t._v(" "),t._l(t.archives,(function(t,e){return s("div",[s("status-card",{class:{"border-top":0===e},attrs:{status:t,"reaction-bar":!1}})],1)})),t._v(" "),s("infinite-loading",{on:{infinite:t.archivesInfiniteLoader}},[s("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),s("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2):t._e()]):t._e()])])]):t._e()]),t._v(" "),t.profile&&t.following?s("b-modal",{ref:"followingModal",attrs:{id:"following-modal","hide-footer":"",centered:"",scrollable:"",title:"Following","body-class":"list-group-flush py-3 px-0","dialog-class":"follow-modal"}},[t.followingLoading?s("div",{staticClass:"text-center py-5"},[s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):s("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.following.length?s("div",[1==t.owner?s("div",{staticClass:"list-group-item border-0 pt-0 px-0 mt-n2 mb-3"},[s("span",{staticClass:"d-flex px-4 pb-0 align-items-center"},[s("i",{staticClass:"fas fa-search text-lighter"}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.followingModalSearch,expression:"followingModalSearch"}],staticClass:"form-control border-0 shadow-0 no-focus",attrs:{type:"text",placeholder:"Search Following..."},domProps:{value:t.followingModalSearch},on:{keyup:t.followingModalSearchHandler,input:function(e){e.target.composing||(t.followingModalSearch=e.target.value)}}})])]):t._e(),t._v(" "),t._l(t.following,(function(e,i){return s("div",{key:"following_"+i,staticClass:"list-group-item border-0 py-1 mb-1"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:t.profileUrlRedirect(e)}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",loading:"lazy",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0'"}})]),t._v(" "),s("div",{staticClass:"media-body text-truncate"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(e)}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e.local?s("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.display_name?e.display_name:e.username)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:e.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.acct.split("@")[0]))]),s("span",{staticClass:"text-lighter"},[t._v("@"+t._s(e.acct.split("@")[1]))])])]),t._v(" "),t.owner?s("div",[s("a",{staticClass:"btn btn-outline-dark btn-sm font-weight-bold",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.followModalAction(e.id,i,"following")}}},[t._v("Following")])]):t._e()])])})),t._v(" "),t.followingModalSearch&&0==t.following.length?s("div",{staticClass:"list-group-item border-0"},[s("div",{staticClass:"list-group-item border-0 pt-5"},[s("p",{staticClass:"p-3 text-center mb-0 lead"},[t._v("No Results Found")])])]):t._e(),t._v(" "),t.following.length>0&&t.followingMore?s("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followingLoadMore()}}},[s("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):s("div",{staticClass:"list-group-item border-0"},[s("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[s("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" is not following yet")])])])]):t._e(),t._v(" "),s("b-modal",{ref:"followerModal",attrs:{id:"follower-modal","hide-footer":"",centered:"",scrollable:"",title:"Followers","body-class":"list-group-flush py-3 px-0","dialog-class":"follow-modal"}},[t.followerLoading?s("div",{staticClass:"text-center py-5"},[s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):s("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.followers.length?s("div",[t._l(t.followers,(function(e,i){return s("div",{key:"follower_"+i,staticClass:"list-group-item border-0 py-1 mb-1"},[s("div",{staticClass:"media mb-0"},[s("a",{attrs:{href:t.profileUrlRedirect(e)}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",height:"30px",loading:"lazy",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0'"}})]),t._v(" "),s("div",{staticClass:"media-body mb-0"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(e)}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e.local?s("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.display_name?e.display_name:e.username)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:e.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.acct.split("@")[0]))]),s("span",{staticClass:"text-lighter"},[t._v("@"+t._s(e.acct.split("@")[1]))])])])])])})),t._v(" "),t.followers.length&&t.followerMore?s("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followersLoadMore()}}},[s("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):s("div",{staticClass:"list-group-item border-0"},[s("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[s("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" has no followers yet")])])])]),t._v(" "),s("b-modal",{ref:"visitorContextMenu",attrs:{id:"visitor-context-menu","hide-footer":"","hide-header":"",centered:"",size:"sm","body-class":"list-group-flush p-0"}},[t.relationship?s("div",{staticClass:"list-group"},[s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.copyProfileLink}},[t._v("\n\t\t\t\tCopy Link\n\t\t\t")]),t._v(" "),0==t.profile.locked?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.showEmbedProfileModal}},[t._v("\n\t\t\t\tEmbed\n\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.following?t._e():s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.followProfile}},[t._v("\n\t\t\t\tFollow\n\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.following?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.followProfile}},[t._v("\n\t\t\t\tUnfollow\n\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.muting?t._e():s("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.muteProfile}},[t._v("\n\t\t\t\tMute\n\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.muting?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.unmuteProfile}},[t._v("\n\t\t\t\tUnmute\n\t\t\t")]):t._e(),t._v(" "),t.user&&!t.owner?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.reportProfile}},[t._v("\n\t\t\t\tReport User\n\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.blocking?t._e():s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.blockProfile}},[t._v("\n\t\t\t\tBlock\n\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.blocking?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.unblockProfile}},[t._v("\n\t\t\t\tUnblock\n\t\t\t")]):t._e(),t._v(" "),t.user&&t.owner?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:function(e){return t.redirect("/settings/home")}}},[t._v("\n\t\t\t\tSettings\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:function(e){return t.redirect("/users/"+t.profileUsername+".atom")}}},[t._v("\n\t\t\t\tAtom Feed\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-muted font-weight-bold",on:{click:function(e){return t.$refs.visitorContextMenu.hide()}}},[t._v("\n\t\t\t\tClose\n\t\t\t")])]):t._e()]),t._v(" "),s("b-modal",{ref:"sponsorModal",attrs:{id:"sponsor-modal","hide-footer":"",title:"Sponsor "+t.profileUsername,centered:"",size:"md","body-class":"px-5"}},[s("div",[s("p",{staticClass:"font-weight-bold"},[t._v("External Links")]),t._v(" "),t.sponsorList.patreon?s("p",{staticClass:"pt-2"},[s("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.patreon,rel:"nofollow"}},[t._v(t._s(t.sponsorList.patreon))])]):t._e(),t._v(" "),t.sponsorList.liberapay?s("p",{staticClass:"pt-2"},[s("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.liberapay,rel:"nofollow"}},[t._v(t._s(t.sponsorList.liberapay))])]):t._e(),t._v(" "),t.sponsorList.opencollective?s("p",{staticClass:"pt-2"},[s("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.opencollective,rel:"nofollow"}},[t._v(t._s(t.sponsorList.opencollective))])]):t._e()])]),t._v(" "),s("b-modal",{ref:"embedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"6",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}}),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),s("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])])],1)},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"py-5 text-center text-muted"},[s("p",[s("i",{staticClass:"fas fa-camera-retro fa-2x"})]),t._v(" "),s("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No posts yet")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"p-1 p-sm-2 p-md-3 d-flex justify-content-center align-items-center",staticStyle:{height:"30vh"}},[e("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"py-5 text-center text-muted"},[s("p",[s("i",{staticClass:"fas fa-bookmark fa-2x"})]),t._v(" "),s("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No saved bookmarks")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"py-5 text-center text-muted"},[s("p",[s("i",{staticClass:"fas fa-images fa-2x"})]),t._v(" "),s("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No collections yet")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"alert alert-info"},[s("p",{staticClass:"mb-0"},[t._v("Posts you archive can only be seen by you.")]),t._v(" "),s("p",{staticClass:"mb-0"},[t._v("For more information see the "),s("a",{attrs:{href:"/site/kb/sharing-media"}},[t._v("Sharing Media")]),t._v(" help center page.")])])}]},40745:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},o=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-component"},[s("div",{staticClass:"container-fluid"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-3"},[s("div",{staticClass:"d-flex align-items-center my-3"},[s("img",{staticClass:"mr-2",attrs:{src:"/img/pixelfed-icon-color.png",width:"30"}}),t._v(" "),s("h5",{staticClass:"font-weight-bold text-white mb-0"},[t._v("Pixelfed")])]),t._v(" "),s("div",{staticClass:"card mt-5 bg-transparent"},[s("div",{staticClass:"card-body text-center"},[s("img",{staticClass:"mb-4",attrs:{src:"/storage/avatars/default.png",width:"100"}}),t._v(" "),s("p",{staticClass:"text-white mb-n2 lead font-weight-bold"},[t._v("Dan Sup")]),t._v(" "),s("p",{staticClass:"font-weight-bold"},[t._v("@dansup")])])])]),t._v(" "),s("div",{staticClass:"col-12 col-md-9"})])])])}]},22372:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,i=e.target,o=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.ctxEmbedShowCaption=s.concat([null])):a>-1&&(t.ctxEmbedShowCaption=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedShowCaption=o}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,i=e.target,o=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.ctxEmbedShowLikes=s.concat([null])):a>-1&&(t.ctxEmbedShowLikes=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedShowLikes=o}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,i=e.target,o=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.ctxEmbedCompactMode=s.concat([null])):a>-1&&(t.ctxEmbedCompactMode=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedCompactMode=o}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),s("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},o=[]},56081:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"pl-2 d-flex align-items-top"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?s("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):s("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),s("div",{staticClass:"pl-2"},[s("div",{staticClass:"poll py-3"},[s("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),s("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),s("div",{staticClass:"mb-2"},["vote"===t.tab?s("div",[t._l(t.status.poll.options,(function(e,i){return s("p",[s("button",{staticClass:"btn btn-block lead rounded-pill",class:[i==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?s("p",{staticClass:"text-right"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?s("div",t._l(t.status.poll.options,(function(e,i){return s("div",{staticClass:"mb-3"},[s("button",{staticClass:"btn btn-block lead rounded-pill",class:[i==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[s("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),s("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?s("div",t._l(t.status.poll.options,(function(e,i){return s("div",{staticClass:"mb-3"},[s("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[s("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),s("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),s("div",[s("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[s("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?s("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?s("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),s("div",[s("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),s("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[s("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),s("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"btn btn-primary px-2 py-1"},[e("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])}]},91927:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?s("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"pl-2 d-flex align-items-top"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),s("div",{staticClass:"pl-2"},[t.status.sensitive?s("details",[s("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),s("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):s("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),s("p",{staticClass:"mb-0"},[s("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),s("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?s("div",[s("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):s("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?s("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[s("div",[s("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),s("div",{staticClass:"pl-2"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\tLoading...\n\t\t\t\t")]),t._v(" "),t.status.account.is_admin?s("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-center"},[t.status.place?s("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),t.canFollow(t.status)?s("div",[s("span",{staticClass:"px-2"}),t._v(" "),s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.follow(t.status.account.id)}}},[s("i",{staticClass:"far fa-user-plus mr-1"}),t._v(" Follow")])]):t._e(),t._v(" "),t.status.hasOwnProperty("relationship")&&t.status.relationship.hasOwnProperty("following")&&t.status.relationship.following?s("div",[s("span",{staticClass:"px-2"}),t._v(" "),s("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.unfollow(t.status.account.id)}}},[s("i",{staticClass:"far fa-user-check mr-1"}),t._v(" Following")])]):t._e(),t._v(" "),s("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):s("div",{staticClass:"w-100"},[s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?s("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[s("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[s("span",[s("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),s("div",{staticClass:"card-body"},[t.reactionBar?s("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?s("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):s("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():s("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?s("span",{staticClass:"float-right"},[s("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[s("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,e){return s("span",{staticClass:"mr-n2"},[s("a",{attrs:{href:"/"+t.username}},[s("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?s("div",{staticClass:"likes mb-1"},[s("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?s("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?s("div",{staticClass:"caption"},[t.status.sensitive?t._e():s("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[s("span",{staticClass:"username font-weight-bold"},[s("bdi",[s("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),s("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),s("div",{staticClass:"timestamp mt-2"},[s("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?s("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[s("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):s("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),s("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?s("span",[s("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),s("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),s("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},34812:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(e,i){return s("b-carousel-slide",{key:e.id+"-media"},["video"==e.type?s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:e.url,type:e.mime}})]):"image"==e.type?s("div",{attrs:{slot:"img",title:e.description},slot:"img"},[s("img",{class:e.filter_class+" d-block img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):s("div",{staticClass:"w-100 h-100 p-0"},[s("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(e,i){return s("slide",{key:"px-carousel-"+e.id+"-"+i,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==e.type?s("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:e.description,width:"100%",height:"100%"}},[s("source",{attrs:{src:e.url,type:e.mime}})]):"image"==e.type?s("div",{attrs:{title:e.description}},[s("img",{class:e.filter_class+" img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},o=[]},32353:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[s("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-"+t.status.id}},t._l(t.status.media_attachments,(function(e,i){return s("slide",{key:"px-carousel-"+e.id+"-"+i,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:e.description}},[s("img",{class:e.filter_class+" img-fluid w-100 p-0",attrs:{src:e.url,alt:t.altText(e),loading:"lazy","data-bp":e.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),s("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?s("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(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),s("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(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?s("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))"}},[s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},59500:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",[s("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[s("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("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(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?s("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))"}},[s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},36310:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return s("b-carousel-slide",{key:t.id+"-media"},[s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):s("div",[s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return s("b-carousel-slide",{key:t.id+"-media"},[s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},o=[]},44892:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",{staticClass:"embed-responsive embed-responsive-16by9"},[s("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:"","data-id":t.status.id}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},o=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]}},t=>{t.O(0,[898],(()=>{return e=4291,t(t.s=e);var e}));t.O()}]); \ No newline at end of file diff --git a/public/js/rempos.js b/public/js/rempos.js index 056bb8095..14ea8fdc1 100644 --- a/public/js/rempos.js +++ b/public/js/rempos.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[155],{14425:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["feed","status","profile","size","modal"],data:function(){return{activeSession:!1}},mounted:function(){var t=document.querySelector("body");this.activeSession=!!t.classList.contains("loggedIn")},methods:{reportUrl:function(t){return"/i/report?type="+(t.in_reply_to?"comment":"post")+"&id="+t.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},editUrl:function(t){return t.url+"/edit"},redirect:function(t){window.location.href=t},replyUrl:function(t){return"/p/"+this.profile.username+"/"+(t.account.id==this.profile.id?t.id:t.in_reply_to_id)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},statusOwner:function(t){return parseInt(t.account.id)==parseInt(this.profile.id)},deletePost:function(){this.$emit("deletePost"),a("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(t){t.sensitive=!0,a("#mt_pid_"+t.id).modal("hide")},moderatePost:function(t,e,s){var a=t.account.username;switch(e){case"autocw":var i="Are you sure you want to enforce CW for "+a+" ?";swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":i="Are you sure you want to suspend the account of "+a+" ?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(t){0!=a("body").hasClass("loggedIn")&&axios.post("/i/mute",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully muted "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},blockProfile:function(t){0!=a("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully blocked "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},closeModal:function(){a("#mt_pid_"+this.status.id).modal("hide")}}}},53144:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>d});var a=s(19210),i=s(37468),o=s(97622),n=s(33823),r=s(19755);function l(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return c(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s0?((a=e.likes).push.apply(a,l(i.data)),e.likesPage++,t.loaded()):t.complete()}))},infiniteSharesHandler:function(t){var e=this;axios.get("/api/v2/shares/profile/"+this.statusUsername+"/status/"+this.statusId,{params:{page:this.sharesPage}}).then((function(s){var a,i=s.data;i.data.length>0?((a=e.shares).push.apply(a,l(i.data)),e.sharesPage++,t.loaded()):t.complete()}))},likeStatus:function(t){var e=this;0!=r("body").hasClass("loggedIn")?(axios.post("/i/like",{item:this.status.id}).then((function(s){if(e.status.favourites_count=s.data.count,1==e.reactions.liked){e.reactions.liked=!1;var a=e.user.id;e.likes=e.likes.filter((function(t){return t.id!==a}))}else{e.reactions.liked=!0;var i=e.user;e.likes.unshift(i),setTimeout((function(){t.target.classList.add("animate__animated","animate__bounce")}),100)}})).catch((function(t){console.error(t),swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200)):window.location.href="/login?next="+encodeURIComponent(window.location.pathname)},shareStatus:function(){var t=this;0!=r("body").hasClass("loggedIn")?axios.post("/i/share",{item:this.status.id}).then((function(e){if(t.status.reblogs_count=e.data.count,1==t.reactions.shared){t.reactions.shared=!1;var s=t.user.id;t.shares=t.shares.filter((function(t){return t.id!==s}))}else{t.reactions.shared=!0;var a=t.user;t.shares.push(a)}})).catch((function(t){console.error(t),swal("Error","Something went wrong, please try again later.","error")})):window.location.href="/login?next="+encodeURIComponent(window.location.pathname)},bookmarkStatus:function(){var t=this;0!=r("body").hasClass("loggedIn")?axios.post("/i/bookmark",{item:this.status.id}).then((function(e){1==t.reactions.bookmarked?t.reactions.bookmarked=!1:t.reactions.bookmarked=!0})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})):window.location.href="/login?next="+encodeURIComponent(window.location.pathname)},blockProfile:function(){var t=this;0!=r("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:this.status.account.id}).then((function(e){t.$refs.ctxModal.hide(),t.relationship.blocking=!0,swal("Success","You have successfully blocked "+t.status.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},unblockProfile:function(){var t=this;0!=r("body").hasClass("loggedIn")&&axios.post("/i/unblock",{type:"user",item:this.status.account.id}).then((function(e){t.relationship.blocking=!1,t.$refs.ctxModal.hide(),swal("Success","You have successfully unblocked "+t.status.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},deletePost:function(t){if(this.ownerOrAdmin()&&confirm("Are you sure you want to delete this post?")){if(0==r("body").hasClass("loggedIn"))return;axios.post("/i/delete",{type:"status",item:this.status.id}).then((function(t){swal("Success","You have successfully deleted this post","success"),setTimeout((function(){window.location.href="/"}),3e3)})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}},owner:function(){return this.user.id===this.status.account.id},admin:function(){return 1==this.user.is_admin},ownerOrAdmin:function(){return this.owner()||this.admin()},postReply:function(){var t=this;if(this.replySending=!0,0==this.replyText.length||this.replyText.trim()=="@"+this.status.account.acct)return t.replyText=null,void r('textarea[name="comment"]').blur();var e={item:this.replyingToId,comment:this.replyText,sensitive:this.replySensitive};this.replyText="",axios.post("/i/comment",e).then((function(e){var s=e.data.entity;if(s.in_reply_to_id==t.status.id){"metro"==t.layout?t.results.push(s):t.results.unshift(s);var a=r(".status-comments")[0];a.scrollTop=2*a.clientHeight}else if(t.replyToIndex>=0){var i=t.results[t.replyToIndex];i.replies.push(s),i.reply_count=i.reply_count+1}t.$refs.replyModal.hide(),t.replySending=!1}))},deleteComment:function(t,e){var s=this;axios.post("/i/delete",{type:"comment",item:t}).then((function(t){s.results.splice(e,1)})).catch((function(t){swal("Something went wrong!","Please try again later","error")}))},deleteCommentReply:function(t,e,s){var a=this;axios.post("/i/delete",{type:"comment",item:t}).then((function(t){a.results[s].replies.splice(e,1),--a.results[s].reply_count})).catch((function(t){swal("Something went wrong!","Please try again later","error")}))},l:function(t){return t.length<10?t:t.substr(0,10)+"..."},replyFocus:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0!=r("body").hasClass("loggedIn")){if(!this.status.comments_disabled){this.replyToIndex=e,this.replyingToId=t.id,this.replyingToUsername=t.account.username,this.reply_to_profile_id=t.account.id;var a=t.account.local?"@"+t.account.username+" ":"@"+t.account.acct+" ";1==s&&(this.replyText=a),this.$refs.replyModal.show()}}else this.redirect("/login?next="+encodeURIComponent(window.location.pathname))},fetchComments:function(){var t=this,e="/api/v2/comments/"+this.statusProfileId+"/status/"+this.statusId;axios.get(e).then((function(e){t.results="metro"==t.layout?_.reverse(e.data.data):e.data.data,t.pagination=e.data.meta.pagination,t.results.length>0&&r(".load-more-link").removeClass("d-none"),r(".postCommentsLoader").addClass("d-none"),r(".postCommentsContainer").removeClass("d-none"),setTimeout((function(){document.querySelectorAll(".status-comment .postCommentsContainer .comment-body a").forEach((function(t,e){t.href=App.util.format.rewriteLinks(t)}))}),500)})).catch((function(t){if(t.response)if(401===t.response.status)r(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");else r(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.");else r(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}))},loadMore:function(t){var e=this;if(t.preventDefault(),1!=this.pagination.total_pages&&this.pagination.current_page!=this.pagination.total_pages){r(".load-more-link").addClass("d-none"),r(".postCommentsLoader").removeClass("d-none");var s=this.pagination.links.next;axios.get(s).then((function(t){var s=t.data.data;r(".postCommentsLoader").addClass("d-none");for(var a=0;a0)return void(t.thread=!0);var e="/api/v2/comments/"+t.account.id+"/status/"+t.id;axios.get(e).then((function(e){t.replies=_.reverse(e.data.data),t.thread=!0}))}},redirect:function(t){window.location.href=t},permalinkUrl:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=t.account;return 1==s.local||e?t.url:"/i/web/post/_/"+s.id+"/"+t.id},fetchProfilePosts:function(){if(r("body").hasClass("loggedIn")||!this.loaded){var t=this,e="/api/pixelfed/v1/accounts/"+this.statusProfileId+"/statuses";axios.get(e,{params:{only_media:!0,min_id:1,limit:9}}).then((function(e){var s=e.data.filter((function(e){return e.media_attachments.length>0&&e.id!=t.statusId&&0==e.sensitive}));s.map((function(t){return t.id}));t.profileMorePosts=s.slice(0,6)}))}},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].preview_url},previewBackground:function(t){return"background-image: url("+this.previewUrl(t)+");"},getStatusUrl:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return 1==t.local||1==e?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},showTaggedPeopleModal:function(){!r("body").hasClass("loggedIn")&&this.loaded||this.$refs.taggedModal.show()},untagMe:function(){var t=this;this.$refs.taggedModal.hide();var e=this.user.id;axios.post("/api/local/compose/tag/untagme",{status_id:this.statusId,profile_id:e}).then((function(s){t.status.taggedPeople=t.status.taggedPeople.filter((function(t){return t.id!=e})),swal("Untagged","You have been untagged from this post.","success")})).catch((function(t){swal("An Error Occurred","Please try again later.","error")}))},copyPostUrl:function(){navigator.clipboard.writeText(this.statusUrl)},moderatePost:function(t,e){var s=this.status,a=(s.account.username,""),i=this;switch(t){case"addcw":a="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e&&axios.post("/api/v2/moderator/action",{action:t,item_id:s.id,item_type:"status"}).then((function(t){swal("Success","Successfully added content warning","success"),s.sensitive=!0,i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.ctxModMenuClose()}))}));break;case"remcw":a="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e&&axios.post("/api/v2/moderator/action",{action:t,item_id:s.id,item_type:"status"}).then((function(t){swal("Success","Successfully added content warning","success"),s.sensitive=!1,i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.ctxModMenuClose()}))}));break;case"unlist":a="Are you sure you want to unlist this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e&&axios.post("/api/v2/moderator/action",{action:t,item_id:s.id,item_type:"status"}).then((function(t){swal("Success","Successfully unlisted post","success"),i.ctxModMenuClose()})).catch((function(t){i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},ctxMenu:function(){this.$refs.ctxModal.show()},closeCtxMenu:function(t){this.$refs.ctxModal.hide()},ctxModMenu:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModMenuClose:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide()},ctxMenuCopyLink:function(){var t=this.status;navigator.clipboard.writeText(t.url),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.status.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.status.account.acct;t.relationship.following=!0,t.$refs.ctxModal.hide(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.status.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.status.account.acct;t.relationship.following=!1,t.$refs.ctxModal.hide(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},setCurrentLayout:function(t){this.currentLayout=t},commentFocus:function(t,e){t.comments_disabled||(this.replies={},this.replyStatus={},this.replyText="",this.replyId=t.id,this.replyStatus=t,this.fetchStatusComments(t,""),r("nav").hide(),r("footer").hide(),r(".mobile-footer-spacer").attr("style","display:none !important"),r(".mobile-footer").attr("style","display:none !important"),r(".mt-md-4").hide(),this.currentLayout="comments",window.history.pushState({},"",this.getStatusUrl(t)))},fetchStatusComments:function(t,e){var s=this,a="/api/v2/comments/"+t.account.id+"/status/"+t.id;axios.get(a).then((function(t){s.replies=_.reverse(t.data.data),s.pagination=t.data.meta.pagination,s.replies.length>0&&r(".load-more-link").removeClass("d-none"),r(".postCommentsLoader").addClass("d-none"),r(".postCommentsContainer").removeClass("d-none")})).catch((function(t){if(t.response)if(401===t.response.status)r(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");else r(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.");else r(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}))}}}},36624:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(20415),i=s(19755);const o={props:{status:{type:Object},profile:{type:Object},backToStatus:{type:Boolean,default:!1}},components:{"context-menu":a.default},data:function(){return{ids:[],config:window.App.config,tributeSettings:{collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}}]},replies:[],replyId:null,replyText:"",replyNsfw:!1,replySending:!1,pagination:{},ctxMenuStatus:!1,emoji:window.App.util.emoji}},beforeMount:function(){this.fetchComments()},methods:{commentNavigateBack:function(t){if(this.backToStatus)window.location.href=this.statusUrl(this.status);else{i("nav").show(),i("footer").show(),i(".mobile-footer-spacer").attr("style","display:block"),i(".mobile-footer").attr("style","display:block"),this.$emit("current-layout","feed");window.history.pushState({},"","/")}},trimCaption:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60;return _.truncate(t,{length:e})},replyFocus:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0!=i("body").hasClass("loggedIn")){if(!this.status.comments_disabled){this.replyToIndex=e,this.replyingToId=t.id,this.replyingToUsername=t.account.username,this.reply_to_profile_id=t.account.id;var a=t.account.local?"@"+t.account.username+" ":"@"+t.account.acct+" ";1==s&&(this.replyText=a),this.$refs.replyModal.show(),setTimeout((function(){i(".replyModalTextarea").focus()}),500)}}else this.redirect("/login?next="+encodeURIComponent(window.location.pathname))},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,i=this.replyText,o=this.config.uploader.max_caption_length;if(i.length>o)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+o+" characters or less.","error");axios.post("/i/comment",{item:a,comment:i,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},timeAgo:function(t){return App.util.format.timeAgo(t)},fetchComments:function(){var t=this;console.log("Fetching comments...");var e="/api/v2/comments/"+this.status.account.id+"/status/"+this.status.id;axios.get(e).then((function(e){t.replies=e.data.data,t.pagination=e.data.meta.pagination})).catch((function(t){if(t.response)if(401===t.response.status)i(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");else i(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.");else i(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}))},loadMoreComments:function(){var t=this;if(1!=this.pagination.total_pages&&this.pagination.current_page!=this.pagination.total_pages){i(".load-more-link").addClass("d-none"),i(".postCommentsLoader").removeClass("d-none");var e=this.pagination.links.next;axios.get(e).then((function(e){var s=e.data.data;i(".postCommentsLoader").addClass("d-none");for(var a=0;a{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(20415),i=s(19210),o=s(19755);function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,i=(t.account.username,t.id,""),o=this;switch(e){case"addcw":i="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,o.closeModals(),o.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),o.closeModals(),o.ctxModMenuClose()}))}));break;case"remcw":i="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,o.closeModals(),o.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),o.closeModals(),o.ctxModMenuClose()}))}));break;case"unlist":i="Are you sure you want to unlist this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){a.feed=a.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":i="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=a("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},55192:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(20415),i=s(19755);const o={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":a.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at){"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20415),i=s(97622),o=s(19755);const n={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":a.default,"poll-card":i.default},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,a=t.account.username,i=document.createElement("a");switch(i.href=t.account.url,i=i.hostname,e){case"@":default:return a+'@'+i+"";case"from":return a+' from '+i+"";case"custom":return a+' '+s+" "+i+""}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=o("body").hasClass("loggedIn")){var s=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,i=this.replyText,o=this.config.uploader.max_caption_length;if(i.length>o)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+o+" characters or less.","error");axios.post("/i/comment",{item:a,comment:i,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)},canFollow:function(t){return!!t.hasOwnProperty("relationship")&&(!(!t.hasOwnProperty("account")||!t.account.hasOwnProperty("id"))&&(t.account.id!=this.profile.id&&!t.relationship.following))},follow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!0,e.$emit("followed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},unfollow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!1,e.$emit("unfollowed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))}}}},7768:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},10578:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var a="forward";e.advancePage(a),e.$emit("navigation-click",a)}}}}},15464:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.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}}}},63049:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},67223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")}}}},68059:(t,e,s)=>{Vue.component("photo-presenter",s(23251).default),Vue.component("video-presenter",s(53973).default),Vue.component("photo-album-presenter",s(33872).default),Vue.component("video-album-presenter",s(76644).default),Vue.component("mixed-album-presenter",s(57374).default),Vue.component("post-menu",s(4086).default),Vue.component("remote-post",s(97895).default)},47036:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".text-lighter[data-v-1002e7e2]{color:#b8c2cc!important}.modal-body[data-v-1002e7e2]{padding:0}",""]);const o=i},89979:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".postPresenterContainer[data-v-2450539c],.reactions[data-v-2450539c],.status-comments[data-v-2450539c]{background:#fff}@media(min-width:720px){.postPresenterContainer[data-v-2450539c]{min-height:600px}}[data-v-2450539c]::-webkit-scrollbar{background:transparent;width:0}.reply-btn[data-v-2450539c]{border-radius:0 3px 3px 0;bottom:12px;position:absolute;right:20px;text-align:center;width:60px}.text-lighter[data-v-2450539c]{color:#b8c2cc!important}.text-break[data-v-2450539c]{overflow-wrap:break-word}.comments p[data-v-2450539c]{margin-bottom:0}.comment-reaction[data-v-2450539c]{font-size:80%}.show-reply-bar[data-v-2450539c]{border-bottom:1px solid #999;display:inline-block;height:0;margin-right:16px;vertical-align:middle;width:24px}.comment-thread[data-v-2450539c]{margin-top:1rem}.emoji-reactions .nav-item[data-v-2450539c]{cursor:pointer;font-size:1.2rem;padding:9px}.emoji-reactions[data-v-2450539c]::-webkit-scrollbar{background:transparent;height:0;width:0}@media (min-width:1200px){.container[data-v-2450539c]{max-width:1100px}}",""]);const o=i},97846:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".emoji-reactions .nav-item[data-v-006bdd8e]{cursor:pointer;font-size:1.2rem;padding:9px}.emoji-reactions[data-v-006bdd8e]::-webkit-scrollbar{background:transparent;height:0;width:0}",""]);const o=i},7524:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-5fea84a1]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-5fea84a1]{position:relative}.content-label[data-v-5fea84a1]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-5fea84a1]{position:relative}",""]);const o=i},11335:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-77d48172]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-77d48172]{position:relative}.content-label[data-v-77d48172]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const o=i},2187:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".content-label-wrapper[data-v-6e29e1c6]{position:relative}.content-label[data-v-6e29e1c6]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const o=i},12009:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".reply-form[data-v-ee374dfe]{position:relative}.reply-form input[data-v-ee374dfe]{padding-right:90px}.reply-form textarea[data-v-ee374dfe]{align-items:center;padding-right:80px}.reply-form .btn[data-v-ee374dfe]{position:absolute;right:6px;top:50%;transform:translateY(-50%)}.reply-options[data-v-ee374dfe]{align-items:center;display:flex;justify-content:space-between;margin-top:15px}.reply-options .form-control[data-v-ee374dfe]{max-width:140px}",""]);const o=i},77543:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}",""]);const o=i},95833:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(47036),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},5138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(89979),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},11675:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(97846),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},53548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(7524),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},32620:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(11335),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},21881:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(2187),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},82897:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(12009),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},49852:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(77543),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},4086:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(44843),i=s(10078),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(82398);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"1002e7e2",null).exports},97895:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(58010),i=s(63203),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(8854);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"2450539c",null).exports},37468:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(68695),i=s(30244),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(43018);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"006bdd8e",null).exports},33823:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(92688),i=s(86044),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(81930);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"ee374dfe",null).exports},20415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(53242),i=s(25266),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},97622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(46594),i=s(97381),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19210:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(48661),i=s(71334),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(66117);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57374:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(10650),i=s(4220),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},33872:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(15866),i=s(10878),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(79480);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"5fea84a1",null).exports},23251:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(42415),i=s(29911),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(37423);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"77d48172",null).exports},76644:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(63027),i=s(18411),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},53973:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(59132),i=s(44976),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(64732);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"6e29e1c6",null).exports},10078:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(14425),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},63203:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(53144),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},30244:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(36624),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},86044:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(33694),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},25266:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(53999),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},97381:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(55192),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},71334:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(86637),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},4220:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(7768),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},10878:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(10578),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},29911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(15464),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},18411:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(63049),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},44976:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(67223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},82398:(t,e,s)=>{"use strict";s.r(e);var a=s(95833),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},8854:(t,e,s)=>{"use strict";s.r(e);var a=s(5138),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43018:(t,e,s)=>{"use strict";s.r(e);var a=s(11675),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},79480:(t,e,s)=>{"use strict";s.r(e);var a=s(53548),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},37423:(t,e,s)=>{"use strict";s.r(e);var a=s(32620),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},64732:(t,e,s)=>{"use strict";s.r(e);var a=s(21881),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},81930:(t,e,s)=>{"use strict";s.r(e);var a=s(82897),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},66117:(t,e,s)=>{"use strict";s.r(e);var a=s(49852),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44843:(t,e,s)=>{"use strict";s.r(e);var a=s(27257),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},58010:(t,e,s)=>{"use strict";s.r(e);var a=s(34172),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68695:(t,e,s)=>{"use strict";s.r(e);var a=s(91705),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},92688:(t,e,s)=>{"use strict";s.r(e);var a=s(44913),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},53242:(t,e,s)=>{"use strict";s.r(e);var a=s(22372),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46594:(t,e,s)=>{"use strict";s.r(e);var a=s(56081),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48661:(t,e,s)=>{"use strict";s.r(e);var a=s(91927),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},10650:(t,e,s)=>{"use strict";s.r(e);var a=s(34812),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},15866:(t,e,s)=>{"use strict";s.r(e);var a=s(87182),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},42415:(t,e,s)=>{"use strict";s.r(e);var a=s(65654),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},63027:(t,e,s)=>{"use strict";s.r(e);var a=s(36310),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},59132:(t,e,s)=>{"use strict";s.r(e);var a=s(38508),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},27257:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",["true"!=t.modal?s("div",{staticClass:"dropdown"},[s("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"}},[s("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),s("div",{staticClass:"dropdown-menu dropdown-menu-right"},[s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",attrs:{href:t.status.url}},[t._v("Go to post")]),t._v(" "),1==t.activeSession&&0==t.statusOwner(t.status)?s("span",[s("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.reportUrl(t.status)}},[t._v("Report")])]):t._e(),t._v(" "),1==t.activeSession&&1==t.statusOwner(t.status)?s("span",[s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.muteProfile(t.status)}}},[t._v("Mute Profile")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.blockProfile(t.status)}}},[t._v("Block Profile")])]):t._e(),t._v(" "),1==t.activeSession&&1==t.profile.is_admin?s("span",[s("div",{staticClass:"dropdown-divider"}),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-danger text-decoration-none",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]),t._v(" "),s("div",{staticClass:"dropdown-divider"}),t._v(" "),s("h6",{staticClass:"dropdown-header"},[t._v("Mod Tools")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"autocw")}}},[s("p",{staticClass:"mb-0"},[t._v("Enforce CW")]),t._v(" "),t._m(0)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"noautolink")}}},[s("p",{staticClass:"mb-0"},[t._v("No Autolinking")]),t._v(" "),t._m(1)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"unlisted")}}},[s("p",{staticClass:"mb-0"},[t._v("Unlisted Posts")]),t._v(" "),t._m(2)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"disable")}}},[s("p",{staticClass:"mb-0"},[t._v("Disable Account")]),t._v(" "),t._m(3)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"suspend")}}},[s("p",{staticClass:"mb-0"},[t._v("Suspend Account")]),t._v(" "),t._m(4)])]):t._e()])]):t._e(),t._v(" "),"true"==t.modal?s("div",[s("span",{attrs:{"data-toggle":"modal","data-target":"#mt_pid_"+t.status.id}},[s("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),s("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog",id:"mt_pid_"+t.status.id}},[s("div",{staticClass:"modal-dialog modal-sm modal-dialog-centered",attrs:{role:"document"}},[s("div",{staticClass:"modal-content"},[s("div",{staticClass:"modal-body text-center"},[s("div",{staticClass:"list-group"},[s("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:t.statusUrl(t.status)}},[t._v("Go to post")]),t._v(" "),s("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hidePost(t.status)}}},[t._v("Hide")]),t._v(" "),1!=t.activeSession||t.statusOwner(t.status)?t._e():s("a",{staticClass:"list-group-item text-danger font-weight-bold text-decoration-none",attrs:{href:t.reportUrl(t.status)}},[t._v("Report")]),t._v(" "),1==t.activeSession&&1==t.statusOwner(t.status)||1==t.profile.is_admin?s("div",{staticClass:"list-group-item text-danger font-weight-bold cursor-pointer",on:{click:function(e){return e.preventDefault(),t.deletePost.apply(null,arguments)}}},[t._v("Delete")]):t._e(),t._v(" "),s("a",{staticClass:"list-group-item text-lighter text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[t._v("Close")])])])])])])]):t._e()])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Adds a CW to every post "),s("br"),t._v(" made by this account.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Do not transform mentions, "),s("br"),t._v(" hashtags or urls into HTML.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Removes account from "),s("br"),t._v(" public/network timelines.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Temporarily disable account "),s("br"),t._v(" until next time user log in.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("This prevents any new interactions, "),s("br"),t._v(" without deleting existing data.")])}]},34172:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.loaded?t._e():s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"80vh"}},[s("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]),t._v(" "),t.loaded&&t.warning?s("div",{staticClass:"bg-white mt-n4 pt-3 border-bottom"},[s("div",{staticClass:"container"},[s("p",{staticClass:"text-center font-weight-bold"},[t._v("You are blocking this account")]),t._v(" "),s("p",{staticClass:"text-center font-weight-bold"},[s("a",{staticClass:"btn btn-primary font-weight-bold px-5",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.warning=!1,t.fetchData()}}},[t._v("View Status")])])])]):t._e(),t._v(" "),t.loaded&&0==t.warning&&"status"===t.currentLayout?s("div",{staticClass:"postComponent"},[s("div",{staticClass:"container px-0"},["text"===t.status.pf_type?s("div",{staticClass:"col-12 col-md-6 offset-md-3"},[s("status-card",{staticClass:"border-top",attrs:{status:t.status,recommended:!1},on:{"comment-focus":t.commentFocus}}),t._v(" "),s("comment-feed",{staticClass:"mt-3",attrs:{status:t.status}})],1):t._e(),t._v(" "),"poll"===t.status.pf_type?s("div",{staticClass:"col-12 col-md-6 offset-md-3"},[s("poll-card",{attrs:{status:t.status,profile:t.profile,"fetch-state":!0}}),t._v(" "),s("comment-feed",{staticClass:"mt-3",attrs:{status:t.status}})],1):s("div",{staticClass:"card card-md-rounded-0 status-container orientation-unknown shadow-none border"},[s("div",{staticClass:"row px-0 mx-0"},[s("div",{staticClass:"d-flex d-md-none align-items-center justify-content-between card-header bg-white w-100"},[s("div",{staticClass:"d-flex"},[s("div",{staticClass:"status-avatar mr-2",on:{click:function(e){return t.redirect(t.profileUrl)}}},[s("img",{staticClass:"cursor-pointer",staticStyle:{"border-radius":"12px"},attrs:{src:t.statusAvatar,width:"24px",height:"24px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"username"},[s("span",{staticClass:"username-link font-weight-bold text-dark cursor-pointer",on:{click:function(e){return t.redirect(t.profileUrl)}}},[t._v(t._s(t.statusUsername))]),t._v(" "),t.status.account.is_admin?s("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),s("p",{staticClass:"mb-0",staticStyle:{"font-size":"10px"}},[t.loaded&&t.status.taggedPeople.length?s("span",{staticClass:"mb-0"},[s("span",{staticClass:"font-weight-light cursor-pointer",staticStyle:{color:"#718096"},attrs:{title:"Tagged People","data-toggle":"tooltip","data-placement":"bottom"},on:{click:function(e){return t.showTaggedPeopleModal()}}},[s("i",{staticClass:"fas fa-tag text-lighter"}),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.taggedPeople.length)+" Tagged People")])])]):t._e(),t._v(" "),t.loaded&&null!=t.status.place&&t.status.taggedPeople.length?s("span",{staticClass:"px-2 font-weight-bold text-lighter"},[t._v("•")]):t._e(),t._v(" "),t.loaded&&null!=t.status.place?s("span",{staticClass:"mb-0 cursor-pointer text-truncate",staticStyle:{color:"#718096"},on:{click:function(e){return t.redirect("/discover/places/"+t.status.place.id+"/"+t.status.place.slug)}}},[s("i",{staticClass:"fas fa-map-marked-alt text-lighter"}),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])])]),t._v(" "),0!=t.user?s("div",{staticClass:"float-right"},[s("div",{staticClass:"post-actions"},[s("div",[s("button",{staticClass:"btn btn-link text-dark no-caret",attrs:{title:"Post options"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-v text-muted"})])])])]):t._e()]),t._v(" "),s("div",{staticClass:"col-12 col-md-8 px-0 mx-0"},[s("div",{staticClass:"postPresenterContainer d-none d-flex justify-content-center align-items-center",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):s("div",{staticClass:"w-100"},[s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])])]),t._v(" "),s("div",{staticClass:"col-12 col-md-4 px-0 d-flex flex-column border-left border-md-left-0"},[s("div",{staticClass:"d-md-flex d-none align-items-center justify-content-between card-header py-3 bg-white"},[s("div",{staticClass:"d-flex align-items-center status-username text-truncate"},[s("div",{staticClass:"status-avatar mr-2",on:{click:function(e){return t.redirect(t.profileUrl)}}},[s("img",{staticClass:"cursor-pointer",staticStyle:{"border-radius":"12px"},attrs:{src:t.statusAvatar,width:"24px",height:"24px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"username"},[s("span",{staticClass:"username-link font-weight-bold text-dark cursor-pointer",on:{click:function(e){return t.redirect(t.profileUrl)}}},[t._v(t._s(t.statusUsername))]),t._v(" "),t.status.account.is_admin?s("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),s("p",{staticClass:"mb-0",staticStyle:{"font-size":"10px"}},[t.loaded&&t.status.taggedPeople.length?s("span",{staticClass:"mb-0"},[s("span",{staticClass:"font-weight-light cursor-pointer",staticStyle:{color:"#718096"},attrs:{title:"Tagged People","data-toggle":"tooltip","data-placement":"bottom"},on:{click:function(e){return t.showTaggedPeopleModal()}}},[s("i",{staticClass:"fas fa-tag text-lighter"}),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.taggedPeople.length)+" Tagged People")])])]):t._e(),t._v(" "),t.loaded&&null!=t.status.place&&t.status.taggedPeople.length?s("span",{staticClass:"px-2 font-weight-bold text-lighter"},[t._v("•")]):t._e(),t._v(" "),t.loaded&&null!=t.status.place?s("span",{staticClass:"mb-0 cursor-pointer text-truncate",staticStyle:{color:"#718096"},on:{click:function(e){return t.redirect("/discover/places/"+t.status.place.id+"/"+t.status.place.slug)}}},[s("i",{staticClass:"fas fa-map-marked-alt text-lighter"}),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])])]),t._v(" "),s("div",{staticClass:"float-right"},[s("div",{staticClass:"post-actions"},[0!=t.user?s("div",[s("button",{staticClass:"btn btn-link text-dark no-caret",attrs:{title:"Post options"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-v text-muted"})])]):t._e()])])]),t._v(" "),s("div",{staticClass:"d-flex flex-md-column flex-column-reverse h-100",staticStyle:{"overflow-y":"auto"}},[s("div",{staticClass:"card-body status-comments pt-0"},[s("div",{staticClass:"status-comment"},[t.status.content.length?s("div",{staticClass:"pt-3"},[t.status.sensitive?s("div",[s("span",{staticClass:"py-3"},[s("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:t.profileUrl,title:t.status.account.username}},[t._v(t._s(t.truncate(t.status.account.username,15)))]),t._v(" "),s("span",{staticClass:"text-break"},[s("span",{staticClass:"font-italic text-muted"},[t._v("This comment may contain sensitive material")]),t._v(" "),s("span",{staticClass:"text-primary cursor-pointer pl-1",on:{click:function(e){t.status.sensitive=!1}}},[t._v("Show")])])])]):s("div",[s("p",{class:[t.status.content.length>620?"mb-1 read-more":"mb-1"],staticStyle:{overflow:"hidden"}},[s("a",{staticClass:"font-weight-bold pr-1 text-dark text-decoration-none",attrs:{href:t.profileUrl}},[t._v(t._s(t.statusUsername))]),t._v(" "),s("span",{staticClass:"comment-text",attrs:{id:t.status.id+"-status-readmore"},domProps:{innerHTML:t._s(t.status.content)}})])]),t._v(" "),s("hr")]):t._e(),t._v(" "),t.showComments?s("div",[t._m(0),t._v(" "),s("div",{staticClass:"postCommentsContainer d-none"},[s("p",{staticClass:"mb-1 text-center load-more-link d-none my-4"},[s("a",{staticClass:"text-dark",attrs:{href:"#",title:"Load more comments","data-toggle":"tooltip","data-placement":"bottom"},on:{click:t.loadMore}},[s("svg",{staticClass:"bi bi-plus-circle",staticStyle:{"font-size":"2em"},attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M8 3.5a.5.5 0 01.5.5v4a.5.5 0 01-.5.5H4a.5.5 0 010-1h3.5V4a.5.5 0 01.5-.5z","clip-rule":"evenodd"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M7.5 8a.5.5 0 01.5-.5h4a.5.5 0 010 1H8.5V12a.5.5 0 01-1 0V8z","clip-rule":"evenodd"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 108 1a7 7 0 000 14zm0 1A8 8 0 108 0a8 8 0 000 16z","clip-rule":"evenodd"}})])])]),t._v(" "),s("div",{staticClass:"comments mt-3"},t._l(t.results,(function(e,a){return s("div",{key:"tl"+e.id+"_"+a,staticClass:"pb-4 media"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:e.account.avatar,width:"42px",height:"42px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[1==e.sensitive?s("div",[s("span",{staticClass:"py-3"},[s("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:e.account.url,title:e.account.username}},[t._v(t._s(t.truncate(e.account.username,15)))]),t._v(" "),s("span",{staticClass:"text-break"},[s("span",{staticClass:"font-italic text-muted"},[t._v("This comment may contain sensitive material")]),t._v(" "),s("span",{staticClass:"text-primary cursor-pointer pl-1",on:{click:function(t){e.sensitive=!1}}},[t._v("Show")])])])]):s("div",[s("p",{staticClass:"d-flex justify-content-between align-items-top read-more",staticStyle:{"overflow-y":"hidden"}},[s("span",[s("a",{staticClass:"text-dark font-weight-bold mr-1 text-break",attrs:{href:e.account.url,title:e.account.username}},[t._v(t._s(t.truncate(e.account.username,15)))]),t._v(" "),s("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(e.content)}})]),t._v(" "),s("span",{staticStyle:{"min-width":"38px"}},[s("span",{on:{click:function(s){return t.likeReply(e,s)}}},[s("i",{class:[e.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})]),t._v(" "),s("post-menu",{staticClass:"d-inline-block px-2",attrs:{status:e,profile:t.user,size:"sm",modal:"true"},on:{deletePost:function(s){return t.deleteComment(e.id,a)}}})],1)]),t._v(" "),s("p",{},[t._o(s("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:t.permalinkUrl(e)},domProps:{textContent:t._s(t.timeAgo(e.created_at))}}),0,"tl"+e.id+"_"+a),t._v(" "),e.favourites_count?s("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3"},[t._v(t._s(1==e.favourites_count?"1 like":e.favourites_count+" likes"))]):t._e(),t._v(" "),s("span",{staticClass:"text-muted comment-reaction font-weight-bold cursor-pointer",on:{click:function(s){return t.replyFocus(e,a,!0)}}},[t._v("Reply")])]),t._v(" "),e.reply_count>0?s("div",{staticClass:"cursor-pointer",on:{click:function(s){return t.toggleReplies(e)}}},[s("span",{staticClass:"show-reply-bar"}),t._v(" "),s("span",{staticClass:"comment-reaction font-weight-bold text-muted"},[t._v(t._s(e.thread?"Hide":"View")+" Replies ("+t._s(e.reply_count)+")")])]):t._e(),t._v(" "),1==e.thread?s("div",{staticClass:"comment-thread"},t._l(e.replies,(function(e,i){return s("div",{key:"cr"+e.id+"_"+a,staticClass:"pb-3 media"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:e.account.avatar,width:"25px",height:"25px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"d-flex justify-content-between align-items-top read-more",staticStyle:{"overflow-y":"hidden"}},[s("span",[s("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:e.account.url,title:e.account.username}},[t._v(t._s(e.account.username))]),t._v(" "),s("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(e.content)}})]),t._v(" "),s("span",{staticClass:"pl-2",staticStyle:{"min-width":"38px"}},[s("span",{on:{click:function(s){return t.likeReply(e,s)}}},[s("i",{class:[e.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})]),t._v(" "),s("post-menu",{staticClass:"d-inline-block pl-2",attrs:{status:e,profile:t.user,size:"sm",modal:"true"},on:{deletePost:function(s){return t.deleteCommentReply(e.id,i,a)}}})],1)]),t._v(" "),s("p",{},[t._o(s("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:e.url},domProps:{textContent:t._s(t.timeAgo(e.created_at))}}),1,"cr"+e.id+"_"+a),t._v(" "),e.favourites_count?s("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3"},[t._v(t._s(1==e.favourites_count?"1 like":e.favourites_count+" likes"))]):t._e()])])])})),0):t._e()])])])})),0)])]):t._e()])]),t._v(" "),t.reactionBarLoading?s("div",{staticClass:"card-body flex-grow-0 py-4 text-center"},[t._m(1)]):s("div",{staticClass:"card-body flex-grow-0 py-1"},[t.loaded&&t.user.hasOwnProperty("id")?s("div",{staticClass:"reactions my-2 pb-1 d-flex justify-content-between"},[s("h3",{class:[t.reactions.liked?"fas fa-heart text-danger mr-3 m-0 cursor-pointer":"far fa-heart pr-3 m-0 like-btn cursor-pointer"],attrs:{title:"Like"},on:{click:t.likeStatus}}),t._v(" "),t.status.comments_disabled?t._e():s("h3",{staticClass:"far fa-comment mr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.replyFocus(t.status)}}}),t._v(" "),s("h3",{staticClass:"fas fa-expand m-0 mr-3 cursor-pointer",on:{click:function(e){return t.redirect(t.status.media_attachments[0].url)}}}),t._v(" "),"public"==t.status.visibility?s("h3",{class:[t.reactions.bookmarked?"fas fa-bookmark text-warning m-0 mr-3 cursor-pointer":"far fa-bookmark m-0 mr-3 cursor-pointer"],attrs:{title:"Bookmark"},on:{click:t.bookmarkStatus}}):t._e(),t._v(" "),"public"==t.status.visibility?s("h3",{class:[t.reactions.shared?"fas fa-retweet m-0 text-primary cursor-pointer":"fas fa-retweet m-0 share-btn cursor-pointer"],attrs:{title:"Share"},on:{click:t.shareStatus}}):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"reaction-counts mb-0"},[t.status.liked_by.username&&t.status.liked_by.username!==t.user.username?s("div",{staticClass:"likes mb-1"},[s("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tand "),s("span",{staticClass:"font-weight-bold text-dark cursor-pointer",on:{click:t.likesModal}},[t.status.liked_by.total_count_pretty?s("span",[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" others")])]):t._e()])]):t._e()]),t._v(" "),s("div",{staticClass:"timestamp pt-2 d-flex align-items-bottom justify-content-between"},[s("a",{staticClass:"small text-muted",attrs:{href:t.statusUrl,title:t.status.created_at}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.timestampFormat())+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"small text-muted text-capitalize cursor-pointer",on:{click:t.visibilityModal}},[t._v(t._s(t.status.visibility))])])])]),t._v(" "),t.showComments?s("div",{staticClass:"card-footer bg-white sticky-md-bottom p-0"},[0==t.user.length?s("div",{staticClass:"comment-form-guest p-3"},[s("a",{attrs:{href:"/login"}},[t._v("Login")]),t._v(" to like or comment.\n\t\t\t\t\t\t\t")]):s("form",{staticClass:"border-0 rounded-0 align-middle",attrs:{method:"post",action:"/i/comment","data-id":t.statusId,"data-truncate":"false"}},[s("textarea",{staticClass:"form-control border-0 rounded-0",staticStyle:{height:"56px","line-height":"18px","max-height":"80px",resize:"none","padding-right":"4.2rem"},attrs:{name:"comment",placeholder:"Add a comment…",autocomplete:"off",autocorrect:"off"},on:{click:function(e){return t.replyFocus(t.status)}}}),t._v(" "),s("input",{staticClass:"d-inline-block btn btn-link font-weight-bold reply-btn text-decoration-none",attrs:{type:"button",value:"Post",disabled:""}})])]):t._e()])])]),t._v(" "),t.showProfileMorePosts?s("div",{staticClass:"container"},[s("p",{staticClass:"text-lighter px-3 mt-5",staticStyle:{"font-weight":"600","font-size":"15px"}},[t._v("More posts from "),s("a",{staticClass:"text-dark",attrs:{href:t.profileUrl}},[t._v(t._s(this.statusUsername))])]),t._v(" "),s("div",{staticClass:"profile-timeline mt-md-4"},[s("div",{staticClass:"row"},t._l(t.profileMorePosts,(function(e,a){return s("div",{key:"tlob:"+a,staticClass:"col-4 p-1 p-md-3"},[t._o(s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.getStatusUrl(e)}},[s("div",{class:[e.sensitive?"square":"square "+e.media_attachments[0].filter_class]},["photo:album"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),s("div",{staticClass:"square-content",style:t.previewBackground(e)}),t._v(" "),s("div",{staticClass:"info-overlay-text"},[s("h5",{staticClass:"text-white m-auto font-weight-bold"},[s("span",[s("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(e.favourites_count))])]),t._v(" "),s("span",[s("span",{staticClass:"fas fa-retweet fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(e.reblogs_count))])])])])])]),2,"tlob:"+a)])})),0)])]):t._e()])]):t._e(),t._v(" "),"comments"===t.currentLayout?s("comment-card",{attrs:{status:t.status,profile:t.profile,backToStatus:!0},on:{"current-layout":t.setCurrentLayout}}):t._e(),t._v(" "),s("b-modal",{ref:"likesModal",attrs:{id:"l-modal","hide-footer":"",centered:"",title:"Likes","body-class":"list-group-flush py-3 px-0"}},[s("div",{staticClass:"list-group"},[t._l(t.likes,(function(e,a){return s("div",{key:"modal_likes_"+a,staticClass:"list-group-item border-0 py-1"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:e.url}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:e.url}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t")])]),t._v(" "),e.local?s("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.display_name)+"\n\t\t\t\t\t\t")]):s("p",{staticClass:"text-muted mb-0 text-truncate mr-3",staticStyle:{"font-size":"14px"},attrs:{title:e.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.acct.split("@")[0]))]),s("span",{staticClass:"text-lighter"},[t._v("@"+t._s(e.acct.split("@")[1]))])])])])])})),t._v(" "),s("infinite-loading",{attrs:{spinner:"spiral"},on:{infinite:t.infiniteLikesHandler}},[s("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),s("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2)]),t._v(" "),s("b-modal",{ref:"sharesModal",attrs:{id:"s-modal","hide-footer":"",centered:"",title:"Shares","body-class":"list-group-flush py-3 px-0"}},[s("div",{staticClass:"list-group"},[t._l(t.shares,(function(e,a){return s("div",{key:"modal_shares_"+a,staticClass:"list-group-item border-0 py-1"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:e.url}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"d-inline-block"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:e.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.display_name)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s("p",{staticClass:"float-right"})])])])})),t._v(" "),s("infinite-loading",{attrs:{spinner:"spiral"},on:{infinite:t.infiniteSharesHandler}},[s("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),s("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2)]),t._v(" "),s("b-modal",{ref:"taggedModal",attrs:{id:"tagged-modal","hide-footer":"",centered:"",title:"Tagged People","body-class":"list-group-flush py-3 px-0"}},[s("div",{staticClass:"list-group"},t._l(t.status.taggedPeople,(function(e,a){return s("div",{key:"modal_taggedpeople_"+a,staticClass:"list-group-item border-0 py-1"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:"/"+e.username}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"pt-1 d-flex justify-content-between",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"/"+e.username}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t")]),t._v(" "),e.id==t.user.id?s("button",{staticClass:"btn btn-outline-primary btn-sm py-1 px-3",on:{click:function(e){return t.untagMe()}}},[t._v("Untag Me")]):t._e()])])])])})),0),t._v(" "),s("p",{staticClass:"mb-0 text-center small text-muted font-weight-bold"},[s("a",{attrs:{href:"/site/kb/tagging-people"}},[t._v("Learn more")]),t._v(" about Tagging People.")])]),t._v(" "),s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[t.user&&t.user.id!=t.status.account.id&&t.relationship&&t.relationship.following?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger",on:{click:function(e){return t.ctxMenuUnfollow()}}},[t._v("Unfollow")]):t._e(),t._v(" "),t.user&&t.user.id!=t.status.account.id&&t.relationship&&!t.relationship.following?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-primary",on:{click:function(e){return t.ctxMenuFollow()}}},[t._v("Follow")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&t.user.id==t.status.account.id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:t.toggleCommentVisibility}},[t._v(t._s(t.showComments?"Disable":"Enable")+" Comments")]):t._e(),t._v(" "),t.status&&t.user.id==t.status.account.id?s("a",{staticClass:"list-group-item rounded cursor-pointer text-dark text-decoration-none",attrs:{href:t.editUrl()}},[t._v("Edit")]):t._e(),t._v(" "),t.user&&1==t.user.is_admin?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenu()}}},[t._v("ModTools")]):t._e(),t._v(" "),!t.status||t.user.id==t.status.account.id||t.relationship.blocking||t.user.is_admin?t._e():s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger",on:{click:function(e){return t.blockProfile()}}},[t._v("Block")]),t._v(" "),t.status&&t.user.id!=t.status.account.id&&t.relationship.blocking&&!t.user.is_admin?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger",on:{click:function(e){return t.unblockProfile()}}},[t._v("Unblock")]):t._e(),t._v(" "),t.user&&t.user.id!=t.status.account.id&&!t.user.is_admin?s("a",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger text-decoration-none",attrs:{href:t.reportUrl()}},[t._v("Report")]):t._e(),t._v(" "),t.status&&(t.user.is_admin||t.user.id==t.status.account.id)?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger",on:{click:function(e){return t.deletePost(t.ctxMenuStatus)}}},[t._v("Delete")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:t.toggleCommentVisibility}},[t._v(t._s(t.showComments?"Disable":"Enable")+" Comments")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost("unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost("remcw")}}},[t._v("Remove Content Warning")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost("addcw")}}},[t._v("Add Content Warning")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"replyModal",attrs:{id:"ctx-reply-modal","hide-footer":"",centered:"",rounded:"","title-html":t.replyingToUsername?"Reply to "+t.replyingToUsername+"":"","title-tag":"p","title-class":"font-weight-bold text-muted",size:"md","body-class":"p-2 rounded"}},[s("div",[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control",staticStyle:{border:"none","font-size":"18px",resize:"none","white-space":"pre-wrap",outline:"none"},attrs:{rows:"4",placeholder:"Reply here ..."},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}}),t._v(" "),s("div",{staticClass:"border-top border-bottom my-2"},[s("ul",{staticClass:"nav align-items-center emoji-reactions",staticStyle:{"overflow-x":"scroll","flex-wrap":"unset"}},t._l(t.emoji,(function(e){return s("li",{staticClass:"nav-item",on:{click:function(e){return t.emojiReaction(t.status)}}},[t._v(t._s(e))])})),0)]),t._v(" "),s("div",{staticClass:"d-flex justify-content-between align-items-center"},[s("div",[s("span",{staticClass:"pl-2 small text-muted font-weight-bold text-monospace"},[s("span",{class:[t.replyText.length>t.config.uploader.max_caption_length?"text-danger":"text-dark"]},[t._v(t._s(t.replyText.length>t.config.uploader.max_caption_length?t.config.uploader.max_caption_length-t.replyText.length:t.replyText.length))]),t._v("/"+t._s(t.config.uploader.max_caption_length)+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"d-flex align-items-center"},[s("div",{staticClass:"custom-control custom-switch mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replySensitive,expression:"replySensitive"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"replyModalCWSwitch"},domProps:{checked:Array.isArray(t.replySensitive)?t._i(t.replySensitive,null)>-1:t.replySensitive},on:{change:function(e){var s=t.replySensitive,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.replySensitive=s.concat([null])):o>-1&&(t.replySensitive=s.slice(0,o).concat(s.slice(o+1)))}else t.replySensitive=i}}}),t._v(" "),s("label",{class:[t.replySensitive?"custom-control-label font-weight-bold text-dark":"custom-control-label text-lighter"],attrs:{for:"replyModalCWSwitch"}},[t._v("Mark as NSFW")])]),t._v(" "),s("button",{staticClass:"btn btn-primary btn-sm py-2 px-4 lead text-uppercase font-weight-bold",attrs:{disabled:0==t.replyText.length},on:{click:function(e){return e.preventDefault(),t.postReply()}}},[t._v("\n\t\t\t\t\t"+t._s(1==t.replySending?"POSTING":"POST")+"\n\t\t\t\t")])])])])])],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"postCommentsLoader text-center py-2"},[s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])}]},91705:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"container p-0 overflow-hidden"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-6 offset-md-3"},[s("div",{staticClass:"card shadow-none border",staticStyle:{height:"100vh"}},[s("div",{staticClass:"card-header d-flex justify-content-between align-items-center"},[s("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.commentNavigateBack(t.status.id)}}},[s("i",{staticClass:"fas fa-chevron-left fa-lg px-2"})]),t._v(" "),t._m(0),t._v(" "),t._m(1)]),t._v(" "),s("div",{staticClass:"card-body",staticStyle:{"overflow-y":"auto !important"}},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.status.account.avatar,width:"32px",height:"32px"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"d-flex justify-content-between align-items-top mb-0",staticStyle:{"overflow-y":"hidden"}},[s("span",{staticClass:"mr-2",staticStyle:{"font-size":"13px"}},[s("a",{staticClass:"text-dark font-weight-bold mr-1 text-break",attrs:{href:t.profileUrl(t.status),title:t.status.account.username}},[t._v(t._s(t.trimCaption(t.status.account.username,15)))]),t._v(" "),s("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(t.status.content)}})])])])]),t._v(" "),s("hr"),t._v(" "),t._m(2),t._v(" "),s("div",{staticClass:"postCommentsContainer d-none"},[t.replies.length?s("p",{staticClass:"mb-1 text-center load-more-link my-4"},[s("a",{staticClass:"text-dark",attrs:{href:"#",title:"Load more comments"},on:{click:function(e){return e.preventDefault(),t.loadMoreComments.apply(null,arguments)}}},[s("svg",{staticClass:"bi bi-plus-circle",staticStyle:{"font-size":"2em"},attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M8 3.5a.5.5 0 01.5.5v4a.5.5 0 01-.5.5H4a.5.5 0 010-1h3.5V4a.5.5 0 01.5-.5z","clip-rule":"evenodd"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M7.5 8a.5.5 0 01.5-.5h4a.5.5 0 010 1H8.5V12a.5.5 0 01-1 0V8z","clip-rule":"evenodd"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 108 1a7 7 0 000 14zm0 1A8 8 0 108 0a8 8 0 000 16z","clip-rule":"evenodd"}})])])]):t._e(),t._v(" "),t._l(t.replies,(function(e,a){return t.replies.length?s("div",{key:"tl"+e.id+"_"+a,staticClass:"pb-3 media"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:e.account.avatar,width:"32px",height:"32px"}}),t._v(" "),s("div",{staticClass:"media-body"},[1==e.sensitive?s("div",[s("span",{staticClass:"py-3"},[s("a",{staticClass:"text-dark font-weight-bold mr-3",staticStyle:{"font-size":"13px"},attrs:{href:t.profileUrl(e),title:e.account.username}},[t._v(t._s(t.trimCaption(e.account.username,15)))]),t._v(" "),s("span",{staticClass:"text-break",staticStyle:{"font-size":"13px"}},[s("span",{staticClass:"font-italic text-muted"},[t._v("This comment may contain sensitive material")]),t._v(" "),s("span",{staticClass:"text-primary cursor-pointer pl-1",on:{click:function(t){e.sensitive=!1}}},[t._v("Show")])])])]):s("div",[s("p",{staticClass:"d-flex justify-content-between align-items-top read-more mb-0",staticStyle:{"overflow-y":"hidden"}},[s("span",{staticClass:"mr-3",staticStyle:{"font-size":"13px"}},[s("a",{staticClass:"text-dark font-weight-bold mr-1 text-break",attrs:{href:t.profileUrl(e),title:e.account.username}},[t._v(t._s(t.trimCaption(e.account.username,15)))]),t._v(" "),s("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(e.content)}})]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"min-width":"30px"}},[s("span",{on:{click:function(s){return t.likeReply(e,s)}}},[s("i",{class:[e.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})]),t._v(" "),s("span",{staticClass:"pl-2 text-lighter cursor-pointer",on:{click:function(s){return t.ctxMenu(e)}}},[s("span",{staticClass:"fas fa-ellipsis-v text-lighter"})])])]),t._v(" "),s("p",{staticClass:"mb-0"},[t._o(s("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:t.statusUrl(e)},domProps:{textContent:t._s(t.timeAgo(e.created_at))}}),0,"tl"+e.id+"_"+a),t._v(" "),e.favourites_count?s("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3 small"},[t._v(t._s(1==e.favourites_count?"1 like":e.favourites_count+" likes"))]):t._e(),t._v(" "),s("span",{staticClass:"small text-muted comment-reaction font-weight-bold cursor-pointer",on:{click:function(s){return t.replyFocus(e,a,!0)}}},[t._v("Reply")])]),t._v(" "),e.reply_count>0?s("div",{staticClass:"cursor-pointer pb-2",on:{click:function(s){return t.toggleReplies(e)}}},[s("span",{staticClass:"show-reply-bar"}),t._v(" "),s("span",{staticClass:"comment-reaction small font-weight-bold"},[t._v(t._s(e.thread?"Hide":"View")+" Replies ("+t._s(e.reply_count)+")")])]):t._e(),t._v(" "),1==e.thread?s("div",{staticClass:"comment-thread"},t._l(e.replies,(function(e,i){return s("div",{key:"cr"+e.id+"_"+a,staticClass:"py-1 media"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:e.account.avatar,width:"25px",height:"25px"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"d-flex justify-content-between align-items-top read-more mb-0",staticStyle:{"overflow-y":"hidden"}},[s("span",{staticClass:"mr-2",staticStyle:{"font-size":"13px"}},[s("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:t.profileUrl(e),title:e.account.username}},[t._v(t._s(e.account.username))]),t._v(" "),s("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(e.content)}})]),t._v(" "),s("span",[s("span",{on:{click:function(s){return t.likeReply(e,s)}}},[s("i",{class:[e.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})])])]),t._v(" "),s("p",{staticClass:"mb-0"},[t._o(s("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:t.statusUrl(e)},domProps:{textContent:t._s(t.timeAgo(e.created_at))}}),1,"cr"+e.id+"_"+a),t._v(" "),e.favourites_count?s("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3"},[t._v(t._s(1==e.favourites_count?"1 like":e.favourites_count+" likes"))]):t._e()])])])})),0):t._e()])])]):t._e()})),t._v(" "),t.replies.length?t._e():s("div",[s("p",{staticClass:"text-center text-muted font-weight-bold small"},[t._v("No comments yet")])])],2)]),t._v(" "),s("div",{staticClass:"card-footer mb-3"},[s("div",{staticClass:"align-middle d-flex"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.profile.avatar,width:"36",height:"36"}}),t._v(" "),s("textarea",{staticClass:"form-control rounded-pill",staticStyle:{resize:"none","overflow-y":"hidden"},attrs:{name:"comment",placeholder:"Add a comment…",autocomplete:"off",autocorrect:"off",rows:"1",maxlength:"0"},on:{click:function(e){return t.replyFocus(t.status)}}})])])])])])]),t._v(" "),s("context-menu",{ref:"cMenu",attrs:{status:t.ctxMenuStatus,profile:t.profile}}),t._v(" "),s("b-modal",{ref:"replyModal",attrs:{id:"ctx-reply-modal","hide-footer":"",centered:"",rounded:"","title-html":t.status.account?"Reply to "+t.status.account.username+"":"","title-tag":"p","title-class":"font-weight-bold text-muted",size:"md","body-class":"p-2 rounded"}},[s("div",[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control replyModalTextarea",attrs:{rows:"4"},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"border-top border-bottom my-2"},[s("ul",{staticClass:"nav align-items-center emoji-reactions",staticStyle:{"overflow-x":"scroll","flex-wrap":"unset"}},t._l(t.emoji,(function(e){return s("li",{staticClass:"nav-item",on:{click:function(e){return t.emojiReaction(t.status)}}},[t._v(t._s(e))])})),0)]),t._v(" "),s("div",{staticClass:"d-flex justify-content-between align-items-center"},[s("div",[s("span",{staticClass:"pl-2 small text-muted font-weight-bold text-monospace"},[s("span",{class:[t.replyText.length>t.config.uploader.max_caption_length?"text-danger":"text-dark"]},[t._v(t._s(t.replyText.length>t.config.uploader.max_caption_length?t.config.uploader.max_caption_length-t.replyText.length:t.replyText.length))]),t._v("/"+t._s(t.config.uploader.max_caption_length)+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"d-flex align-items-center"},[s("div",{staticClass:"custom-control custom-switch mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyNsfw,expression:"replyNsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"replyModalCWSwitch"},domProps:{checked:Array.isArray(t.replyNsfw)?t._i(t.replyNsfw,null)>-1:t.replyNsfw},on:{change:function(e){var s=t.replyNsfw,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.replyNsfw=s.concat([null])):o>-1&&(t.replyNsfw=s.slice(0,o).concat(s.slice(o+1)))}else t.replyNsfw=i}}}),t._v(" "),s("label",{class:[t.replyNsfw?"custom-control-label font-weight-bold text-dark":"custom-control-label text-lighter"],attrs:{for:"replyModalCWSwitch"}},[t._v("Mark as NSFW")])]),t._v(" "),s("button",{staticClass:"btn btn-primary btn-sm py-2 px-4 lead text-uppercase font-weight-bold",attrs:{disabled:0==t.replyText.length},on:{click:function(e){return e.preventDefault(),t.commentSubmit(t.status,e)}}},[t._v("\n\t\t\t\t\t\t"+t._s(1==t.replySending?"POSTING":"POST")+"\n\t\t\t\t\t")])])])],1)])],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("p",{staticClass:"font-weight-bold mb-0 h5"},[t._v("Comments")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("i",{staticClass:"fas fa-cog fa-lg text-white"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"postCommentsLoader text-center py-2"},[s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])])}]},44913:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.loaded?s("div",[t.showReplyForm?s("div",{staticClass:"card card-body shadow-none border bg-light"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.profile.avatar,width:"32px",height:"32px"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"reply-form form-group mb-0"},[!t.composeText||t.composeText.length<40?s("input",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control rounded-pill",attrs:{placeholder:"Add a comment..."},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}}):s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control",attrs:{placeholder:"Add a comment...",rows:"4"},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),t.composeText&&t.composeText.length?s("div",{staticClass:"btn btn-primary btn-sm rounded-pill font-weight-bold px-3",on:{click:t.submitComment}},[t.postingComment?s("span",[t._m(0)]):s("span",[t._v("Post")])]):t._e()]),t._v(" "),t.composeText?s("div",{staticClass:"reply-options",model:{value:t.visibility,callback:function(e){t.visibility=e},expression:"visibility"}},[t._m(1),t._v(" "),s("div",{staticClass:"custom-control custom-switch"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.sensitive,expression:"sensitive"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"sensitive"},domProps:{checked:Array.isArray(t.sensitive)?t._i(t.sensitive,null)>-1:t.sensitive},on:{change:function(e){var s=t.sensitive,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.sensitive=s.concat([null])):o>-1&&(t.sensitive=s.slice(0,o).concat(s.slice(o+1)))}else t.sensitive=i}}}),t._v(" "),t._m(2)]),t._v(" "),s("span",{staticClass:"text-muted font-weight-bold small"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.composeText.length)+" / 500\n\t\t\t\t\t\t")])]):t._e()])])]):t._e(),t._v(" "),s("div",{staticClass:"d-none card card-body shadow-none border rounded-0 border-top-0 bg-light"},[s("div",{staticClass:"d-flex justify-content-between align-items-center"},[s("p",{staticClass:"font-weight-bold text-muted mb-0 mr-md-5"},[s("i",{staticClass:"fas fa-comment mr-1"}),t._v("\n\t\t\t\t\t"+t._s(t.formatCount(t.pagination.total))+"\n\t\t\t\t")]),t._v(" "),s("h4",{staticClass:"font-weight-bold mb-0 text-lighter"},[t._v("Comments")]),t._v(" "),t._m(3)])]),t._v(" "),t._l(t.feed,(function(t,e){return s("status-card",{key:"replies:"+e,attrs:{status:t,size:"small"}})})),t._v(" "),t.pagination.links.hasOwnProperty("next")?s("div",{staticClass:"card card-body shadow-none rounded-0 border border-top-0 py-3"},[t.loadingMoreComments?s("button",{staticClass:"btn btn-primary",attrs:{disabled:""}},[t._m(4)]):s("button",{staticClass:"btn btn-primary font-weight-bold",on:{click:t.loadMoreComments}},[t._v("Load more comments")])]):t._e(),t._v(" "),t.ctxStatus&&t.profile?s("context-menu",{ref:"cMenu",attrs:{status:t.ctxStatus,profile:t.profile},on:{"status-delete":t.statusDeleted}}):t._e()],2):s("div")])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("select",{staticClass:"form-control form-control-sm rounded-pill font-weight-bold"},[s("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),s("option",{attrs:{value:"private"}},[t._v("Followers Only")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"sensitive"}},[s("span",{staticClass:"d-none d-md-inline-block"},[t._v("Sensitive/")]),t._v("NSFW\n\t\t\t\t\t\t\t")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"form-group mb-0"},[s("select",{staticClass:"form-control form-control-sm"},[s("option",[t._v("New")]),t._v(" "),s("option",[t._v("Oldest")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])}]},22372:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),s("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},56081:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"pl-2 d-flex align-items-top"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?s("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):s("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),s("div",{staticClass:"pl-2"},[s("div",{staticClass:"poll py-3"},[s("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),s("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),s("div",{staticClass:"mb-2"},["vote"===t.tab?s("div",[t._l(t.status.poll.options,(function(e,a){return s("p",[s("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?s("p",{staticClass:"text-right"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?s("div",t._l(t.status.poll.options,(function(e,a){return s("div",{staticClass:"mb-3"},[s("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[s("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),s("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?s("div",t._l(t.status.poll.options,(function(e,a){return s("div",{staticClass:"mb-3"},[s("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[s("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),s("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),s("div",[s("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[s("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?s("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?s("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),s("div",[s("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),s("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[s("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),s("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"btn btn-primary px-2 py-1"},[e("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])}]},91927:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?s("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"pl-2 d-flex align-items-top"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),s("div",{staticClass:"pl-2"},[t.status.sensitive?s("details",[s("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),s("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):s("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),s("p",{staticClass:"mb-0"},[s("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),s("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?s("div",[s("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):s("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?s("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[s("div",[s("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),s("div",{staticClass:"pl-2"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\tLoading...\n\t\t\t\t")]),t._v(" "),t.status.account.is_admin?s("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-center"},[t.status.place?s("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),t.canFollow(t.status)?s("div",[s("span",{staticClass:"px-2"}),t._v(" "),s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.follow(t.status.account.id)}}},[s("i",{staticClass:"far fa-user-plus mr-1"}),t._v(" Follow")])]):t._e(),t._v(" "),t.status.hasOwnProperty("relationship")&&t.status.relationship.hasOwnProperty("following")&&t.status.relationship.following?s("div",[s("span",{staticClass:"px-2"}),t._v(" "),s("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.unfollow(t.status.account.id)}}},[s("i",{staticClass:"far fa-user-check mr-1"}),t._v(" Following")])]):t._e(),t._v(" "),s("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):s("div",{staticClass:"w-100"},[s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?s("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[s("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[s("span",[s("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),s("div",{staticClass:"card-body"},[t.reactionBar?s("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?s("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):s("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():s("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?s("span",{staticClass:"float-right"},[s("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[s("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,e){return s("span",{staticClass:"mr-n2"},[s("a",{attrs:{href:"/"+t.username}},[s("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?s("div",{staticClass:"likes mb-1"},[s("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?s("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?s("div",{staticClass:"caption"},[t.status.sensitive?t._e():s("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[s("span",{staticClass:"username font-weight-bold"},[s("bdi",[s("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),s("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),s("div",{staticClass:"timestamp mt-2"},[s("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?s("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[s("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):s("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),s("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?s("span",[s("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),s("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),s("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},34812:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(e,a){return s("b-carousel-slide",{key:e.id+"-media"},["video"==e.type?s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:e.url,type:e.mime}})]):"image"==e.type?s("div",{attrs:{slot:"img",title:e.description},slot:"img"},[s("img",{class:e.filter_class+" d-block img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):s("div",{staticClass:"w-100 h-100 p-0"},[s("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(e,a){return s("slide",{key:"px-carousel-"+e.id+"-"+a,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==e.type?s("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:e.description,width:"100%",height:"100%"}},[s("source",{attrs:{src:e.url,type:e.mime}})]):"image"==e.type?s("div",{attrs:{title:e.description}},[s("img",{class:e.filter_class+" img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},i=[]},87182:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[s("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-"+t.status.id}},t._l(t.status.media_attachments,(function(e,a){return s("slide",{key:"px-carousel-"+e.id+"-"+a,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:e.description}},[s("img",{class:e.filter_class+" img-fluid w-100 p-0",attrs:{src:e.url,alt:t.altText(e),loading:"lazy","data-bp":e.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),s("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?s("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(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),s("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(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?s("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))"}},[s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},65654:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",[s("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[s("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("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(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?s("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))"}},[s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},36310:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return s("b-carousel-slide",{key:t.id+"-media"},[s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):s("div",[s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return s("b-carousel-slide",{key:t.id+"-media"},[s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},i=[]},38508:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",{staticClass:"embed-responsive embed-responsive-16by9"},[s("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:"","data-id":t.status.id}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]}},t=>{t.O(0,[898],(()=>{return e=68059,t(t.s=e);var e}));t.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[155],{14425:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["feed","status","profile","size","modal"],data:function(){return{activeSession:!1}},mounted:function(){var t=document.querySelector("body");this.activeSession=!!t.classList.contains("loggedIn")},methods:{reportUrl:function(t){return"/i/report?type="+(t.in_reply_to?"comment":"post")+"&id="+t.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},editUrl:function(t){return t.url+"/edit"},redirect:function(t){window.location.href=t},replyUrl:function(t){return"/p/"+this.profile.username+"/"+(t.account.id==this.profile.id?t.id:t.in_reply_to_id)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},statusOwner:function(t){return parseInt(t.account.id)==parseInt(this.profile.id)},deletePost:function(){this.$emit("deletePost"),a("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(t){t.sensitive=!0,a("#mt_pid_"+t.id).modal("hide")},moderatePost:function(t,e,s){var a=t.account.username;switch(e){case"autocw":var i="Are you sure you want to enforce CW for "+a+" ?";swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":i="Are you sure you want to suspend the account of "+a+" ?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(t){0!=a("body").hasClass("loggedIn")&&axios.post("/i/mute",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully muted "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},blockProfile:function(t){0!=a("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully blocked "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},closeModal:function(){a("#mt_pid_"+this.status.id).modal("hide")}}}},53144:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>d});var a=s(19210),i=s(37468),o=s(97622),n=s(33823),r=s(19755);function l(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return c(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s0?((a=e.likes).push.apply(a,l(i.data)),e.likesPage++,t.loaded()):t.complete()}))},infiniteSharesHandler:function(t){var e=this;axios.get("/api/v2/shares/profile/"+this.statusUsername+"/status/"+this.statusId,{params:{page:this.sharesPage}}).then((function(s){var a,i=s.data;i.data.length>0?((a=e.shares).push.apply(a,l(i.data)),e.sharesPage++,t.loaded()):t.complete()}))},likeStatus:function(t){var e=this;0!=r("body").hasClass("loggedIn")?(axios.post("/i/like",{item:this.status.id}).then((function(s){if(e.status.favourites_count=s.data.count,1==e.reactions.liked){e.reactions.liked=!1;var a=e.user.id;e.likes=e.likes.filter((function(t){return t.id!==a}))}else{e.reactions.liked=!0;var i=e.user;e.likes.unshift(i),setTimeout((function(){t.target.classList.add("animate__animated","animate__bounce")}),100)}})).catch((function(t){console.error(t),swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200)):window.location.href="/login?next="+encodeURIComponent(window.location.pathname)},shareStatus:function(){var t=this;0!=r("body").hasClass("loggedIn")?axios.post("/i/share",{item:this.status.id}).then((function(e){if(t.status.reblogs_count=e.data.count,1==t.reactions.shared){t.reactions.shared=!1;var s=t.user.id;t.shares=t.shares.filter((function(t){return t.id!==s}))}else{t.reactions.shared=!0;var a=t.user;t.shares.push(a)}})).catch((function(t){console.error(t),swal("Error","Something went wrong, please try again later.","error")})):window.location.href="/login?next="+encodeURIComponent(window.location.pathname)},bookmarkStatus:function(){var t=this;0!=r("body").hasClass("loggedIn")?axios.post("/i/bookmark",{item:this.status.id}).then((function(e){1==t.reactions.bookmarked?t.reactions.bookmarked=!1:t.reactions.bookmarked=!0})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})):window.location.href="/login?next="+encodeURIComponent(window.location.pathname)},blockProfile:function(){var t=this;0!=r("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:this.status.account.id}).then((function(e){t.$refs.ctxModal.hide(),t.relationship.blocking=!0,swal("Success","You have successfully blocked "+t.status.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},unblockProfile:function(){var t=this;0!=r("body").hasClass("loggedIn")&&axios.post("/i/unblock",{type:"user",item:this.status.account.id}).then((function(e){t.relationship.blocking=!1,t.$refs.ctxModal.hide(),swal("Success","You have successfully unblocked "+t.status.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},deletePost:function(t){if(this.ownerOrAdmin()&&confirm("Are you sure you want to delete this post?")){if(0==r("body").hasClass("loggedIn"))return;axios.post("/i/delete",{type:"status",item:this.status.id}).then((function(t){swal("Success","You have successfully deleted this post","success"),setTimeout((function(){window.location.href="/"}),3e3)})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}},owner:function(){return this.user.id===this.status.account.id},admin:function(){return 1==this.user.is_admin},ownerOrAdmin:function(){return this.owner()||this.admin()},postReply:function(){var t=this;if(this.replySending=!0,0==this.replyText.length||this.replyText.trim()=="@"+this.status.account.acct)return t.replyText=null,void r('textarea[name="comment"]').blur();var e={item:this.replyingToId,comment:this.replyText,sensitive:this.replySensitive};this.replyText="",axios.post("/i/comment",e).then((function(e){var s=e.data.entity;if(s.in_reply_to_id==t.status.id){"metro"==t.layout?t.results.push(s):t.results.unshift(s);var a=r(".status-comments")[0];a.scrollTop=2*a.clientHeight}else if(t.replyToIndex>=0){var i=t.results[t.replyToIndex];i.replies.push(s),i.reply_count=i.reply_count+1}t.$refs.replyModal.hide(),t.replySending=!1}))},deleteComment:function(t,e){var s=this;axios.post("/i/delete",{type:"comment",item:t}).then((function(t){s.results.splice(e,1)})).catch((function(t){swal("Something went wrong!","Please try again later","error")}))},deleteCommentReply:function(t,e,s){var a=this;axios.post("/i/delete",{type:"comment",item:t}).then((function(t){a.results[s].replies.splice(e,1),--a.results[s].reply_count})).catch((function(t){swal("Something went wrong!","Please try again later","error")}))},l:function(t){return t.length<10?t:t.substr(0,10)+"..."},replyFocus:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0!=r("body").hasClass("loggedIn")){if(!this.status.comments_disabled){this.replyToIndex=e,this.replyingToId=t.id,this.replyingToUsername=t.account.username,this.reply_to_profile_id=t.account.id;var a=t.account.local?"@"+t.account.username+" ":"@"+t.account.acct+" ";1==s&&(this.replyText=a),this.$refs.replyModal.show()}}else this.redirect("/login?next="+encodeURIComponent(window.location.pathname))},fetchComments:function(){var t=this,e="/api/v2/comments/"+this.statusProfileId+"/status/"+this.statusId;axios.get(e).then((function(e){t.results="metro"==t.layout?_.reverse(e.data.data):e.data.data,t.pagination=e.data.meta.pagination,t.results.length>0&&r(".load-more-link").removeClass("d-none"),r(".postCommentsLoader").addClass("d-none"),r(".postCommentsContainer").removeClass("d-none"),setTimeout((function(){document.querySelectorAll(".status-comment .postCommentsContainer .comment-body a").forEach((function(t,e){t.href=App.util.format.rewriteLinks(t)}))}),500)})).catch((function(t){if(t.response)if(401===t.response.status)r(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");else r(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.");else r(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}))},loadMore:function(t){var e=this;if(t.preventDefault(),1!=this.pagination.total_pages&&this.pagination.current_page!=this.pagination.total_pages){r(".load-more-link").addClass("d-none"),r(".postCommentsLoader").removeClass("d-none");var s=this.pagination.links.next;axios.get(s).then((function(t){var s=t.data.data;r(".postCommentsLoader").addClass("d-none");for(var a=0;a0)return void(t.thread=!0);var e="/api/v2/comments/"+t.account.id+"/status/"+t.id;axios.get(e).then((function(e){t.replies=_.reverse(e.data.data),t.thread=!0}))}},redirect:function(t){window.location.href=t},permalinkUrl:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=t.account;return 1==s.local||e?t.url:"/i/web/post/_/"+s.id+"/"+t.id},fetchProfilePosts:function(){if(r("body").hasClass("loggedIn")||!this.loaded){var t=this,e="/api/pixelfed/v1/accounts/"+this.statusProfileId+"/statuses";axios.get(e,{params:{only_media:!0,min_id:1,limit:9}}).then((function(e){var s=e.data.filter((function(e){return e.media_attachments.length>0&&e.id!=t.statusId&&0==e.sensitive}));s.map((function(t){return t.id}));t.profileMorePosts=s.slice(0,6)}))}},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].preview_url},previewBackground:function(t){return"background-image: url("+this.previewUrl(t)+");"},getStatusUrl:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return 1==t.local||1==e?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},showTaggedPeopleModal:function(){!r("body").hasClass("loggedIn")&&this.loaded||this.$refs.taggedModal.show()},untagMe:function(){var t=this;this.$refs.taggedModal.hide();var e=this.user.id;axios.post("/api/local/compose/tag/untagme",{status_id:this.statusId,profile_id:e}).then((function(s){t.status.taggedPeople=t.status.taggedPeople.filter((function(t){return t.id!=e})),swal("Untagged","You have been untagged from this post.","success")})).catch((function(t){swal("An Error Occurred","Please try again later.","error")}))},copyPostUrl:function(){navigator.clipboard.writeText(this.statusUrl)},moderatePost:function(t,e){var s=this.status,a=(s.account.username,""),i=this;switch(t){case"addcw":a="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e&&axios.post("/api/v2/moderator/action",{action:t,item_id:s.id,item_type:"status"}).then((function(t){swal("Success","Successfully added content warning","success"),s.sensitive=!0,i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.ctxModMenuClose()}))}));break;case"remcw":a="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e&&axios.post("/api/v2/moderator/action",{action:t,item_id:s.id,item_type:"status"}).then((function(t){swal("Success","Successfully added content warning","success"),s.sensitive=!1,i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.ctxModMenuClose()}))}));break;case"unlist":a="Are you sure you want to unlist this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e&&axios.post("/api/v2/moderator/action",{action:t,item_id:s.id,item_type:"status"}).then((function(t){swal("Success","Successfully unlisted post","success"),i.ctxModMenuClose()})).catch((function(t){i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},ctxMenu:function(){this.$refs.ctxModal.show()},closeCtxMenu:function(t){this.$refs.ctxModal.hide()},ctxModMenu:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModMenuClose:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide()},ctxMenuCopyLink:function(){var t=this.status;navigator.clipboard.writeText(t.url),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.status.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.status.account.acct;t.relationship.following=!0,t.$refs.ctxModal.hide(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.status.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.status.account.acct;t.relationship.following=!1,t.$refs.ctxModal.hide(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},setCurrentLayout:function(t){this.currentLayout=t},commentFocus:function(t,e){t.comments_disabled||(this.replies={},this.replyStatus={},this.replyText="",this.replyId=t.id,this.replyStatus=t,this.fetchStatusComments(t,""),r("nav").hide(),r("footer").hide(),r(".mobile-footer-spacer").attr("style","display:none !important"),r(".mobile-footer").attr("style","display:none !important"),r(".mt-md-4").hide(),this.currentLayout="comments",window.history.pushState({},"",this.getStatusUrl(t)))},fetchStatusComments:function(t,e){var s=this,a="/api/v2/comments/"+t.account.id+"/status/"+t.id;axios.get(a).then((function(t){s.replies=_.reverse(t.data.data),s.pagination=t.data.meta.pagination,s.replies.length>0&&r(".load-more-link").removeClass("d-none"),r(".postCommentsLoader").addClass("d-none"),r(".postCommentsContainer").removeClass("d-none")})).catch((function(t){if(t.response)if(401===t.response.status)r(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");else r(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.");else r(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}))}}}},36624:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(20415),i=s(19755);const o={props:{status:{type:Object},profile:{type:Object},backToStatus:{type:Boolean,default:!1}},components:{"context-menu":a.default},data:function(){return{ids:[],config:window.App.config,tributeSettings:{collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}}]},replies:[],replyId:null,replyText:"",replyNsfw:!1,replySending:!1,pagination:{},ctxMenuStatus:!1,emoji:window.App.util.emoji}},beforeMount:function(){this.fetchComments()},methods:{commentNavigateBack:function(t){if(this.backToStatus)window.location.href=this.statusUrl(this.status);else{i("nav").show(),i("footer").show(),i(".mobile-footer-spacer").attr("style","display:block"),i(".mobile-footer").attr("style","display:block"),this.$emit("current-layout","feed");window.history.pushState({},"","/")}},trimCaption:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60;return _.truncate(t,{length:e})},replyFocus:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0!=i("body").hasClass("loggedIn")){if(!this.status.comments_disabled){this.replyToIndex=e,this.replyingToId=t.id,this.replyingToUsername=t.account.username,this.reply_to_profile_id=t.account.id;var a=t.account.local?"@"+t.account.username+" ":"@"+t.account.acct+" ";1==s&&(this.replyText=a),this.$refs.replyModal.show(),setTimeout((function(){i(".replyModalTextarea").focus()}),500)}}else this.redirect("/login?next="+encodeURIComponent(window.location.pathname))},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,i=this.replyText,o=this.config.uploader.max_caption_length;if(i.length>o)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+o+" characters or less.","error");axios.post("/i/comment",{item:a,comment:i,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},timeAgo:function(t){return App.util.format.timeAgo(t)},fetchComments:function(){var t=this;console.log("Fetching comments...");var e="/api/v2/comments/"+this.status.account.id+"/status/"+this.status.id;axios.get(e).then((function(e){t.replies=e.data.data,t.pagination=e.data.meta.pagination})).catch((function(t){if(t.response)if(401===t.response.status)i(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");else i(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.");else i(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}))},loadMoreComments:function(){var t=this;if(1!=this.pagination.total_pages&&this.pagination.current_page!=this.pagination.total_pages){i(".load-more-link").addClass("d-none"),i(".postCommentsLoader").removeClass("d-none");var e=this.pagination.links.next;axios.get(e).then((function(e){var s=e.data.data;i(".postCommentsLoader").addClass("d-none");for(var a=0;a{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(20415),i=s(19210),o=s(19755);function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,i=(t.account.username,t.id,""),o=this;switch(e){case"addcw":i="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,o.closeModals(),o.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),o.closeModals(),o.ctxModMenuClose()}))}));break;case"remcw":i="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,o.closeModals(),o.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),o.closeModals(),o.ctxModMenuClose()}))}));break;case"unlist":i="Are you sure you want to unlist this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){a.feed=a.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":i="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=a("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},55192:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(20415),i=s(19755);const o={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":a.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at){"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20415),i=s(97622),o=s(19755);const n={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":a.default,"poll-card":i.default},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,a=t.account.username,i=document.createElement("a");switch(i.href=t.account.url,i=i.hostname,e){case"@":default:return a+'@'+i+"";case"from":return a+' from '+i+"";case"custom":return a+' '+s+" "+i+""}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=o("body").hasClass("loggedIn")){var s=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,i=this.replyText,o=this.config.uploader.max_caption_length;if(i.length>o)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+o+" characters or less.","error");axios.post("/i/comment",{item:a,comment:i,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)},canFollow:function(t){return!!t.hasOwnProperty("relationship")&&(!(!t.hasOwnProperty("account")||!t.account.hasOwnProperty("id"))&&(t.account.id!=this.profile.id&&!t.relationship.following))},follow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!0,e.$emit("followed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},unfollow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!1,e.$emit("unfollowed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))}}}},7768:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},10578:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var a="forward";e.advancePage(a),e.$emit("navigation-click",a)}}}}},15464:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.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}}}},63049:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},67223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")}}}},68059:(t,e,s)=>{Vue.component("photo-presenter",s(23251).default),Vue.component("video-presenter",s(53973).default),Vue.component("photo-album-presenter",s(33872).default),Vue.component("video-album-presenter",s(76644).default),Vue.component("mixed-album-presenter",s(57374).default),Vue.component("post-menu",s(4086).default),Vue.component("remote-post",s(97895).default)},47036:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".text-lighter[data-v-1002e7e2]{color:#b8c2cc!important}.modal-body[data-v-1002e7e2]{padding:0}",""]);const o=i},89979:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".postPresenterContainer[data-v-2450539c],.reactions[data-v-2450539c],.status-comments[data-v-2450539c]{background:#fff}@media(min-width:720px){.postPresenterContainer[data-v-2450539c]{min-height:600px}}[data-v-2450539c]::-webkit-scrollbar{background:transparent;width:0}.reply-btn[data-v-2450539c]{border-radius:0 3px 3px 0;bottom:12px;position:absolute;right:20px;text-align:center;width:60px}.text-lighter[data-v-2450539c]{color:#b8c2cc!important}.text-break[data-v-2450539c]{overflow-wrap:break-word}.comments p[data-v-2450539c]{margin-bottom:0}.comment-reaction[data-v-2450539c]{font-size:80%}.show-reply-bar[data-v-2450539c]{border-bottom:1px solid #999;display:inline-block;height:0;margin-right:16px;vertical-align:middle;width:24px}.comment-thread[data-v-2450539c]{margin-top:1rem}.emoji-reactions .nav-item[data-v-2450539c]{cursor:pointer;font-size:1.2rem;padding:9px}.emoji-reactions[data-v-2450539c]::-webkit-scrollbar{background:transparent;height:0;width:0}@media (min-width:1200px){.container[data-v-2450539c]{max-width:1100px}}",""]);const o=i},97846:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".emoji-reactions .nav-item[data-v-006bdd8e]{cursor:pointer;font-size:1.2rem;padding:9px}.emoji-reactions[data-v-006bdd8e]::-webkit-scrollbar{background:transparent;height:0;width:0}",""]);const o=i},9490:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-301c4371]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-301c4371]{position:relative}.content-label[data-v-301c4371]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-301c4371]{position:relative}",""]);const o=i},55106:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-40ab6d65]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-40ab6d65]{position:relative}.content-label[data-v-40ab6d65]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const o=i},176:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".content-label-wrapper[data-v-333faeee]{position:relative}.content-label[data-v-333faeee]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const o=i},12009:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".reply-form[data-v-ee374dfe]{position:relative}.reply-form input[data-v-ee374dfe]{padding-right:90px}.reply-form textarea[data-v-ee374dfe]{align-items:center;padding-right:80px}.reply-form .btn[data-v-ee374dfe]{position:absolute;right:6px;top:50%;transform:translateY(-50%)}.reply-options[data-v-ee374dfe]{align-items:center;display:flex;justify-content:space-between;margin-top:15px}.reply-options .form-control[data-v-ee374dfe]{max-width:140px}",""]);const o=i},77543:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(23645),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}",""]);const o=i},95833:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(47036),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},5138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(89979),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},11675:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(97846),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},54596:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(9490),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},52529:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(55106),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},82390:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(176),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},82897:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(12009),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},49852:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(77543),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},4086:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(44843),i=s(10078),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(82398);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"1002e7e2",null).exports},97895:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(58010),i=s(63203),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(8854);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"2450539c",null).exports},37468:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(68695),i=s(30244),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(43018);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"006bdd8e",null).exports},33823:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(92688),i=s(86044),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(81930);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"ee374dfe",null).exports},20415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(53242),i=s(25266),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},97622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(46594),i=s(97381),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19210:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(48661),i=s(71334),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(66117);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57374:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(10650),i=s(4220),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},33872:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(84346),i=s(10878),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(18932);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"301c4371",null).exports},23251:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85827),i=s(29911),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(97382);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"40ab6d65",null).exports},76644:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(63027),i=s(18411),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},53973:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(54201),i=s(44976),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(77732);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"333faeee",null).exports},10078:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(14425),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},63203:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(53144),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},30244:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(36624),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},86044:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(33694),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},25266:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(53999),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},97381:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(55192),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},71334:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(86637),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},4220:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(7768),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},10878:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(10578),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},29911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(15464),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},18411:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(63049),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},44976:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(67223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},82398:(t,e,s)=>{"use strict";s.r(e);var a=s(95833),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},8854:(t,e,s)=>{"use strict";s.r(e);var a=s(5138),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43018:(t,e,s)=>{"use strict";s.r(e);var a=s(11675),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},18932:(t,e,s)=>{"use strict";s.r(e);var a=s(54596),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},97382:(t,e,s)=>{"use strict";s.r(e);var a=s(52529),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},77732:(t,e,s)=>{"use strict";s.r(e);var a=s(82390),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},81930:(t,e,s)=>{"use strict";s.r(e);var a=s(82897),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},66117:(t,e,s)=>{"use strict";s.r(e);var a=s(49852),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44843:(t,e,s)=>{"use strict";s.r(e);var a=s(27257),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},58010:(t,e,s)=>{"use strict";s.r(e);var a=s(34172),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68695:(t,e,s)=>{"use strict";s.r(e);var a=s(91705),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},92688:(t,e,s)=>{"use strict";s.r(e);var a=s(44913),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},53242:(t,e,s)=>{"use strict";s.r(e);var a=s(22372),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46594:(t,e,s)=>{"use strict";s.r(e);var a=s(56081),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48661:(t,e,s)=>{"use strict";s.r(e);var a=s(91927),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},10650:(t,e,s)=>{"use strict";s.r(e);var a=s(34812),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},84346:(t,e,s)=>{"use strict";s.r(e);var a=s(32353),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},85827:(t,e,s)=>{"use strict";s.r(e);var a=s(59500),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},63027:(t,e,s)=>{"use strict";s.r(e);var a=s(36310),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},54201:(t,e,s)=>{"use strict";s.r(e);var a=s(44892),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},27257:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",["true"!=t.modal?s("div",{staticClass:"dropdown"},[s("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"}},[s("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),s("div",{staticClass:"dropdown-menu dropdown-menu-right"},[s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",attrs:{href:t.status.url}},[t._v("Go to post")]),t._v(" "),1==t.activeSession&&0==t.statusOwner(t.status)?s("span",[s("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.reportUrl(t.status)}},[t._v("Report")])]):t._e(),t._v(" "),1==t.activeSession&&1==t.statusOwner(t.status)?s("span",[s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.muteProfile(t.status)}}},[t._v("Mute Profile")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.blockProfile(t.status)}}},[t._v("Block Profile")])]):t._e(),t._v(" "),1==t.activeSession&&1==t.profile.is_admin?s("span",[s("div",{staticClass:"dropdown-divider"}),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-danger text-decoration-none",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]),t._v(" "),s("div",{staticClass:"dropdown-divider"}),t._v(" "),s("h6",{staticClass:"dropdown-header"},[t._v("Mod Tools")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"autocw")}}},[s("p",{staticClass:"mb-0"},[t._v("Enforce CW")]),t._v(" "),t._m(0)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"noautolink")}}},[s("p",{staticClass:"mb-0"},[t._v("No Autolinking")]),t._v(" "),t._m(1)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"unlisted")}}},[s("p",{staticClass:"mb-0"},[t._v("Unlisted Posts")]),t._v(" "),t._m(2)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"disable")}}},[s("p",{staticClass:"mb-0"},[t._v("Disable Account")]),t._v(" "),t._m(3)]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"suspend")}}},[s("p",{staticClass:"mb-0"},[t._v("Suspend Account")]),t._v(" "),t._m(4)])]):t._e()])]):t._e(),t._v(" "),"true"==t.modal?s("div",[s("span",{attrs:{"data-toggle":"modal","data-target":"#mt_pid_"+t.status.id}},[s("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),s("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog",id:"mt_pid_"+t.status.id}},[s("div",{staticClass:"modal-dialog modal-sm modal-dialog-centered",attrs:{role:"document"}},[s("div",{staticClass:"modal-content"},[s("div",{staticClass:"modal-body text-center"},[s("div",{staticClass:"list-group"},[s("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:t.statusUrl(t.status)}},[t._v("Go to post")]),t._v(" "),s("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hidePost(t.status)}}},[t._v("Hide")]),t._v(" "),1!=t.activeSession||t.statusOwner(t.status)?t._e():s("a",{staticClass:"list-group-item text-danger font-weight-bold text-decoration-none",attrs:{href:t.reportUrl(t.status)}},[t._v("Report")]),t._v(" "),1==t.activeSession&&1==t.statusOwner(t.status)||1==t.profile.is_admin?s("div",{staticClass:"list-group-item text-danger font-weight-bold cursor-pointer",on:{click:function(e){return e.preventDefault(),t.deletePost.apply(null,arguments)}}},[t._v("Delete")]):t._e(),t._v(" "),s("a",{staticClass:"list-group-item text-lighter text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[t._v("Close")])])])])])])]):t._e()])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Adds a CW to every post "),s("br"),t._v(" made by this account.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Do not transform mentions, "),s("br"),t._v(" hashtags or urls into HTML.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Removes account from "),s("br"),t._v(" public/network timelines.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("Temporarily disable account "),s("br"),t._v(" until next time user log in.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mb-0 small text-muted"},[t._v("This prevents any new interactions, "),s("br"),t._v(" without deleting existing data.")])}]},34172:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.loaded?t._e():s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"80vh"}},[s("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]),t._v(" "),t.loaded&&t.warning?s("div",{staticClass:"bg-white mt-n4 pt-3 border-bottom"},[s("div",{staticClass:"container"},[s("p",{staticClass:"text-center font-weight-bold"},[t._v("You are blocking this account")]),t._v(" "),s("p",{staticClass:"text-center font-weight-bold"},[s("a",{staticClass:"btn btn-primary font-weight-bold px-5",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.warning=!1,t.fetchData()}}},[t._v("View Status")])])])]):t._e(),t._v(" "),t.loaded&&0==t.warning&&"status"===t.currentLayout?s("div",{staticClass:"postComponent"},[s("div",{staticClass:"container px-0"},["text"===t.status.pf_type?s("div",{staticClass:"col-12 col-md-6 offset-md-3"},[s("status-card",{staticClass:"border-top",attrs:{status:t.status,recommended:!1},on:{"comment-focus":t.commentFocus}}),t._v(" "),s("comment-feed",{staticClass:"mt-3",attrs:{status:t.status}})],1):t._e(),t._v(" "),"poll"===t.status.pf_type?s("div",{staticClass:"col-12 col-md-6 offset-md-3"},[s("poll-card",{attrs:{status:t.status,profile:t.profile,"fetch-state":!0}}),t._v(" "),s("comment-feed",{staticClass:"mt-3",attrs:{status:t.status}})],1):s("div",{staticClass:"card card-md-rounded-0 status-container orientation-unknown shadow-none border"},[s("div",{staticClass:"row px-0 mx-0"},[s("div",{staticClass:"d-flex d-md-none align-items-center justify-content-between card-header bg-white w-100"},[s("div",{staticClass:"d-flex"},[s("div",{staticClass:"status-avatar mr-2",on:{click:function(e){return t.redirect(t.profileUrl)}}},[s("img",{staticClass:"cursor-pointer",staticStyle:{"border-radius":"12px"},attrs:{src:t.statusAvatar,width:"24px",height:"24px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"username"},[s("span",{staticClass:"username-link font-weight-bold text-dark cursor-pointer",on:{click:function(e){return t.redirect(t.profileUrl)}}},[t._v(t._s(t.statusUsername))]),t._v(" "),t.status.account.is_admin?s("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),s("p",{staticClass:"mb-0",staticStyle:{"font-size":"10px"}},[t.loaded&&t.status.taggedPeople.length?s("span",{staticClass:"mb-0"},[s("span",{staticClass:"font-weight-light cursor-pointer",staticStyle:{color:"#718096"},attrs:{title:"Tagged People","data-toggle":"tooltip","data-placement":"bottom"},on:{click:function(e){return t.showTaggedPeopleModal()}}},[s("i",{staticClass:"fas fa-tag text-lighter"}),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.taggedPeople.length)+" Tagged People")])])]):t._e(),t._v(" "),t.loaded&&null!=t.status.place&&t.status.taggedPeople.length?s("span",{staticClass:"px-2 font-weight-bold text-lighter"},[t._v("•")]):t._e(),t._v(" "),t.loaded&&null!=t.status.place?s("span",{staticClass:"mb-0 cursor-pointer text-truncate",staticStyle:{color:"#718096"},on:{click:function(e){return t.redirect("/discover/places/"+t.status.place.id+"/"+t.status.place.slug)}}},[s("i",{staticClass:"fas fa-map-marked-alt text-lighter"}),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])])]),t._v(" "),0!=t.user?s("div",{staticClass:"float-right"},[s("div",{staticClass:"post-actions"},[s("div",[s("button",{staticClass:"btn btn-link text-dark no-caret",attrs:{title:"Post options"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-v text-muted"})])])])]):t._e()]),t._v(" "),s("div",{staticClass:"col-12 col-md-8 px-0 mx-0"},[s("div",{staticClass:"postPresenterContainer d-none d-flex justify-content-center align-items-center",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):s("div",{staticClass:"w-100"},[s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])])]),t._v(" "),s("div",{staticClass:"col-12 col-md-4 px-0 d-flex flex-column border-left border-md-left-0"},[s("div",{staticClass:"d-md-flex d-none align-items-center justify-content-between card-header py-3 bg-white"},[s("div",{staticClass:"d-flex align-items-center status-username text-truncate"},[s("div",{staticClass:"status-avatar mr-2",on:{click:function(e){return t.redirect(t.profileUrl)}}},[s("img",{staticClass:"cursor-pointer",staticStyle:{"border-radius":"12px"},attrs:{src:t.statusAvatar,width:"24px",height:"24px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"username"},[s("span",{staticClass:"username-link font-weight-bold text-dark cursor-pointer",on:{click:function(e){return t.redirect(t.profileUrl)}}},[t._v(t._s(t.statusUsername))]),t._v(" "),t.status.account.is_admin?s("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),s("p",{staticClass:"mb-0",staticStyle:{"font-size":"10px"}},[t.loaded&&t.status.taggedPeople.length?s("span",{staticClass:"mb-0"},[s("span",{staticClass:"font-weight-light cursor-pointer",staticStyle:{color:"#718096"},attrs:{title:"Tagged People","data-toggle":"tooltip","data-placement":"bottom"},on:{click:function(e){return t.showTaggedPeopleModal()}}},[s("i",{staticClass:"fas fa-tag text-lighter"}),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.taggedPeople.length)+" Tagged People")])])]):t._e(),t._v(" "),t.loaded&&null!=t.status.place&&t.status.taggedPeople.length?s("span",{staticClass:"px-2 font-weight-bold text-lighter"},[t._v("•")]):t._e(),t._v(" "),t.loaded&&null!=t.status.place?s("span",{staticClass:"mb-0 cursor-pointer text-truncate",staticStyle:{color:"#718096"},on:{click:function(e){return t.redirect("/discover/places/"+t.status.place.id+"/"+t.status.place.slug)}}},[s("i",{staticClass:"fas fa-map-marked-alt text-lighter"}),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])])]),t._v(" "),s("div",{staticClass:"float-right"},[s("div",{staticClass:"post-actions"},[0!=t.user?s("div",[s("button",{staticClass:"btn btn-link text-dark no-caret",attrs:{title:"Post options"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-v text-muted"})])]):t._e()])])]),t._v(" "),s("div",{staticClass:"d-flex flex-md-column flex-column-reverse h-100",staticStyle:{"overflow-y":"auto"}},[s("div",{staticClass:"card-body status-comments pt-0"},[s("div",{staticClass:"status-comment"},[t.status.content.length?s("div",{staticClass:"pt-3"},[t.status.sensitive?s("div",[s("span",{staticClass:"py-3"},[s("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:t.profileUrl,title:t.status.account.username}},[t._v(t._s(t.truncate(t.status.account.username,15)))]),t._v(" "),s("span",{staticClass:"text-break"},[s("span",{staticClass:"font-italic text-muted"},[t._v("This comment may contain sensitive material")]),t._v(" "),s("span",{staticClass:"text-primary cursor-pointer pl-1",on:{click:function(e){t.status.sensitive=!1}}},[t._v("Show")])])])]):s("div",[s("p",{class:[t.status.content.length>620?"mb-1 read-more":"mb-1"],staticStyle:{overflow:"hidden"}},[s("a",{staticClass:"font-weight-bold pr-1 text-dark text-decoration-none",attrs:{href:t.profileUrl}},[t._v(t._s(t.statusUsername))]),t._v(" "),s("span",{staticClass:"comment-text",attrs:{id:t.status.id+"-status-readmore"},domProps:{innerHTML:t._s(t.status.content)}})])]),t._v(" "),s("hr")]):t._e(),t._v(" "),t.showComments?s("div",[t._m(0),t._v(" "),s("div",{staticClass:"postCommentsContainer d-none"},[s("p",{staticClass:"mb-1 text-center load-more-link d-none my-4"},[s("a",{staticClass:"text-dark",attrs:{href:"#",title:"Load more comments","data-toggle":"tooltip","data-placement":"bottom"},on:{click:t.loadMore}},[s("svg",{staticClass:"bi bi-plus-circle",staticStyle:{"font-size":"2em"},attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M8 3.5a.5.5 0 01.5.5v4a.5.5 0 01-.5.5H4a.5.5 0 010-1h3.5V4a.5.5 0 01.5-.5z","clip-rule":"evenodd"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M7.5 8a.5.5 0 01.5-.5h4a.5.5 0 010 1H8.5V12a.5.5 0 01-1 0V8z","clip-rule":"evenodd"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 108 1a7 7 0 000 14zm0 1A8 8 0 108 0a8 8 0 000 16z","clip-rule":"evenodd"}})])])]),t._v(" "),s("div",{staticClass:"comments mt-3"},t._l(t.results,(function(e,a){return s("div",{key:"tl"+e.id+"_"+a,staticClass:"pb-4 media"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:e.account.avatar,width:"42px",height:"42px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[1==e.sensitive?s("div",[s("span",{staticClass:"py-3"},[s("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:e.account.url,title:e.account.username}},[t._v(t._s(t.truncate(e.account.username,15)))]),t._v(" "),s("span",{staticClass:"text-break"},[s("span",{staticClass:"font-italic text-muted"},[t._v("This comment may contain sensitive material")]),t._v(" "),s("span",{staticClass:"text-primary cursor-pointer pl-1",on:{click:function(t){e.sensitive=!1}}},[t._v("Show")])])])]):s("div",[s("p",{staticClass:"d-flex justify-content-between align-items-top read-more",staticStyle:{"overflow-y":"hidden"}},[s("span",[s("a",{staticClass:"text-dark font-weight-bold mr-1 text-break",attrs:{href:e.account.url,title:e.account.username}},[t._v(t._s(t.truncate(e.account.username,15)))]),t._v(" "),s("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(e.content)}})]),t._v(" "),s("span",{staticStyle:{"min-width":"38px"}},[s("span",{on:{click:function(s){return t.likeReply(e,s)}}},[s("i",{class:[e.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})]),t._v(" "),s("post-menu",{staticClass:"d-inline-block px-2",attrs:{status:e,profile:t.user,size:"sm",modal:"true"},on:{deletePost:function(s){return t.deleteComment(e.id,a)}}})],1)]),t._v(" "),s("p",{},[t._o(s("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:t.permalinkUrl(e)},domProps:{textContent:t._s(t.timeAgo(e.created_at))}}),0,"tl"+e.id+"_"+a),t._v(" "),e.favourites_count?s("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3"},[t._v(t._s(1==e.favourites_count?"1 like":e.favourites_count+" likes"))]):t._e(),t._v(" "),s("span",{staticClass:"text-muted comment-reaction font-weight-bold cursor-pointer",on:{click:function(s){return t.replyFocus(e,a,!0)}}},[t._v("Reply")])]),t._v(" "),e.reply_count>0?s("div",{staticClass:"cursor-pointer",on:{click:function(s){return t.toggleReplies(e)}}},[s("span",{staticClass:"show-reply-bar"}),t._v(" "),s("span",{staticClass:"comment-reaction font-weight-bold text-muted"},[t._v(t._s(e.thread?"Hide":"View")+" Replies ("+t._s(e.reply_count)+")")])]):t._e(),t._v(" "),1==e.thread?s("div",{staticClass:"comment-thread"},t._l(e.replies,(function(e,i){return s("div",{key:"cr"+e.id+"_"+a,staticClass:"pb-3 media"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:e.account.avatar,width:"25px",height:"25px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"d-flex justify-content-between align-items-top read-more",staticStyle:{"overflow-y":"hidden"}},[s("span",[s("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:e.account.url,title:e.account.username}},[t._v(t._s(e.account.username))]),t._v(" "),s("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(e.content)}})]),t._v(" "),s("span",{staticClass:"pl-2",staticStyle:{"min-width":"38px"}},[s("span",{on:{click:function(s){return t.likeReply(e,s)}}},[s("i",{class:[e.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})]),t._v(" "),s("post-menu",{staticClass:"d-inline-block pl-2",attrs:{status:e,profile:t.user,size:"sm",modal:"true"},on:{deletePost:function(s){return t.deleteCommentReply(e.id,i,a)}}})],1)]),t._v(" "),s("p",{},[t._o(s("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:e.url},domProps:{textContent:t._s(t.timeAgo(e.created_at))}}),1,"cr"+e.id+"_"+a),t._v(" "),e.favourites_count?s("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3"},[t._v(t._s(1==e.favourites_count?"1 like":e.favourites_count+" likes"))]):t._e()])])])})),0):t._e()])])])})),0)])]):t._e()])]),t._v(" "),t.reactionBarLoading?s("div",{staticClass:"card-body flex-grow-0 py-4 text-center"},[t._m(1)]):s("div",{staticClass:"card-body flex-grow-0 py-1"},[t.loaded&&t.user.hasOwnProperty("id")?s("div",{staticClass:"reactions my-2 pb-1 d-flex justify-content-between"},[s("h3",{class:[t.reactions.liked?"fas fa-heart text-danger mr-3 m-0 cursor-pointer":"far fa-heart pr-3 m-0 like-btn cursor-pointer"],attrs:{title:"Like"},on:{click:t.likeStatus}}),t._v(" "),t.status.comments_disabled?t._e():s("h3",{staticClass:"far fa-comment mr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.replyFocus(t.status)}}}),t._v(" "),s("h3",{staticClass:"fas fa-expand m-0 mr-3 cursor-pointer",on:{click:function(e){return t.redirect(t.status.media_attachments[0].url)}}}),t._v(" "),"public"==t.status.visibility?s("h3",{class:[t.reactions.bookmarked?"fas fa-bookmark text-warning m-0 mr-3 cursor-pointer":"far fa-bookmark m-0 mr-3 cursor-pointer"],attrs:{title:"Bookmark"},on:{click:t.bookmarkStatus}}):t._e(),t._v(" "),"public"==t.status.visibility?s("h3",{class:[t.reactions.shared?"fas fa-retweet m-0 text-primary cursor-pointer":"fas fa-retweet m-0 share-btn cursor-pointer"],attrs:{title:"Share"},on:{click:t.shareStatus}}):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"reaction-counts mb-0"},[t.status.liked_by.username&&t.status.liked_by.username!==t.user.username?s("div",{staticClass:"likes mb-1"},[s("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tand "),s("span",{staticClass:"font-weight-bold text-dark cursor-pointer",on:{click:t.likesModal}},[t.status.liked_by.total_count_pretty?s("span",[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" others")])]):t._e()])]):t._e()]),t._v(" "),s("div",{staticClass:"timestamp pt-2 d-flex align-items-bottom justify-content-between"},[s("a",{staticClass:"small text-muted",attrs:{href:t.statusUrl,title:t.status.created_at}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.timestampFormat())+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"small text-muted text-capitalize cursor-pointer",on:{click:t.visibilityModal}},[t._v(t._s(t.status.visibility))])])])]),t._v(" "),t.showComments?s("div",{staticClass:"card-footer bg-white sticky-md-bottom p-0"},[0==t.user.length?s("div",{staticClass:"comment-form-guest p-3"},[s("a",{attrs:{href:"/login"}},[t._v("Login")]),t._v(" to like or comment.\n\t\t\t\t\t\t\t")]):s("form",{staticClass:"border-0 rounded-0 align-middle",attrs:{method:"post",action:"/i/comment","data-id":t.statusId,"data-truncate":"false"}},[s("textarea",{staticClass:"form-control border-0 rounded-0",staticStyle:{height:"56px","line-height":"18px","max-height":"80px",resize:"none","padding-right":"4.2rem"},attrs:{name:"comment",placeholder:"Add a comment…",autocomplete:"off",autocorrect:"off"},on:{click:function(e){return t.replyFocus(t.status)}}}),t._v(" "),s("input",{staticClass:"d-inline-block btn btn-link font-weight-bold reply-btn text-decoration-none",attrs:{type:"button",value:"Post",disabled:""}})])]):t._e()])])]),t._v(" "),t.showProfileMorePosts?s("div",{staticClass:"container"},[s("p",{staticClass:"text-lighter px-3 mt-5",staticStyle:{"font-weight":"600","font-size":"15px"}},[t._v("More posts from "),s("a",{staticClass:"text-dark",attrs:{href:t.profileUrl}},[t._v(t._s(this.statusUsername))])]),t._v(" "),s("div",{staticClass:"profile-timeline mt-md-4"},[s("div",{staticClass:"row"},t._l(t.profileMorePosts,(function(e,a){return s("div",{key:"tlob:"+a,staticClass:"col-4 p-1 p-md-3"},[t._o(s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.getStatusUrl(e)}},[s("div",{class:[e.sensitive?"square":"square "+e.media_attachments[0].filter_class]},["photo:album"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?s("span",{staticClass:"float-right mr-3 post-icon"},[s("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),s("div",{staticClass:"square-content",style:t.previewBackground(e)}),t._v(" "),s("div",{staticClass:"info-overlay-text"},[s("h5",{staticClass:"text-white m-auto font-weight-bold"},[s("span",[s("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(e.favourites_count))])]),t._v(" "),s("span",[s("span",{staticClass:"fas fa-retweet fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(e.reblogs_count))])])])])])]),2,"tlob:"+a)])})),0)])]):t._e()])]):t._e(),t._v(" "),"comments"===t.currentLayout?s("comment-card",{attrs:{status:t.status,profile:t.profile,backToStatus:!0},on:{"current-layout":t.setCurrentLayout}}):t._e(),t._v(" "),s("b-modal",{ref:"likesModal",attrs:{id:"l-modal","hide-footer":"",centered:"",title:"Likes","body-class":"list-group-flush py-3 px-0"}},[s("div",{staticClass:"list-group"},[t._l(t.likes,(function(e,a){return s("div",{key:"modal_likes_"+a,staticClass:"list-group-item border-0 py-1"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:e.url}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:e.url}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t")])]),t._v(" "),e.local?s("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.display_name)+"\n\t\t\t\t\t\t")]):s("p",{staticClass:"text-muted mb-0 text-truncate mr-3",staticStyle:{"font-size":"14px"},attrs:{title:e.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.acct.split("@")[0]))]),s("span",{staticClass:"text-lighter"},[t._v("@"+t._s(e.acct.split("@")[1]))])])])])])})),t._v(" "),s("infinite-loading",{attrs:{spinner:"spiral"},on:{infinite:t.infiniteLikesHandler}},[s("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),s("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2)]),t._v(" "),s("b-modal",{ref:"sharesModal",attrs:{id:"s-modal","hide-footer":"",centered:"",title:"Shares","body-class":"list-group-flush py-3 px-0"}},[s("div",{staticClass:"list-group"},[t._l(t.shares,(function(e,a){return s("div",{key:"modal_shares_"+a,staticClass:"list-group-item border-0 py-1"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:e.url}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"d-inline-block"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:e.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.display_name)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s("p",{staticClass:"float-right"})])])])})),t._v(" "),s("infinite-loading",{attrs:{spinner:"spiral"},on:{infinite:t.infiniteSharesHandler}},[s("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),s("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2)]),t._v(" "),s("b-modal",{ref:"taggedModal",attrs:{id:"tagged-modal","hide-footer":"",centered:"",title:"Tagged People","body-class":"list-group-flush py-3 px-0"}},[s("div",{staticClass:"list-group"},t._l(t.status.taggedPeople,(function(e,a){return s("div",{key:"modal_taggedpeople_"+a,staticClass:"list-group-item border-0 py-1"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:"/"+e.username}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"pt-1 d-flex justify-content-between",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"/"+e.username}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t")]),t._v(" "),e.id==t.user.id?s("button",{staticClass:"btn btn-outline-primary btn-sm py-1 px-3",on:{click:function(e){return t.untagMe()}}},[t._v("Untag Me")]):t._e()])])])])})),0),t._v(" "),s("p",{staticClass:"mb-0 text-center small text-muted font-weight-bold"},[s("a",{attrs:{href:"/site/kb/tagging-people"}},[t._v("Learn more")]),t._v(" about Tagging People.")])]),t._v(" "),s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[t.user&&t.user.id!=t.status.account.id&&t.relationship&&t.relationship.following?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger",on:{click:function(e){return t.ctxMenuUnfollow()}}},[t._v("Unfollow")]):t._e(),t._v(" "),t.user&&t.user.id!=t.status.account.id&&t.relationship&&!t.relationship.following?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-primary",on:{click:function(e){return t.ctxMenuFollow()}}},[t._v("Follow")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&t.user.id==t.status.account.id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:t.toggleCommentVisibility}},[t._v(t._s(t.showComments?"Disable":"Enable")+" Comments")]):t._e(),t._v(" "),t.status&&t.user.id==t.status.account.id?s("a",{staticClass:"list-group-item rounded cursor-pointer text-dark text-decoration-none",attrs:{href:t.editUrl()}},[t._v("Edit")]):t._e(),t._v(" "),t.user&&1==t.user.is_admin?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenu()}}},[t._v("ModTools")]):t._e(),t._v(" "),!t.status||t.user.id==t.status.account.id||t.relationship.blocking||t.user.is_admin?t._e():s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger",on:{click:function(e){return t.blockProfile()}}},[t._v("Block")]),t._v(" "),t.status&&t.user.id!=t.status.account.id&&t.relationship.blocking&&!t.user.is_admin?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger",on:{click:function(e){return t.unblockProfile()}}},[t._v("Unblock")]):t._e(),t._v(" "),t.user&&t.user.id!=t.status.account.id&&!t.user.is_admin?s("a",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger text-decoration-none",attrs:{href:t.reportUrl()}},[t._v("Report")]):t._e(),t._v(" "),t.status&&(t.user.is_admin||t.user.id==t.status.account.id)?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger",on:{click:function(e){return t.deletePost(t.ctxMenuStatus)}}},[t._v("Delete")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:t.toggleCommentVisibility}},[t._v(t._s(t.showComments?"Disable":"Enable")+" Comments")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost("unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost("remcw")}}},[t._v("Remove Content Warning")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost("addcw")}}},[t._v("Add Content Warning")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"replyModal",attrs:{id:"ctx-reply-modal","hide-footer":"",centered:"",rounded:"","title-html":t.replyingToUsername?"Reply to "+t.replyingToUsername+"":"","title-tag":"p","title-class":"font-weight-bold text-muted",size:"md","body-class":"p-2 rounded"}},[s("div",[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control",staticStyle:{border:"none","font-size":"18px",resize:"none","white-space":"pre-wrap",outline:"none"},attrs:{rows:"4",placeholder:"Reply here ..."},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}}),t._v(" "),s("div",{staticClass:"border-top border-bottom my-2"},[s("ul",{staticClass:"nav align-items-center emoji-reactions",staticStyle:{"overflow-x":"scroll","flex-wrap":"unset"}},t._l(t.emoji,(function(e){return s("li",{staticClass:"nav-item",on:{click:function(e){return t.emojiReaction(t.status)}}},[t._v(t._s(e))])})),0)]),t._v(" "),s("div",{staticClass:"d-flex justify-content-between align-items-center"},[s("div",[s("span",{staticClass:"pl-2 small text-muted font-weight-bold text-monospace"},[s("span",{class:[t.replyText.length>t.config.uploader.max_caption_length?"text-danger":"text-dark"]},[t._v(t._s(t.replyText.length>t.config.uploader.max_caption_length?t.config.uploader.max_caption_length-t.replyText.length:t.replyText.length))]),t._v("/"+t._s(t.config.uploader.max_caption_length)+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"d-flex align-items-center"},[s("div",{staticClass:"custom-control custom-switch mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replySensitive,expression:"replySensitive"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"replyModalCWSwitch"},domProps:{checked:Array.isArray(t.replySensitive)?t._i(t.replySensitive,null)>-1:t.replySensitive},on:{change:function(e){var s=t.replySensitive,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.replySensitive=s.concat([null])):o>-1&&(t.replySensitive=s.slice(0,o).concat(s.slice(o+1)))}else t.replySensitive=i}}}),t._v(" "),s("label",{class:[t.replySensitive?"custom-control-label font-weight-bold text-dark":"custom-control-label text-lighter"],attrs:{for:"replyModalCWSwitch"}},[t._v("Mark as NSFW")])]),t._v(" "),s("button",{staticClass:"btn btn-primary btn-sm py-2 px-4 lead text-uppercase font-weight-bold",attrs:{disabled:0==t.replyText.length},on:{click:function(e){return e.preventDefault(),t.postReply()}}},[t._v("\n\t\t\t\t\t"+t._s(1==t.replySending?"POSTING":"POST")+"\n\t\t\t\t")])])])])])],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"postCommentsLoader text-center py-2"},[s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])}]},91705:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"container p-0 overflow-hidden"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-6 offset-md-3"},[s("div",{staticClass:"card shadow-none border",staticStyle:{height:"100vh"}},[s("div",{staticClass:"card-header d-flex justify-content-between align-items-center"},[s("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.commentNavigateBack(t.status.id)}}},[s("i",{staticClass:"fas fa-chevron-left fa-lg px-2"})]),t._v(" "),t._m(0),t._v(" "),t._m(1)]),t._v(" "),s("div",{staticClass:"card-body",staticStyle:{"overflow-y":"auto !important"}},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.status.account.avatar,width:"32px",height:"32px"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"d-flex justify-content-between align-items-top mb-0",staticStyle:{"overflow-y":"hidden"}},[s("span",{staticClass:"mr-2",staticStyle:{"font-size":"13px"}},[s("a",{staticClass:"text-dark font-weight-bold mr-1 text-break",attrs:{href:t.profileUrl(t.status),title:t.status.account.username}},[t._v(t._s(t.trimCaption(t.status.account.username,15)))]),t._v(" "),s("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(t.status.content)}})])])])]),t._v(" "),s("hr"),t._v(" "),t._m(2),t._v(" "),s("div",{staticClass:"postCommentsContainer d-none"},[t.replies.length?s("p",{staticClass:"mb-1 text-center load-more-link my-4"},[s("a",{staticClass:"text-dark",attrs:{href:"#",title:"Load more comments"},on:{click:function(e){return e.preventDefault(),t.loadMoreComments.apply(null,arguments)}}},[s("svg",{staticClass:"bi bi-plus-circle",staticStyle:{"font-size":"2em"},attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M8 3.5a.5.5 0 01.5.5v4a.5.5 0 01-.5.5H4a.5.5 0 010-1h3.5V4a.5.5 0 01.5-.5z","clip-rule":"evenodd"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M7.5 8a.5.5 0 01.5-.5h4a.5.5 0 010 1H8.5V12a.5.5 0 01-1 0V8z","clip-rule":"evenodd"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 108 1a7 7 0 000 14zm0 1A8 8 0 108 0a8 8 0 000 16z","clip-rule":"evenodd"}})])])]):t._e(),t._v(" "),t._l(t.replies,(function(e,a){return t.replies.length?s("div",{key:"tl"+e.id+"_"+a,staticClass:"pb-3 media"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:e.account.avatar,width:"32px",height:"32px"}}),t._v(" "),s("div",{staticClass:"media-body"},[1==e.sensitive?s("div",[s("span",{staticClass:"py-3"},[s("a",{staticClass:"text-dark font-weight-bold mr-3",staticStyle:{"font-size":"13px"},attrs:{href:t.profileUrl(e),title:e.account.username}},[t._v(t._s(t.trimCaption(e.account.username,15)))]),t._v(" "),s("span",{staticClass:"text-break",staticStyle:{"font-size":"13px"}},[s("span",{staticClass:"font-italic text-muted"},[t._v("This comment may contain sensitive material")]),t._v(" "),s("span",{staticClass:"text-primary cursor-pointer pl-1",on:{click:function(t){e.sensitive=!1}}},[t._v("Show")])])])]):s("div",[s("p",{staticClass:"d-flex justify-content-between align-items-top read-more mb-0",staticStyle:{"overflow-y":"hidden"}},[s("span",{staticClass:"mr-3",staticStyle:{"font-size":"13px"}},[s("a",{staticClass:"text-dark font-weight-bold mr-1 text-break",attrs:{href:t.profileUrl(e),title:e.account.username}},[t._v(t._s(t.trimCaption(e.account.username,15)))]),t._v(" "),s("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(e.content)}})]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"min-width":"30px"}},[s("span",{on:{click:function(s){return t.likeReply(e,s)}}},[s("i",{class:[e.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})]),t._v(" "),s("span",{staticClass:"pl-2 text-lighter cursor-pointer",on:{click:function(s){return t.ctxMenu(e)}}},[s("span",{staticClass:"fas fa-ellipsis-v text-lighter"})])])]),t._v(" "),s("p",{staticClass:"mb-0"},[t._o(s("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:t.statusUrl(e)},domProps:{textContent:t._s(t.timeAgo(e.created_at))}}),0,"tl"+e.id+"_"+a),t._v(" "),e.favourites_count?s("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3 small"},[t._v(t._s(1==e.favourites_count?"1 like":e.favourites_count+" likes"))]):t._e(),t._v(" "),s("span",{staticClass:"small text-muted comment-reaction font-weight-bold cursor-pointer",on:{click:function(s){return t.replyFocus(e,a,!0)}}},[t._v("Reply")])]),t._v(" "),e.reply_count>0?s("div",{staticClass:"cursor-pointer pb-2",on:{click:function(s){return t.toggleReplies(e)}}},[s("span",{staticClass:"show-reply-bar"}),t._v(" "),s("span",{staticClass:"comment-reaction small font-weight-bold"},[t._v(t._s(e.thread?"Hide":"View")+" Replies ("+t._s(e.reply_count)+")")])]):t._e(),t._v(" "),1==e.thread?s("div",{staticClass:"comment-thread"},t._l(e.replies,(function(e,i){return s("div",{key:"cr"+e.id+"_"+a,staticClass:"py-1 media"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:e.account.avatar,width:"25px",height:"25px"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"d-flex justify-content-between align-items-top read-more mb-0",staticStyle:{"overflow-y":"hidden"}},[s("span",{staticClass:"mr-2",staticStyle:{"font-size":"13px"}},[s("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:t.profileUrl(e),title:e.account.username}},[t._v(t._s(e.account.username))]),t._v(" "),s("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(e.content)}})]),t._v(" "),s("span",[s("span",{on:{click:function(s){return t.likeReply(e,s)}}},[s("i",{class:[e.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})])])]),t._v(" "),s("p",{staticClass:"mb-0"},[t._o(s("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:t.statusUrl(e)},domProps:{textContent:t._s(t.timeAgo(e.created_at))}}),1,"cr"+e.id+"_"+a),t._v(" "),e.favourites_count?s("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3"},[t._v(t._s(1==e.favourites_count?"1 like":e.favourites_count+" likes"))]):t._e()])])])})),0):t._e()])])]):t._e()})),t._v(" "),t.replies.length?t._e():s("div",[s("p",{staticClass:"text-center text-muted font-weight-bold small"},[t._v("No comments yet")])])],2)]),t._v(" "),s("div",{staticClass:"card-footer mb-3"},[s("div",{staticClass:"align-middle d-flex"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.profile.avatar,width:"36",height:"36"}}),t._v(" "),s("textarea",{staticClass:"form-control rounded-pill",staticStyle:{resize:"none","overflow-y":"hidden"},attrs:{name:"comment",placeholder:"Add a comment…",autocomplete:"off",autocorrect:"off",rows:"1",maxlength:"0"},on:{click:function(e){return t.replyFocus(t.status)}}})])])])])])]),t._v(" "),s("context-menu",{ref:"cMenu",attrs:{status:t.ctxMenuStatus,profile:t.profile}}),t._v(" "),s("b-modal",{ref:"replyModal",attrs:{id:"ctx-reply-modal","hide-footer":"",centered:"",rounded:"","title-html":t.status.account?"Reply to "+t.status.account.username+"":"","title-tag":"p","title-class":"font-weight-bold text-muted",size:"md","body-class":"p-2 rounded"}},[s("div",[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control replyModalTextarea",attrs:{rows:"4"},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"border-top border-bottom my-2"},[s("ul",{staticClass:"nav align-items-center emoji-reactions",staticStyle:{"overflow-x":"scroll","flex-wrap":"unset"}},t._l(t.emoji,(function(e){return s("li",{staticClass:"nav-item",on:{click:function(e){return t.emojiReaction(t.status)}}},[t._v(t._s(e))])})),0)]),t._v(" "),s("div",{staticClass:"d-flex justify-content-between align-items-center"},[s("div",[s("span",{staticClass:"pl-2 small text-muted font-weight-bold text-monospace"},[s("span",{class:[t.replyText.length>t.config.uploader.max_caption_length?"text-danger":"text-dark"]},[t._v(t._s(t.replyText.length>t.config.uploader.max_caption_length?t.config.uploader.max_caption_length-t.replyText.length:t.replyText.length))]),t._v("/"+t._s(t.config.uploader.max_caption_length)+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"d-flex align-items-center"},[s("div",{staticClass:"custom-control custom-switch mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyNsfw,expression:"replyNsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"replyModalCWSwitch"},domProps:{checked:Array.isArray(t.replyNsfw)?t._i(t.replyNsfw,null)>-1:t.replyNsfw},on:{change:function(e){var s=t.replyNsfw,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.replyNsfw=s.concat([null])):o>-1&&(t.replyNsfw=s.slice(0,o).concat(s.slice(o+1)))}else t.replyNsfw=i}}}),t._v(" "),s("label",{class:[t.replyNsfw?"custom-control-label font-weight-bold text-dark":"custom-control-label text-lighter"],attrs:{for:"replyModalCWSwitch"}},[t._v("Mark as NSFW")])]),t._v(" "),s("button",{staticClass:"btn btn-primary btn-sm py-2 px-4 lead text-uppercase font-weight-bold",attrs:{disabled:0==t.replyText.length},on:{click:function(e){return e.preventDefault(),t.commentSubmit(t.status,e)}}},[t._v("\n\t\t\t\t\t\t"+t._s(1==t.replySending?"POSTING":"POST")+"\n\t\t\t\t\t")])])])],1)])],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("p",{staticClass:"font-weight-bold mb-0 h5"},[t._v("Comments")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("i",{staticClass:"fas fa-cog fa-lg text-white"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"postCommentsLoader text-center py-2"},[s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])])}]},44913:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.loaded?s("div",[t.showReplyForm?s("div",{staticClass:"card card-body shadow-none border bg-light"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.profile.avatar,width:"32px",height:"32px"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"reply-form form-group mb-0"},[!t.composeText||t.composeText.length<40?s("input",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control rounded-pill",attrs:{placeholder:"Add a comment..."},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}}):s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control",attrs:{placeholder:"Add a comment...",rows:"4"},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),t.composeText&&t.composeText.length?s("div",{staticClass:"btn btn-primary btn-sm rounded-pill font-weight-bold px-3",on:{click:t.submitComment}},[t.postingComment?s("span",[t._m(0)]):s("span",[t._v("Post")])]):t._e()]),t._v(" "),t.composeText?s("div",{staticClass:"reply-options",model:{value:t.visibility,callback:function(e){t.visibility=e},expression:"visibility"}},[t._m(1),t._v(" "),s("div",{staticClass:"custom-control custom-switch"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.sensitive,expression:"sensitive"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"sensitive"},domProps:{checked:Array.isArray(t.sensitive)?t._i(t.sensitive,null)>-1:t.sensitive},on:{change:function(e){var s=t.sensitive,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.sensitive=s.concat([null])):o>-1&&(t.sensitive=s.slice(0,o).concat(s.slice(o+1)))}else t.sensitive=i}}}),t._v(" "),t._m(2)]),t._v(" "),s("span",{staticClass:"text-muted font-weight-bold small"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.composeText.length)+" / 500\n\t\t\t\t\t\t")])]):t._e()])])]):t._e(),t._v(" "),s("div",{staticClass:"d-none card card-body shadow-none border rounded-0 border-top-0 bg-light"},[s("div",{staticClass:"d-flex justify-content-between align-items-center"},[s("p",{staticClass:"font-weight-bold text-muted mb-0 mr-md-5"},[s("i",{staticClass:"fas fa-comment mr-1"}),t._v("\n\t\t\t\t\t"+t._s(t.formatCount(t.pagination.total))+"\n\t\t\t\t")]),t._v(" "),s("h4",{staticClass:"font-weight-bold mb-0 text-lighter"},[t._v("Comments")]),t._v(" "),t._m(3)])]),t._v(" "),t._l(t.feed,(function(t,e){return s("status-card",{key:"replies:"+e,attrs:{status:t,size:"small"}})})),t._v(" "),t.pagination.links.hasOwnProperty("next")?s("div",{staticClass:"card card-body shadow-none rounded-0 border border-top-0 py-3"},[t.loadingMoreComments?s("button",{staticClass:"btn btn-primary",attrs:{disabled:""}},[t._m(4)]):s("button",{staticClass:"btn btn-primary font-weight-bold",on:{click:t.loadMoreComments}},[t._v("Load more comments")])]):t._e(),t._v(" "),t.ctxStatus&&t.profile?s("context-menu",{ref:"cMenu",attrs:{status:t.ctxStatus,profile:t.profile},on:{"status-delete":t.statusDeleted}}):t._e()],2):s("div")])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("select",{staticClass:"form-control form-control-sm rounded-pill font-weight-bold"},[s("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),s("option",{attrs:{value:"private"}},[t._v("Followers Only")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"sensitive"}},[s("span",{staticClass:"d-none d-md-inline-block"},[t._v("Sensitive/")]),t._v("NSFW\n\t\t\t\t\t\t\t")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"form-group mb-0"},[s("select",{staticClass:"form-control form-control-sm"},[s("option",[t._v("New")]),t._v(" "),s("option",[t._v("Oldest")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])}]},22372:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),s("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},56081:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"pl-2 d-flex align-items-top"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?s("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):s("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),s("div",{staticClass:"pl-2"},[s("div",{staticClass:"poll py-3"},[s("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),s("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),s("div",{staticClass:"mb-2"},["vote"===t.tab?s("div",[t._l(t.status.poll.options,(function(e,a){return s("p",[s("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?s("p",{staticClass:"text-right"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?s("div",t._l(t.status.poll.options,(function(e,a){return s("div",{staticClass:"mb-3"},[s("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[s("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),s("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?s("div",t._l(t.status.poll.options,(function(e,a){return s("div",{staticClass:"mb-3"},[s("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[s("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),s("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),s("div",[s("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[s("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?s("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?s("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),s("div",[s("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),s("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[s("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),s("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"btn btn-primary px-2 py-1"},[e("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])}]},91927:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?s("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"pl-2 d-flex align-items-top"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),s("div",{staticClass:"pl-2"},[t.status.sensitive?s("details",[s("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),s("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):s("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),s("p",{staticClass:"mb-0"},[s("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),s("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?s("div",[s("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):s("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?s("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[s("div",[s("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),s("div",{staticClass:"pl-2"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\tLoading...\n\t\t\t\t")]),t._v(" "),t.status.account.is_admin?s("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-center"},[t.status.place?s("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),t.canFollow(t.status)?s("div",[s("span",{staticClass:"px-2"}),t._v(" "),s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.follow(t.status.account.id)}}},[s("i",{staticClass:"far fa-user-plus mr-1"}),t._v(" Follow")])]):t._e(),t._v(" "),t.status.hasOwnProperty("relationship")&&t.status.relationship.hasOwnProperty("following")&&t.status.relationship.following?s("div",[s("span",{staticClass:"px-2"}),t._v(" "),s("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.unfollow(t.status.account.id)}}},[s("i",{staticClass:"far fa-user-check mr-1"}),t._v(" Following")])]):t._e(),t._v(" "),s("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):s("div",{staticClass:"w-100"},[s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?s("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[s("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[s("span",[s("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),s("div",{staticClass:"card-body"},[t.reactionBar?s("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?s("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):s("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():s("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?s("span",{staticClass:"float-right"},[s("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[s("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,e){return s("span",{staticClass:"mr-n2"},[s("a",{attrs:{href:"/"+t.username}},[s("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?s("div",{staticClass:"likes mb-1"},[s("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?s("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?s("div",{staticClass:"caption"},[t.status.sensitive?t._e():s("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[s("span",{staticClass:"username font-weight-bold"},[s("bdi",[s("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),s("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),s("div",{staticClass:"timestamp mt-2"},[s("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?s("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[s("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):s("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),s("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?s("span",[s("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),s("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),s("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},34812:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(e,a){return s("b-carousel-slide",{key:e.id+"-media"},["video"==e.type?s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:e.url,type:e.mime}})]):"image"==e.type?s("div",{attrs:{slot:"img",title:e.description},slot:"img"},[s("img",{class:e.filter_class+" d-block img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):s("div",{staticClass:"w-100 h-100 p-0"},[s("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(e,a){return s("slide",{key:"px-carousel-"+e.id+"-"+a,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==e.type?s("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:e.description,width:"100%",height:"100%"}},[s("source",{attrs:{src:e.url,type:e.mime}})]):"image"==e.type?s("div",{attrs:{title:e.description}},[s("img",{class:e.filter_class+" img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},i=[]},32353:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[s("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-"+t.status.id}},t._l(t.status.media_attachments,(function(e,a){return s("slide",{key:"px-carousel-"+e.id+"-"+a,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:e.description}},[s("img",{class:e.filter_class+" img-fluid w-100 p-0",attrs:{src:e.url,alt:t.altText(e),loading:"lazy","data-bp":e.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),s("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?s("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(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),s("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(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?s("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))"}},[s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},59500:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",[s("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[s("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("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(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?s("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))"}},[s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},36310:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return s("b-carousel-slide",{key:t.id+"-media"},[s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):s("div",[s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return s("b-carousel-slide",{key:t.id+"-media"},[s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},i=[]},44892:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",{staticClass:"embed-responsive embed-responsive-16by9"},[s("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:"","data-id":t.status.id}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]}},t=>{t.O(0,[898],(()=>{return e=68059,t(t.s=e);var e}));t.O()}]); \ No newline at end of file diff --git a/public/js/rempro.js b/public/js/rempro.js index 0fefb5d03..b71e40442 100644 --- a/public/js/rempro.js +++ b/public/js/rempro.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[665],{65625:(t,e,s)=>{"use strict";function o(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return i(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);sa});const a={props:["profile-id"],components:{StatusCard:s(19210).default},data:function(){return{id:[],ids:[],user:!1,profile:{},feed:[],min_id:null,max_id:null,loading:!0,owner:!1,layoutType:!0,relationship:null,warning:!1,ctxMenuStatus:!1,ctxMenuRelationship:!1,fetchingRemotePosts:!1,showMutualFollowers:!1,loadingMore:!1,showLoadMore:!0,followers:[],followerCursor:1,followerMore:!0,followerLoading:!0,following:[],followingCursor:1,followingMore:!0,followingLoading:!0,followingModalSearch:null,followingModalSearchCache:null,followingModalTab:"following"}},beforeMount:function(){this.fetchRelationships(),this.fetchProfile()},updated:function(){document.querySelectorAll(".hashtag").forEach((function(t,e){t.href=App.util.format.rewriteLinks(t)}))},methods:{fetchProfile:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.user=e.data,window._sharedData.curUser=e.data,window.App.util.navatar()})),axios.get("/api/pixelfed/v1/accounts/"+this.profileId).then((function(e){t.profile=e.data,t.fetchPosts()}))},fetchPosts:function(){var t=this,e="/api/pixelfed/v1/accounts/"+this.profileId+"/statuses";axios.get(e,{params:{only_media:!0,min_id:1}}).then((function(e){var s=e.data.filter((function(t){return t.media_attachments.length>0})),i=s.map((function(t){return t.id}));t.ids=i,t.min_id=Math.max.apply(Math,o(i)),t.max_id=Math.min.apply(Math,o(i)),t.feed=s,t.loading=!1})).catch((function(t){swal("Oops, something went wrong","Please release the page.","error")}))},loadMorePosts:function(){var t=this;this.loadingMore=!0;var e="/api/pixelfed/v1/accounts/"+this.profileId+"/statuses";axios.get(e,{params:{only_media:!0,max_id:this.max_id}}).then((function(e){var s,i,a=e.data.filter((function(e){return-1===t.ids.indexOf(e.id)})).filter((function(t){return t.media_attachments.length>0})).map((function(t){return{id:t.id,caption:{text:t.content_text,html:t.content},count:{likes:t.favourites_count,shares:t.reblogs_count,comments:t.reply_count},thumb:t.media_attachments[0].url,media:t.media_attachments,timestamp:t.created_at,type:t.pf_type,url:t.url,sensitive:t.sensitive,cw:t.sensitive,spoiler_text:t.spoiler_text}})),n=a.map((function(t){return t.id}));(s=t.ids).push.apply(s,o(n)),t.max_id=Math.min.apply(Math,o(n)),(i=t.feed).push.apply(i,o(a)),t.loadingMore=!1})).catch((function(e){t.loadingMore=!1,t.showLoadMore=!1}))},fetchRelationships:function(){var t=this;0!=document.querySelectorAll("body")[0].classList.contains("loggedIn")&&axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profileId}}).then((function(e){e.data.length&&(t.relationship=e.data[0],1==e.data[0].blocking&&(t.loading=!1,t.warning=!0))}))},postPreviewUrl:function(t){return'background: url("'+t.thumb+'");background-size:cover'},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},remoteProfileUrl:function(t){return"/i/web/profile/_/"+t.id},remotePostUrl:function(t){return"/i/web/post/_/"+this.profile.id+"/"+t.id},followProfile:function(){var t=this;axios.post("/i/follow",{item:this.profileId}).then((function(e){swal("Followed","You are now following "+t.profile.username+"!","success"),t.relationship.following=!0})).catch((function(t){swal("Oops!","Something went wrong, please try again later.","error")}))},unfollowProfile:function(){var t=this;axios.post("/i/follow",{item:this.profileId}).then((function(e){swal("Unfollowed","You are no longer following "+t.profile.username+".","warning"),t.relationship.following=!1})).catch((function(t){swal("Oops!","Something went wrong, please try again later.","error")}))},showCtxMenu:function(){this.$refs.visitorContextMenu.show()},copyProfileLink:function(){navigator.clipboard.writeText(window.location.href),this.$refs.visitorContextMenu.hide()},muteProfile:function(){var t=this,e=this.profileId;axios.post("/i/mute",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully muted "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")})),this.$refs.visitorContextMenu.hide()},unmuteProfile:function(){var t=this,e=this.profileId;axios.post("/i/unmute",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully unmuted "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")})),this.$refs.visitorContextMenu.hide()},blockProfile:function(){var t=this,e=this.profileId;axios.post("/i/block",{type:"user",item:e}).then((function(e){t.warning=!0,t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully blocked "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")})),this.$refs.visitorContextMenu.hide()},unblockProfile:function(){var t=this,e=this.profileId;axios.post("/i/unblock",{type:"user",item:e}).then((function(e){t.warning=!1,t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully unblocked "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")})),this.$refs.visitorContextMenu.hide()},reportProfile:function(){window.location.href="/l/i/report?type=profile&id="+this.profileId,this.$refs.visitorContextMenu.hide()},ctxMenu:function(t){this.ctxMenuStatus=t;var e=this;axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":e.profileId}}).then((function(t){e.ctxMenuRelationship=t.data[0],e.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeCtxMenu()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},statusUrl:function(t){return"/i/web/post/_/"+this.profile.id+"/"+t.id},deletePost:function(t){var e=this;0!=this.user.is_admin&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.feed=e.feed.filter((function(e){return e.id!=t.id})),e.$refs.ctxModal.hide()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},manuallyFetchRemotePosts:function(t){this.fetchingRemotePosts=!0,event.target.blur(),swal("Fetching Remote Posts","Check back in a few minutes!","info")},timeAgo:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return null==t?"never":(e=e?" "+e:"",App.util.format.timeAgo(t)+e)},urlRedirectHandler:function(t){var e="";new URL(t).hostname==window.location.hostname?e=t:(e="/i/redirect?url=",e+=encodeURI(t)),window.location.href=e},followingModal:function(){var t=this;return this.followingCursor>1||axios.get("/api/pixelfed/v1/accounts/"+this.profileId+"/following",{params:{page:this.followingCursor}}).then((function(e){t.following=e.data,t.followingModalSearchCache=e.data,t.followingCursor++,e.data.length<10&&(t.followingMore=!1),t.followingLoading=!1})),void this.$refs.followingModal.show()},followersModal:function(){var t=this;return this.followerCursor>1||axios.get("/api/pixelfed/v1/accounts/"+this.profileId+"/followers",{params:{page:this.followerCursor}}).then((function(e){var s;(s=t.followers).push.apply(s,o(e.data)),t.followerCursor++,e.data.length<10&&(t.followerMore=!1),t.followerLoading=!1})),void this.$refs.followerModal.show()},followingLoadMore:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/following",{params:{page:this.followingCursor,fbu:this.followingModalSearch}}).then((function(e){var s;e.data.length>0&&((s=t.following).push.apply(s,o(e.data)),t.followingCursor++,t.followingModalSearchCache=t.following);e.data.length<10&&(t.followingModalSearchCache=t.following,t.followingMore=!1)}))},followersLoadMore:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/followers",{params:{page:this.followerCursor}}).then((function(e){var s;e.data.length>0&&((s=t.followers).push.apply(s,o(e.data)),t.followerCursor++);e.data.length<10&&(t.followerMore=!1)}))},profileUrlRedirect:function(t){return 1==t.local?t.url:"/i/web/profile/_/"+t.id},followingModalSearchHandler:function(){var t=this,e=this,s=this.followingModalSearch;if(0==s.length&&(this.following=this.followingModalSearchCache,this.followingModalSearch=null),s.length>0){var o="/api/pixelfed/v1/accounts/"+e.profileId+"/following?page=1&fbu="+s;axios.get(o).then((function(e){t.following=e.data})).catch((function(t){e.following=e.followingModalSearchCache,e.followingModalSearch=null}))}}}}},53999:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),a=this;switch(e){case"addcw":i="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,a.closeModals(),a.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),a.closeModals(),a.ctxModMenuClose()}))}));break;case"remcw":i="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,a.closeModals(),a.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),a.closeModals(),a.ctxModMenuClose()}))}));break;case"unlist":i="Are you sure you want to unlist this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){o.feed=o.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":i="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=o("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},55192:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(20415),i=s(19755);const a={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":o.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at){"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(20415),i=s(97622),a=s(19755);const n={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":o.default,"poll-card":i.default},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,o=t.account.username,i=document.createElement("a");switch(i.href=t.account.url,i=i.hostname,e){case"@":default:return o+'@'+i+"";case"from":return o+' from '+i+"";case"custom":return o+' '+s+" "+i+""}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=a("body").hasClass("loggedIn")){var s=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var s=this;this.replySending=!0;var o=t.id,i=this.replyText,a=this.config.uploader.max_caption_length;if(i.length>a)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+a+" characters or less.","error");axios.post("/i/comment",{item:o,comment:i,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)},canFollow:function(t){return!!t.hasOwnProperty("relationship")&&(!(!t.hasOwnProperty("account")||!t.account.hasOwnProperty("id"))&&(t.account.id!=this.profile.id&&!t.relationship.following))},follow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!0,e.$emit("followed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},unfollow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!1,e.$emit("unfollowed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))}}}},7768:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"]}},10578:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,o.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var o="forward";e.advancePage(o),e.$emit("navigation-click",o)}}}}},15464:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,o.default)({el:t.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}}}},63049:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"]}},67223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")}}}},48473:(t,e,s)=>{Vue.component("photo-presenter",s(23251).default),Vue.component("video-presenter",s(53973).default),Vue.component("photo-album-presenter",s(33872).default),Vue.component("video-album-presenter",s(76644).default),Vue.component("mixed-album-presenter",s(57374).default),Vue.component("remote-profile",s(14083).default)},64482:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,"@media (min-width:1200px){.container[data-v-36d6de0c]{max-width:1050px}}",""]);const a=i},7524:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-5fea84a1]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-5fea84a1]{position:relative}.content-label[data-v-5fea84a1]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-5fea84a1]{position:relative}",""]);const a=i},11335:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-77d48172]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-77d48172]{position:relative}.content-label[data-v-77d48172]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const a=i},2187:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".content-label-wrapper[data-v-6e29e1c6]{position:relative}.content-label[data-v-6e29e1c6]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const a=i},77543:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}",""]);const a=i},2714:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),a=s(64482),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},53548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),a=s(7524),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},32620:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),a=s(11335),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},21881:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),a=s(2187),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},49852:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),a=s(77543),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},14083:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(58113),i=s(47926),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(286);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"36d6de0c",null).exports},20415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(53242),i=s(25266),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},97622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(46594),i=s(97381),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},19210:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(48661),i=s(71334),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(66117);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},57374:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(10650),i=s(4220),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},33872:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(15866),i=s(10878),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(79480);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"5fea84a1",null).exports},23251:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(42415),i=s(29911),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(37423);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"77d48172",null).exports},76644:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(63027),i=s(18411),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},53973:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(59132),i=s(44976),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(64732);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"6e29e1c6",null).exports},47926:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(65625),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},25266:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(53999),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},97381:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(55192),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},71334:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(86637),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},4220:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(7768),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},10878:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(10578),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},29911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(15464),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},18411:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(63049),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},44976:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(67223),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},286:(t,e,s)=>{"use strict";s.r(e);var o=s(2714),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},79480:(t,e,s)=>{"use strict";s.r(e);var o=s(53548),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},37423:(t,e,s)=>{"use strict";s.r(e);var o=s(32620),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},64732:(t,e,s)=>{"use strict";s.r(e);var o=s(21881),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},66117:(t,e,s)=>{"use strict";s.r(e);var o=s(49852),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},58113:(t,e,s)=>{"use strict";s.r(e);var o=s(91029),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},53242:(t,e,s)=>{"use strict";s.r(e);var o=s(22372),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},46594:(t,e,s)=>{"use strict";s.r(e);var o=s(56081),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},48661:(t,e,s)=>{"use strict";s.r(e);var o=s(91927),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},10650:(t,e,s)=>{"use strict";s.r(e);var o=s(34812),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},15866:(t,e,s)=>{"use strict";s.r(e);var o=s(87182),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},42415:(t,e,s)=>{"use strict";s.r(e);var o=s(65654),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},63027:(t,e,s)=>{"use strict";s.r(e);var o=s(36310),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},59132:(t,e,s)=>{"use strict";s.r(e);var o=s(38508),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},91029:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.relationship&&t.relationship.blocking&&t.warning?s("div",{staticClass:"bg-white pt-3 border-bottom"},[s("div",{staticClass:"container"},[s("p",{staticClass:"text-center font-weight-bold"},[t._v("You are blocking this account")]),t._v(" "),s("p",{staticClass:"text-center font-weight-bold"},[t._v("Click "),s("a",{staticClass:"cursor-pointer",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.warning=!1}}},[t._v("here")]),t._v(" to view profile")])])]):t._e(),t._v(" "),t.loading?s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"80vh"}},[s("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]):t._e(),t._v(" "),t.loading||t.warning?t._e():s("div",{staticClass:"container"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-4 pt-5"},[s("div",{staticClass:"card shadow-none border"},[s("div",{staticClass:"card-header p-0 m-0"},[t.profile.header_bg?s("img",{staticStyle:{width:"100%",height:"140px","object-fit":"cover"},attrs:{src:t.profile.header_bg}}):s("div",{staticClass:"bg-primary",staticStyle:{width:"100%",height:"140px"}})]),t._v(" "),s("div",{staticClass:"card-body pb-0"},[s("div",{staticClass:"mt-n5 mb-3"},[s("img",{staticClass:"rounded-circle p-1 border mt-n4 bg-white shadow",attrs:{src:t.profile.avatar,width:"90px",height:"90px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("span",{staticClass:"float-right mt-n1"},[s("span",[t.relationship&&0==t.relationship.following?s("button",{staticClass:"btn btn-outline-light py-0 px-3 mt-n1",staticStyle:{"font-size":"13px","font-weight":"500"},on:{click:function(e){return t.followProfile()}}},[t._v("Follow")]):t._e(),t._v(" "),t.relationship&&1==t.relationship.following?s("button",{staticClass:"btn btn-outline-light py-0 px-3 mt-n1",staticStyle:{"font-size":"13px","font-weight":"500"},on:{click:function(e){return t.unfollowProfile()}}},[t._v("Unfollow")]):t._e()]),t._v(" "),s("span",{staticClass:"mx-2"},[s("a",{staticClass:"btn btn-outline-light btn-sm mt-n1",staticStyle:{"padding-top":"2px","padding-bottom":"1px"},attrs:{href:"/account/direct/t/"+t.profile.id}},[s("i",{staticClass:"far fa-comment-dots cursor-pointer",staticStyle:{"font-size":"13px"}})])]),t._v(" "),s("span",[s("button",{staticClass:"btn btn-outline-light btn-sm mt-n1",staticStyle:{"padding-top":"2px","padding-bottom":"1px"},on:{click:function(e){return t.showCtxMenu()}}},[s("i",{staticClass:"fas fa-cog cursor-pointer",staticStyle:{"font-size":"13px"}})])])])]),t._v(" "),s("p",{staticClass:"pl-2 h4 font-weight-bold mb-1"},[t._v(t._s(t.profile.display_name))]),t._v(" "),s("p",{staticClass:"pl-2 font-weight-bold mb-2"},[s("a",{staticClass:"text-muted",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.urlRedirectHandler(t.profile.url)}}},[t._v(t._s(t.profile.acct))])]),t._v(" "),s("p",{staticClass:"pl-2 text-muted small d-flex justify-content-between"},[s("span",[s("span",{staticClass:"font-weight-bold text-dark"},[t._v(t._s(t.profile.statuses_count))]),t._v(" "),s("span",[t._v("Posts")])]),t._v(" "),s("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.followingModal()}}},[s("span",{staticClass:"font-weight-bold text-dark"},[t._v(t._s(t.profile.following_count))]),t._v(" "),s("span",[t._v("Following")])]),t._v(" "),s("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.followersModal()}}},[s("span",{staticClass:"font-weight-bold text-dark"},[t._v(t._s(t.profile.followers_count))]),t._v(" "),s("span",[t._v("Followers")])])]),t._v(" "),s("p",{staticClass:"pl-2 text-muted small pt-2",domProps:{innerHTML:t._s(t.profile.note)}})])]),t._v(" "),s("p",{staticClass:"small text-lighter p-2"},[t._v("Last updated: "),s("time",{attrs:{datetime:t.profile.last_fetched_at}},[t._v(t._s(t.timeAgo(t.profile.last_fetched_at,"ago")))])]),t._v(" "),s("p",{staticClass:"card border-left-primary card-body small py-2 text-muted font-weight-bold shadow-none border-top border-bottom border-right"},[t._v("You are viewing a profile from a remote server, it may not contain up-to-date information.")])]),t._v(" "),s("div",{staticClass:"col-12 col-md-8 pt-5"},[s("div",{staticClass:"row"},[t._l(t.feed,(function(t,e){return s("div",{key:"remprop"+e,staticClass:"col-12"},[s("status-card",{class:{"border-top":0===e},attrs:{status:t}})],1)})),t._v(" "),0==t.feed.length?s("div",{staticClass:"col-12 mb-2"},[t._m(0)]):s("div",{staticClass:"col-12 mt-4"},[t.showLoadMore?s("p",{staticClass:"text-center mb-0 px-0"},[s("button",{staticClass:"btn btn-outline-primary btn-block font-weight-bold",on:{click:function(e){return t.loadMorePosts()}}},[t.loadingMore?s("span",[t._m(1)]):s("span",[t._v("Load More")])])]):t._e()])],2)])]),t._v(" "),t.profile&&t.following?s("b-modal",{ref:"followingModal",attrs:{id:"following-modal","hide-footer":"",centered:"",scrollable:"",title:"Following","body-class":"list-group-flush py-3 px-0","dialog-class":"follow-modal"}},[t.followingLoading?s("div",{staticClass:"text-center py-5"},[s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):s("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.following.length?s("div",[1==t.owner?s("div",{staticClass:"list-group-item border-0 pt-0 px-0 mt-n2 mb-3"},[s("span",{staticClass:"d-flex px-4 pb-0 align-items-center"},[s("i",{staticClass:"fas fa-search text-lighter"}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.followingModalSearch,expression:"followingModalSearch"}],staticClass:"form-control border-0 shadow-0 no-focus",attrs:{type:"text",placeholder:"Search Following..."},domProps:{value:t.followingModalSearch},on:{keyup:t.followingModalSearchHandler,input:function(e){e.target.composing||(t.followingModalSearch=e.target.value)}}})])]):t._e(),t._v(" "),t._l(t.following,(function(e,o){return s("div",{key:"following_"+o,staticClass:"list-group-item border-0 py-1 mb-1"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:t.profileUrlRedirect(e)}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",loading:"lazy",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0'"}})]),t._v(" "),s("div",{staticClass:"media-body text-truncate"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(e)}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.local?s("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.display_name?e.display_name:e.username)+"\n\t\t\t\t\t\t\t\t")]):s("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:e.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.acct.split("@")[0]))]),s("span",{staticClass:"text-lighter"},[t._v("@"+t._s(e.acct.split("@")[1]))])])]),t._v(" "),t.owner?s("div",[s("a",{staticClass:"btn btn-outline-dark btn-sm font-weight-bold",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.followModalAction(e.id,o,"following")}}},[t._v("Following")])]):t._e()])])})),t._v(" "),t.followingModalSearch&&0==t.following.length?s("div",{staticClass:"list-group-item border-0"},[s("div",{staticClass:"list-group-item border-0 pt-5"},[s("p",{staticClass:"p-3 text-center mb-0 lead"},[t._v("No Results Found")])])]):t._e(),t._v(" "),t.following.length>0&&t.followingMore?s("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followingLoadMore()}}},[s("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):s("div",{staticClass:"list-group-item border-0"},[s("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[s("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" is not following yet")])])])]):t._e(),t._v(" "),s("b-modal",{ref:"followerModal",attrs:{id:"follower-modal","hide-footer":"",centered:"",scrollable:"",title:"Followers","body-class":"list-group-flush py-3 px-0","dialog-class":"follow-modal"}},[t.followerLoading?s("div",{staticClass:"text-center py-5"},[s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):s("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.followers.length?s("div",[t._l(t.followers,(function(e,o){return s("div",{key:"follower_"+o,staticClass:"list-group-item border-0 py-1 mb-1"},[s("div",{staticClass:"media mb-0"},[s("a",{attrs:{href:t.profileUrlRedirect(e)}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",height:"30px",loading:"lazy",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0'"}})]),t._v(" "),s("div",{staticClass:"media-body mb-0"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(e)}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.local?s("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.display_name?e.display_name:e.username)+"\n\t\t\t\t\t\t\t\t")]):s("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:e.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.acct.split("@")[0]))]),s("span",{staticClass:"text-lighter"},[t._v("@"+t._s(e.acct.split("@")[1]))])])])])])})),t._v(" "),t.followers.length&&t.followerMore?s("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followersLoadMore()}}},[s("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):s("div",{staticClass:"list-group-item border-0"},[s("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[s("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" has no followers yet")])])])]),t._v(" "),s("b-modal",{ref:"visitorContextMenu",attrs:{id:"visitor-context-menu","hide-footer":"","hide-header":"",centered:"",size:"sm","body-class":"list-group-flush p-0"}},[t.relationship?s("div",{staticClass:"list-group"},[s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.copyProfileLink}},[t._v("\n\t\t\t\t\tCopy Link\n\t\t\t\t")]),t._v(" "),!t.user||t.owner||t.relationship.muting?t._e():s("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.muteProfile}},[t._v("\n\t\t\t\t\tMute\n\t\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.muting?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.unmuteProfile}},[t._v("\n\t\t\t\t\tUnmute\n\t\t\t\t")]):t._e(),t._v(" "),t.user&&!t.owner?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.reportProfile}},[t._v("\n\t\t\t\t\tReport User\n\t\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.blocking?t._e():s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.blockProfile}},[t._v("\n\t\t\t\t\tBlock\n\t\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.blocking?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.unblockProfile}},[t._v("\n\t\t\t\t\tUnblock\n\t\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-muted",on:{click:function(e){return t.$refs.visitorContextMenu.hide()}}},[t._v("\n\t\t\t\t\tClose\n\t\t\t\t")])]):t._e()]),t._v(" "),s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[t.ctxMenuStatus&&t.profile.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report inappropriate")]):t._e(),t._v(" "),t.ctxMenuStatus&&t.profile.id!=t.profile.id&&t.ctxMenuRelationship&&t.ctxMenuRelationship.following?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger",on:{click:function(e){return t.ctxMenuUnfollow()}}},[t._v("Unfollow")]):t._e(),t._v(" "),t.ctxMenuStatus&&t.profile.id!=t.profile.id&&t.ctxMenuRelationship&&!t.ctxMenuRelationship.following?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-primary",on:{click:function(e){return t.ctxMenuFollow()}}},[t._v("Follow")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("Go to post")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.profile&&1==t.profile.is_admin?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.ctxMenuStatus&&(t.profile.is_admin||t.profile.id==t.profile.id)?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.deletePost(t.ctxMenuStatus)}}},[t._v("Delete")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])])],1)])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex justify-content-center align-items-center bg-white border rounded",staticStyle:{height:"60vh"}},[s("div",{staticClass:"text-center"},[s("p",{staticClass:"lead"},[t._v("We haven't seen any posts from this account.")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])}]},22372:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var a=t._i(s,null);o.checked?a<0&&(t.ctxEmbedShowCaption=s.concat([null])):a>-1&&(t.ctxEmbedShowCaption=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var a=t._i(s,null);o.checked?a<0&&(t.ctxEmbedShowLikes=s.concat([null])):a>-1&&(t.ctxEmbedShowLikes=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var a=t._i(s,null);o.checked?a<0&&(t.ctxEmbedCompactMode=s.concat([null])):a>-1&&(t.ctxEmbedCompactMode=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),s("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},56081:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"pl-2 d-flex align-items-top"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?s("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):s("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),s("div",{staticClass:"pl-2"},[s("div",{staticClass:"poll py-3"},[s("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),s("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),s("div",{staticClass:"mb-2"},["vote"===t.tab?s("div",[t._l(t.status.poll.options,(function(e,o){return s("p",[s("button",{staticClass:"btn btn-block lead rounded-pill",class:[o==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?s("p",{staticClass:"text-right"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?s("div",t._l(t.status.poll.options,(function(e,o){return s("div",{staticClass:"mb-3"},[s("button",{staticClass:"btn btn-block lead rounded-pill",class:[o==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[s("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),s("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?s("div",t._l(t.status.poll.options,(function(e,o){return s("div",{staticClass:"mb-3"},[s("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[s("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),s("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),s("div",[s("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[s("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?s("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?s("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),s("div",[s("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),s("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[s("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),s("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"btn btn-primary px-2 py-1"},[e("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])}]},91927:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?s("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"pl-2 d-flex align-items-top"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),s("div",{staticClass:"pl-2"},[t.status.sensitive?s("details",[s("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),s("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):s("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),s("p",{staticClass:"mb-0"},[s("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),s("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?s("div",[s("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):s("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?s("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[s("div",[s("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),s("div",{staticClass:"pl-2"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\tLoading...\n\t\t\t\t")]),t._v(" "),t.status.account.is_admin?s("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-center"},[t.status.place?s("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),t.canFollow(t.status)?s("div",[s("span",{staticClass:"px-2"}),t._v(" "),s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.follow(t.status.account.id)}}},[s("i",{staticClass:"far fa-user-plus mr-1"}),t._v(" Follow")])]):t._e(),t._v(" "),t.status.hasOwnProperty("relationship")&&t.status.relationship.hasOwnProperty("following")&&t.status.relationship.following?s("div",[s("span",{staticClass:"px-2"}),t._v(" "),s("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.unfollow(t.status.account.id)}}},[s("i",{staticClass:"far fa-user-check mr-1"}),t._v(" Following")])]):t._e(),t._v(" "),s("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):s("div",{staticClass:"w-100"},[s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?s("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[s("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[s("span",[s("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),s("div",{staticClass:"card-body"},[t.reactionBar?s("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?s("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):s("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():s("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?s("span",{staticClass:"float-right"},[s("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[s("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,e){return s("span",{staticClass:"mr-n2"},[s("a",{attrs:{href:"/"+t.username}},[s("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?s("div",{staticClass:"likes mb-1"},[s("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?s("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?s("div",{staticClass:"caption"},[t.status.sensitive?t._e():s("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[s("span",{staticClass:"username font-weight-bold"},[s("bdi",[s("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),s("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),s("div",{staticClass:"timestamp mt-2"},[s("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?s("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[s("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):s("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),s("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?s("span",[s("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),s("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),s("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},34812:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(e,o){return s("b-carousel-slide",{key:e.id+"-media"},["video"==e.type?s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:e.url,type:e.mime}})]):"image"==e.type?s("div",{attrs:{slot:"img",title:e.description},slot:"img"},[s("img",{class:e.filter_class+" d-block img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):s("div",{staticClass:"w-100 h-100 p-0"},[s("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(e,o){return s("slide",{key:"px-carousel-"+e.id+"-"+o,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==e.type?s("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:e.description,width:"100%",height:"100%"}},[s("source",{attrs:{src:e.url,type:e.mime}})]):"image"==e.type?s("div",{attrs:{title:e.description}},[s("img",{class:e.filter_class+" img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},i=[]},87182:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[s("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-"+t.status.id}},t._l(t.status.media_attachments,(function(e,o){return s("slide",{key:"px-carousel-"+e.id+"-"+o,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:e.description}},[s("img",{class:e.filter_class+" img-fluid w-100 p-0",attrs:{src:e.url,alt:t.altText(e),loading:"lazy","data-bp":e.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),s("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?s("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(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),s("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(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?s("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))"}},[s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},65654:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",[s("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[s("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("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(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?s("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))"}},[s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},36310:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return s("b-carousel-slide",{key:t.id+"-media"},[s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):s("div",[s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return s("b-carousel-slide",{key:t.id+"-media"},[s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},i=[]},38508:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",{staticClass:"embed-responsive embed-responsive-16by9"},[s("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:"","data-id":t.status.id}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]}},t=>{t.O(0,[898],(()=>{return e=48473,t(t.s=e);var e}));t.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[665],{65625:(t,e,s)=>{"use strict";function o(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return i(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);sa});const a={props:["profile-id"],components:{StatusCard:s(19210).default},data:function(){return{id:[],ids:[],user:!1,profile:{},feed:[],min_id:null,max_id:null,loading:!0,owner:!1,layoutType:!0,relationship:null,warning:!1,ctxMenuStatus:!1,ctxMenuRelationship:!1,fetchingRemotePosts:!1,showMutualFollowers:!1,loadingMore:!1,showLoadMore:!0,followers:[],followerCursor:1,followerMore:!0,followerLoading:!0,following:[],followingCursor:1,followingMore:!0,followingLoading:!0,followingModalSearch:null,followingModalSearchCache:null,followingModalTab:"following"}},beforeMount:function(){this.fetchRelationships(),this.fetchProfile()},updated:function(){document.querySelectorAll(".hashtag").forEach((function(t,e){t.href=App.util.format.rewriteLinks(t)}))},methods:{fetchProfile:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.user=e.data,window._sharedData.curUser=e.data,window.App.util.navatar()})),axios.get("/api/pixelfed/v1/accounts/"+this.profileId).then((function(e){t.profile=e.data,t.fetchPosts()}))},fetchPosts:function(){var t=this,e="/api/pixelfed/v1/accounts/"+this.profileId+"/statuses";axios.get(e,{params:{only_media:!0,min_id:1}}).then((function(e){var s=e.data.filter((function(t){return t.media_attachments.length>0})),i=s.map((function(t){return t.id}));t.ids=i,t.min_id=Math.max.apply(Math,o(i)),t.max_id=Math.min.apply(Math,o(i)),t.feed=s,t.loading=!1})).catch((function(t){swal("Oops, something went wrong","Please release the page.","error")}))},loadMorePosts:function(){var t=this;this.loadingMore=!0;var e="/api/pixelfed/v1/accounts/"+this.profileId+"/statuses";axios.get(e,{params:{only_media:!0,max_id:this.max_id}}).then((function(e){var s,i,a=e.data.filter((function(e){return-1===t.ids.indexOf(e.id)})).filter((function(t){return t.media_attachments.length>0})).map((function(t){return{id:t.id,caption:{text:t.content_text,html:t.content},count:{likes:t.favourites_count,shares:t.reblogs_count,comments:t.reply_count},thumb:t.media_attachments[0].url,media:t.media_attachments,timestamp:t.created_at,type:t.pf_type,url:t.url,sensitive:t.sensitive,cw:t.sensitive,spoiler_text:t.spoiler_text}})),n=a.map((function(t){return t.id}));(s=t.ids).push.apply(s,o(n)),t.max_id=Math.min.apply(Math,o(n)),(i=t.feed).push.apply(i,o(a)),t.loadingMore=!1})).catch((function(e){t.loadingMore=!1,t.showLoadMore=!1}))},fetchRelationships:function(){var t=this;0!=document.querySelectorAll("body")[0].classList.contains("loggedIn")&&axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profileId}}).then((function(e){e.data.length&&(t.relationship=e.data[0],1==e.data[0].blocking&&(t.loading=!1,t.warning=!0))}))},postPreviewUrl:function(t){return'background: url("'+t.thumb+'");background-size:cover'},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},remoteProfileUrl:function(t){return"/i/web/profile/_/"+t.id},remotePostUrl:function(t){return"/i/web/post/_/"+this.profile.id+"/"+t.id},followProfile:function(){var t=this;axios.post("/i/follow",{item:this.profileId}).then((function(e){swal("Followed","You are now following "+t.profile.username+"!","success"),t.relationship.following=!0})).catch((function(t){swal("Oops!","Something went wrong, please try again later.","error")}))},unfollowProfile:function(){var t=this;axios.post("/i/follow",{item:this.profileId}).then((function(e){swal("Unfollowed","You are no longer following "+t.profile.username+".","warning"),t.relationship.following=!1})).catch((function(t){swal("Oops!","Something went wrong, please try again later.","error")}))},showCtxMenu:function(){this.$refs.visitorContextMenu.show()},copyProfileLink:function(){navigator.clipboard.writeText(window.location.href),this.$refs.visitorContextMenu.hide()},muteProfile:function(){var t=this,e=this.profileId;axios.post("/i/mute",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully muted "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")})),this.$refs.visitorContextMenu.hide()},unmuteProfile:function(){var t=this,e=this.profileId;axios.post("/i/unmute",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully unmuted "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")})),this.$refs.visitorContextMenu.hide()},blockProfile:function(){var t=this,e=this.profileId;axios.post("/i/block",{type:"user",item:e}).then((function(e){t.warning=!0,t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully blocked "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")})),this.$refs.visitorContextMenu.hide()},unblockProfile:function(){var t=this,e=this.profileId;axios.post("/i/unblock",{type:"user",item:e}).then((function(e){t.warning=!1,t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully unblocked "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")})),this.$refs.visitorContextMenu.hide()},reportProfile:function(){window.location.href="/l/i/report?type=profile&id="+this.profileId,this.$refs.visitorContextMenu.hide()},ctxMenu:function(t){this.ctxMenuStatus=t;var e=this;axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":e.profileId}}).then((function(t){e.ctxMenuRelationship=t.data[0],e.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeCtxMenu()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},statusUrl:function(t){return"/i/web/post/_/"+this.profile.id+"/"+t.id},deletePost:function(t){var e=this;0!=this.user.is_admin&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.feed=e.feed.filter((function(e){return e.id!=t.id})),e.$refs.ctxModal.hide()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},manuallyFetchRemotePosts:function(t){this.fetchingRemotePosts=!0,event.target.blur(),swal("Fetching Remote Posts","Check back in a few minutes!","info")},timeAgo:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return null==t?"never":(e=e?" "+e:"",App.util.format.timeAgo(t)+e)},urlRedirectHandler:function(t){var e="";new URL(t).hostname==window.location.hostname?e=t:(e="/i/redirect?url=",e+=encodeURI(t)),window.location.href=e},followingModal:function(){var t=this;return this.followingCursor>1||axios.get("/api/pixelfed/v1/accounts/"+this.profileId+"/following",{params:{page:this.followingCursor}}).then((function(e){t.following=e.data,t.followingModalSearchCache=e.data,t.followingCursor++,e.data.length<10&&(t.followingMore=!1),t.followingLoading=!1})),void this.$refs.followingModal.show()},followersModal:function(){var t=this;return this.followerCursor>1||axios.get("/api/pixelfed/v1/accounts/"+this.profileId+"/followers",{params:{page:this.followerCursor}}).then((function(e){var s;(s=t.followers).push.apply(s,o(e.data)),t.followerCursor++,e.data.length<10&&(t.followerMore=!1),t.followerLoading=!1})),void this.$refs.followerModal.show()},followingLoadMore:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/following",{params:{page:this.followingCursor,fbu:this.followingModalSearch}}).then((function(e){var s;e.data.length>0&&((s=t.following).push.apply(s,o(e.data)),t.followingCursor++,t.followingModalSearchCache=t.following);e.data.length<10&&(t.followingModalSearchCache=t.following,t.followingMore=!1)}))},followersLoadMore:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/followers",{params:{page:this.followerCursor}}).then((function(e){var s;e.data.length>0&&((s=t.followers).push.apply(s,o(e.data)),t.followerCursor++);e.data.length<10&&(t.followerMore=!1)}))},profileUrlRedirect:function(t){return 1==t.local?t.url:"/i/web/profile/_/"+t.id},followingModalSearchHandler:function(){var t=this,e=this,s=this.followingModalSearch;if(0==s.length&&(this.following=this.followingModalSearchCache,this.followingModalSearch=null),s.length>0){var o="/api/pixelfed/v1/accounts/"+e.profileId+"/following?page=1&fbu="+s;axios.get(o).then((function(e){t.following=e.data})).catch((function(t){e.following=e.followingModalSearchCache,e.followingModalSearch=null}))}}}}},53999:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),a=this;switch(e){case"addcw":i="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,a.closeModals(),a.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),a.closeModals(),a.ctxModMenuClose()}))}));break;case"remcw":i="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,a.closeModals(),a.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),a.closeModals(),a.ctxModMenuClose()}))}));break;case"unlist":i="Are you sure you want to unlist this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){o.feed=o.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":i="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=o("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},55192:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(20415),i=s(19755);const a={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":o.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at){"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(20415),i=s(97622),a=s(19755);const n={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":o.default,"poll-card":i.default},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,o=t.account.username,i=document.createElement("a");switch(i.href=t.account.url,i=i.hostname,e){case"@":default:return o+'@'+i+"";case"from":return o+' from '+i+"";case"custom":return o+' '+s+" "+i+""}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=a("body").hasClass("loggedIn")){var s=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var s=this;this.replySending=!0;var o=t.id,i=this.replyText,a=this.config.uploader.max_caption_length;if(i.length>a)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+a+" characters or less.","error");axios.post("/i/comment",{item:o,comment:i,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)},canFollow:function(t){return!!t.hasOwnProperty("relationship")&&(!(!t.hasOwnProperty("account")||!t.account.hasOwnProperty("id"))&&(t.account.id!=this.profile.id&&!t.relationship.following))},follow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!0,e.$emit("followed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},unfollow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!1,e.$emit("unfollowed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))}}}},7768:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"]}},10578:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,o.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var o="forward";e.advancePage(o),e.$emit("navigation-click",o)}}}}},15464:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,o.default)({el:t.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}}}},63049:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"]}},67223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")}}}},48473:(t,e,s)=>{Vue.component("photo-presenter",s(23251).default),Vue.component("video-presenter",s(53973).default),Vue.component("photo-album-presenter",s(33872).default),Vue.component("video-album-presenter",s(76644).default),Vue.component("mixed-album-presenter",s(57374).default),Vue.component("remote-profile",s(14083).default)},64482:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,"@media (min-width:1200px){.container[data-v-36d6de0c]{max-width:1050px}}",""]);const a=i},9490:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-301c4371]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-301c4371]{position:relative}.content-label[data-v-301c4371]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-301c4371]{position:relative}",""]);const a=i},55106:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-40ab6d65]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-40ab6d65]{position:relative}.content-label[data-v-40ab6d65]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const a=i},176:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".content-label-wrapper[data-v-333faeee]{position:relative}.content-label[data-v-333faeee]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const a=i},77543:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}",""]);const a=i},2714:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),a=s(64482),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},54596:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),a=s(9490),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},52529:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),a=s(55106),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},82390:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),a=s(176),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},49852:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),a=s(77543),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},14083:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(58113),i=s(47926),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(286);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"36d6de0c",null).exports},20415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(53242),i=s(25266),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},97622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(46594),i=s(97381),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},19210:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(48661),i=s(71334),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(66117);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},57374:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(10650),i=s(4220),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},33872:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(84346),i=s(10878),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(18932);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"301c4371",null).exports},23251:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(85827),i=s(29911),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(97382);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"40ab6d65",null).exports},76644:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(63027),i=s(18411),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},53973:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(54201),i=s(44976),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(77732);const n=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"333faeee",null).exports},47926:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(65625),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},25266:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(53999),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},97381:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(55192),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},71334:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(86637),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},4220:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(7768),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},10878:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(10578),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},29911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(15464),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},18411:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(63049),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},44976:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(67223),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},286:(t,e,s)=>{"use strict";s.r(e);var o=s(2714),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},18932:(t,e,s)=>{"use strict";s.r(e);var o=s(54596),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},97382:(t,e,s)=>{"use strict";s.r(e);var o=s(52529),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},77732:(t,e,s)=>{"use strict";s.r(e);var o=s(82390),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},66117:(t,e,s)=>{"use strict";s.r(e);var o=s(49852),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},58113:(t,e,s)=>{"use strict";s.r(e);var o=s(91029),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},53242:(t,e,s)=>{"use strict";s.r(e);var o=s(22372),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},46594:(t,e,s)=>{"use strict";s.r(e);var o=s(56081),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},48661:(t,e,s)=>{"use strict";s.r(e);var o=s(91927),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},10650:(t,e,s)=>{"use strict";s.r(e);var o=s(34812),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},84346:(t,e,s)=>{"use strict";s.r(e);var o=s(32353),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},85827:(t,e,s)=>{"use strict";s.r(e);var o=s(59500),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},63027:(t,e,s)=>{"use strict";s.r(e);var o=s(36310),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},54201:(t,e,s)=>{"use strict";s.r(e);var o=s(44892),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},91029:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.relationship&&t.relationship.blocking&&t.warning?s("div",{staticClass:"bg-white pt-3 border-bottom"},[s("div",{staticClass:"container"},[s("p",{staticClass:"text-center font-weight-bold"},[t._v("You are blocking this account")]),t._v(" "),s("p",{staticClass:"text-center font-weight-bold"},[t._v("Click "),s("a",{staticClass:"cursor-pointer",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.warning=!1}}},[t._v("here")]),t._v(" to view profile")])])]):t._e(),t._v(" "),t.loading?s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"80vh"}},[s("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]):t._e(),t._v(" "),t.loading||t.warning?t._e():s("div",{staticClass:"container"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-4 pt-5"},[s("div",{staticClass:"card shadow-none border"},[s("div",{staticClass:"card-header p-0 m-0"},[t.profile.header_bg?s("img",{staticStyle:{width:"100%",height:"140px","object-fit":"cover"},attrs:{src:t.profile.header_bg}}):s("div",{staticClass:"bg-primary",staticStyle:{width:"100%",height:"140px"}})]),t._v(" "),s("div",{staticClass:"card-body pb-0"},[s("div",{staticClass:"mt-n5 mb-3"},[s("img",{staticClass:"rounded-circle p-1 border mt-n4 bg-white shadow",attrs:{src:t.profile.avatar,width:"90px",height:"90px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("span",{staticClass:"float-right mt-n1"},[s("span",[t.relationship&&0==t.relationship.following?s("button",{staticClass:"btn btn-outline-light py-0 px-3 mt-n1",staticStyle:{"font-size":"13px","font-weight":"500"},on:{click:function(e){return t.followProfile()}}},[t._v("Follow")]):t._e(),t._v(" "),t.relationship&&1==t.relationship.following?s("button",{staticClass:"btn btn-outline-light py-0 px-3 mt-n1",staticStyle:{"font-size":"13px","font-weight":"500"},on:{click:function(e){return t.unfollowProfile()}}},[t._v("Unfollow")]):t._e()]),t._v(" "),s("span",{staticClass:"mx-2"},[s("a",{staticClass:"btn btn-outline-light btn-sm mt-n1",staticStyle:{"padding-top":"2px","padding-bottom":"1px"},attrs:{href:"/account/direct/t/"+t.profile.id}},[s("i",{staticClass:"far fa-comment-dots cursor-pointer",staticStyle:{"font-size":"13px"}})])]),t._v(" "),s("span",[s("button",{staticClass:"btn btn-outline-light btn-sm mt-n1",staticStyle:{"padding-top":"2px","padding-bottom":"1px"},on:{click:function(e){return t.showCtxMenu()}}},[s("i",{staticClass:"fas fa-cog cursor-pointer",staticStyle:{"font-size":"13px"}})])])])]),t._v(" "),s("p",{staticClass:"pl-2 h4 font-weight-bold mb-1"},[t._v(t._s(t.profile.display_name))]),t._v(" "),s("p",{staticClass:"pl-2 font-weight-bold mb-2"},[s("a",{staticClass:"text-muted",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.urlRedirectHandler(t.profile.url)}}},[t._v(t._s(t.profile.acct))])]),t._v(" "),s("p",{staticClass:"pl-2 text-muted small d-flex justify-content-between"},[s("span",[s("span",{staticClass:"font-weight-bold text-dark"},[t._v(t._s(t.profile.statuses_count))]),t._v(" "),s("span",[t._v("Posts")])]),t._v(" "),s("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.followingModal()}}},[s("span",{staticClass:"font-weight-bold text-dark"},[t._v(t._s(t.profile.following_count))]),t._v(" "),s("span",[t._v("Following")])]),t._v(" "),s("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.followersModal()}}},[s("span",{staticClass:"font-weight-bold text-dark"},[t._v(t._s(t.profile.followers_count))]),t._v(" "),s("span",[t._v("Followers")])])]),t._v(" "),s("p",{staticClass:"pl-2 text-muted small pt-2",domProps:{innerHTML:t._s(t.profile.note)}})])]),t._v(" "),s("p",{staticClass:"small text-lighter p-2"},[t._v("Last updated: "),s("time",{attrs:{datetime:t.profile.last_fetched_at}},[t._v(t._s(t.timeAgo(t.profile.last_fetched_at,"ago")))])]),t._v(" "),s("p",{staticClass:"card border-left-primary card-body small py-2 text-muted font-weight-bold shadow-none border-top border-bottom border-right"},[t._v("You are viewing a profile from a remote server, it may not contain up-to-date information.")])]),t._v(" "),s("div",{staticClass:"col-12 col-md-8 pt-5"},[s("div",{staticClass:"row"},[t._l(t.feed,(function(t,e){return s("div",{key:"remprop"+e,staticClass:"col-12"},[s("status-card",{class:{"border-top":0===e},attrs:{status:t}})],1)})),t._v(" "),0==t.feed.length?s("div",{staticClass:"col-12 mb-2"},[t._m(0)]):s("div",{staticClass:"col-12 mt-4"},[t.showLoadMore?s("p",{staticClass:"text-center mb-0 px-0"},[s("button",{staticClass:"btn btn-outline-primary btn-block font-weight-bold",on:{click:function(e){return t.loadMorePosts()}}},[t.loadingMore?s("span",[t._m(1)]):s("span",[t._v("Load More")])])]):t._e()])],2)])]),t._v(" "),t.profile&&t.following?s("b-modal",{ref:"followingModal",attrs:{id:"following-modal","hide-footer":"",centered:"",scrollable:"",title:"Following","body-class":"list-group-flush py-3 px-0","dialog-class":"follow-modal"}},[t.followingLoading?s("div",{staticClass:"text-center py-5"},[s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):s("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.following.length?s("div",[1==t.owner?s("div",{staticClass:"list-group-item border-0 pt-0 px-0 mt-n2 mb-3"},[s("span",{staticClass:"d-flex px-4 pb-0 align-items-center"},[s("i",{staticClass:"fas fa-search text-lighter"}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.followingModalSearch,expression:"followingModalSearch"}],staticClass:"form-control border-0 shadow-0 no-focus",attrs:{type:"text",placeholder:"Search Following..."},domProps:{value:t.followingModalSearch},on:{keyup:t.followingModalSearchHandler,input:function(e){e.target.composing||(t.followingModalSearch=e.target.value)}}})])]):t._e(),t._v(" "),t._l(t.following,(function(e,o){return s("div",{key:"following_"+o,staticClass:"list-group-item border-0 py-1 mb-1"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:t.profileUrlRedirect(e)}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",loading:"lazy",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0'"}})]),t._v(" "),s("div",{staticClass:"media-body text-truncate"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(e)}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.local?s("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.display_name?e.display_name:e.username)+"\n\t\t\t\t\t\t\t\t")]):s("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:e.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.acct.split("@")[0]))]),s("span",{staticClass:"text-lighter"},[t._v("@"+t._s(e.acct.split("@")[1]))])])]),t._v(" "),t.owner?s("div",[s("a",{staticClass:"btn btn-outline-dark btn-sm font-weight-bold",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.followModalAction(e.id,o,"following")}}},[t._v("Following")])]):t._e()])])})),t._v(" "),t.followingModalSearch&&0==t.following.length?s("div",{staticClass:"list-group-item border-0"},[s("div",{staticClass:"list-group-item border-0 pt-5"},[s("p",{staticClass:"p-3 text-center mb-0 lead"},[t._v("No Results Found")])])]):t._e(),t._v(" "),t.following.length>0&&t.followingMore?s("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followingLoadMore()}}},[s("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):s("div",{staticClass:"list-group-item border-0"},[s("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[s("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" is not following yet")])])])]):t._e(),t._v(" "),s("b-modal",{ref:"followerModal",attrs:{id:"follower-modal","hide-footer":"",centered:"",scrollable:"",title:"Followers","body-class":"list-group-flush py-3 px-0","dialog-class":"follow-modal"}},[t.followerLoading?s("div",{staticClass:"text-center py-5"},[s("div",{staticClass:"spinner-border",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):s("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.followers.length?s("div",[t._l(t.followers,(function(e,o){return s("div",{key:"follower_"+o,staticClass:"list-group-item border-0 py-1 mb-1"},[s("div",{staticClass:"media mb-0"},[s("a",{attrs:{href:t.profileUrlRedirect(e)}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px",height:"30px",loading:"lazy",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0'"}})]),t._v(" "),s("div",{staticClass:"media-body mb-0"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(e)}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e.local?s("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.display_name?e.display_name:e.username)+"\n\t\t\t\t\t\t\t\t")]):s("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:e.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[s("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.acct.split("@")[0]))]),s("span",{staticClass:"text-lighter"},[t._v("@"+t._s(e.acct.split("@")[1]))])])])])])})),t._v(" "),t.followers.length&&t.followerMore?s("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followersLoadMore()}}},[s("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):s("div",{staticClass:"list-group-item border-0"},[s("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[s("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" has no followers yet")])])])]),t._v(" "),s("b-modal",{ref:"visitorContextMenu",attrs:{id:"visitor-context-menu","hide-footer":"","hide-header":"",centered:"",size:"sm","body-class":"list-group-flush p-0"}},[t.relationship?s("div",{staticClass:"list-group"},[s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.copyProfileLink}},[t._v("\n\t\t\t\t\tCopy Link\n\t\t\t\t")]),t._v(" "),!t.user||t.owner||t.relationship.muting?t._e():s("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.muteProfile}},[t._v("\n\t\t\t\t\tMute\n\t\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.muting?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.unmuteProfile}},[t._v("\n\t\t\t\t\tUnmute\n\t\t\t\t")]):t._e(),t._v(" "),t.user&&!t.owner?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.reportProfile}},[t._v("\n\t\t\t\t\tReport User\n\t\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.blocking?t._e():s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.blockProfile}},[t._v("\n\t\t\t\t\tBlock\n\t\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.blocking?s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.unblockProfile}},[t._v("\n\t\t\t\t\tUnblock\n\t\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-muted",on:{click:function(e){return t.$refs.visitorContextMenu.hide()}}},[t._v("\n\t\t\t\t\tClose\n\t\t\t\t")])]):t._e()]),t._v(" "),s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[t.ctxMenuStatus&&t.profile.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report inappropriate")]):t._e(),t._v(" "),t.ctxMenuStatus&&t.profile.id!=t.profile.id&&t.ctxMenuRelationship&&t.ctxMenuRelationship.following?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-danger",on:{click:function(e){return t.ctxMenuUnfollow()}}},[t._v("Unfollow")]):t._e(),t._v(" "),t.ctxMenuStatus&&t.profile.id!=t.profile.id&&t.ctxMenuRelationship&&!t.ctxMenuRelationship.following?s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-primary",on:{click:function(e){return t.ctxMenuFollow()}}},[t._v("Follow")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("Go to post")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.profile&&1==t.profile.is_admin?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.ctxMenuStatus&&(t.profile.is_admin||t.profile.id==t.profile.id)?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.deletePost(t.ctxMenuStatus)}}},[t._v("Delete")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])])],1)])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex justify-content-center align-items-center bg-white border rounded",staticStyle:{height:"60vh"}},[s("div",{staticClass:"text-center"},[s("p",{staticClass:"lead"},[t._v("We haven't seen any posts from this account.")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])}]},22372:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var a=t._i(s,null);o.checked?a<0&&(t.ctxEmbedShowCaption=s.concat([null])):a>-1&&(t.ctxEmbedShowCaption=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var a=t._i(s,null);o.checked?a<0&&(t.ctxEmbedShowLikes=s.concat([null])):a>-1&&(t.ctxEmbedShowLikes=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var a=t._i(s,null);o.checked?a<0&&(t.ctxEmbedCompactMode=s.concat([null])):a>-1&&(t.ctxEmbedCompactMode=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),s("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},56081:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"pl-2 d-flex align-items-top"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?s("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):s("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),s("div",{staticClass:"pl-2"},[s("div",{staticClass:"poll py-3"},[s("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),s("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),s("div",{staticClass:"mb-2"},["vote"===t.tab?s("div",[t._l(t.status.poll.options,(function(e,o){return s("p",[s("button",{staticClass:"btn btn-block lead rounded-pill",class:[o==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?s("p",{staticClass:"text-right"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?s("div",t._l(t.status.poll.options,(function(e,o){return s("div",{staticClass:"mb-3"},[s("button",{staticClass:"btn btn-block lead rounded-pill",class:[o==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[s("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),s("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?s("div",t._l(t.status.poll.options,(function(e,o){return s("div",{staticClass:"mb-3"},[s("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("div",{staticClass:"font-weight-bold"},[s("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),s("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),s("div",[s("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[s("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?s("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?s("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),s("div",[s("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),s("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[s("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),s("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"btn btn-primary px-2 py-1"},[e("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[s("span",{staticClass:"sr-only"},[t._v("Loading...")])])}]},91927:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?s("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"pl-2 d-flex align-items-top"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),s("div",{staticClass:"pl-2"},[t.status.sensitive?s("details",[s("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),s("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):s("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),s("p",{staticClass:"mb-0"},[s("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),s("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?s("div",[s("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):s("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?s("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[s("div",[s("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),s("div",{staticClass:"pl-2"},[s("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\tLoading...\n\t\t\t\t")]),t._v(" "),t.status.account.is_admin?s("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-center"},[t.status.place?s("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[s("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),t.canFollow(t.status)?s("div",[s("span",{staticClass:"px-2"}),t._v(" "),s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.follow(t.status.account.id)}}},[s("i",{staticClass:"far fa-user-plus mr-1"}),t._v(" Follow")])]):t._e(),t._v(" "),t.status.hasOwnProperty("relationship")&&t.status.relationship.hasOwnProperty("following")&&t.status.relationship.following?s("div",[s("span",{staticClass:"px-2"}),t._v(" "),s("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.unfollow(t.status.account.id)}}},[s("i",{staticClass:"far fa-user-check mr-1"}),t._v(" Following")])]):t._e(),t._v(" "),s("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[s("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[s("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),s("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):s("div",{staticClass:"w-100"},[s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?s("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[s("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[s("span",[s("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),s("div",{staticClass:"card-body"},[t.reactionBar?s("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?s("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):s("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():s("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?s("span",{staticClass:"float-right"},[s("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[s("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,e){return s("span",{staticClass:"mr-n2"},[s("a",{attrs:{href:"/"+t.username}},[s("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?s("div",{staticClass:"likes mb-1"},[s("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?s("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?s("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),s("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?s("div",{staticClass:"caption"},[t.status.sensitive?t._e():s("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[s("span",{staticClass:"username font-weight-bold"},[s("bdi",[s("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),s("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),s("div",{staticClass:"timestamp mt-2"},[s("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?s("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[s("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):s("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),s("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?s("span",[s("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),s("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),s("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},34812:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(e,o){return s("b-carousel-slide",{key:e.id+"-media"},["video"==e.type?s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:e.url,type:e.mime}})]):"image"==e.type?s("div",{attrs:{slot:"img",title:e.description},slot:"img"},[s("img",{class:e.filter_class+" d-block img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):s("div",{staticClass:"w-100 h-100 p-0"},[s("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(e,o){return s("slide",{key:"px-carousel-"+e.id+"-"+o,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==e.type?s("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:e.description,width:"100%",height:"100%"}},[s("source",{attrs:{src:e.url,type:e.mime}})]):"image"==e.type?s("div",{attrs:{title:e.description}},[s("img",{class:e.filter_class+" img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},i=[]},32353:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[s("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-"+t.status.id}},t._l(t.status.media_attachments,(function(e,o){return s("slide",{key:"px-carousel-"+e.id+"-"+o,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:e.description}},[s("img",{class:e.filter_class+" img-fluid w-100 p-0",attrs:{src:e.url,alt:t.altText(e),loading:"lazy","data-bp":e.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),s("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?s("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(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),s("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(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?s("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))"}},[s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},59500:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",[s("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[s("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("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(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?s("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))"}},[s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),s("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},36310:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return s("b-carousel-slide",{key:t.id+"-media"},[s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):s("div",[s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return s("b-carousel-slide",{key:t.id+"-media"},[s("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[s("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},i=[]},44892:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):s("div",{staticClass:"embed-responsive embed-responsive-16by9"},[s("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:"","data-id":t.status.id}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]}},t=>{t.O(0,[898],(()=>{return e=48473,t(t.s=e);var e}));t.O()}]); \ No newline at end of file diff --git a/public/js/spa.js b/public/js/spa.js index 2de2d36e2..7d84e77ef 100644 --- a/public/js/spa.js +++ b/public/js/spa.js @@ -1,2 +1,2 @@ /*! For license information please see spa.js.LICENSE.txt */ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[269],{6340:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={components:{sidebar:a(88231).default},data:function(){return{isLoaded:!1,profile:void 0,instance:void 0,nodeinfo:void 0,config:window.App.config}},mounted:function(){this.fetchUserData()},methods:{fetchUserData:function(){this.profile=window._sharedData.user,this.fetchInstance()},fetchInstance:function(){var t=this;axios.get("/api/v1/instance").then((function(e){t.instance=e.data,t.fetchNodeinfo()}))},fetchNodeinfo:function(){var t=this;axios.get("/api/nodeinfo/2.0.json").then((function(e){t.nodeinfo=e.data,t.isLoaded=!0}))}}}},51209:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>i});var o=a(42755),s=a(88231);const i={components:{drawer:o.default,sidebar:s.default},data:function(){return{isLoaded:!1,profile:void 0,instance:void 0,nodeinfo:void 0,config:window.App.config}},mounted:function(){this.profile=window._sharedData.user}}},7212:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={components:{sidebar:a(88231).default},data:function(){return{isLoaded:!1,profile:void 0}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0}}},45595:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>c});var o=a(42755),s=a(78423),i=a(88231),n=a(78375);function r(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,o=new Array(e);a{"use strict";a.r(e),a.d(e,{default:()=>o});const o={data:function(){return{posts:[],profile:[]}},mounted:function(){this.init()},methods:{init:function(){var t=this;axios.get("/i/hc/category",{params:{id:1}}).then((function(e){t.profile=e.data})),axios.get("/i/hc/category",{params:{id:2}}).then((function(e){t.posts=e.data}))}}}},32854:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={data:function(){return{isLoaded:!1,article:void 0,related:[]}},mounted:function(){this.init()},methods:{init:function(){this.fetchArticle()},fetchArticle:function(){var t=this;axios.get("/i/hc/get",{params:{id:this.$route.params.id}}).then((function(e){t.isLoaded=!0,t.article=e.data})).catch((function(e){t.$router.push("/i/web/404")}))}}}},33555:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>i});var o=a(42755),s=a(88231);const i={components:{drawer:o.default,sidebar:s.default},data:function(){return{isLoaded:!1,profile:void 0,locale:"en",langs:["en","ar","ca","de","el","es","eu","fr","he","gd","gl","id","it","ja","nl","pl","pt","ru","uk","vi"]}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0,this.locale=this.$i18n.locale},watch:{locale:function(t){this.loadLang(t)}},methods:{fullName:function(t){return new Intl.DisplayNames([t],{type:"language"}).of(t)},localeName:function(t){return new Intl.DisplayNames([this.$i18n.locale],{type:"language"}).of(t)},loadLang:function(t){var e=this;axios.post("/api/pixelfed/web/change-language.json",{v:.1,l:t}).then((function(a){e.$i18n.locale=t}))}}}},16568:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={components:{drawer:a(42755).default}}},32343:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={components:{sidebar:a(88231).default},data:function(){return{isLoaded:!1,profile:void 0,page:void 0}},mounted:function(){this.fetchPage()},methods:{fetchPage:function(){var t=this;axios.get("/i/doc/privacy.json").then((function(e){t.page=e.data,t.fetchUserData()}))},fetchUserData:function(){this.profile=window._sharedData.user,this.isLoaded=!0}}}},16661:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={components:{sidebar:a(88231).default},data:function(){return{isLoaded:!1,profile:void 0,page:void 0}},mounted:function(){this.fetchPage()},methods:{fetchPage:function(){var t=this;axios.get("/i/doc/terms.json").then((function(e){t.page=e.data,t.fetchUserData()}))},fetchUserData:function(){this.profile=window._sharedData.user,this.isLoaded=!0}}}},48274:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={data:function(){return{user:window._sharedData.user}}}},26930:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,a){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var a=0;a{"use strict";a.r(e),a.d(e,{default:()=>n});var o=a(29655);a(14348);function s(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return i(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,o=new Array(e);a1&&void 0!==arguments[1]?arguments[1]:30;return t.length<=e?t:t.slice(0,e)+"..."},logout:function(){axios.post("/logout").then((function(t){location.href="/"})).catch((function(t){location.href="/"}))},openUserInterfaceSettings:function(){event.currentTarget.blur(),this.$refs.uis.show()},toggleUi:function(t){event.currentTarget.blur(),this.uiColorScheme=t},toggleProfileLayout:function(t){event.currentTarget.blur(),this.profileLayout=t}}}},33588:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={props:{small:{type:Boolean,default:!1}}}},84196:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={components:{notifications:a(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},77671:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>l});var o=a(20629),s=a(68296),i=a(76429);function n(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,o)}return a}function r(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const l={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:s.default,UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var a=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==a}));return o.length?''.concat(o[0].shortcode,''):e}))}return a},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:a,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()}}}},3366:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},58338:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var o=a(73128),s=a(78423);function i(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,o=new Array(e);a{"use strict";a.r(e),a.d(e,{default:()=>s});var o=a(19755);const s={data:function(){return{announcements:[],announcement:{},cursor:0,showNext:!0,showPrev:!1}},mounted:function(){this.fetchAnnouncements()},updated:function(){o('[data-toggle="tooltip"]').tooltip()},methods:{fetchAnnouncements:function(){var t=this,e=JSON.parse(window.localStorage.getItem("metro-tips-closed"));axios.get("/api/pixelfed/v1/newsroom/timeline").then((function(a){t.announcements=a.data.filter((function(t){return!e||-1==e.indexOf(t.id)})),t.announcement=t.announcements[0],1==t.announcements.length&&(t.showNext=!1)}))},loadNext:function(){this.showNext&&(this.cursor+=1,this.announcement=this.announcements[this.cursor],this.cursor+1==this.announcements.length&&(this.showNext=!1),this.cursor>=1&&(this.showPrev=!0))},loadPrev:function(){this.showPrev&&(this.cursor-=1,this.announcement=this.announcements[this.cursor],0==this.cursor&&(this.showPrev=!1),this.cursor1})).catch((function(t){swal("Oops, Something went wrong","There was a problem with your request, please try again later.","error")}))}}}},2962:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var o=a(19755);function s(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return i(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,o=new Array(e);a5?t.complete():axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.notificationMaxId}}).then((function(a){if(a.data.length){var o,i=a.data.filter((function(t){return!("share"==t.type&&!t.status)&&(!("comment"==t.type&&!t.status)&&(!("mention"==t.type&&!t.status)&&(!("favourite"==t.type&&!t.status)&&(!("follow"==t.type&&!t.account)&&!_.find(e.notifications,{id:t.id})))))})),n=i.map((function(t){return t.id}));e.notificationMaxId=Math.min.apply(Math,s(n)),(o=e.notifications).push.apply(o,s(i)),e.notificationCursor++,t.loaded()}else t.complete()}))},truncate:function(t){return t.length<=15?t:t.slice(0,15)+"..."},timeAgo:function(t){return window.App.util.format.timeAgo(t)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},notificationPoll:function(){var t=this.notifications.length>5?15e3:12e4,e=this;setInterval((function(){axios.get("/api/pixelfed/v1/notifications").then((function(t){var a=t.data.filter((function(t){return!("share"==t.type||e.notificationMaxId>=t.id)}));if(a.length){var i,n=a.map((function(t){return t.id}));e.notificationMaxId=Math.max.apply(Math,s(n)),(i=e.notifications).unshift.apply(i,s(a));var r=new Audio("/static/beep.mp3");r.volume=.7,r.play(),o(".notification-card .far.fa-bell").addClass("fas text-danger").removeClass("far text-muted")}}))}),t)},fetchFollowRequests:function(){var t=this;1==window._sharedData.curUser.locked&&axios.get("/account/follow-requests.json").then((function(e){t.followRequests=e.data}))},redirect:function(t){window.location.href=t},notificationPreview:function(t){return t.status&&t.status.hasOwnProperty("media_attachments")&&t.status.media_attachments.length?t.status.media_attachments[0].preview_url:"/storage/no-preview.png"},getProfileUrl:function(t){return 1==t.local?t.url:"/i/web/profile/_/"+t.id},getPostUrl:function(t){if(t)return t.hasOwnProperty("local")&&1!=t.local?"/i/web/post/_/"+t.account.id+"/"+t.id:t.url},refreshNotifications:function(){this.loading=!0,this.attemptedRefresh=!0,this.fetchNotifications()}}}},14425:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});var o=a(19755);const s={props:["feed","status","profile","size","modal"],data:function(){return{activeSession:!1}},mounted:function(){var t=document.querySelector("body");this.activeSession=!!t.classList.contains("loggedIn")},methods:{reportUrl:function(t){return"/i/report?type="+(t.in_reply_to?"comment":"post")+"&id="+t.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},editUrl:function(t){return t.url+"/edit"},redirect:function(t){window.location.href=t},replyUrl:function(t){return"/p/"+this.profile.username+"/"+(t.account.id==this.profile.id?t.id:t.in_reply_to_id)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},statusOwner:function(t){return parseInt(t.account.id)==parseInt(this.profile.id)},deletePost:function(){this.$emit("deletePost"),o("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(t){t.sensitive=!0,o("#mt_pid_"+t.id).modal("hide")},moderatePost:function(t,e,a){var o=t.account.username;switch(e){case"autocw":var s="Are you sure you want to enforce CW for "+o+" ?";swal({title:"Confirm",text:s,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":s="Are you sure you want to suspend the account of "+o+" ?",swal({title:"Confirm",text:s,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(t){0!=o("body").hasClass("loggedIn")&&axios.post("/i/mute",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully muted "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},blockProfile:function(t){0!=o("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully blocked "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},closeModal:function(){o("#mt_pid_"+this.status.id).modal("hide")}}}},58206:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={props:["list","scope"],data:function(){return{loading:!0,show:!0,stories:{}}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){e.data;e.data.length?(t.stories=e.data,t.loading=!1):t.show=!1})).catch((function(e){t.loading=!1,t.$bvToast.toast("Cannot load stories. Please try again later.",{title:"Error",variant:"danger",autoHideDelay:5e3}),t.show=!1}))},showStory:function(t){var e;switch(this.scope){case"home":e="/?t=1";break;case"local":e="/?t=2";break;case"network":e="/?t=3"}window.location.href=this.stories[t].url+e},systemStory:function(){window.location.href="/i/_platform/stories/whats-new"}}}},7768:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={props:["status"]}},10578:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});var o=a(99347);const s={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,o.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var a="backward";e.advancePage(a),e.$emit("navigation-click",a)}if("39"==t.keyCode){t.preventDefault();var o="forward";e.advancePage(o),e.$emit("navigation-click",o)}}}}},15464:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});var o=a(99347);const s={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,o.default)({el:t.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}}}},63049:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={props:["status"]}},67223:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")}}}},86807:function(){function t(e){return t="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},t(e)}!function(){var e="object"===("undefined"==typeof window?"undefined":t(window))?window:"object"===("undefined"==typeof self?"undefined":t(self))?self:this,a=e.BlobBuilder||e.WebKitBlobBuilder||e.MSBlobBuilder||e.MozBlobBuilder;e.URL=e.URL||e.webkitURL||function(t,e){return(e=document.createElement("a")).href=t,e};var o=e.Blob,s=URL.createObjectURL,i=URL.revokeObjectURL,n=e.Symbol&&e.Symbol.toStringTag,r=!1,c=!1,d=!!e.ArrayBuffer,u=a&&a.prototype.append&&a.prototype.getBlob;try{r=2===new Blob(["ä"]).size,c=2===new Blob([new Uint8Array([1,2])]).size}catch(t){}function m(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var a=new Uint8Array(t.byteLength);a.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=a.buffer}return e}return t}))}function p(t,e){e=e||{};var o=new a;return m(t).forEach((function(t){o.append(t)})),e.type?o.getBlob(e.type):o.getBlob()}function f(t,e){return new o(m(t),e||{})}e.Blob&&(p.prototype=Blob.prototype,f.prototype=Blob.prototype);var h="function"==typeof TextEncoder?TextEncoder.prototype.encode.bind(new TextEncoder):function(t){for(var a=0,o=t.length,s=e.Uint8Array||Array,i=0,n=Math.max(32,o+(o>>1)+7),r=new s(n>>3<<3);a=55296&&l<=56319){if(a=55296&&l<=56319)continue}if(i+4>r.length){n+=8,n=(n*=1+a/t.length*2)>>3<<3;var d=new Uint8Array(n);d.set(r),r=d}if(0!=(4294967168&l)){if(0==(4294965248&l))r[i++]=l>>6&31|192;else if(0==(4294901760&l))r[i++]=l>>12&15|224,r[i++]=l>>6&63|128;else{if(0!=(4292870144&l))continue;r[i++]=l>>18&7|240,r[i++]=l>>12&63|128,r[i++]=l>>6&63|128}r[i++]=63&l|128}else r[i++]=l}return r.slice(0,i)},v="function"==typeof TextDecoder?TextDecoder.prototype.decode.bind(new TextDecoder):function(t){for(var e=t.length,a=[],o=0;o239?4:l>223?3:l>191?2:1;if(o+d<=e)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(s=t[o+1]))&&(r=(31&l)<<6|63&s)>127&&(c=r);break;case 3:s=t[o+1],i=t[o+2],128==(192&s)&&128==(192&i)&&(r=(15&l)<<12|(63&s)<<6|63&i)>2047&&(r<55296||r>57343)&&(c=r);break;case 4:s=t[o+1],i=t[o+2],n=t[o+3],128==(192&s)&&128==(192&i)&&128==(192&n)&&(r=(15&l)<<18|(63&s)<<12|(63&i)<<6|63&n)>65535&&r<1114112&&(c=r)}null===c?(c=65533,d=1):c>65535&&(c-=65536,a.push(c>>>10&1023|55296),c=56320|1023&c),a.push(c),o+=d}var u=a.length,m="";for(o=0;o>2,d=(3&s)<<4|n>>4,u=(15&n)<<2|l>>6,m=63&l;r||(m=64,i||(u=64)),a.push(e[c],e[d],e[u],e[m])}return a.join("")}var o=Object.create||function(t){function e(){}return e.prototype=t,new e};if(d)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&n.indexOf(Object.prototype.toString.call(t))>-1};function c(a,o){o=null==o?{}:o;for(var s=0,i=(a=a||[]).length;s=e.size&&a.close()}))}})}}catch(t){try{new ReadableStream({}),b=function(t){var e=0;t=this;return new ReadableStream({pull:function(a){return t.slice(e,e+524288).arrayBuffer().then((function(o){e+=o.byteLength;var s=new Uint8Array(o);a.enqueue(s),e==t.size&&a.close()}))}})}}catch(t){try{new Response("").body.getReader().read(),b=function(){return new Response(this).body}}catch(t){b=function(){throw new Error("Include https://github.com/MattiasBuelens/web-streams-polyfill")}}}}w.arrayBuffer||(w.arrayBuffer=function(){var t=new FileReader;return t.readAsArrayBuffer(this),y(t)}),w.text||(w.text=function(){var t=new FileReader;return t.readAsText(this),y(t)}),w.stream||(w.stream=b)}(),function(t){"use strict";var e,a=t.Uint8Array,o=t.HTMLCanvasElement,s=o&&o.prototype,i=/\s*;\s*base64\s*(?:;|$)/i,n="toDataURL",r=function(t){for(var o,s,i=t.length,n=new a(i/4*3|0),r=0,l=0,c=[0,0],d=0,u=0;i--;)s=t.charCodeAt(r++),255!==(o=e[s-43])&&undefined!==o&&(c[1]=c[0],c[0]=s,u=u<<6|o,4===++d&&(n[l++]=u>>>16,61!==c[1]&&(n[l++]=u>>>8),61!==c[0]&&(n[l++]=u),d=0));return n};a&&(e=new a([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])),!o||s.toBlob&&s.toBlobHD||(s.toBlob||(s.toBlob=function(t,e){if(e||(e="image/png"),this.mozGetAsFile)t(this.mozGetAsFile("canvas",e));else if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(e))t(this.msToBlob());else{var o,s=Array.prototype.slice.call(arguments,1),l=this[n].apply(this,s),c=l.indexOf(","),d=l.substring(c+1),u=i.test(l.substring(0,c));Blob.fake?((o=new Blob).encoding=u?"base64":"URI",o.data=d,o.size=d.length):a&&(o=u?new Blob([r(d)],{type:e}):new Blob([decodeURIComponent(d)],{type:e})),t(o)}}),!s.toBlobHD&&s.toDataURLHD?s.toBlobHD=function(){n="toDataURLHD";var t=this.toBlob();return n="toDataURL",t}:s.toBlobHD=s.toBlob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this)},43248:(t,e,a)=>{"use strict";a.r(e);var o=a(70538),s=a(78345),i=a(20629),n=a(83678),r=a(25518),l=a(30306),c=a.n(l),d=a(7398),u=a.n(d),m=a(92987),p=a(37409),f=a.n(p),h=a(74870),v=a.n(h),g=a(82364),b=a(17152),w=(a(82711),a(46737),a(48266)),y=a(42390),C=a(94421),_=a(72179),k=a(88041),x=a(51414),S=a(30469),P=a(52182),A=a(27228),M=a(63836),F=(a(19755),a(19755));function T(t){return T="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},T(t)}a(86807),window.Vue=o.default,window.pftxt=a(47711),window.filesize=a(42317),window._=a(96486),window.Popper=a(28981).default,window.pixelfed=window.pixelfed||{},window.$=a(19755),a(43734),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",a(90717),window.blurhash=a(43985),F('[data-toggle="tooltip"]').tooltip();var z=document.head.querySelector('meta[name="csrf-token"]');z?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=z.content:console.error("CSRF token not found."),o.default.use(s.default),o.default.use(i.default),o.default.use(v()),o.default.use(f()),o.default.use(r.default),o.default.use(c()),o.default.use(u()),o.default.use(g.default),o.default.use(b.default),o.default.use(m.default,{name:"Timeago",locale:"en"}),o.default.component("navbar",a(65429).default),o.default.component("notification-card",a(91500).default),o.default.component("photo-presenter",a(23251).default),o.default.component("video-presenter",a(53973).default),o.default.component("photo-album-presenter",a(33872).default),o.default.component("video-album-presenter",a(76644).default),o.default.component("mixed-album-presenter",a(57374).default),o.default.component("post-menu",a(4086).default),o.default.component("announcements-card",a(35057).default),o.default.component("story-component",a(69141).default);var R=function(){return Promise.all([a.e(898),a.e(74)]).then(a.bind(a,98489))},j=new s.default({mode:"history",linkActiveClass:"active",routes:[{path:"/i/web/timeline/:scope",name:"timeline",component:R,props:!0},{path:"/i/web/post/:id",name:"post",component:function(){return Promise.all([a.e(898),a.e(357)]).then(a.bind(a,12118))},props:!0},{path:"/i/web/profile/:id",name:"profile",component:function(){return Promise.all([a.e(898),a.e(779)]).then(a.bind(a,70595))},props:!0},{path:"/i/web/discover",component:function(){return a.e(902).then(a.bind(a,14235))}},{path:"/i/web/compose",component:function(){return Promise.all([a.e(898),a.e(509)]).then(a.bind(a,55763))}},{path:"/i/web/notifications",component:function(){return a.e(886).then(a.bind(a,73209))}},{path:"/i/web/direct/thread/:accountId",component:function(){return a.e(401).then(a.bind(a,17360))},props:!0},{path:"/i/web/direct",component:function(){return a.e(771).then(a.bind(a,59502))}},{path:"/i/web/kb/:id",name:"kb",component:_.default,props:!0},{path:"/i/web/hashtag/:id",name:"hashtag",component:w.default,props:!0},{path:"/i/web/help",component:C.default},{path:"/i/web/about",component:k.default},{path:"/i/web/contact",component:x.default},{path:"/i/web/language",component:S.default},{path:"/i/web/privacy",component:P.default},{path:"/i/web/terms",component:A.default},{path:"/i/web/whats-new",component:M.default},{path:"/i/web/discover/my-memories",component:function(){return Promise.all([a.e(898),a.e(411)]).then(a.bind(a,7765))}},{path:"/i/web/discover/my-hashtags",component:function(){return Promise.all([a.e(898),a.e(426)]).then(a.bind(a,33354))}},{path:"/i/web/discover/account-insights",component:function(){return Promise.all([a.e(898),a.e(1)]).then(a.bind(a,15021))}},{path:"/i/web/discover/find-friends",component:function(){return Promise.all([a.e(898),a.e(120)]).then(a.bind(a,66897))}},{path:"/i/web/discover/server-timelines",component:function(){return Promise.all([a.e(898),a.e(203)]).then(a.bind(a,72906))}},{path:"/i/web/discover/settings",component:function(){return Promise.all([a.e(898),a.e(130)]).then(a.bind(a,81555))}},{path:"/i/web",component:R,props:!0},{path:"/i/web/*",component:y.default,props:!0}],scrollBehavior:function(t,e,a){return t.hash?{selector:"[id='".concat(t.hash.slice(1),"']")}:{x:0,y:0}}});function L(t,e){var a="pf_m2s."+t,o=window.localStorage;if(o.getItem(a)){var s=o.getItem(a);return["pl","color-scheme"].includes(t)?s:["true",!0].includes(s)}return e}var U=new i.default.Store({state:{version:1,hideCounts:L("hc",!1),autoloadComments:L("ac",!0),newReactions:L("nr",!0),fixedHeight:L("fh",!1),profileLayout:L("pl","grid"),showDMPrivacyWarning:L("dmpwarn",!0),relationships:{},emoji:[],colorScheme:L("color-scheme","system")},getters:{getVersion:function(t){return t.version},getHideCounts:function(t){return t.hideCounts},getAutoloadComments:function(t){return t.autoloadComments},getNewReactions:function(t){return t.newReactions},getFixedHeight:function(t){return t.fixedHeight},getProfileLayout:function(t){return t.profileLayout},getRelationship:function(t){return function(e){return t.relationships[e]}},getCustomEmoji:function(t){return t.emoji},getColorScheme:function(t){return t.colorScheme},getShowDMPrivacyWarning:function(t){return t.showDMPrivacyWarning}},mutations:{setVersion:function(t,e){t.version=e},setHideCounts:function(t,e){localStorage.setItem("pf_m2s.hc",e),t.hideCounts=e},setAutoloadComments:function(t,e){localStorage.setItem("pf_m2s.ac",e),t.autoloadComments=e},setNewReactions:function(t,e){localStorage.setItem("pf_m2s.nr",e),t.newReactions=e},setFixedHeight:function(t,e){localStorage.setItem("pf_m2s.fh",e),t.fixedHeight=e},setProfileLayout:function(t,e){localStorage.setItem("pf_m2s.pl",e),t.profileLayout=e},updateRelationship:function(t,e){e.forEach((function(e){o.default.set(t.relationships,e.id,e)}))},updateCustomEmoji:function(t,e){t.emoji=e},setColorScheme:function(t,e){if(t.colorScheme!=e){localStorage.setItem("pf_m2s.color-scheme",e),t.colorScheme=e;var a="system"==e?"":"light"==e?"force-light-mode":"force-dark-mode";if(document.querySelector("body").className=a,"system"!=a){var o="force-dark-mode"==a?{dark_mode:"on"}:{};axios.post("/settings/labs",o)}}},setShowDMPrivacyWarning:function(t,e){localStorage.setItem("pf_m2s.dmpwarn",e),t.showDMPrivacyWarning=e}}}),W={en:a(54414),ar:a(48509),ca:a(14392),de:a(88133),el:a(70448),es:a(32464),eu:a(23455),fr:a(86956),he:a(28863),gd:a(40388),gl:a(90187),id:a(14706),it:a(71268),ja:a(3752),nl:a(6048),pl:a(13470),pt:a(39719),ru:a(11319),uk:a(90510),vi:a(20119)},E=document.querySelector("html").getAttribute("lang"),I=new b.default({locale:E,fallbackLocale:"en",messages:W});(0,n.sync)(U,j);new o.default({el:"#content",i18n:I,router:j,store:U});if(axios.get("/api/v1/custom_emojis").then((function(t){t&&t.data&&t.data.length&&U.commit("updateCustomEmoji",t.data)})),U.state.colorScheme){var D="system"==U.state.colorScheme?"":"light"==U.state.colorScheme?"force-light-mode":"force-dark-mode";"system"!=D&&(document.querySelector("body").className=D)}pixelfed.readmore=function(){F(".read-more").each((function(t,e){var a=F(this),o=a.attr("data-readmore");"undefined"!==T(o)&&!1!==o||a.readmore({collapsedHeight:45,heightMargin:48,moreLink:'Show more',lessLink:'Show less'})}))};try{document.createEvent("TouchEvent"),F("body").addClass("touch")}catch(t){}window.App=window.App||{},window.App.util={compose:{post:function(){var t=window.location.pathname;["/","/timeline/public"].includes(t)?F("#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 t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return t<1?0:new Intl.NumberFormat(e,{notation:a,compactDisplay:"short"}).format(t)},timeAgo:function(t){var e=Date.parse(t),a=Math.floor((new Date-e)/1e3),o=Math.floor(a/63072e3);return o<0?"0s":o>=1?o+"y":(o=Math.floor(a/604800))>=1?o+"w":(o=Math.floor(a/86400))>=1?o+"d":(o=Math.floor(a/3600))>=1?o+"h":(o=Math.floor(a/60))>=1?o+"m":Math.floor(a)+"s"},timeAhead:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=Date.parse(t),o=a-Date.parse(new Date),s=Math.floor(o/1e3),i=Math.floor(s/63072e3);return i>=1?i+(e?"y":" years"):(i=Math.floor(s/604800))>=1?i+(e?"w":" weeks"):(i=Math.floor(s/86400))>=1?i+(e?"d":" days"):(i=Math.floor(s/3600))>=1?i+(e?"h":" hours"):(i=Math.floor(s/60))>=1?i+(e?"m":" minutes"):Math.floor(s)+(e?"s":" seconds")},rewriteLinks:function(t){var e=t.innerText;return t.href.startsWith(window.location.origin)?t.href:e=1==e.startsWith("#")?"/discover/tags/"+e.substr(1)+"?src=rph":1==e.startsWith("@")?"/"+t.innerText+"?src=rpp":"/i/redirect?url="+encodeURIComponent(e)}},filters:[["1977","filter-1977"],["Aden","filter-aden"],["Amaro","filter-amaro"],["Ashby","filter-ashby"],["Brannan","filter-brannan"],["Brooklyn","filter-brooklyn"],["Charmes","filter-charmes"],["Clarendon","filter-clarendon"],["Crema","filter-crema"],["Dogpatch","filter-dogpatch"],["Earlybird","filter-earlybird"],["Gingham","filter-gingham"],["Ginza","filter-ginza"],["Hefe","filter-hefe"],["Helena","filter-helena"],["Hudson","filter-hudson"],["Inkwell","filter-inkwell"],["Kelvin","filter-kelvin"],["Kuno","filter-juno"],["Lark","filter-lark"],["Lo-Fi","filter-lofi"],["Ludwig","filter-ludwig"],["Maven","filter-maven"],["Mayfair","filter-mayfair"],["Moon","filter-moon"],["Nashville","filter-nashville"],["Perpetua","filter-perpetua"],["Poprocket","filter-poprocket"],["Reyes","filter-reyes"],["Rise","filter-rise"],["Sierra","filter-sierra"],["Skyline","filter-skyline"],["Slumber","filter-slumber"],["Stinson","filter-stinson"],["Sutro","filter-sutro"],["Toaster","filter-toaster"],["Valencia","filter-valencia"],["Vesper","filter-vesper"],["Walden","filter-walden"],["Willow","filter-willow"],["X-Pro II","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(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"full",s=t+"/embed?";return s+=e?"caption=true&":"caption=false&",s+=a?"likes=true&":"likes=false&",'